[opensuse-buildservice] Ubuntu 16.04 — dpkg: error processing package x11-common (--install)
Hello! First of all than you for Ubuntu 16.04 support. Console apps are built fine but X11 ones not: [ 29s] [17/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted. [ 29s] installing [ 29s] Adding 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils' [ 29s] [18/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted. [ 29s] installing [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 13: update-rc.d: command not found [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 16: invoke-rc.d: command not found [ 30s] dpkg: error processing package x11-common (--install): [ 30s] subprocess installed post-installation script returned error exit status 127 [ 30s] Errors were encountered while processing: [ 30s] x11-common [ 30s] exit ... See more at https://build.opensuse.org/package/live_build_log/home:DarkSS:deb/hzs-remind... f.e. -- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
This is the same issue that I reported the other day. It seems all init script support is broken in _all_ Debian based systems (Ubuntu 14.04, Debian 8.0, and looks like Ubuntu 16.04 as well.) Is there a formal process to file bugs? What component is involved here (maybe I can get someone locally to look at it as well.)? Thanks. -Matt On Sun, 2016-04-24 at 16:45 +0300, Dmitriy Perlow wrote:
Hello!
First of all than you for Ubuntu 16.04 support.
Console apps are built fine but X11 ones not:
[ 29s] [17/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted. [ 29s] installing [ 29s] Adding 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils' [ 29s] [18/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted. [ 29s] installing [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 13: update-rc.d: command not found [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 16: invoke-rc.d: command not found [ 30s] dpkg: error processing package x11-common (--install): [ 30s] subprocess installed post-installation script returned error exit status 127 [ 30s] Errors were encountered while processing: [ 30s] x11-common [ 30s] exit ...
See more at https://build.opensuse.org/package/live_build_log/home:DarkSS:deb/hzs-remind... f.e.
-- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC
Matthew Drobnak
This is the same issue that I reported the other day. It seems all init script support is broken in _all_ Debian based systems (Ubuntu 14.04, Debian 8.0, and looks like Ubuntu 16.04 as well.)
Just triggered 15.10 & 16.04 of the same package. 15.10 builds fine but 16.04 fails.
Is there a formal process to file bugs?
Github of bugs.opensuse.org.
What component is involved here (maybe I can get someone locally to look at it as well.)?
Thanks.
-Matt
On Sun, 2016-04-24 at 16:45 +0300, Dmitriy Perlow wrote:
Hello!
First of all than you for Ubuntu 16.04 support.
Console apps are built fine but X11 ones not:
[ 29s] [17/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted. [ 29s] installing [ 29s] Adding 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils' [ 29s] [18/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted. [ 29s] installing [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 13: update-rc.d: command not found [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 16: invoke-rc.d: command not found [ 30s] dpkg: error processing package x11-common (--install): [ 30s] subprocess installed post-installation script returned error exit status 127 [ 30s] Errors were encountered while processing: [ 30s] x11-common [ 30s] exit ...
See more at https://build.opensuse.org/package/live_build_log/home:DarkSS:deb/hzs-remind... f.e.
-- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
This seems to have made it work: obs01:/usr/lib/build # diff -u build-pkg-deb.bak build-pkg-deb --- build-pkg-deb.bak 2014-04-25 07:22:50.000000000 +0000 +++ build-pkg-deb 2016-04-25 20:33:32.026271249 +0000 @@ -49,6 +49,9 @@ echo "linking /sbin/start to /bin/true" mv "$BUILD_ROOT/sbin/start" "$BUILD_ROOT/sbin/start.disabled" ln -s "/bin/true" "$BUILD_ROOT/sbin/start" + echo "linking /usr/sbin/invoke-rc.d to /bin/true" + mv "$BUILD_ROOT/usr/sbin/invoke-rc.d" "$BUILD_ROOT/usr/sbin/invoke-rc.d.disabled" + ln -s "/bin/true" "$BUILD_ROOT/usr/sbin/invoke-rc.d" fi fi # another workaround, see bug bnc#733699 I got the file to modify from https://github.com/openSUSE/open-build-service/issues/1406 -Matt On Mon, 2016-04-25 at 23:15 +0300, Dmitriy Perlow wrote:
Matthew Drobnak
Mon, 25 Apr 2016 16:51:45 +0300: This is the same issue that I reported the other day. It seems all init script support is broken in _all_ Debian based systems (Ubuntu 14.04, Debian 8.0, and looks like Ubuntu 16.04 as well.)
Just triggered 15.10 & 16.04 of the same package. 15.10 builds fine but 16.04 fails.
Is there a formal process to file bugs?
Github of bugs.opensuse.org.
What component is involved here (maybe I can get someone locally to look at it as well.)?
Thanks.
-Matt
On Sun, 2016-04-24 at 16:45 +0300, Dmitriy Perlow wrote:
Hello!
First of all than you for Ubuntu 16.04 support.
Console apps are built fine but X11 ones not:
[ 29s] [17/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted. [ 29s] installing [ 29s] Adding 'diversion of /usr/share/initramfs-tools/hooks/klibc to /usr/share/initramfs-tools/hooks/klibc^i-t by klibc-utils' [ 29s] [18/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted. [ 29s] installing [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 13: update-rc.d: command not found [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 16: invoke-rc.d: command not found [ 30s] dpkg: error processing package x11-common (--install): [ 30s] subprocess installed post-installation script returned error exit status 127 [ 30s] Errors were encountered while processing: [ 30s] x11-common [ 30s] exit ...
See more at https://build.opensuse.org/package/live_build_log/home:DarkSS:deb/hzs-remind... f.e.
-- Best regards, Dmitriy Perlow R&D chemical engineer Lekpharm JLLC
On Montag, 25. April 2016, 20:35:24 wrote Matthew Drobnak:
This seems to have made it work:
obs01:/usr/lib/build # diff -u build-pkg-deb.bak build-pkg-deb --- build-pkg-deb.bak 2014-04-25 07:22:50.000000000 +0000 +++ build-pkg-deb 2016-04-25 20:33:32.026271249 +0000 @@ -49,6 +49,9 @@ echo "linking /sbin/start to /bin/true" mv "$BUILD_ROOT/sbin/start" "$BUILD_ROOT/sbin/start.disabled" ln -s "/bin/true" "$BUILD_ROOT/sbin/start" + echo "linking /usr/sbin/invoke-rc.d to /bin/true" + mv "$BUILD_ROOT/usr/sbin/invoke-rc.d" "$BUILD_ROOT/usr/sbin/invoke-rc.d.disabled" + ln -s "/bin/true" "$BUILD_ROOT/usr/sbin/invoke-rc.d"
We solved this via defining the right packages for Ubuntu 16.04 We try to avoid distribution specific code in the build script... -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Have you got an example ? I use opensuse 13.1 # osc ls Your user account / password are not configured yet. You will be asked for them below, and they will be stored in /root/.oscrc for future use. Creating osc configuration file /root/.oscrc ... Username: [id] Password: [password] done Server returned an error: HTTP Error 401: Authorization Required -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Montag, 25. April 2016, 13:51:45 wrote Matthew Drobnak:
This is the same issue that I reported the other day. It seems all init script support is broken in _all_ Debian based systems (Ubuntu 14.04, Debian 8.0, and looks like Ubuntu 16.04 as well.)
Is there a formal process to file bugs?
You can, but maybe you could describe this a bit more detailed here first. Debugging new distros is something what can be done by any OBS user, so it would be good to discuss the issues here first.
What component is involved here (maybe I can get someone locally to look at it as well.)?
Usually all problems are solvable by defining the right set of packages inside of the build config (osc meta prjconf). You experiment also in your home project and using local builds to check what is broken. ...
On Sun, 2016-04-24 at 16:45 +0300, Dmitriy Perlow wrote: ...
[ 29s] [17/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted.
This is still open, seems that we need to call some configuration script after preinstall since the module should be there. ...
[ 29s] installing [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 13: update-rc.d: command not found [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 16: invoke-rc.d: command not found
This error should be gone now. Thanks to Jürgen Weigert who checked and told me the right package which needs to be preinstalled. -- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
I described the issue in the message 'Ubuntu 14.04 build setup Fails due to init script issues'. See: https://build.opensuse.org/package/live_build_log/home:mdrobnak/libvirt/xUbu... As for the project configuration, I verified my local configuration was the same as build.opensuse.org for Ubuntu 14.04. That was the first thing I checked. The second was changelogs. It sounds like the invoke-rc.d thing is the root cause here, as that is what my workaround covered. It would be great if you could let us know what changed so that I can test that here. Thanks. -Matt On Tue, 2016-04-26 at 08:05 +0200, Adrian Schröter wrote:
On Montag, 25. April 2016, 13:51:45 wrote Matthew Drobnak:
This is the same issue that I reported the other day. It seems all init script support is broken in _all_ Debian based systems (Ubuntu 14.04, Debian 8.0, and looks like Ubuntu 16.04 as well.)
Is there a formal process to file bugs?
You can, but maybe you could describe this a bit more detailed here first. Debugging new distros is something what can be done by any OBS user, so it would be good to discuss the issues here first.
What component is involved here (maybe I can get someone locally to look at it as well.)?
Usually all problems are solvable by defining the right set of packages inside of the build config (osc meta prjconf). You experiment also in your home project and using local builds to check what is broken.
...
On Sun, 2016-04-24 at 16:45 +0300, Dmitriy Perlow wrote: ...
[ 29s] [17/238] Can't locate Digest/MD5.pm in @INC (you may need to install the Digest::MD5 module) (@INC contains: /.build /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /.build/Build.pm line 24. [ 29s] BEGIN failed--compilation aborted at /.build/Build.pm line 24. [ 29s] Compilation failed in require. [ 29s] BEGIN failed--compilation aborted.
This is still open, seems that we need to call some configuration script after preinstall since the module should be there.
...
[ 29s] installing [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 13: update-rc.d: command not found [ 30s] /var/lib/dpkg/info/x11-common.postinst: line 16: invoke-rc.d: command not found
This error should be gone now. Thanks to Jürgen Weigert who checked and told me the right package which needs to be preinstalled.
participants (4)
-
Adrian Schröter
-
Dmitriy Perlow
-
doiggl@velocitynet.com.au
-
Matthew Drobnak