RE: building lsb-runtime-test-2.0.6

"Wichmann, Mats D" <[email protected]>
Newsgroups gmane.linux.lsb.test-suite
Message-ID <A06801158AE07847B27A52C1A074BC1D07FE9D3F@fmsmsx404.amr.corp.intel.com>
>I am trying to rpmbuild lsb-runtime-test-2.0.6 with a 
>different location 
>for the tet home (i.e. /export/home/test/tet instead of the hard coded 
>/home/tet). Since the path for /home/tet has been hardcoded it is very 
>difficult to do it using --relocate etc. and my only option 
>was to start 
>with the source rpm and change the path at every occurence. I made 
>changes in the following files:
>
>post_install.sh
>run_tests
>auto_install_test_suites
>set_config_for_arch
>lsb-runtime-test.spec
>
>Now, I cant get rpmbuild to complete. See the log file 
>attached to this 
>email. The last that the rpmbuild does is:
>"Checking for unpackaged file(s): /usr/lib/rpm/check-files 
>/var/tmp/lsb-runtime-test-root
>error: Installed (but unpackaged) file(s) found:" and lists some 14000 
>files in /export/home/test/tet which is my substitution for /home/tet.
>
>Please help me reconfigure the location of tet

There's a model for unbundled tet which is used by
the 3.0 tests.  The test suite will look in
TET_SUITE_ROOT (note: not TEST_SUITE_ROOT!) for a
copy of tet if it doesn't find one nearby, and
we build an unbundled tet which is now used by
the test packages.  I think if they find a "local"
copy of tet they'll still use that.

I suspect, however, that you don't just want to move
tet, but the whole test package.  That's more work.

Looks like you didn't properly catch the location 
of the moved tree in your modified specfile. That's
the cause of the error message - you got the files
installed in a path you want, but rpm is not looking
there for them.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.