bugGNUbatch - Bugs: bug #34460, GNUbatch 1.4 DESTDIR fixes

 
 

bug #34460: GNUbatch 1.4 DESTDIR fixes

Submitted by:  None
Submitted on:  Sun 02 Oct 2011 02:22:34 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 Sep 2012 09:39:56 AM UTC, comment #1:

Just for the log: As far as I can see, the first patch is in (either this patch or some other patch from the ML, since the installation process was very buggy)

Anonymous
Sun 02 Oct 2011 02:22:34 PM UTC, original submission:

Patch #1: 01_gnubatch_destdir_fix.diff

"make install DESTDIR=$DIR" breaks in some 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.

Patch #2: 03_gnubatch_no_gbch-uchange_during_install.diff

The gbch-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 gbch-uchange from Makefile.in so the error doesn't occur. The gbch-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.

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 #24082:  01_gnubatch_destdir_fix.diff added by None (801B - application/octet-stream - GNUbatch 1.4 DESTDIR fixes)
file #24083:  03_gnubatch_no_gbch-uchange_during_install.diff added by None (1kB - application/octet-stream - GNUbatch 1.4 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:22:35 PM UTCNoneAttached File-=>Added 01_gnubatch_destdir_fix.diff, #24082
  Attached File-=>Added 03_gnubatch_no_gbch-uchange_during_install.diff, #24083

Back to the top


Powered by Savane 3.1-cleanup