Opened 16 years ago
Closed 16 years ago
#2396 closed task (fixed)
Bzip2 creates symlinks with absolute pathnames
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 6.5 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
Bzip2's Makefile contains a number of commands similar to:
ln -s -f $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
which creates several symlinks in $(PREFIX)/bin that point specifically to that path. This would cause issues if any of these were moved elsewhere, and certainly if a user tried something like installing to a fakeroot dir. In CLFS we fixed this with a command similar to this before installation:
sed -i 's@\(ln -s -f \)$(PREFIX)/bin/@\1@' Makefile
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Milestone: | → 6.5 |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commit revision 8879.
Note:
See TracTickets
for help on using tickets.
Hi Chris,
Thanks for the report. I couldn't see that command at http://www.linuxfromscratch.org/clfs/view/svn/x86/final-system/bzip2.html. I was just after some words that explain the issue without using terms like fakeroot, which we haven't introduced to LFS yet.
In addition, has that fix been sent upstream?
Thanks,
Matt.