Re: help with lintian errors
Alle martedì 20 marzo 2012, Ritesh Raj Sarraf ha scritto: > On Tuesday 20 March 2012 08:05 PM, Pino Toscano wrote: > > shlibs, postrm and postinst in your case are created by > > dh_makeshlibs; it could be there's a (private?) shared library > > with a wrong/missing SONAME. > > Can you please point to the appmenu-qt source and to your > > packaging? Can you please provide the full list of files installed > > in the package? > > Thanks Pino. > > Yes, there is a private library shipped. Ok, now it is a bit more clear. cmake library targets, even if with type MODULE, get a SONAME. dh_makeshlibs scans for .so files with SONAME, and given libappmenu- qt.so has a file name with a dash (like "foo-bar.so"), dh_makeshlibs thinks "qt" is the SONAME, hence filling shlibs and running ldconfig in post{inst,rm}. The easiest way to avoid that is not running dh_makeshlibs at all (since the source builds only a plugin at the moment), or exclude the plugin directory like this: | override_dh_makeshlibs: | dh_makeshlibs -Xqt4/plugins (not usr/lib/... so it won't break the day qt4 becomes multi-arch) Ah, a couple of minor notes on packaging: - B-D libqt4-dev (>= 4.8) -- needs the epoch in the qt4 version (e.g. 4:4.8), otherwise even, say, qt4 4:4.1 is a valid version... - B-D kde-workspace-dev -- can be switched to kde-workspace-dev, now - short and long descriptions: use "Qt" instead of "qt" and "QT" -- Pino Toscano signature.asc Description: This is a digitally signed message part.
Re: help with lintian errors
On Tuesday 20 March 2012 08:05 PM, Pino Toscano wrote: > shlibs, postrm and postinst in your case are created by dh_makeshlibs; > it could be there's a (private?) shared library with a wrong/missing > SONAME. > Can you please point to the appmenu-qt source and to your packaging? > Can you please provide the full list of files installed in the package? Thanks Pino. Yes, there is a private library shipped. Here are the details: 22:52:45 rrs@champaran:~/Community/Packaging/appmenu-qt (master)$ dpkg --contents /tmp/Debian-Build/Result/appmenu-qt_0.2.5-2_amd64.deb drwxr-xr-x root/root 0 2012-03-20 19:48 ./ drwxr-xr-x root/root 0 2012-03-20 19:48 ./usr/ drwxr-xr-x root/root 0 2012-03-20 19:48 ./usr/lib/ drwxr-xr-x root/root 0 2012-03-20 19:48 ./usr/lib/qt4/ drwxr-xr-x root/root 0 2012-03-20 19:48 ./usr/lib/qt4/plugins/ drwxr-xr-x root/root 0 2012-03-20 19:48 ./usr/lib/qt4/plugins/menubar/ -rw-r--r-- root/root 67480 2012-03-20 19:48 ./usr/lib/qt4/plugins/menubar/libappmenu-qt.so drwxr-xr-x root/root 0 2012-03-20 19:48 ./usr/share/ drwxr-xr-x root/root 0 2012-03-20 19:48 ./usr/share/doc/ drwxr-xr-x root/root 0 2012-03-20 19:48 ./usr/share/doc/appmenu-qt/ -rw-r--r-- root/root 466 2012-03-05 21:22 ./usr/share/doc/appmenu-qt/README -rw-r--r-- root/root 2713 2012-03-20 19:46 ./usr/share/doc/appmenu-qt/copyright -rw-r--r-- root/root 165 2012-03-20 19:46 ./usr/share/doc/appmenu-qt/changelog.Debian.gz -rw-r--r-- root/root 556 2012-03-05 21:22 ./usr/share/doc/appmenu-qt/changelog.gz I just pushed the packaging to kde-extras. You can check it out there. http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-extras/appmenu-qt.git Thanks for your help. Ritesh -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System signature.asc Description: OpenPGP digital signature
Re: help with lintian errors
Hi, Alle martedì 20 marzo 2012, Ritesh Raj Sarraf ha scritto: > I am trying to package appmenu-qt. At the moment, I am getting the > follwoing error: > > E: appmenu-qt: pkg-has-shlibs-control-file-but-no-actual-shared-libs > W: appmenu-qt: postinst-has-useless-call-to-ldconfig > W: appmenu-qt: postrm-has-useless-call-to-ldconfig > > > I do not have any control file, so I'm confused where it is coming > from. I also extracted the built package and did notice that it had > a postinst and postrm script, which I do not have under my packaging > folder. shlibs, postrm and postinst in your case are created by dh_makeshlibs; it could be there's a (private?) shared library with a wrong/missing SONAME. Can you please point to the appmenu-qt source and to your packaging? Can you please provide the full list of files installed in the package? -- Pino Toscano signature.asc Description: This is a digitally signed message part.
help with lintian errors
Hi, Can one of the people on this list help? I am trying to package appmenu-qt. At the moment, I am getting the follwoing error: E: appmenu-qt: pkg-has-shlibs-control-file-but-no-actual-shared-libs W: appmenu-qt: postinst-has-useless-call-to-ldconfig W: appmenu-qt: postrm-has-useless-call-to-ldconfig I do not have any control file, so I'm confused where it is coming from. I also extracted the built package and did notice that it had a postinst and postrm script, which I do not have under my packaging folder. Any ideas? Ritesh -- Given the large number of mailing lists I follow, I request you to CC me in replies for quicker response -- To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f689327.2090...@debian.org