[pkg-GD-devel] Bug#581318: libgd2: FTBFS: devlibs error: There is no package matching [libx11--dev] and noone provides it, please report bug to d-shlibs maintainer

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sun May 30 19:38:00 UTC 2010


reassign 581318 d-shlibs 0.44
tags   581318 + patch
thanks

* Lucas Nussbaum | 2010-05-12 10:38:36 [+0200]:

>During a rebuild of all packages in sid, your package failed to build on
>amd64.
>
>> d-shlibmove --commit \
>> 		--override 's/ | xlibs-dev (<< 4.3.0)//' \
>> 		--override s/libstdc++6-dev// \
>> 		--override s/libxml2-2-dev/libxml2-dev/ \
>> 		--movedev "debian/tmp-libgd2-xpm/usr/include/*" usr/include/ \
>> 		--movedev "debian/tmp-libgd2-xpm/usr/bin/gdlib-config" usr/bin/ \
>> 		--suffix -xpm --devsuffix -xpm \
>> 		debian/tmp-libgd2-xpm/usr/lib/libgd.so
>> Library package automatic movement utility
>>  --> libc6-dev package exists.
>>  --> libfontconfig1-dev package exists.
>>  --> libfreetype6-dev package exists.
>>  --> libjpeg62-dev package exists.
>>  --> libpng12-0-dev is provided by a package.
>> devlibs error: There is no package matching [libx11--dev] and noone provides it, please report bug to d-shlibs maintainer
>>  --> libxpm-dev package exists.
>>  --> zlib1g-dev package exists.
>> make: *** [binary-post-install/libgd2-xpm] Error 1
>
>The full build log is available from:
>   http://people.debian.org/~lucas/logs/2010/05/11/libgd2_2.0.36~rc1~dfsg-3.2_lsid64.buildlog
>

This is a d-devlibdeps bug. In its overridedevlibdeps() function the
regex
             -e 's/libX\(.*\)[0-9]-dev/libx\1-dev/' \
translates libX11-6-dev into libx11--dev. I'm not sure what this regex
should match actually.

The patch attached moves this line to the bottom so the X11-6-dev gets
earlier into the game. With the patch the libgd2 package builds again.

Sebastian
-------------- next part --------------
--- d-devlibdeps.org	2010-05-30 21:12:44.000000000 +0200
+++ d-devlibdeps	2010-05-30 21:13:11.000000000 +0200
@@ -102,13 +102,13 @@
 	-e 's/libtheora0-dev/libtheora-dev/' \
 	-e 's/libvorbis0-dev/libvorbis-dev/' \
 	-e 's/libvorbisenc2-dev/libvorbis-dev/' \
-	-e 's/libX\(.*\)[0-9]-dev/libx\1-dev/' \
 	-e 's/libX11-6-dev/libx11-dev | xlibs-dev (<< 4.3.0)/' \
 	-e 's/libXext6-dev/libxext-dev | xlibs-dev (<< 4.3.0)/' \
 	-e 's/libXi6-dev/libxi-dev | xlibs-dev (<< 4.3.0)/' \
 	-e 's/libxml2-2-dev/libxml2-dev/' \
 	-e 's/libXpm4-dev/libxpm-dev | xlibs-dev (<< 4.3.0)/' \
 	-e 's/libz1-dev/zlib1g-dev/' \
+	-e 's/libX\(.*\)[0-9]-dev/libx\1-dev/' \
 	"${OVERRIDE[@]/#/-e}" \
 
 


More information about the pkg-GD-devel mailing list