[Pkg-giraffe-discuss] oustanding autopkgtset issues for kopanocore 8.6.90

Carsten Schoenert c.schoenert at t-online.de
Sun Nov 25 18:17:07 GMT 2018


Hi,

Am 18.11.18 um 13:10 schrieb Guido Günther:
>>>    dh_php -O--builddirectory=debian/build
>>> given basename $0: /usr/bin/dh_php
>>> Trace begun at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 779
>>> Debian::Debhelper::Dh_Lib::basename(undef) called at /usr/bin/dh_php line 279
>>> Use of uninitialized value $fn in concatenation (.) or string at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 782.
>>> string $fn: 
>>> Use of uninitialized value $fn in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 784.
>>> Use of uninitialized value $fn in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 785.
>>> Trace begun at /usr/bin/dh_php line 281
>>> given basename $0: /usr/bin/dh_php
>>> Trace begun at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 779
>>> Debian::Debhelper::Dh_Lib::basename('/usr/bin/dh_php') called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 764
>>> Debian::Debhelper::Dh_Lib::error('module: "" needs .so or .ini suffix') called at /usr/bin/dh_php line 284
>>> string $fn: /usr/bin/dh_php
> 
> This looks confusing (I would not expect dh_php here). Check the loop in
> dh_php starting at line 242. It iterates over the packages. You can
> print the package name being processed there.

it's not that difficult in the end, if you not only read but also really
understand the output which is given originally. :-)

> root at i5:/build/kopanocore-8.6.90# dh_php -O--builddirectory=debian/build
> Use of uninitialized value $fn in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 779.
> Use of uninitialized value $fn in substitution (s///) at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 780.
> dh_php: module: "" needs .so or .ini suffix

I must have been blind to not see the error message. The sequencer file
need to have one of these file suffixes! This has changed in one of the
recent uploads of dh-php. Moving php-mapi.php over to php-mapi.ini make
the magic working again.

Another small modification was needed after the introduction of
python-3.7 in unstable. I needed to modify also the file
python3-mapi.install so the files to install can be found. Updated and
pushed all to salsa.

-- 
Regards
Carsten Schoenert



More information about the Pkg-giraffe-discuss mailing list