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

 
 

bug #34459: gnuspool 1.8 DESTDIR fixes

Submitted by:  None
Submitted on:  Sun 02 Oct 2011 02:02:15 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
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 (3kB - 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

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 02 Oct 2011 02:02:15 PM UTCNoneAttached 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.1-cleanup