toltec icon indicating copy to clipboard operation
toltec copied to clipboard

The 'strings' utilty is missing libbfd

Open rM-self-serve opened this issue 1 year ago • 3 comments

Describe the issue Toltec installs /opt/bin/strings which is a sym link to /opt/bin/binutils-strings. On the rM2 v2.15, binutils-strings requires libbfd-2.40.so which is not installed by default.

To Reproduce Install toltec on the rM2 v2.15 and run strings.

Expected behaviour N/A

Upstream issue This is likely an issue in entware though I have not identified it.

Screenshots Screenshot_2024-01-01_23-45-01

Device/Package information:

  • Device: reMarkable 2
  • OS version: 2.15
  • Package: strings

rM-self-serve avatar Jan 02 '24 05:01 rM-self-serve

Package: binutils
Version: 2.40-1a
Depends: libc, libssp, librt, libpthread, objdump, ar
Alternatives: 200:/opt/bin/strings:/opt/bin/binutils-strings
Source: package/devel/binutils
SourceName: binutils
License: GPL-3.0+
Section: devel
SourceDateEpoch: 1685640641
CPE-ID: cpe:/a:gnu:binutils
Maintainer: Felix Fietkau <[email protected]>
Architecture: armv7-3.2
Installed-Size: 1244909
Description:  The Binutils package contains a linker, an assembler, and other tools for handling object files

According to control inside the ipk, libbfd is not part of the binutils package, so this would be an upstream issue. If you can track down what is pulling in strings in toltec, we can add libbfd to its dependencies for now to work around this.

Looking at the package definition for binutils in entware, it does appear to reference libbfd, but it's not part of the requirements for libbfd. Assuming I'm reading it correctly.

Eeems avatar Jan 02 '24 05:01 Eeems

@rM-self-serve did you ever look further into this, and if so, did you open an upstream issue for it?

Eeems avatar Feb 14 '24 19:02 Eeems

I took a cursory, unfruitful glance. Given my current circumstances, I do not anticipate I will be able to move this issue forward for the foreseeable future.

rM-self-serve avatar Feb 14 '24 20:02 rM-self-serve