[opensuse-packaging] syslog-ng library packaging
Hello, With version 3.2, syslog-ng was modularized. I'm trying now to package the git version at https://build.opensuse.org/package/show?package=syslog-ng32&project=home%3Aczanik%3Asyslog-ng32 and get the following error messages at the end of compilation: syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libafsocket-notls.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libdbparser.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libafsocket-tls.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libaffile.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/libsyslog-ng.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libdummy.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libsyslogformat.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libafprog.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libafuser.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libconfgen.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libcsvparser.so A development file (usually source code) is located in a non-devel package. If you want to include source code in your package, be sure to create a development package. Obviously these files are not source code, and http://en.opensuse.org/openSUSE:Shared_library_packaging_policy says, that: "Shared libraries which are used solely and only by programs from the containing main package must be packaged into the main rpm, without a separate lib$NAME$NUM rpm. " So, what's wrong here? Note: by the time of writing, I still get "state is outdated" Note2: the package is far from finished, most of the libs should go to /lib/syslog-ng instead (except for those with dependencies to /usr), so they are available even if /usr is unaccessible. Bye, CzP -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2010-09-14 15:44:37 +0200, Peter Czanik wrote:
Date: Tue, 14 Sep 2010 15:44:37 +0200 From: Peter Czanik <pczanik@fang.fa.gau.hu> Subject: [opensuse-packaging] syslog-ng library packaging To: opensuse-packaging@opensuse.org, Marius Tomaschewski <mt@novell.com>
Hello,
With version 3.2, syslog-ng was modularized. I'm trying now to package the git version at https://build.opensuse.org/package/show?package=syslog-ng32&project=home%3Aczanik%3Asyslog-ng32 and get the following error messages at the end of compilation:
syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libafsocket-notls.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libdbparser.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libafsocket-tls.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libaffile.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/libsyslog-ng.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libdummy.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libsyslogformat.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libafprog.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libafuser.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libconfgen.so syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libcsvparser.so A development file (usually source code) is located in a non-devel package. If you want to include source code in your package, be sure to create a development package.
Obviously these files are not source code, and http://en.opensuse.org/openSUSE:Shared_library_packaging_policy says, that: "Shared libraries which are used solely and only by programs from the containing main package must be packaged into the main rpm, without a separate lib$NAME$NUM rpm. " So, what's wrong here?
Note: by the time of writing, I still get "state is outdated" Note2: the package is far from finished, most of the libs should go to /lib/syslog-ng instead (except for those with dependencies to /usr), so they are available even if /usr is unaccessible.
the problem is you build plugins without "-avoid-version -module" darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* Peter Czanik (pczanik@fang.fa.gau.hu) [20100914 15:44]:
syslog-ng.i586: E: devel-file-in-non-devel-package (Badness: 50) /usr/lib/syslog-ng/libafsocket-notls.so [...]
Obviously these files are not source code,
Files with plain .so suffix are assumed to be symlinks used for linking and thus belong to a -devel package. As these are plugins loaded via dlopen() add '-avoid-version -module' to LDFLAGS. This will also quiet rpmlint. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (3)
-
Marcus Rueckert
-
Peter Czanik
-
Philipp Thomas