[MacPorts] #40896: Error: Processing of port gnupg failed

MacPorts noreply at macports.org
Thu Oct 24 10:37:27 PDT 2013


#40896: Error: Processing of port gnupg failed
------------------------+--------------------------------
  Reporter:  ragu@…     |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.2.0
Resolution:  duplicate  |   Keywords:
      Port:  gnupg      |
------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:  DBD-PG, gnupg =>
 * status:  new => closed
 * resolution:   => duplicate
 * port:   => gnupg


Old description:

> Hello,
> trying to install DBD-pg for a Perl-Application.
> Then dependencies are also gnupg which I can't install wit following
> output and errors:
>
> --->  Computing dependencies for gnupg.
> --->  Configuring gnupg
> checking build system type... x86_64-apple-darwin12.5.0
> checking host system type... x86_64-apple-darwin12.5.0
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... scripts/install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets $(MAKE)... yes
> configure: autobuild project... gnupg
> configure: autobuild revision... 1.4.14
> configure: autobuild hostname... Testserver.local
> configure: autobuild timestamp... 20131024-142015
> checking for style of include used by make... GNU
> checking for gcc...
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/work/gnupg-1.4.14':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/work/gnupg-1.4.14"
> && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
> --infodir=/opt/local/share/info --disable-asm --with-libiconv-
> prefix=/opt/local --with-libintl-prefix=/opt/local --with-zlib=/opt/local
> --with-bzip2=/opt/local --with-libusb=/opt/local --with-ldap=/opt/local
> --with-libcurl=/opt/local
> Exit code: 1
> Error: Failed to configure gnupg, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/work/gnupg-1.4.14/config.log
> Error: org.macports.configure for port gnupg returned: configure failure:
> command execution failed
> Warning: targets not executed for gnupg: org.macports.activate
> org.macports.configure org.macports.build org.macports.destroot
> org.macports.install
> Please see the log file for port gnupg for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/main.log
>
> Error: Processing of port gnupg failed
>
> MAYBE, is there a problem about architecture declaration because of the
> message of cross compile?
> I'm not a C developer. What can I do.
>
> Thanks, Rainer

New description:

 Hello,
 trying to install DBD-pg for a Perl-Application.
 Then dependencies are also gnupg which I can't install wit following
 output and errors:

 {{{
 --->  Computing dependencies for gnupg.
 --->  Configuring gnupg
 checking build system type... x86_64-apple-darwin12.5.0
 checking host system type... x86_64-apple-darwin12.5.0
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... scripts/install-sh -c -d
 checking for gawk... no
 checking for mawk... no
 checking for nawk... no
 checking for awk... awk
 checking whether make sets $(MAKE)... yes
 configure: autobuild project... gnupg
 configure: autobuild revision... 1.4.14
 configure: autobuild hostname... Testserver.local
 configure: autobuild timestamp... 20131024-142015
 checking for style of include used by make... GNU
 checking for gcc...
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/work/gnupg-1.4.14':
 configure: error: cannot run C compiled programs.
 If you meant to cross compile, use `--host'.
 See `config.log' for more details
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/work/gnupg-1.4.14"
 && ./configure --prefix=/opt/local --mandir=/opt/local/share/man
 --infodir=/opt/local/share/info --disable-asm --with-libiconv-
 prefix=/opt/local --with-libintl-prefix=/opt/local --with-zlib=/opt/local
 --with-bzip2=/opt/local --with-libusb=/opt/local --with-ldap=/opt/local
 --with-libcurl=/opt/local
 Exit code: 1
 Error: Failed to configure gnupg, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/work/gnupg-1.4.14/config.log
 Error: org.macports.configure for port gnupg returned: configure failure:
 command execution failed
 Warning: targets not executed for gnupg: org.macports.activate
 org.macports.configure org.macports.build org.macports.destroot
 org.macports.install
 Please see the log file for port gnupg for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_gnupg/gnupg/main.log

 Error: Processing of port gnupg failed
 }}}

 MAYBE, is there a problem about architecture declaration because of the
 message of cross compile?
 I'm not a C developer. What can I do.

 Thanks, Rainer

--

Comment:

 Duplicate of #40895.

-- 
Ticket URL: <https://trac.macports.org/ticket/40896#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list