[Bug 1872854] Re: GCC-10 library conflict on s390x
Otto Kekäläinen
1872854 at bugs.launchpad.net
Thu Apr 16 15:47:40 UTC 2020
Yes, it is a pain sometimes to track down those apt errors since apt
does not automatically resolve those dependency chains and clearly print
out which breaks/replace/provides/depends it chokes on.
However there is a testcase Dockerfile and the same file run on amd64
does not yield the issue.
The Travis-CI pipeline we were running was fine until around beginning
of April which matches the upload time of gcc-10 to the ubuntu-
toolchain-r/test PPA.
Note that since http://ports.ubuntu.com/ubuntu-ports/ is by default
enabled in Travis-CI and in official Bionic s390x images, they might
also play some interaction here. But definitely everything worked in
March and then in April CI that was running the same thing all of the
time stopped working as described in this issue.
Right now I am working to upload separate gcc-7 and gcc-9 to custom PPA
and use it instead of the toolchain test repo in the future
(https://launchpad.net/~maria-captains/+archive/ubuntu/travis-ci-helper-
repo/).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-10 in Ubuntu.
https://bugs.launchpad.net/bugs/1872854
Title:
GCC-10 library conflict on s390x
Status in gcc-10 package in Ubuntu:
New
Bug description:
The upload
gcc-10 10-20200405-0ubuntu1~18.04 Matthias Klose
(2020-04-06)
to
https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
Seems to have rendered certain combinations of GCC uninstallable on s390x. This is a test PPA yes, but it happens to be one of the default ones on Travis-CI so it matters.
Example scenario:
root at d5ba67a84ccb:/# apt-get install libgcc-7-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libcc1-0 libgcc-s1
The following NEW packages will be installed:
libgcc-7-dev
0 upgraded, 1 newly installed, 2 to remove and 12 not upgraded.
Need to get 641 kB of archives.
After this operation, 5158 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/main s390x libgcc-7-dev s390x 7.5.0-3ubuntu1~18.04 [641 kB]
Fetched 641 kB in 6s (110 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 10706 files and directories currently installed.)
Removing libcc1-0:s390x (10-20200405-0ubuntu1~18.04) ...
Removing libgcc-s1:s390x (10-20200405-0ubuntu1~18.04) ...
Selecting previously unselected package libgcc-7-dev:s390x.
(Reading database ... 10700 files and directories currently installed.)
Preparing to unpack .../libgcc-7-dev_7.5.0-3ubuntu1~18.04_s390x.deb ...
Unpacking libgcc-7-dev:s390x (7.5.0-3ubuntu1~18.04) ...
Setting up libgcc-7-dev:s390x (7.5.0-3ubuntu1~18.04) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
root at d5ba67a84ccb:/# apt-get install gcc-7
/usr/bin/apt-get: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-10/+bug/1872854/+subscriptions
More information about the foundations-bugs
mailing list