Modify

Opened 6 years ago

Last modified 4 years ago

#11105 new defect

readline creates unwriteable libhistory.so.5.2, strip fails, breaking build

Reported by: Basil Nutmeg <basil+openwrt@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

The libreadline package creates a libhistory.so.5.2 file that does not
have write permissions, on a Linux host. This causes the build to fail
when it attempts to strip this library.

Adding the following to package/libreadline/patches fixed the problem
for me, though I don't know if it's the Right Way.

--- a/support/shlib-install 2012-03-10 11:11:29.000000000 -0800
+++ b/support/shlib-install 2012-03-10 11:11:33.000000000 -0800
@@ -71,7 +71,7 @@

case "$host_os" in
hpux*|darwin*|macosx*|linux*)

if [ -z "$uninstall" ]; then

  • chmod 555 ${INSTALLDIR}/${LIBNAME}

+ chmod 755 ${INSTALLDIR}/${LIBNAME}

fi ;;

cygwin*)

IMPLIBNAME=`echo ${LIBNAME} \

Attachments (1)

readline-writeable-lib.diff (530 bytes) - added by Cybjit <cybjit@…> 6 years ago.
nicer format

Download all attachments as: .zip

Change History (3)

comment:1 Changed 6 years ago by Cybjit <cybjit@…>

This makes the package much bigger when debugging. The patch works for me.

Changed 6 years ago by Cybjit <cybjit@…>

nicer format

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.