[MacPorts] #29744: libgnome: in /opt/local/lib/libesd.dylib, file was built for unsupported file format which is not the architecture being linked (was: libgnome won't build)
MacPorts
noreply at macports.org
Wed Jun 8 18:36:06 PDT 2011
#29744: libgnome: in /opt/local/lib/libesd.dylib, file was built for unsupported
file format which is not the architecture being linked
-----------------------------+----------------------------------------------
Reporter: eisen_jr@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: libgnome
-----------------------------+----------------------------------------------
Comment(by ryandesign@…):
Joshua already responded while I was writing this, but:
Replying to [ticket:29744 eisen_jr@…]:
> $sudo port uninstall -f libgnome
There's no need to force, and the `-f` flag and other single-letter flags
have no effect unless placed in the correct location in the command, which
is immediately after the word `port`.
> $sudo port clean --all libgnome
There's no need to `clean --all`; the `--all` flag forces you to re-
download the distfile, but there's nothing wrong with the distfile (if
there had been, you would have gotten a checksum error).
>
{{{
:debug:main Skipping completed org.macports.fetch (libgnome)
:debug:main Skipping completed org.macports.checksum (libgnome)
:debug:main setting option extract.cmd to /usr/bin/bzip2
:debug:main Skipping completed org.macports.extract (libgnome)
:debug:main Skipping completed org.macports.patch (libgnome)
:debug:main Skipping completed org.macports.configure (libgnome)
}}}
There might have been relevant information in these skipped phases.
Cleaning and trying again would generate a complete log, which you could
then attach.
>
{{{
:info:build ld: warning: in /opt/local/lib/libesd.dylib, file was built
for unsupported file format which is not the architecture being linked
(i386)
}}}
So you're trying to build libgnome for i386 (or possibly universal -- for
i386 and x86_64) but libesd.dylib is not built for i386.
> From the logfile it seems, that there is a problem with the
libesd.dylib, which is apparently part of the gcc-4.2.1.
No, libesd.dylib is the library for EsounD (the "Enlightened Sound
Daemon"), part of the esound port. esound is a declared dependency of
libgnome, therefore esound should have rebuilt itself for whatever
architectures you were requesting of libgnome. The only reason why this
wouldn't happen is if you had installed esound before upgrading to
MacPorts 1.9.x. Try rebuilding esound:
{{{
sudo port -n upgrade --force esound
}}}
--
Ticket URL: <https://trac.macports.org/ticket/29744#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list