Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 305369

Summary: app-arch/p7zip-9.04 has a broken makefile
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Helmut Jarausch 2010-02-16 08:37:21 UTC
app-arch/p7zip-9.04 doesn't build since it tries to hardlink directories :
cd bin ; rm -f Lang ; ln ../GUI/Lang .
ln: `../GUI/Lang': hard link not allowed for directory
make: *** [7zG] Error 1


The following temporary patch fixes it (no solution since 'makefile' has
been generated)

--- makefile.ORIG       2010-02-16 09:24:36.694760021 +0100
+++ makefile    2010-02-16 09:31:41.974510361 +0100
@@ -55,8 +55,8 @@
        $(MAKE) -C CPP/7zip/UI/Console           all
 
 7zG: common7z
-       cd bin ; rm -f Lang ; ln ../GUI/Lang .
-       cd bin ; rm -f help ; ln ../GUI/help .
+       cd bin ; rm -f Lang ; ln -s ../GUI/Lang .
+       cd bin ; rm -f help ; ln -s ../GUI/help .
        $(MAKE) -C CPP/7zip/UI/GUI               all
 
 clean:


Reproducible: Always
Comment 1 Doktor Notor 2010-02-16 08:42:36 UTC
Already fixed, Bug 305345
Comment 2 tman 2010-02-16 09:05:27 UTC
would be nice itf it get a bum in portage soon 
Comment 3 Doktor Notor 2010-02-16 09:26:10 UTC
(In reply to comment #2)
> would be nice itf it get a bum in portage soon 

What kind of bum(p)? simply emerge --sync; there are no revision bumps for build-time failures because there's no point in bumping it. Failed? Try again later. Didn't fail? Won't needlessly get annoyed by pointless "upgrade". Duplicate of Bug 305345 and nothing more to see here.  
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-02-16 09:45:54 UTC

*** This bug has been marked as a duplicate of bug 305345 ***