[opensuse-factory] syslog-ng/systemd question
Hello, A few days ago I sent an updated version of syslog-ng to Base:System. The strange thing is, that while it compiled fine in my home project ( https://build.opensuse.org/package/show?package=syslog-ng&project=home%3Aczanik%3Asyslog-ng33 ), it fails in Base:System. It seems to fail at: |+ cp -a '/usr/share/doc/packages/systemd/sd-daemon.[ch]' modules/afsocket/ cp: cannot stat `/usr/share/doc/packages/systemd/sd-daemon.[ch]': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.s1VGqh (%prep) | Did systemd change in Base:System in a non-compatible way? It worked this way ever since systemd support was added to syslog-ng... Bye, CzP -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le jeudi 26 janvier 2012 à 13:57 +0100, Peter Czanik a écrit :
Hello,
A few days ago I sent an updated version of syslog-ng to Base:System. The strange thing is, that while it compiled fine in my home project ( https://build.opensuse.org/package/show?package=syslog-ng&project=home%3Aczanik%3Asyslog-ng33 ), it fails in Base:System. It seems to fail at:
|+ cp -a '/usr/share/doc/packages/systemd/sd-daemon.[ch]' modules/afsocket/ cp: cannot stat `/usr/share/doc/packages/systemd/sd-daemon.[ch]': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.s1VGqh (%prep) |
Did systemd change in Base:System in a non-compatible way? It worked this way ever since systemd support was added to syslog-ng...
systemd now ships with a shared library for sd-daemon, so the code no longer has to be copied / updated at compile time. So, either the package should be changed to use the library or the copy of the code should be removed. -- Frederic Crozat <fcrozat@suse.com> SUSE -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 26/01/12 09:57, Peter Czanik wrote:
Hello,
A few days ago I sent an updated version of syslog-ng to Base:System. The strange thing is, that while it compiled fine in my home project ( https://build.opensuse.org/package/show?package=syslog-ng&project=home%3Aczanik%3Asyslog-ng33 ), it fails in Base:System. It seems to fail at:
|+ cp -a '/usr/share/doc/packages/systemd/sd-daemon.[ch]' modules/afsocket/ cp: cannot stat `/usr/share/doc/packages/systemd/sd-daemon.[ch]': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.s1VGqh (%prep) |
Did systemd change in Base:System in a non-compatible way? It worked this way ever since systemd support was added to syslog-ng...
Bye, CzP
You have to #include <systemd/sd-daemon.h> and link against -lsystemd-daemon instead. So in case there is a bug, there is only one place to fix, the shared library. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Cristian Rodríguez
-
Frederic Crozat
-
Peter Czanik