mipsen cross-toolchain bootstrap stalled, file conflicts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cross-toolchain-base-mipsen (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gcc-11-cross-mipsen (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gcc-12-cross-mipsen (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gcc-9-cross-mipsen (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gcc-defaults-mipsen (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
glibc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The build-dependencies of gcc-11-cross-mipsen are uninstallable in Ubuntu because of file conflicts:
Preparing to unpack .../libc6-
Unpacking libc6-mips32-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/mips64-
Preparing to unpack .../libc6-
Unpacking libc6-mips32-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/mips64el-
Preparing to unpack .../libc6-
Unpacking libc6-mips32-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/mipsisa64
Preparing to unpack .../libc6-
Unpacking libc6-mips32-
dpkg: error processing archive /var/cache/
trying to overwrite '/usr/mipsisa64
Errors were encountered while processing:
/var/cache/
/var/cache/
/var/cache/
/var/cache/
These file conflicts do not exist in Debian, the packages are co-installable.
$ dpkg -S /usr/mips64-
libc6-mips32-
$
$ dpkg -L libc6-mips64-
/usr/mips64-
$
So there's a lib vs lib64 path difference between Debian and Ubuntu, I don't know why.
The problem is that libc6-mips64-cross contains /usr/mips64- linux-gnuabi64/ lib/ld. so.1 in Ubuntu, but not in Debian. I suspect this is a result of changes in glibc upstream, present in Ubuntu (glibc 2.35) but not in Debian (glibc 2.33), regarding the canonical names of the various library files.