Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564332 - app-arch/p7zip-15.09: /bin/sh: ln../GUI/Lang: No such file or directory
Summary: app-arch/p7zip-15.09: /bin/sh: ln../GUI/Lang: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-28 15:23 UTC by Perfect Gentleman
Modified: 2015-11-24 11:42 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2015-10-28 15:23:08 UTC
make[1]: Leaving directory '/tmp/portage/app-arch/p7zip-15.09/work/p7zip_15.09/CPP/7zip/UI/Console'
make -j9 -- 7zG
mkdir -p bin
cd bin ; rm -f Lang ; ln../GUI/Lang .
mkdir -p bin/Codecs
make -C CPP/7zip/Bundles/Format7zFree all
/bin/sh: ln../GUI/Lang: No such file or directory
makefile:90: recipe for target 'LangAndHelp' failed
make: *** [LangAndHelp] Error 127

Reproducible: Always
Comment 1 Tomáš Mózes 2015-10-28 15:24:18 UTC
Please attach the full build.log, emerge -pvq p7zip and emerge --info. Thank you.
Comment 2 Perfect Gentleman 2015-10-28 15:52:11 UTC
emerge -pvq p7zp - https://bpaste.net/show/dd278ede9390
emerge --info - https://bpaste.net/show/233eec0b6885
build.log - https://bpaste.net/show/c61e1d062800
Comment 3 Vasilis Lourdas 2015-10-28 17:26:40 UTC
Same error here.
Comment 4 tufadorin 2015-10-28 17:30:11 UTC
Same error here too.
Comment 5 Juergen Rose 2015-10-28 18:45:46 UTC
And for me too
Comment 6 Felix Janda 2015-10-28 18:52:25 UTC
The ebuild has the gem

sed \
	-e 's:-m32 ::g' \
	-e 's:-m64 ::g' \
	-e 's:-O::g' \
	-e 's: -s ::g' \
	-e 's: -s$::g' \
	-e 's:-pipe::g' \
	-e "/^CXX=/s:g++:$(tc-getCXX):" \
	-e "/^CC=/s:gcc:$(tc-getCC):" \
	-e '/ALLFLAGS/s:-s ::' \
	-e "/OPTFLAGS=/s:=.*:=${CXXFLAGS}:" \
	-i makefile* || die

Here the application of 's: -s ::g' to the top makefile causes this
breakage ("ln -s ../GUI/Lang" becomes "ln../GUI/Lang").
Comment 7 David Brooke 2015-10-28 19:14:20 UTC
I too have the same error.
Comment 8 jospezial 2015-10-28 20:23:40 UTC
ebuild from poly-c overlay works.

Calculating dependencies... done!
[ebuild   R    ] app-arch/p7zip-15.09_pre::poly-c  USE="pch rar wxwidgets -doc -kde (-static)" ABI_X86="(-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

>>> Verifying ebuild manifests
>>> Emerging (1 of 1) app-arch/p7zip-15.09_pre::poly-c
>>> Jobs: 0 of 1 complete, 1 running                Load avg: 0.39, 0.30, 0.50
>>> Installing (1 of 1) app-arch/p7zip-15.09_pre::poly-c
>>> Jobs: 1 of 1 complete                           Load avg: 1.16, 0.53, 0.57

 * Messages for package app-arch/p7zip-15.09_pre:

 * Enabling nonfree RAR decompressor
>>> Auto-cleaning packages...
Comment 9 jms 2015-10-28 23:03:04 UTC
same error with

[ebuild     U ~] app-arch/p7zip-15.09::gentoo [9.38.1-r3::gentoo] USE="kde pch wxwidgets -doc -rar (-static)" ABI_X86="(-x32)" 0 KiB
Comment 10 jms 2015-10-28 23:14:25 UTC
maybe a space missing in 
mkdir -p bin
cd bin ; rm -f Lang ; ln../GUI/Lang .

ln ../GUI/Lang .
Comment 11 killerpsi23 2015-10-29 02:01:11 UTC
The content of original 'makefile.oldmake' is:

cd bin ; rm -f Lang ; ln -s ../GUI/Lang .
cd bin ; rm -f help ; ln -s ../GUI/help .

the four characters ' -s ' is missing.
Comment 12 killerpsi23 2015-10-29 02:05:33 UTC
(In reply to killerpsi23 from comment #11)
> The content of original 'makefile.oldmake' is:
> 
> cd bin ; rm -f Lang ; ln -s ../GUI/Lang .
> cd bin ; rm -f help ; ln -s ../GUI/help .
> 
> the four characters ' -s ' is missing.

Some mistake happens in the prepare stage of ebuild, which
destroy the content of 'makefile' and 'makefile.oldmake'
Comment 13 Justin Lecher (RETIRED) gentoo-dev 2015-10-29 08:02:23 UTC
(In reply to Perfect Gentleman from comment #2)
> emerge -pvq p7zp - https://bpaste.net/show/dd278ede9390
> emerge --info - https://bpaste.net/show/233eec0b6885
> build.log - https://bpaste.net/show/c61e1d062800

no paste bins please. Always directly into the bug report.
Comment 14 Justin Lecher (RETIRED) gentoo-dev 2015-10-29 08:20:36 UTC
commit dc66baee3f174784ca7abe23580056f20cb52732
Author: Justin Lecher <jlec@gentoo.org>
Date:   Thu Oct 29 09:20:06 2015 +0100
    
    app-arch/p7zip: Fix build problems for GUI
    
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564332
    
    Package-Manager: portage-2.2.23
    Signed-off-by: Justin Lecher <jlec@gentoo.org>
    
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc66baee3f174784ca7abe23580056f20cb52732
Comment 15 Sven Eden 2015-11-24 10:39:58 UTC
I don't want to sound rude, but simply disabling 7zFM is not a fix.
Comment 16 Justin Lecher (RETIRED) gentoo-dev 2015-11-24 10:59:55 UTC
(In reply to Sven Eden from comment #15)
> I don't want to sound rude, but simply disabling 7zFM is not a fix.

Upstream renamed the executable to 7z_FM_do_not_use. Does this sounds to you, that we should use it?
Comment 17 Sven Eden 2015-11-24 11:42:58 UTC
Oh, my bad, I confused 7zFM with 7zG. ^^ Sorry!