Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#26595 - [syslog-ng][PATCH] 3.3.1-1 PKGBUILD from ABS fails
Attached to Project:
Arch Linux
Opened by OvsInc (OvsInc) - Monday, 24 October 2011, 10:04 GMT
Last edited by Dave Reisner (falconindy) - Monday, 24 October 2011, 13:30 GMT
Opened by OvsInc (OvsInc) - Monday, 24 October 2011, 10:04 GMT
Last edited by Dave Reisner (falconindy) - Monday, 24 October 2011, 13:30 GMT
|
DetailsDescription:
The PKGBUILD of syslog-ng 3.2.1-1 from ABS fails with the following message: libtool: link: gcc -std=gnu99 -shared .libs/libafsocket_notls_la-afsocket.o .libs/libafsocket_notls_la-afunix.o .libs/libafsocket_notls_la-afinet.o .libs/libafsocket_notls_la-afsocket-grammar.o .libs/libafsocket_notls_la-afsocket-parser.o .libs/libafsocket_notls_la-afsocket-plugin.o -Wl,-rpath -Wl,/var/abs/core/syslog-ng/src/syslog-ng-3.3.1/lib/.libs ../../lib/.libs/libsyslog-ng.so -lwrap -lsystemd-daemon -march=i686 -mtune=generic -pthread -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -pthread -Wl,-soname -Wl,libafsocket-notls.so -o .libs/libafsocket-notls.so .libs/libafsocket_notls_la-afunix.o: In function `afunix_sd_acquire_socket': afunix.c:(.text+0x69): undefined reference to `sd_listen_fds' afunix.c:(.text+0xe1): undefined reference to `sd_is_socket_unix' /usr/bin/ld: .libs/libafsocket-notls.so: hidden symbol `sd_listen_fds' isn't defined /usr/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status make[4]: *** [libafsocket-notls.la] Error 1 --- Systemd headers are in /usr/include/systemd now Required reference to `sd_listen_fds' and `sd_is_socket_unix' defined in /usr/include/systemd/sd-daemon.h Attached patch fix it Additional info: * syslog-ng 3.3.1-1 * systemd 37-1 Steps to reproduce: Build syslog-ng from ABS |
This task depends upon
Closed by Dave Reisner (falconindy)
Monday, 24 October 2011, 13:30 GMT
Reason for closing: Won't fix
Additional comments about closing: Static linking against systemd saves everyone a lot of headaches.
Monday, 24 October 2011, 13:30 GMT
Reason for closing: Won't fix
Additional comments about closing: Static linking against systemd saves everyone a lot of headaches.
Comment by Dave Reisner (falconindy) -
Monday, 24 October 2011, 13:29 GMT
No, the correct fix is for you to disable dynamic linking to systemd in your build. This is fixed upstream but we're not going to link dynamically (and gain a systemd dep).
syslog-ng-systemd-headers.diff