[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Few questions about updating the dia package



Hello,

I'm trying to adopt and update the dia package, as my first contribution
to Debian packaging.

I managed to update the package to the current upstream version (not the
easiest thing: the project moved from autotools to meson since the last
package update) and fix some lintian issues.

I think the package is almost ready for upload, but I have the following
warnings when I build the package, and I don't know how to fix them:


- dpkg-shlibdeps: warning: can't extract name and version from library
name 'libdia.so'

dia builds a shared library libdia.so, to be used only by the dia
binary. By default meson installs it in /usr/lib/x86_64-linux-gnu/, but
lintian isn't happy about it (wrong library name, ldconfig isn't called,
etc). If I understand correctly, since libdia.so is not meant to be used
by other software, it has to go /usr/lib/x86_64-linux-gnu/dia/, and
that's how it's done with the dia package currently in Debian
repositories. I had to patch the meson scripts and adjust some rpath
settings to make it work, but now I have this warning...


- W: dia source: debian-rules-sets-DEB_BUILD_OPTIONS (line 10)

Parallel builds may cause a build error with dia (a header file isn't
found). To disable parallel builds, I added in d/rules:

export DEB_BUILD_OPTIONS = parallel=1

lintian says I should rename DEB_BUILD_OPTIONS to
DEB_BUILD_MAINT_OPTIONS, but when I add parallel=1 to
DEB_BUILD_MAINT_OPTIONS, the parallel=1 instruction is ignored...


- W: dia-dbgsym: elf-error In program headers: Unable to find program
interpreter name
[usr/lib/debug/.build-id/82/7909d9da4f9c6253d5235a76b6fe4513c8ebf7.debug]

I don't even know how to start investigating on this warning since the
mentioned file doesn't exist once the package is built...


Can you give me some hints?


I use the following Git repository for the package:
https://salsa.debian.org/phsw/dia (btw shouldn't it go under the debian
namespace instead of mine?). Any review of the package is welcome! :)


Philippe.


Reply to: