Bug#911772: fontconfig: missing build dependencies
Emilio Pozuelo Monfort
pochu at debian.org
Tue Nov 6 17:33:39 GMT 2018
On 06/11/2018 18:09, Francesco Potortì wrote:
>>
>> On 06/11/2018 17:39, Francesco Potortì wrote:
>>>>
>>>> Le 6/11/18 à 16:57, Francesco Potortì a écrit :
>>>>>>> I unistalled the previously installed build dependencies, and then asked
>>>>>>> aptitude to reinstall them but uuid-dev and docbook-utils were not
>>>>>>> installed.
>>>>>> I really cannot explain that because both uuid-dev and docbook-utils are
>>>>>> explicitly listed in the Build-Depends of the package currently in unstable.
>>>>>>
>>>>>> What is apt-cache showsrc fontconfig showing?
>>>>> Here it is. I am using testing, not unstable.
>>>>>
>>>>> Please note that starting tomorrow I will not be able to answer queries
>>>>> until next Wednesday, as I will be travelling. I will be able to answer
>>>>> simple queries today.
>>>>>
>>>>>
>>>>> Package: fontconfig
>>>>> Binary: fontconfig, fontconfig-config, fontconfig-udeb, libfontconfig1-dev, libfontconfig1, libfontconfig1-dbg
>>>>> Version: 2.11.0-6.7
>>>>> Maintainer: Keith Packard <keithp at debian.org>
>>>>> Uploaders: Josselin Mouette <joss at debian.org>
>>>>> Build-Depends: cdbs (>= 0.4.93), dh-autoreconf, debhelper (>= 9), libfreetype6-dev (>= 2.1.7), libexpat1-dev, pkg-config, gperf, po-debconf
>>>>
>>>> That's the issue, you somehow have the definition of the source package
>>> >from stable and apt is using this.
>>>
>>> Mh, no, right now I am running 2.13.0-5 which I compiled myself because
>>> of the fontconfig bug interacting with fontconfig. Back then, when I
>>> compiled it from source, I had the testing version installed, which was
>>> fontconfig 2.13.1-1.
>>>
>>>> 1) Do you have the repository of stable defined in your sources?
>>>> apt-cache showsrc is showing you way too much packages and even versions
>>>> (like 2.12.6-0.1) that are not in the archive anymore, this might be a
>>>> configuration issue on your side.
>>>
>>> Uh. Thanks, I'll need investigating that, if I ever find the time. I
>>> am always confused by those options. Clearly I have old cruft deposited
>>> there, and I do notknow how to remove it, I was supposing it is done
>>> automatically...
>>>
>>>> 2) This might also be a bug in apt as it's taking the build-dependency
>>>> list from stable and not from unstable.
>>>
>>>> Anyway this is not a bug in fontconfig
>>>
>>> I see. Thanks for your work at maintaining fontconfig.
>>>
>>>
>>> By the way, I have this configuration, but I do not see how it can cause
>>> old packages to be retrieved...
>>
>> What's in your /etc/apt/sources.list? How did you download the fontconfig
>> sources, and how did you install the build-deps?
>
>
> ===File /etc/apt/sources.list===============================
> deb http://ftp.it.debian.org/debian buster main contrib non-free
> deb http://ftp.it.debian.org/debian buster-proposed-updates main contrib non-free
> deb http://security.debian.org buster/updates main contrib non-free
>
> deb http://ftp.it.debian.org/debian unstable main contrib non-free
>
> deb-src http://ftp.it.debian.org/debian buster main contrib non-free
> deb-src http://ftp.it.debian.org/debian unstable main contrib non-free
> ============================================================
>
> I built 2.13.0-5 by downloading:
>
> http://ftp.acc.umu.se/debian/pool/main/f/fontconfig/fontconfig_2.13.0-5.debian.tar.xz
> http://ftp.acc.umu.se/debian/pool/main/f/fontconfig/fontconfig_2.13.0-5.dsc
> http://ftp.acc.umu.se/debian/pool/main/f/fontconfig/fontconfig_2.13.0.orig.tar.bz2
>
> then using 'aptitude build-dep fontconfig' and then (not really sure)
> using 'dpkg-buildpackage'
>
> At this point I saw that uuid-dev and docbook-utils were missing, I
> installed them using 'aptitude install' and after that I uilt and
> installed the package successfully
That's because `aptitude build-dep fontconfig` will install the build-deps for
the package that is available to apt, i.e. most likely for the current version
in sid (or testing) on your system. However you downloaded 2.13.0-5, which
probably didn't match the build-deps you got from aptitude. Your scenario would
have been alright had you gotten the sources from apt too, e.g.:
apt-get source fontconfig
apt-get build-dep fontconfig
cd fontconfig-*; dpkg-buildpackage -us -uc
But since you got a special version, you could have done something like:
cd fontconfig-*; sudo apt-get build-dep ./
Emilio
More information about the Pkg-freedesktop-maintainers
mailing list