FS#69683 - arm-none-eabi-binutils conflict with binutils

Attached to Project: Arch Linux
Opened by zhengyi (goodmen) - Thursday, 18 February 2021, 00:39 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 18 February 2021, 06:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No

Details

Description:

error: failed to commit transaction (conflicting files)
arm-none-eabi-binutils: /usr/lib/bfd-plugins/libdep.so exists in filesystem (owned by binutils)


Additional info:
version: 2.36.1-1


Steps to reproduce:
pacman -Syu
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Thursday, 18 February 2021, 06:08 GMT
Reason for closing:  Duplicate
Additional comments about closing:  FS69682
Comment by Ali S. Raza (ASR) - Thursday, 18 February 2021, 05:37 GMT
Hello,

I am a relatively new Arch user and have encountered the same issue. Hopefully this is not redundant, but:

Description:

After attempting `pacman -Syu` on Thu Feb 18 2021, the transaction fails with the following error message:

`error: failed to commit transaction (conflicting files)
arm-none-eabi-binutils: /usr/lib/bfd-plugins/libdep.so exists in filesystem (owned by binutils)
Errors occurred, no packages were upgraded.`

Additional Information:

The version of `community/arm-none-eabi-binutils` for the attempted transaction is `2.36.1-1`.
For me, this is pulled in as a dependency for `qmk`.
The version of `community/qmk` is 0.0.39-1.
The version of `core/binutils` is 2.36-3.
`pacman --version` yields `Pacman v5.2.2 - libalpm v12.0.2`
`uname --all` yields `Linux teal 5.10.16-arch1-1 #1 SMP PREEMPT Sat, 13 Feb 2021 20:50:18 +0000 x86_64 GNU/Linux`

Steps to Reproduce:
`sudo pacman -Syu arm-none-eabi-binutils`

Please let me know if any additional information may be helpful.
Comment by Ilango Rajagopal (ilango100) - Thursday, 18 February 2021, 05:53 GMT
This also happens for riscv64-elf-binutils, riscv32-elf-binutils and probably for riscv64-linux-gnu-binutils when it gets updated to 2.36.

I tried extracting libdep.so from riscv64-elf-binutils, diffing that with /usr/lib/bfd-plugins/libdep.so (from binutils) shows they are exactly the same. A quick fix may be to delete the file from pkgdir after building.

Loading...