Unable to upgrade gnutls

Rodolfo Aramayo raramayo at gmail.com
Fri Oct 7 07:08:51 PDT 2011


On Thu, Oct 6, 2011 at 19:05, Ryan Schmidt <ryandesign at macports.org> wrote:

> On Oct 6, 2011, at 18:05, Rodolfo Aramayo wrote:
>
> > I was wandering if you could help me understand why I am having problems
> upgrading gnutls in one of my computers
> > I currently have:
> >
> > The following ports are currently installed:
> >   gnutls @2.8.6_1+universal (active)
> >
> > and when I run 'port upgrade outdated'
> > I get:
> >
> > --->  Computing dependencies for gnutls
> > --->  Fetching archive for gnutls
> > --->  Attempting to fetch
> gnutls-2.12.11_0+universal.darwin_10.i386-x86_64.tbz2 from
> http://packages.macports.org/gnutls
> > --->  Fetching gnutls
> > --->  Attempting to fetch gnutls-2.12.11.tar.bz2 from
> http://mirror.facebook.net/gnu/gnu/gnutls
> > --->  Attempting to fetch gnutls-2.12.11.tar.bz2 from
> http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gnutls
> > --->  Verifying checksum(s) for gnutls
> > --->  Extracting gnutls
> > --->  Configuring gnutls
> > --->  Building gnutls
> > Error: Target org.macports.build returned: shell command failed (see log
> for details)
> > Log for gnutls is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gnutls/gnutls/main.log
> > Error: Unable to upgrade port: 1
> > To report a bug, see <http://guide.macports.org/#project.tickets>
>
> In the log you sent it shows:
>
> > warning: in /opt/local/lib/libgcrypt.dylib, file was built for
> unsupported file format which is not the architecture being linked (i386)
>
> So it sounds like your libgcrypt port is not installed for the same
> architectures that you're installing gnutls for now. Specifically, you're
> installing gnutls for i386 and x86_64, and libgcrypt doesn't have i386.
>
> What's the output of:
>
> port -v installed libgcrypt
>
==========
the output is:

> port -v installed libgcrypt
The following ports are currently installed:
  libgcrypt @1.5.0_0+universal (active) platform='darwin 10' archs='i386
x86_64'



> lipo -info /opt/local/lib/libgcrypt.dylib
>

output is:
> lipo -info /opt/local/lib/libgcrypt.dylib
Non-fat file: /opt/local/lib/libgcrypt.dylib is architecture: x86_64
==========

>
> MacPorts should have taken care of upgrading libgcrypt to compatible
> architectures, unless it was last updated a long time ago, before MacPorts
> 1.9.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111007/344e32cf/attachment.html>


More information about the macports-users mailing list