Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184535 - gnupg-2.0.5 is missing execute permission (does not build on fbsd)
Summary: gnupg-2.0.5 is missing execute permission (does not build on fbsd)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL: https://bugs.g10code.com/gnupg/issue812
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-07 20:00 UTC by Joe Peterson (RETIRED)
Modified: 2007-07-08 10:58 UTC (History)
1 user (show)

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


Attachments
gnupg-2.0.5.ebuild (gnupg-2.0.5.ebuild.diff,313 bytes, patch)
2007-07-07 20:02 UTC, Joe Peterson (RETIRED)
Details | Diff
build.log (build.log,133.98 KB, text/plain)
2007-07-08 05:00 UTC, Joe Peterson (RETIRED)
Details
config.log (config.log,168.32 KB, text/plain)
2007-07-08 05:07 UTC, Joe Peterson (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Peterson (RETIRED) gentoo-dev 2007-07-07 20:00:26 UTC
The file scripts/install-sh is not executable, so trying to execute this fails (at least on gentoo/freebsd).
Comment 1 Joe Peterson (RETIRED) gentoo-dev 2007-07-07 20:02:49 UTC
Created attachment 124171 [details, diff]
gnupg-2.0.5.ebuild

This patch to the ebuild fixes it.
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2007-07-08 03:46:35 UTC
As I see, the new install shell is executed only if you "make install-strip", but why do you want to do this?
Also it is executed with $(SHELL) prefix so there should be no problem.
Can you please attach config.log and build error output?
Comment 3 Joe Peterson (RETIRED) gentoo-dev 2007-07-08 05:00:00 UTC
Created attachment 124209 [details]
build.log

Well, I did not *want* to do anything in particular.  I simply did an emerge of this package, and the error happens (at least on g/fbsd).

The error occurs while in the "kbx" dir trying to make the "install-binPROGRAMS" target.  Note that the second line in this block is:

    test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"

MKDIR_P is "../scripts/install-sh -c -d"

So if this gets executed, it doesn't look like it is done with $(SHELL); maybe you are referring to another place this is called?  The error I get is "Permission denied".

Note that doing an ebuild...unpack followed by an ebuild...compile does not invoke this.  Only the full emerge shows the problem.  Attached is the build.log.
Comment 4 Joe Peterson (RETIRED) gentoo-dev 2007-07-08 05:07:12 UTC
Created attachment 124211 [details]
config.log

Here's my config.log
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2007-07-08 10:58:23 UTC
OK.
This script is used without SHELL prefix on fbsd as install replacement for creating directories.
Thanks for the logs.