Mailinglist Archive: opensuse-packaging (158 mails)

< Previous Next >
Re: [opensuse-packaging] syslog-ng library packaging
  • From: Marcus Rueckert <darix@xxxxxxxxx>
  • Date: Tue, 14 Sep 2010 15:52:15 +0200
  • Message-id: <20100914135215.GU22581@xxxxxxxxxxxx>
On 2010-09-14 15:44:37 +0200, Peter Czanik wrote:
Date: Tue, 14 Sep 2010 15:44:37 +0200
From: Peter Czanik <pczanik@xxxxxxxxxxxxxx>
Subject: [opensuse-packaging] syslog-ng library packaging
To: opensuse-packaging@xxxxxxxxxxxx, Marius Tomaschewski <mt@xxxxxxxxxx>

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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
References