Strange mock behaviour - buildrequires in the host?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

while building some packages for the OLPC XS I am seeing some odd
behaviour from Mock. I am not certain whether this is expected...

1 - The F9 host had httpd installed (unbeknownst to me)
2 - The install script in the package was (wrongly) trying to do
install -o apache /file - which errored out "no such user"
3 - Adding a BuildRequires to the spec file fixed the problem - mock
installed httpd in the chroot - however, install would still fail as
it was not running as root.
4 - I spotted httpd on the host and removed it. I can no longer build
the package - "httpd is needed by ds-backup-x-y-z..."

There are 2 weird things in here for me:

- In step 4 - the host environment not having httpd should not affect
the build chroot.

- In step 3, I was expecting the rpmbuild running the "install" target
inside mock to be using fakeroot or something similar.

Apologies in advance if these questions are basic - a review of the
Mock wiki and man pages did not help, and my rpm packaging skills have
last been used in late 2000.

cheers,


m

-- 
 martin.langhoff@xxxxxxxxx
 martin@xxxxxxxxxx -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux