Re: building lsb-runtime-test-2.0.6

Poornaprajna Udupi <[email protected]>
Newsgroups gmane.linux.lsb.test-suite
Message-ID <[email protected]>
Hi,

Wichmann, Mats D wrote:

>>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.
>
>  
>
Is TET_SUITE_ROOT something that I will have to set (to 
/export/home/test/tet) in the shell environment before doing rpmbuild?
or in some file? Where would they find the local copy of tet?

>I suspect, however, that you don't just want to move
>tet, but the whole test package.  That's more work.
>
>  
>
Yes, I want to install the whole test package at different location. 
But, I am not sure how I am missing it.

>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.
>  
>
Is there a specific location in the specfile that I need to look at?  
How can I configure rpm look at the location where the files are 
installed? What modifications to the spec file?

Thanks a ton.
Poorna
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.