On 19/10/12 13:26, Johan Cockx wrote:
Hi Stuart,

    I don't see any errors in the host build log.  It looks like
    everything got built, so the question is where is it?

    Can you get a listing of the packages it thinks got installed with:

        /opt/ltib/usr/bin/rpm -qa

    If this list a whole bunch of packages (including lkc) you should
    be able to list where it got installed, here's my output :

        opt/ltib/usr/bin/rpm -ql lkc
    //opt
    //opt/ltib
    //opt/ltib/usr
    //opt/ltib/usr/bin
    //opt/ltib/usr/bin/conf
    //opt/ltib/usr/bin/mconf


Only rpm-fs seems to be installed.

johan@LT00567:~/ltib\> /opt/ltib/usr/bin/rpm -qa
rpm-fs-4.0.4-1
johan@LT00567:~/ltib\> sudo /opt/ltib/usr/bin/rpm -ql rpm-fs
/opt/ltib
/opt/ltib/etc
/opt/ltib/etc/rpm
/opt/ltib/pkgs
/opt/ltib/usr
/opt/ltib/usr/bin
/opt/ltib/usr/bin/gendiff
/opt/ltib/usr/bin/rpm
/opt/ltib/usr/bin/rpm2cpio
...
johan@LT00567:~/ltib\> sudo /opt/ltib/usr/bin/rpm -ql lkc
package lkc is not installed


Regards, Johan


Hi Johan,

I'm sorry you're having trouble with this. Looking at your earlier logs it seemed like he install had run all the way through, so it looks like the rpm install is not doing anything.

Can you try running the following commands:

   ./ltib --hostcf --erase -p distcc

    ./ltib --hostcf  -p distcc

The expected output is:

$ ./ltib --hostcf --erase -p distcc
+ cd /home/stuart/Personal/Src/ltib/config/platform/host
+ '[' -f .config ']'
+ '[' /home/stuart/Personal/Src/ltib/config/platform/host/ltib.preconfig -nt host.config ']'
+ '[' 0 = 1 ']'
+ '[' -f .config ']'
+ cp .config host.config
sudo /opt/ltib/usr/bin/rpm --root / --dbpath /opt/ltib/var/lib/rpm -e --allmatches --noscripts --define '_tmppath /home/stuart/Personal/Src/ltib/tmp' distcc --nodeps
error: failed to stat /home/stuart/.gvfs: Permission denied

$ ./ltib --hostcf  -p distcc
+ cd /home/stuart/Personal/Src/ltib/config/platform/host
+ '[' -f .config ']'
+ '[' /home/stuart/Personal/Src/ltib/config/platform/host/ltib.preconfig -nt host.config ']'
+ '[' 0 = 1 ']'
+ '[' -f .config ']'
+ cp .config host.config

Processing platform: Host support packages
============================================
using /home/stuart/Personal/Src/ltib/config/platform/host/.config

Processing: distcc
====================
sudo /opt/ltib/usr/bin/rpm --root / --dbpath /opt/ltib/var/lib/rpm -e --allmatches --nodeps --noscripts --define '_tmppath /home/stuart/Personal/Src/ltib/tmp' distcc 2>/dev/null sudo /opt/ltib/usr/bin/rpm --root / --dbpath /opt/ltib/var/lib/rpm --prefix / --ignorearch -ivh --force --nodeps --excludedocs --noscripts --define '_tmppath /home/stuart/Personal/Src/ltib/tmp' /opt/ltib/usr/src/rpm/RPMS/i686/distcc-2.18.3-1.i686.rpm
error: failed to stat /home/stuart/.gvfs: Permission denied
Preparing... ########################################### [100%] 1:distcc ########################################### [100%]


The important this is to see that you get the ##### showing that rpm is actually installing something. If this works you should then be able to do this:

$  /opt/ltib/usr/bin/rpm -ql distcc
//opt
//opt/ltib
//opt/ltib/usr
//opt/ltib/usr/bin
//opt/ltib/usr/bin/distcc
//opt/ltib/usr/bin/distccd
//opt/ltib/usr/bin/distccmon-text
//opt/ltib/usr/man
//opt/ltib/usr/man/man1
//opt/ltib/usr/man/man1/distcc.1
//opt/ltib/usr/man/man1/distccd.1
//opt/ltib/usr/man/man1/distccmon-text.1
//opt/ltib/usr/share
//opt/ltib/usr/share/doc
//opt/ltib/usr/share/doc/distcc
//opt/ltib/usr/share/doc/distcc/AUTHORS
//opt/ltib/usr/share/doc/distcc/COPYING
//opt/ltib/usr/share/doc/distcc/INSTALL
//opt/ltib/usr/share/doc/distcc/NEWS
//opt/ltib/usr/share/doc/distcc/README
//opt/ltib/usr/share/doc/distcc/TODO
//opt/ltib/usr/share/doc/distcc/example
//opt/ltib/usr/share/doc/distcc/example/init
//opt/ltib/usr/share/doc/distcc/example/init-suse
//opt/ltib/usr/share/doc/distcc/example/logrotate
//opt/ltib/usr/share/doc/distcc/example/xinetd
//opt/ltib/usr/share/doc/distcc/protocol-1.txt
//opt/ltib/usr/share/doc/distcc/protocol-2.txt
//opt/ltib/usr/share/doc/distcc/reporting-bugs.txt
//opt/ltib/usr/share/doc/distcc/status-1.txt
//opt/ltib/usr/share/doc/distcc/survey.txt

Regards, Stuart










_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib

Reply via email to