Red Hat Bugzilla – Bug 872638
FTBFS: systemd-195-2.fc18 fails to build on power
Last modified: 2014-06-23 20:19:12 EDT
Description of problem:
systemd-195-2.fc18 fails to build on ppc:
build log: http://ppc.koji.fedoraproject.org/koji/getfile?taskID=772982&name=build.log
Notably, it only fails to build on ppc - a ppc64 scratch build succeeded just fine ( http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=773046 )
The relevant errors from the log:
src/journal/journald-syslog.o: In function `server_process_syslog_message':
/builddir/build/BUILD/systemd-195/src/journal/journald-syslog.c:403: undefined reference to `server_dispatch_message'
/builddir/build/BUILD/systemd-195/src/journal/journald-syslog.c:373: undefined reference to `server_forward_kmsg'
/builddir/build/BUILD/systemd-195/src/journal/journald-syslog.c:376: undefined reference to `server_forward_console'
collect2: error: ld returned 1 exit status
make: *** [test-journal-syslog] Error 1
It appears that test-journal-syslog does not have all dependencies properly described in Makefile.am. I don't know yet how the correct fix should look, but as a quick workaround I can disable the build of this test program.
you added test-journal-syslog in upstream. Could you fix this build error properly? Thanks!
Meanwhile I disabled test-journal-syslog in systemd-195-6.
systemd-195-6.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-195-6.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Created attachment 644115 [details]
build fix for bug #872638
I have a patch ready (attached above), which I think should fix the build issue, but I don't want to commit it without testing. Is it possible for me to request a test build on ppc?
Everyone with an account in FAS can do a scratch build on PPC. Try these instructions:
By the way, I believe you'll be able to reproduce the build error even on x86_64 if you remove "-ffunction-sections" from CFLAGS in configure.ac.
Created attachment 645437 [details]