Opened 15 years ago

Closed 15 years ago

#21365 closed defect (invalid)

autoconf fails to build, "no suitable image found"

Reported by: tim.stoop@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: autoconf

Description

Hi all,

I've upgraded to Snow Leopard and uninstalled all installed ports, then cleaned them and am now trying to install them again. I'm getting the following problem when autoconf tries to build (due to being a dependency for zebra). Any tips on how to solve this?

--->  Fetching autoconf
--->  Attempting to fetch autoconf-2.64.tar.bz2 from http://www.mirrorservice.org/sites/ftp.gnu.org/gnu/autoconf
--->  Verifying checksum(s) for autoconf
--->  Extracting autoconf
--->  Configuring autoconf
--->  Building autoconf
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_autoconf/work/autoconf-2.64" && /usr/bin/make -j2 all " returned error 2
Command output: chmod a-w autoreconf.tmp
mv autoreconf.tmp autoreconf
rm -f autoscan autoscan.tmp
srcdir=''; \
	  test -f ./autoscan.in || srcdir=./; \
	  sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/opt/local/bin/perl|g' -e 's|@bindir[@]|/opt/local/bin|g' -e 's|@pkgdatadir[@]|/opt/local/share/autoconf|g' -e 's|@prefix[@]|/opt/local|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-name[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/opt/local/bin/gm4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|awk|g' -e 's|@RELEASE_YEAR[@]|'`sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../ChangeLog`'|g' -e 's|@VERSION[@]|2.64|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from autoscan.in; do not edit by hand.|g' ${srcdir}autoscan.in >autoscan.tmp
chmod +x ifnames.tmp
chmod a-w ifnames.tmp
chmod +x autoscan.tmp
mv ifnames.tmp ifnames
chmod a-w autoscan.tmp
rm -f autoupdate autoupdate.tmp
mv autoscan.tmp autoscan
srcdir=''; \
	  test -f ./autoupdate.in || srcdir=./; \
	  sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/opt/local/bin/perl|g' -e 's|@bindir[@]|/opt/local/bin|g' -e 's|@pkgdatadir[@]|/opt/local/share/autoconf|g' -e 's|@prefix[@]|/opt/local|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-name[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/opt/local/bin/gm4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|awk|g' -e 's|@RELEASE_YEAR[@]|'`sed 's/^\([0-9][0-9][0-9][0-9]\).*/\1/;q' ../ChangeLog`'|g' -e 's|@VERSION[@]|2.64|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from autoupdate.in; do not edit by hand.|g' ${srcdir}autoupdate.in >autoupdate.tmp
autom4te_perllibdir='..'/lib AUTOM4TE_CFG='../lib/autom4te.cfg'         ../bin/autom4te -B '..'/lib -B '..'/lib         --language M4sh --cache '' --melt ./autoconf.as -o autoconf.in
chmod +x autoupdate.tmp
chmod a-w autoupdate.tmp
mv autoupdate.tmp autoupdate
Can't load '/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Data/Dumper/Dumper.bundle' for module Data::Dumper: dlopen(/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Data/Dumper/Dumper.bundle, 1): no suitable image found.  Did find:
	/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Data/Dumper/Dumper.bundle: mach-o, but wrong architecture at /opt/local/lib/perl5/5.8.9/darwin-2level/XSLoader.pm line 73.
 at /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/Data/Dumper.pm line 27
Compilation failed in require at ../lib/Autom4te/C4che.pm line 35.
BEGIN failed--compilation aborted at ../lib/Autom4te/C4che.pm line 35.
Compilation failed in require at ../bin/autom4te line 40.
BEGIN failed--compilation aborted at ../bin/autom4te line 40.
make[2]: *** [autoconf.in] Error 255
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: yaz gnutls lzo autoconf automake libtool opencdk pkgconfig readline icu
Error: Status 1 encountered during processing.
asterisk:~ tim$ file /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Data/Dumper/Dumper.bundle
/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Data/Dumper/Dumper.bundle: Mach-O bundle i386

Change History (4)

comment:1 Changed 15 years ago by tobypeterson

5.8.8? Something tells me you didn't uninstall everything.

What's the output of port provides /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Data/Dumper/Dumper.bundle ??

comment:2 Changed 15 years ago by tobypeterson

Keywords: autoconf wrong architecture removed
Version: 1.8.0

comment:3 in reply to:  1 Changed 15 years ago by tim.stoop@…

Replying to toby@…:

What's the output of port provides /opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Data/Dumper/Dumper.bundle ??

/opt/local/lib/perl5/site_perl/5.8.8/darwin-2level/auto/Data/Dumper/Dumper.bundle is not provided by a MacPorts port.

But no idea how it got there, then... Any tips on how to start anew then?

comment:4 Changed 15 years ago by tobypeterson

Resolution: invalid
Status: newclosed

If you already removed all ports, just remove macports entirely: http://trac.macports.org/wiki/FAQ#uninstall

This isnt' really a bug if you have random files polluting your macports prefix

Note: See TracTickets for help on using tickets.