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


bug #34460: GNUbatch 1.4 DESTDIR fixes

Submitter:  None
Submitted:  Sun 02 Oct 2011 02:22:34 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 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)

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.




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

Attach Files:

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 (1KiB - 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


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 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.12.
Corresponding source code