Description of problem: See summary. Full build logs here: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=50807
I cannot get to that particular build at the moment, I get a 504 error. Please attach the build logs so I can have a look.
ppc (same general error on ppc64 as well): Mock Version: 1.0.1 Mock Version: 1.0.1 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/libhugetlbfs.spec'], False, '/var/lib/mock/SHADOWBUILD-dist-f13-build-10045-11657/root/', None, 86400, True, 0, 492, 491, None, logger=<mock.trace_decorator.getLog object at 0x10515d50>) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target ppc --nodeps builddir/build/SPECS/libhugetlbfs.spec'] Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/libhugetlbfs-2.7-1.fc13.src.rpm Child returncode was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/libhugetlbfs.spec'], False, '/var/lib/mock/SHADOWBUILD-dist-f13-build-10045-11657/root/', None, 86400, True, 0, 492, 491, None, logger=<mock.trace_decorator.getLog object at 0x10515d50>) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/libhugetlbfs.spec'] Building target platforms: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7GNItr + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf libhugetlbfs-2.7 + /bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/libhugetlbfs-2.7.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libhugetlbfs-2.7 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (libhugetlbfs-2.6-s390x-build.patch):' Patch #0 (libhugetlbfs-2.6-s390x-build.patch): + /bin/cat /builddir/build/SOURCES/libhugetlbfs-2.6-s390x-build.patch + /usr/bin/patch -s -p1 -b --suffix .s390x-build --fuzz=0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YevKrQ + umask 022 + cd /builddir/build/BUILD + cd libhugetlbfs-2.7 + LANG=C + export LANG + unset DISPLAY + make BUILDTYPE=NATIVEONLY VERSION version string: 2.7 (modified) CC32 obj32/elflink.o elflink.c: In function 'find_or_create_share_path': elflink.c:276: warning: implicit declaration of function 'mkdir' elflink.c:284: warning: implicit declaration of function 'lstat' elflink.c:291: warning: implicit declaration of function 'S_ISDIR' elflink.c: In function 'verify_segment_layout': elflink.c:638: warning: implicit declaration of function 'getpagesize' AS32 obj32/sys-elf32ppclinux.o CC32 obj32/elf32ppclinux.o CC32 obj32/hugeutils.o CC32 obj32/version.o CC32 obj32/init.o CC32 obj32/morecore.o morecore.c: In function '__lh_hugetlbfs_setup_morecore': morecore.c:254: warning: implicit declaration of function 'sbrk' CC32 obj32/debug.o CC32 obj32/alloc.o alloc.c: In function '__free_huge_pages': alloc.c:152: warning: implicit declaration of function 'getpagesize' CC32 obj32/shm.o CC32 obj32/kernel-features.o LD32 (shared) obj32/libhugetlbfs.so AR32 obj32/libhugetlbfs.a CC32 obj32/init_privutils.o LD32 (shared) obj32/libhugetlbfs_privutils.so CCHOST obj/init_privutils.o CCHOST obj/debug.o CCHOST obj/hugeutils.o CCHOST obj/kernel-features.o ARHOST obj/libhugetlbfs_privutils.a CC32 obj32/gethugepagesize.o CC32 obj32/testutils.o CC32 obj32/libtestutils.o LD32 (lib test) obj32/gethugepagesize ../obj32/libhugetlbfs.so: undefined reference to `S_ISDIR' collect2: ld returned 1 exit status make[1]: *** [obj32/gethugepagesize] Error 1 make: *** [tests/all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.YevKrQ (%build) Bad exit status from /var/tmp/rpm-tmp.YevKrQ (%build) Child returncode was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/libhugetlbfs.spec'] Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.6/site-packages/mock/util.py", line 324, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target ppc --nodeps builddir/build/SPECS/libhugetlbfs.spec'] LEAVE do --> EXCEPTION RAISED
That set of errors look like missing build dependencies, try rebuilding without the --nodeps flag.
(In reply to comment #3) > That set of errors look like missing build dependencies, try rebuilding without > the --nodeps flag. This is build via koji, just like i386 and x86_64. Which deps do you think are missing? If they are missing, then perhaps libhugetlbfs needs to have a BuildRequires on a specific version? You can see the root log with all installed pacakges here: http://ppc.koji.fedoraproject.org/koji/getfile?taskID=50808&name=root.log
following patch fixes the compilation problem: --- libhugetlbfs-2.6/elflink.c.missed_include 2010-02-04 12:22:10.424608236 +0100 +++ libhugetlbfs-2.6/elflink.c 2010-02-04 12:22:21.613604072 +0100 @@ -33,6 +33,7 @@ #include <linux/unistd.h> #include <sys/mman.h> #include <sys/wait.h> +#include <sys/stat.h> #include <errno.h> #include <limits.h> #include <elf.h>
I will get this patch added to the build for 2.7-2 rpm, would you mind submitting it to libhugetlbfs-devel.net with a SOB so we can include it upstream?
Has been sent to libhugetlbfs-devel.net, hopefully, well-formed.
Patch has been included upstream for next release, and has been added to libhugetlbfs-2.7-2 package. Please verify that this fixes the build problem.
libhugetlbfs-2.7-2.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/libhugetlbfs-2.7-2.fc11
libhugetlbfs-2.7-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/libhugetlbfs-2.7-2.fc12
libhugetlbfs-2.7-2.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
libhugetlbfs-2.7-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
This message is a reminder that Fedora 13 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '13'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 13's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 13 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping