[Mageia-dev] Freeze push: webmin

David Walser luigiwalser at yahoo.com
Thu Feb 7 21:18:27 CET 2013


David Walser <luigiwalser at ...> writes:
> Hmm, running the commands in the pipeline by hand, I am now noticing that the
> file command part of it leaves an exit status of 1.  With this in the script:
> set -o pipefail
> 
> That would make the whole pipeline exit with 1, so there's the problem.
> 
> The last file that file runs on is /etc/rc.d/init.d/webmin, which it reports
> as POSIX shell script, ASCII text executable.
> 
> I don't know why it's exiting with a non-zero exit status.
> 
> find strikes again!

Thanks to Pascal Terjan with his help with this (on IRC).

We found this in the find output:
webmin/BUILDROOT/webmin-1.620-1.mga3.x86_64/usr/share/webmin/mount/macos-mounts:
ERROR: Mach-O cannot find entry `mach-o-be'

That happened on macos-mounts-intel and masos-mounts, which in all likelihood
are not needed, and in fact this was already in the SPEC:
# (sb) remove development file
rm -f %{buildroot}/usr/share/webmin/mount/macos-mounts.c

Changing that to remove macos-mounts* fixes the build!

Committed in the SVN.  Please resubmit to the build system

Sorry for all the messages :o)




More information about the Mageia-dev mailing list