[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977461: gcc-1[01]-offload-amdgcn,gcc-1[01]-hppa64-linux-gnu: shipping unversioned binaries causes file conflicts



Package: gcc-10-offload-amdgcn,gcc-11-offload-amdgcn,gcc-10-hppa64-linux-gnu,gcc-11-hppa64-linux-gnu
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: found -1 10.2.1-1
Control: found -1 11-20201208-1

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files.

>From the attached log (scroll to the bottom...):

  Preparing to unpack .../gcc-11-offload-amdgcn_11-20201208-1_amd64.deb ...
  Unpacking gcc-11-offload-amdgcn (11-20201208-1) ...
  dpkg: error processing archive /var/cache/apt/archives/gcc-11-offload-amdgcn_11-20201208-1_amd64.deb (--unpack):
   trying to overwrite '/usr/amdgcn-amdhsa/bin/ar', which is also in package gcc-10-offload-amdgcn 10.2.1-1
  Errors were encountered while processing:
   /var/cache/apt/archives/gcc-11-offload-amdgcn_11-20201208-1_amd64.deb

These unversioned files are in conflict between the gcc versions:

usr/amdgcn-amdhsa/bin/ar
usr/amdgcn-amdhsa/bin/as
usr/amdgcn-amdhsa/bin/ld
usr/amdgcn-amdhsa/bin/nm
usr/amdgcn-amdhsa/bin/ranlib

usr/bin/hppa64-linux-gnu-lto-dump

Maybe the unversioned binaries should be managed by unversioned packages
from gcc-defaults instead.

cheers,

Andreas

Attachment: gcc-10-offload-amdgcn=10.2.1-1_gcc-11-offload-amdgcn=11-20201208-1.log.gz
Description: application/gzip


Reply to: