Re: mathgl: missing-dependency-on-libc needed
Hello Anton,
Thanks for looking at it. I have built the package with pbuilder under
distribution experimental and architecture amd64. Other combinations (unstable
+ amd64, experimental + i386 etc.) will probably fail due to symbols
mismatches.
I use the commands
$sudo pbuilder --create --basetgz /var/cache/pbuilder/base-experimental-
amd64.tgz --distribution experimental --architecture amd64
$sudo pbuilder --update --basetgz /var/cache/pbuilder/base-experimental-
amd64.tgz --distribution experimental --architecture amd64 --override-config
for creating and updating the clean chroot environment. Then I use
$BUILDER=pbuilder git buildpackage --git-pbuilder --git-dist=experimental --
git-arch=amd64 --git-debian-branch=experimental
for building.
The package can be found at
http://anonscm.debian.org/gitweb/?p=debian-
science/packages/mathgl.git;a=shortlog;h=refs/heads/experimental
Best regards
Dimitris
Στις Παρ 15 Φεβ 2013 00:32:41 Anton Gladky γράψατε:
> Hi Dimitrios,
>
> I was trying to build your package from git (on deb-science) to check
> the issue. But it fails to build at the last stage:
>
> =================
> @@ -1721,7 +1721,7 @@
> fl_XdndURIList@Base 2.1.2
> fl_access@Base 2.1.2
> fl_alphasort@Base 2.1.2
> - fl_ascii_strcasecmp@Base 2.1.2
> +#MISSING: 2.1.2-1# fl_ascii_strcasecmp@Base 2.1.2
> fl_background_pixel@Base 2.1.2
> fl_bg2@Base 2.1.2
> fl_bg@Base 2.1.2
> dh_makeshlibs: dpkg-gensymbols -plibmgl-wnd7.0.0
> -Idebian/libmgl-wnd7.0.0.symbols -Pdebian/libmgl-wnd7.0.0 returned exit
> code 1
> make: *** [binary] Error 1
> =================
>
> There are a lot of such errors. Please, give a link on your package
>
> Cheers,
>
> Anton
>
> On 02/14/2013 10:21 PM, Dimitrios Eftaxiopoulos wrote:
> > Hello,
> > During packaging the latest upstream version 2.1.2 of mathgl, I came
> > across the following lintian error and description:
> >
> > E: mathgl: missing-dependency-on-libc needed by usr/bin/mgl.cgi and 2
> > others N:
> > N: The listed file appears to be linked against the C library, but the
> > N: package doesn't depend on the C library package. Normally this
> > indicates N: that ${shlibs:Depends} was omitted from the Depends line
> > for this N: package in debian/control.
> > N:
> > N: All shared libraries and compiled binaries must be run through
> > N: dpkg-shlibdeps to find out any libraries they are linked against
> > (often N: via the dh_shlibdeps debhelper command). The package
> > containing these N: files must then depend on ${shlibs:Depends} in
> > debian/control to get the N: proper package dependencies for those
> > libraries.
> > N:
> > N: Refer to Debian Policy Manual section 8.6 (Dependencies between the
> > N: library and other packages - the shlibs system) for details.
> > N:
> > N: Severity: serious, Certainty: possible
> > N:
> > N: Check: binaries, Type: binary, udeb
> >
> > However, ${shlibs:Depends} is included in the Depends field of the mathgl
> > binary package. Also, an attempt to include libc6 explicitely in the
> > Depends field of the mathgl binary package, cancelled the lintian error
> > but raised a lintian warning that this should not be done.
> >
> > Any suggestion on how to overcome this?
> >
> > Thanks
> > Dimitris
Reply to: