Re: dh_makeshlibs exits with error on buildds and with success at home: is DPKG_GENSYMBOLS_CHECK_LEVEL set on buildds ?
Le Thu, Jul 22, 2010 at 02:10:53AM +0200, Jakub Wilk a écrit :
> * Charles Plessy <plessy@debian.org>, 2010-07-22, 08:41:
>> I uploaded a package that built fine in a chroot made by the helper
>> tool ‘sbuild-createchroot’, but it failed on all buildds when running
>> dh_makeshlibs.
>>
>> dh_makeshlibs: dpkg-gensymbols -plibajax6 -Idebian/libajax6.symbols -Pdebian/libajax6 returned exit code 1
>>
>> See for instance: https://buildd.debian.org/fetch.cgi?pkg=emboss;ver=6.3.1-1;arch=amd64;stamp=1279698597
>>
>> I suspect that the check level of dpkg-gensymbol overriden on buildds,
>
> Why? The default value level is 1, i.e. fail if some symbols have
> disappeared. And they indeed disappeared, at least on amd64.
Thanks for the explanation. The problem is then in my sbuild chroots: why
doesn't it fail there? I just checked, and DPKG_GENSYMBOLS_CHECK_LEVEL is not
set there either. My chroots are up to date, with dpkg-dev at version 1.15.7.2.
I will update the symbols files, this will suppress the symptoms, but not solve
the problem in the long term…
Have a nice day,
--
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan
Reply to: