Opened 13 years ago

Closed 13 years ago

#29397 closed defect (worksforme)

gnutls fails to compile on snow leopard

Reported by: vlsd (Vlad) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gnutls

Description

I cannot install gnutls on my system. Compilation fails. Here is the tail of the log file that's generated

:info:build   "_gcry_mpi_release", referenced from:
:info:build       _wrap_gcry_mpi_release in mpi-libgcrypt.o
:info:build       _wrap_gcry_generate_group in mpi-libgcrypt.o
:info:build       _wrap_gcry_generate_group in mpi-libgcrypt.o
:info:build       _wrap_gcry_generate_group in mpi-libgcrypt.o:info:build ld: symbol(s) not found:info:build collect2: ld returned 1 exit status
:info:build lipo: can't open input file: /var/tmp//ccLSpjqa.out (No such file or directory)
:info:build make[4]: *** [libgnutls.la] Error 1
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macp
orts_sources_rsync.macports.org_release_ports_devel_gnutls/work/gnutls-2.8.6" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log fo
r details):debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for gnutls): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install gnutls
:notice:build Log for gnutls is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gnutls/main.log
(END) 

Change History (3)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Port: gnutls added

Please remember to fill in the Port field. Attach the full log; the part you've shown doesn't contain the initial error.

comment:2 in reply to:  description Changed 13 years ago by vlsd (Vlad)

Replying to vloodo@…:

I cannot install gnutls on my system. Compilation fails. Here is the tail of the log file that's generated

:info:build   "_gcry_mpi_release", referenced from:
:info:build       _wrap_gcry_mpi_release in mpi-libgcrypt.o
:info:build       _wrap_gcry_generate_group in mpi-libgcrypt.o
:info:build       _wrap_gcry_generate_group in mpi-libgcrypt.o
:info:build       _wrap_gcry_generate_group in mpi-libgcrypt.o:info:build ld: symbol(s) not found:info:build collect2: ld returned 1 exit status
:info:build lipo: can't open input file: /var/tmp//ccLSpjqa.out (No such file or directory)
:info:build make[4]: *** [libgnutls.la] Error 1
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[2]: *** [all] Error 2
:info:build make[1]: *** [all-recursive] Error 1
:info:build make: *** [all] Error 2
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macp
orts_sources_rsync.macports.org_release_ports_devel_gnutls/work/gnutls-2.8.6" && /usr/bin/make -j2 all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log fo
r details):debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for gnutls): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install gnutls
:notice:build Log for gnutls is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gnutls/main.log
(END) 

I got it to work. I don't know what was wrong, but when I tried to install it with +universal, everything went smoothly. Sorry for the trouble.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.