Package: src:php-net-publicsuffix
Version: 0.2-1.1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
dh_update_autotools_config
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
./test.php
PHP Fatal error: Uncaught ValueError: idn_to_ascii(): Argument #1 ($domain) must not be empty in /<<PKGBUILDDIR>>/Net/PublicSuffix.php:89
Stack trace:
#0 /<<PKGBUILDDIR>>/Net/PublicSuffix.php(89): idn_to_ascii()
#1 /<<PKGBUILDDIR>>/Net/PublicSuffix.php(144): Net_PublicSuffix::_canonicalize()
#2 /<<PKGBUILDDIR>>/Net/PublicSuffix.php(47): Net_PublicSuffix->get_registered_domain()
#3 /<<PKGBUILDDIR>>/test.php(21): Net_PublicSuffix::registered_domain()
#4 /<<PKGBUILDDIR>>/test.php(33) : eval()'d code(5): checkPublicSuffix()
#5 /<<PKGBUILDDIR>>/test.php(33): eval()
#6 {main}
thrown in /<<PKGBUILDDIR>>/Net/PublicSuffix.php on line 89
make[1]: *** [debian/rules:6: override_dh_auto_test] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
Sorry, but no - the usage of idn_to_ascii() is invalid in php-net-publicsuffix and you need to fix it there.Well, it would be if it were documented I suppose,
The missing check got fixed in https://github.com/php/php-src/commit/33f1cf202ef1 and it's OK to make small changes like this when changing major versions.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 491 |
Nodes: | 16 (2 / 14) |
Uptime: | 142:14:56 |
Calls: | 9,694 |
Calls today: | 4 |
Files: | 13,728 |
Messages: | 6,178,286 |