On Tue 2016-12-13 10:59:27 +0100, Tim Ruehsen wrote:
> I just learned something :-)
> I was 100% convinced that SO_VERSION 6:0:1 builds a libpsl.so.6 (as 6:0:0
> does), thus I kept that in the symbols file on purpose. I am surprised that it
> builds to a libpsl.5, which I just tested it does.
> It still doesn't explain the misleading messages from lintian, though. But
> hey, I take that as 'given'.
i suspect you missed the very first message from dpkg-gensymbols and
friends, before lintian runs, which was probably less misleading and
would have explained it :) i don't have a copy handy, but i think it
says something about libpsl.so.5 not being present in the .symbols file.
> Good to know. I thought about how to patch and then decided for the 'direct
> and simple' way. IMO, gbp could be improved in this point.
I've thought about this a lot, and the gbp upstream is pretty open to
suggestions, but i'm actually not convinced that there's a better way to
do it. there are certainly *other* ways to do it, but they each have
their own failure modes in different ways (e.g. the git-dpm workflow).
> Thanks, I synced my branch with yours.
cool, and i see you want to ship a libpsl.3 manpage, which is great. :)
> ### What does that ./configure warning mean ?
> configure: WARNING: unrecognized options: --disable-maintainer-mode, --enable-
> ld-version-script, --with-packager, --with-packager-bug-reports, --with-
> packager-version
>
> And how to fix that ?
So these args:
--enable-ld-version-script
--with-packager
--with-packager-bug-reports
--with-packager-version
are all from your git commit 518ae87f, and we've been carrying them
since then -- if you don't want them, we should drop them from
debian/rules :)
--disable-maintainer-mode is a common ./configure option because some
packages build differently in maintainer mode. It's added by
dh_auto_configure, and should be harmless if you have nothing that is
maintainer-mode specific in your
configure.ac.
> ### How to add -O2 to compilation (text from a previos email)
> The library and the tools are just compiled with '-g -Wdate-time -
> D_FORTIFY_SOURCE=2' which is `dpkg-buildflags --get CPPFLAGS`.
>
> I fiddled with debian/rules to get `dpkg-buildflags --get CFLAGS` as well (e.g.
> -O2) but with no success. The docs say, I shouldn't care - it's done
> automatically !? Maybe you could give me some advice.
The cflags should be added automatically by the standard debhelper
invocations, without needing to do anything else.
also, if you like, you could update to debhelper 10 by updating
debian/compat and changing the build-dependency on debhelper to have
a better version: "(>= 10~)" (the ~ means that backported versions of
debhelper will be ok)
> ### Would love to see man pages in libpsl-dev package
> To build them, we need --enable-man for dh_auto_configure and a libpsl-
> dev.manpages
i see you've done this already, which is great!
> ### How to test building with local commits
> I need a quick package build to try my local changes...
> The only command that I found that builds packages without error is 'dpkg-
> buildpackage -B'. But it looks like the patches are not applied - it uses
> 6:0:0 and thus creates libpsl.so.6.
> Using gbp results in random errors...
> I spent hours reading (outdated ?) docs, with no success.
> Please help.
I'm confused, because it works for me. can you show me a full build log
from a given git commit? pastebin or private email is fine if you don't
want to flood the list :)
--dkg