Am Donnerstag, 5. August 2010 21:23:42 schrieb Peter Czanik:
Hello, Hello!
Syslog-ng 3.1.2 was released yesterday, so I started to prepare a version update, as it will make almost all patches redundant. I did a bco, updated syslog-ng, checked in, and found, that it compiles fine on all openSUSE versions, but fails to compile on SLES 11 SP1.
Actually, it compiles, but the checks fail, for details check https://build.opensuse.org/package/live_build_log?arch=i586&package=syslog- ng&project=home%3Aczanik%3Abranches%3ABase%3ASystem&repository=SLE_11_SP1
Two questions:
1.) does it need to be able to build sles11 packages, or it is not a requirement to be able to sr it to factory?
2.) could anyone with access to SLES 11 SP1 check, why this happens?
The reason is at the end of the log:
binary /sbin/syslog-ng is linked against libraries in /usr or /opt
libevtlog.so.0 => /usr/lib/libevtlog.so.0 (0xb77a1000)
libpcre.so.0 => /usr/lib/libpcre.so.0 (0xb7754000)
This is also a no-go in factory.
The libs have to go to /lib too or if not possible, you can't enable them.
There is a libevtlog package in $OBS/Base:System/libevtlog that installs
into /%{_lib} -- please link against this package. You just need to link
it into your branch project:
osc linkpac Base:System libevtlog home:czanik:branches:Base:System libevtlog
Further, you have either to link pcre statically, not link it at all or
request a move of the lib to /%{_lib}.
Gruesse / Regards,
Marius Tomaschewski