Activity log for bug #1699925

Date Who What changed Old value New value Message
2017-06-23 00:55:45 Michael Hudson-Doyle bug added bug
2020-07-05 04:55:00 Mantas Kriaučiūnas bug added subscriber Mantas Kriaučiūnas
2020-07-05 04:55:14 Mantas Kriaučiūnas bug added subscriber Martin Pitt
2020-07-05 04:57:35 Mantas Kriaučiūnas summary ftbfs in artful ubuntu-defaults-builder doesn't build and doesn't generate depends/recommends in Ubuntu 18.04 and newer
2020-07-05 04:57:49 Mantas Kriaučiūnas bug added subscriber Steve Langasek
2020-07-05 04:57:55 Mantas Kriaučiūnas bug added subscriber Matthias Klose
2020-07-05 04:58:00 Mantas Kriaučiūnas bug added subscriber Baltix GNU/Linux activists
2020-07-05 04:58:24 Mantas Kriaučiūnas tags ftbfs python3.6 bionic focal ftbfs perl python3.6
2020-07-05 05:02:13 Mantas Kriaučiūnas description The package fails to build in artful (e.g. https://launchpadlibrarian.net/324067270/buildlog_ubuntu-artful-amd64.ubuntu-defaults-builder_0.55_BUILDING.txt.gz), as far as I can tell because dh_ubuntu_defaults uses deprecated perl features: Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE (\w+)}/ at /<<PKGBUILDDIR>>/bin/dh_ubuntu_defaults line 97. Experimental push on scalar is now forbidden at /<<PKGBUILDDIR>>/bin/dh_ubuntu_defaults line 597, near "$file)" Experimental push on scalar is now forbidden at /<<PKGBUILDDIR>>/bin/dh_ubuntu_defaults line 603, near "$file_path)" I'd rather someone who knew perl better than me take a look at this. The package fails to build in bionic, artful and newer, as far as I can tell because dh_ubuntu_defaults uses deprecated perl features: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE distro_release_name}/ at /home/ubuntu/Desktop/ubuntu-defaults-builder-0.57/bin/dh_ubuntu_defaults line 100, <F> line 1. debian/rules:7: recipe for target 'override_dh_install' failed make[4]: *** [override_dh_install] Error 255 (older build log https://launchpadlibrarian.net/324067270/buildlog_ubuntu-artful-amd64.ubuntu-defaults-builder_0.55_BUILDING.txt.gz) Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE (\w+)}/ at /<<PKGBUILDDIR>>/bin/dh_ubuntu_defaults line 97. Experimental push on scalar is now forbidden at /<<PKGBUILDDIR>>/bin/dh_ubuntu_defaults line 597, near "$file)" Experimental push on scalar is now forbidden at /<<PKGBUILDDIR>>/bin/dh_ubuntu_defaults line 603, near "$file_path)" I'd rather someone who knew perl better than me take a look at this.
2020-07-05 05:06:42 Launchpad Janitor ubuntu-defaults-builder (Ubuntu): status New Confirmed
2020-07-05 05:08:51 Mantas Kriaučiūnas description The package fails to build in bionic, artful and newer, as far as I can tell because dh_ubuntu_defaults uses deprecated perl features: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE distro_release_name}/ at /home/ubuntu/Desktop/ubuntu-defaults-builder-0.57/bin/dh_ubuntu_defaults line 100, <F> line 1. debian/rules:7: recipe for target 'override_dh_install' failed make[4]: *** [override_dh_install] Error 255 (older build log https://launchpadlibrarian.net/324067270/buildlog_ubuntu-artful-amd64.ubuntu-defaults-builder_0.55_BUILDING.txt.gz) Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE (\w+)}/ at /<<PKGBUILDDIR>>/bin/dh_ubuntu_defaults line 97. Experimental push on scalar is now forbidden at /<<PKGBUILDDIR>>/bin/dh_ubuntu_defaults line 597, near "$file)" Experimental push on scalar is now forbidden at /<<PKGBUILDDIR>>/bin/dh_ubuntu_defaults line 603, near "$file_path)" I'd rather someone who knew perl better than me take a look at this. The package fails to build in bionic, artful and newer, as far as I can tell because dh_ubuntu_defaults uses deprecated perl features: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE distro_release_name}/ at /home/ubuntu/Desktop/ubuntu-defaults-builder-0.57/bin/dh_ubuntu_defaults line 100, <F> line 1. debian/rules:7: recipe for target 'override_dh_install' failed make[4]: *** [override_dh_install] Error 255 I'd rather someone who knew perl better than me take a look at this.
2020-07-05 06:16:40 Mantas Kriaučiūnas description The package fails to build in bionic, artful and newer, as far as I can tell because dh_ubuntu_defaults uses deprecated perl features: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE distro_release_name}/ at /home/ubuntu/Desktop/ubuntu-defaults-builder-0.57/bin/dh_ubuntu_defaults line 100, <F> line 1. debian/rules:7: recipe for target 'override_dh_install' failed make[4]: *** [override_dh_install] Error 255 I'd rather someone who knew perl better than me take a look at this. The package fails to build in bionic, artful and newer, as far as I can tell because dh_ubuntu_defaults uses deprecated perl features: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\${ <-- HERE distro_release_name}/ at /home/ubuntu/Desktop/ubuntu-defaults-builder-0.57/bin/dh_ubuntu_defaults line 100, <F> line 1. debian/rules:7: recipe for target 'override_dh_install' failed make[4]: *** [override_dh_install] Error 255 I've patched bin/dh_ubuntu_defaults by enclosing left brace of ${$var} within square brackets: --- /usr/bin/dh_ubuntu_defaults 2017-06-23 03:33:59.000000000 +0000 +++ bin/dh_ubuntu_defaults 2020-07-05 04:25:29.909974148 +0000 @@ -97,7 +97,7 @@ while (/\$\{(\w+)\}/) { my $var = $1; error "unknown macro: $var" unless exists $macros{$var}; - s/\${$var}/$macros{$var}/g; + s/\$[{]$var}/$macros{$var}/g; } push @lines, $_; Now tests doesn't fail, but when I build defaults package dh_ubuntu_defaults doesn't generate depends/recommends in Ubuntu 18.04 and newer if there is a folder "ubiquity-slideshow" in defaults package - I get warnings during build of my ubuntu-defaults package: dh_install dh_ubuntu_defaults --disable-restrictions dh_ubuntu_defaults: doit() + doit_*() calls will no longer spawn a shell in compat 12 for single string arguments (please use complex_doit instead) dh_ubuntu_defaults: This feature will be removed in compat 12. dh_ubuntu_defaults: doit() + doit_*() calls will no longer spawn a shell in compat 12 for single string arguments (please use complex_doit instead) dh_ubuntu_defaults: This feature will be removed in compat 12. dh_ubuntu_defaults: doit() + doit_*() calls will no longer spawn a shell in compat 12 for single string arguments (please use complex_doit instead) dh_ubuntu_defaults: This feature will be removed in compat 12. make[1]: Leaving directory '/home/ubuntu/Desktop/ubuntu-defaults-baltix-master' dh_installdocs dh_installchangelogs dh_installgsettings dh_icons dh_perl dh_configpackage dh_link dh_strip_nondeterminism dh_compress dh_fixperms dh_missing dh_installdeb dh_gencontrol dpkg-gencontrol: warning: Depends field of package ubuntu-defaults-baltix: unknown substitution variable ${ubuntudefaults:Depends} dpkg-gencontrol: warning: Recommends field of package ubuntu-defaults-baltix: unknown substitution variable ${ubuntudefaults:Recommends} I'd rather someone who knew perl better than me take a look at this.
2020-07-05 06:17:30 Mantas Kriaučiūnas bug task added baltix-default-settings
2020-07-05 06:17:38 Mantas Kriaučiūnas baltix-default-settings: status New Triaged
2020-07-05 06:17:43 Mantas Kriaučiūnas baltix-default-settings: importance Undecided Critical
2020-07-05 06:17:46 Mantas Kriaučiūnas baltix-default-settings: assignee Mantas Kriaučiūnas (mantas)