bugGNUspool - Bugs: bug #34459, gnuspool 1.8 DESTDIR fixes

 
 

bug #34459: gnuspool 1.8 DESTDIR fixes

Submitter:  None
Submitted:  Sun 02 Oct 2011 02:02:15 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 02 Oct 2011 02:02:15 PM UTC, original submission:  

Patch #1: 02_gnuspool_no_gspl-uchange.diff

The gspl-uchange command in Makefile.in fails during "make install DESTDIR=$DIR" because the required libraries for the command to work are copied to DESTDIR rather than a directory listed in /etc/ld.so.conf, as a result the dynamic linker cannot find them and the install exits with an error (unless a previous installation on the system exist in which case the required libraries are in place). During normal "make install" the command works because libraries are installed in directories where the dynamic linker does find them. This patch uncomments gspl-uchange from Makefile.in so the error doesn't occur. The gspl-uchange command should probably be executed from a postinst (Debian) or doinst.sh (Slackware) script instead (and whatever the equivalent is for RPM) - especially when packaging gnuspool.


Patch #2: 03_gnuspool_destdir_fix.diff

"make install DESTDIR=$DIR" breaks in several places where target directories do not exist. You can work around this by creating the directories in DESTDIR in advance but with this patch you don't have to.

Markus.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #24080:  02_gnuspool_no_gspl-uchange.diff added by None (956B - application/octet-stream - gnuspool 1.8 DESTDIR fixes)
file #24081:  03_gnuspool_destdir_fix.diff added by None (3KiB - application/octet-stream - gnuspool 1.8 DESTDIR fixes)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2011-10-02 None Attached File- Added 02_gnuspool_no_gspl-uchange.diff, #24080
    Attached File- Added 03_gnuspool_destdir_fix.diff, #24081

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code