bugCompact Disc Input and Control Library - Bugs: bug #61082, Error while relinking...

 
 

bug #61082: Error while relinking 'libiso9660.la', possibly because of denied permission.

Submitter:  Jacek Rużyczka <professor_fate>
Submitted:  Wed 25 Aug 2021 08:23:11 PM UTC
   
 
Category:  compilation Severity:  5 - Average
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 25 Aug 2021 09:07:03 PM UTC, comment #1: 

OK, at least I've found the culprit: It's missing write permissions on the subdirs the already-built libs reside, for instance: libcdio-2.1.0/lib/iso9660 (also udf and cdio++; all including the corresponding .libs subdirs).  You must grant write permission on all these dirs manually (!!) to all users, so that files inside them man get moved.

Jacek Rużyczka <professor_fate>
Wed 25 Aug 2021 08:23:11 PM UTC, original submission:  

I'm trying to install libcdio-2.1.0 on a fresh Raspbian Buster system. Installing CDIO itself (by using sudo make install) seems to work, but when trying to setup the ISO9660 driver, the install script always gets a hiccup when trying to relink libiso9660.la:

pi@autoradio:/import/valen/autoradio/libcdio-2.1.0 $ sudo make install
[…]
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libiso9660.la '/usr/lib'
libtool: warning: relinking 'libiso9660.la'
libtool: install: (cd /import/valen/autoradio/libcdio-2.1.0/lib/iso9660; /bin/bash "/import/valen/autoradio/libcdio-2.1.0/libtool"  --silent --tag CC --mode=relink gcc -g -O2 -Wall -Wbad-function-cast -Wcast-align -Wchar-subscripts -Wdeclaration-after-statement -Wdisabled-optimization -Wendif-labels -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-sign-compare -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -version-info 11:0:0 -Wl,--version-script=libiso9660.la.ver -o libiso9660.la -rpath /usr/lib iso9660.lo iso9660_fs.lo rock.lo xa.lo ../../lib/driver/libcdio.la -lm )
mv: cannot move 'libiso9660.so.11.0.0' to 'libiso9660.so.11.0.0U': Permission denied
libtool:   error: error: relink 'libiso9660.la' with the above command before installing it

I can't find any permission issues in the file(s) in question:

pi@autoradio:/import/valen/autoradio/libcdio-2.1.0/lib/iso9660/.libs $ ls -al
insgesamt 688
drwxr-xr-x 2 pi pi      4096 Aug 24 23:13 .
drwxr-xr-x 4 pi users   4096 Aug 24 23:13 ..
-rw-r--r-- 1 pi pi    120292 Aug 24 23:12 iso9660_fs.o
-rw-r--r-- 1 pi pi     75464 Aug 24 23:12 iso9660.o
-rw-r--r-- 1 pi pi    253256 Aug 24 23:13 libiso9660.a
lrwxrwxrwx 1 pi pi        16 Aug 24 23:13 libiso9660.la -> ../libiso9660.la
-rw-r--r-- 1 pi pi       974 Aug 24 23:13 libiso9660.lai
lrwxrwxrwx 1 pi pi        20 Aug 24 23:13 libiso9660.so -> libiso9660.so.11.0.0
lrwxrwxrwx 1 pi pi        20 Aug 24 23:13 libiso9660.so.11 -> libiso9660.so.11.0.0
-rwxrwxrwx 1 pi pi    186892 Aug 24 23:13 libiso9660.so.11.0.0
-rw-r--r-- 1 pi pi     32176 Aug 24 23:13 rock.o
-rw-r--r-- 1 pi pi     15864 Aug 24 23:13 xa.o

What's the issue here? Thank you.

Jacek Rużyczka <professor_fate>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by professor_fate (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code