Opened 6 years ago

Closed 2 years ago

#1305 closed defect (worksforme)

readelf not found on startup

Reported by: h4x Owned by: killyourtv
Priority: minor Milestone:
Component: package/debian Version: 0.9.13
Keywords: debian arm Cc:
Parent Tickets: Sensitive: no

Description

Problem: If i start the i2prouter with "i2prouter start" i got the error message "readelf not found" but the i2prouter is starting.

Solution: After installing the package "dpkg-cross" no error message on startup of i2p.

OS: Debian Wheezy (Linux debian 3.4.79-r0-s20-rm2+ #54 SMP)
Arch: armv7l
Java: Java™ SE Runtime Environment (build 1.8.0-b132)
i2p-Version: i2p-router 0.9.13-1~deb7u+1 (from i2p repo)
readelf-output:
# readelf -A /proc/self/exe | grep Tag_ABI_VFP_args
# Tag_ABI_VFP_args: VFP registers

Subtickets

Change History (8)

comment:1 Changed 6 years ago by killyourtv

Thanks for the report. I'll look into it.

comment:2 Changed 6 years ago by h4x

Additional information:
OS and i2p are installed on and running from the sd-card.

Version 0, edited 6 years ago by h4x (next)

comment:3 Changed 6 years ago by killyourtv

What is the version of the wrapper package?

$ dpkg -l 'service-wrapper' 'libservice-wrapper-jni' 'libservice-wrapper-java'

Can you try the wrapper package from Wheezy to see if it'll work without needing dpkg-cross? Something like apt-get install -t wheezy service-wrapper libservice-wrapper-jni libservice-wrapper-java -dpkg-cross would probably take care of it.

comment:4 Changed 6 years ago by h4x

ii libservice-wrapper-java 3.5.22-1~deb7u1 all Jar daemon wrapper java libraries
ii libservice-wrapper-jni 3.5.22-1~deb7u1 armhf Jar daemon wrapper JNI libraries
ii service-wrapper 3.5.22-1~deb7u1 armhf Jar daemon wrapper

I think these are the dependencies of the i2p package. Without 'dpkg-cross' i got the message 'readelf not found' because the binary 'readelf' doesn't exist. It comes with the 'dpkg-cross' package.

Last edited 6 years ago by h4x (previous) (diff)

comment:5 Changed 5 years ago by zzz

Component: unspecifiedpackage/debian
Owner: set to killyourtv
Status: newassigned

comment:6 Changed 5 years ago by zzz

Milestone: 0.9.140.9.15

comment:7 Changed 5 years ago by str4d

Keywords: debian arm added; readelf removed
Milestone: 0.9.15

comment:8 Changed 2 years ago by zzz

Resolution: worksforme
Status: assignedclosed

quote https://packages.debian.org/stretch/dpkg-cross -

dpkg-cross is a tool for installing libraries and headers from packages which have not been converted for Multi-Arch to support cross compiling.

This package contains only the deprecated dpkg-cross binary. Future releases will drop the dpkg-cross and libdebian-dpkgcross-perl binary packages.

—-

readelf is in the binutils package, which everybody should have, so not sure what this is about.

Note: See TracTickets for help on using tickets.