Mailinglist Archive: opensuse-packaging (158 mails)

< Previous Next >
[opensuse-packaging] syslog-ng library packaging
  • From: Peter Czanik <pczanik@xxxxxxxxxxxxxx>
  • Date: Tue, 14 Sep 2010 15:44:37 +0200
  • Message-id: <4C8F7C45.1030700@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >