/bin/sh: gpg: command not found
Gabriele Kahlout
gabriele at mysimpatico.com
Thu Apr 28 06:40:36 PDT 2011
Of course I've gpg installed, but through macports. It's not needed as a
maven dependency, the pom used to work as-is.
sh-3.2*$ which gpg*
/opt/local/bin/gpg
sh-3.2*$ gpg --version*
gpg (GnuPG) 1.4.11
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA-E, RSA-S, ELG-E, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
sh-3.2*$ ls -l /bin/sh*
-r-xr-xr-x 1 root wheel 1346624 Jun 25 2010 /bin/sh
On Thu, Apr 28, 2011 at 3:34 PM, Bayard Bell <
buffer.g.overflow at googlemail.com> wrote:
> You need to install the gpg port for this. Not sure if that should be
> considered a dependency for Maven.
>
> Sent from my iPad
>
> On 28 Apr 2011, at 13:27, Gabriele Kahlout <gabriele at mysimpatico.com>
> wrote:
>
> Hello,
>
> Trying to [deploy] dp4j pom.xml<http://code.google.com/p/dp4j/source/browse/pom.xml>(u can reproduce my problem) I now get:
>
> [gpg:sign]
> /bin/sh: gpg: command not found
>
> I suspect this got to do with macports path issues, as we discussed last
> week. Any suggestions?
>
> $ echo $PATH
> /opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/Current/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/lib/:/usr/local/git/bin:/Applications/NetBeans/sges-v3/javadb/lib/derbytools.jar:/Applications/NetBeans/sges-v3/javadb/bin:/Applications/NetBeans/NetBeans
> Dev 201011100000.app/Contents/Resources/NetBeans/java/
>
> [deploy] $ mvn -Pdeploy,sign deploy
>
>
>
> On Fri, Apr 22, 2011 at 10:44 AM, Gabriele Kahlout <<gabriele at mysimpatico.com>
> gabriele at mysimpatico.com> wrote:
>
>>
>>
>> On Fri, Apr 22, 2011 at 8:54 AM, Jeremy Huddleston < <jeremyhu at apple.com>
>> jeremyhu at apple.com> wrote:
>>
>>>
>>> On Apr 21, 2011, at 10:50 PM, Gabriele Kahlout wrote:
>>> > So should I empty those folders or remove them from the path? I've done
>>> the
>>> > latter but they keep on getting added at startup.
>>> > In environment.plist:
>>> >
>>> PATH=$LIBS:/usr/bin:/usr/sbin:/usr/local/git/bin:/usr/X11/bin:/Applications/NetBeans/sges-v3/javadb/lib/derbytools.jar:$DERBY_INSTALL:$MAVEN_INSTALL
>>>
>>> ^^^ There's your problem. You're providing a non-default $PATH to
>>> launchd, and you forgot to include /bin (where hostname is).
>>>
>>>
>>> That's indeed the problem. If I execute $ export PATH=/bin:$PATH gimp
>> works.
>> But there's something that keeps on resetting it at logout, excluding
>> /bin.
>>
>> $ cat .MacOSX/environment.plist
>> {
>> ..
>> LIBS = "/usr/lib/";
>> ..
>> PATH = "$LIBS:*/bin*
>> :/usr/bin:/usr/sbin:/usr/local/git/bin:/usr/X11/bin:/Applications/NetBeans/sges-v3/javadb/lib/derbytools.jar:$DERBY_INSTALL:$MAVEN_INSTALL";
>> }
>>
>>
>> $ cat .profile
>>
>> # MacPorts Installer addition on 2010-12-05_at_18:39:41: adding an
>> appropriate PATH variable for use with MacPorts.
>> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
>> # Finished adapting your PATH environment variable for use with MacPorts.
>>
>>
>> ##
>> # Your previous /Users/simpatico/.profile file was backed up as
>> /Users/simpatico/.profile.macports-saved_2010-12-05_at_19:04:41
>> ##
>>
>> # MacPorts Installer addition on 2010-12-05_at_19:04:41: adding an
>> appropriate PATH variable for use with MacPorts.
>> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
>> # Finished adapting your PATH environment variable for use with MacPorts.
>>
>>
>> # Setting PATH for MacPython 2.5
>> # The orginal version is saved in .profile.pysave
>> PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
>> export PATH
>>
>> ##
>> # Your previous /Users/simpatico/.profile file was backed up as
>> /Users/simpatico/.profile.macports-saved_2011-02-25_at_17:20:46
>> ##
>>
>> # MacPorts Installer addition on 2011-02-25_at_17:20:46: adding an
>> appropriate PATH variable for use with MacPorts.
>> export PATH=/opt/local/bin:/opt/local/sbin:$PATH
>>
>>
>> $ ls ~/.bashrc ~/.bash*
>> ls: /Users/simpatico/.bashrc: No such file or directory
>> /Users/simpatico/.bash_history
>>
>>
>>
>> --
>> Regards,
>> K. Gabriele
>>
>> --- unchanged since 20/9/10 ---
>> P.S. If the subject contains "[LON]" or the addressee acknowledges the
>> receipt within 48 hours then I don't resend the email.
>> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
>> time(x) < Now + 48h) ⇒ ¬resend(I, this).
>>
>> If an email is sent by a sender that is not a trusted contact or the email
>> does not contain a valid code then the email is not received. A valid code
>> starts with a hyphen and ends with "X".
>> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
>> L(-[a-z]+[0-9]X)).
>>
>>
>
>
> --
> Regards,
> K. Gabriele
>
> --- unchanged since 20/9/10 ---
> P.S. If the subject contains "[LON]" or the addressee acknowledges the
> receipt within 48 hours then I don't resend the email.
> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
> time(x) < Now + 48h) ⇒ ¬resend(I, this).
>
> If an email is sent by a sender that is not a trusted contact or the email
> does not contain a valid code then the email is not received. A valid code
> starts with a hyphen and ends with "X".
> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
> L(-[a-z]+[0-9]X)).
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>
>
--
Regards,
K. Gabriele
--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
< Now + 48h) ⇒ ¬resend(I, this).
If an email is sent by a sender that is not a trusted contact or the email
does not contain a valid code then the email is not received. A valid code
starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
L(-[a-z]+[0-9]X)).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110428/bb6d382f/attachment.html>
More information about the macports-users
mailing list