Activity log for bug #2007679

Date Who What changed Old value New value Message
2023-02-17 11:28:47 Hans Rakers bug added bug
2023-02-17 11:57:43 Hans Rakers description While trying to compile php-mongodb-1.15.1, the dpkg-buildpackage stage keeps failing with: #12 1.337 dpkg-buildpackage: info: host architecture amd64 #12 2.192 fakeroot debian/rules clean #12 2.966 PHP_DEFAULT_VERSION_DEFAULT := "8.1.2-1ubuntu2" #12 2.992 PHP_DEFAULT_VERSION_OVERRIDE := "" #12 2.992 AVAILABLE_PHP_VERSIONS := "8.1" #12 2.992 /usr/share/dh-php/pkg-pecl.mk:39: *** PHP_DEFAULT_VERSION cannot be empty. Stop. #12 2.997 dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2 This appears to be related to the changes made in dh-php 4.9. These changes might work fine on Debian, but since the output of `php-config --version` is quite different between Debian and Ubuntu, the matching seems to fail in pkg-pecl.mk. Debian: # php-config --version | sed -e 's,\.[^.]*$$,,' 7.4.33 # /usr/sbin/phpquery -V 7.4 Ubuntu: # php-config --version | sed -e 's,\.[^.]*$$,,' 8.1.2-1ubuntu2.10 # /usr/sbin/phpquery -V 8.1 Environment: Ubuntu 22.04 dh-php 4.9 While trying to compile php-mongodb-1.15.1, the dpkg-buildpackage stage keeps failing with: #12 1.337 dpkg-buildpackage: info: host architecture amd64 #12 2.192 fakeroot debian/rules clean #12 2.966 PHP_DEFAULT_VERSION_DEFAULT := "8.1.2-1ubuntu2" #12 2.992 PHP_DEFAULT_VERSION_OVERRIDE := "" #12 2.992 AVAILABLE_PHP_VERSIONS := "8.1" #12 2.992 /usr/share/dh-php/pkg-pecl.mk:39: *** PHP_DEFAULT_VERSION cannot be empty. Stop. #12 2.997 dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2 This appears to be related to the changes made in dh-php 4.9. These changes might work fine on Debian, but since the output of `php-config --version` is quite different between Debian and Ubuntu, the matching seems to fail in pkg-pecl.mk. Debian: # php-config --version | sed -E -e 's,\.[^.]*$$,,' 7.4 # /usr/sbin/phpquery -V 7.4 Ubuntu: # php-config --version | sed -E -e 's,\.[^.]*$$,,' 8.1.2-1ubuntu2 # /usr/sbin/phpquery -V 8.1 Environment: Ubuntu 22.04 dh-php 4.9
2023-12-07 17:47:47 Stefan Greiner bug added subscriber Stefan Greiner
2023-12-07 17:48:28 Launchpad Janitor dh-php (Ubuntu): status New Confirmed