Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16530 closed defect (fixed)

taglib 1.5 universal variant build error

Reported by: verwymeren@… Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: taglib universal build error Cc: blb@…
Port: taglib

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Attempting to install taglib using the universal variant (sudo port install taglib +universal) results in the following build error:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_taglib/work/taglib-1.5/taglib/mpeg/id3v2/./frames/.libs/libframes.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)

Attached is a log with the complete build output.

Attachments (2)

build.txt (10.2 KB) - added by verwymeren@… 16 years ago.
TagLib 1.5 Build Log
taglib.diff (719 bytes) - added by blb@… 16 years ago.
diff to Portfile

Download all attachments as: .zip

Change History (9)

Changed 16 years ago by verwymeren@…

Attachment: build.txt added

TagLib 1.5 Build Log

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:2 Changed 16 years ago by blb@…

Cc: blb@… added

Attaching a patch which gets taglib to build universal.

Changed 16 years ago by blb@…

Attachment: taglib.diff added

diff to Portfile

comment:3 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to macsforever2000@…
Status: newassigned

comment:4 Changed 16 years ago by mf2k (Frank Schima)

I'm seeing the following error:

$ sudo port install taglib +universal
--->  Fetching taglib
--->  Attempting to fetch taglib-1.5.tar.gz from http://distfiles.macports.org/taglib
--->  Verifying checksum(s) for taglib
--->  Extracting taglib
--->  Configuring taglib
--->  Building taglib
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5" && make all " returned error 2
Command output: rm -fr .libs/libtag.lax/libtoolkit.a
mkdir .libs/libtag.lax/libtoolkit.a
Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5/taglib/./toolkit/.libs/libtoolkit.a
libtoolkit.a has multiple architectures  ppc i386 
(cd /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5/taglib/.libs/libtag.lax/libtoolkit.a/unfat-44962/libtoolkit.a-ppc && ar x libtoolkit.a)
(cd /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5/taglib/.libs/libtag.lax/libtoolkit.a/unfat-44962/libtoolkit.a-i386 && ar x libtoolkit.a)
rm -fr .libs/libtag.lax/libwavpack.a
mkdir .libs/libtag.lax/libwavpack.a
Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5/taglib/./wavpack/.libs/libwavpack.a
libwavpack.a has multiple architectures  ppc i386 
(cd /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5/taglib/.libs/libtag.lax/libwavpack.a/unfat-44962/libwavpack.a-ppc && ar x libwavpack.a)
(cd /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5/taglib/.libs/libtag.lax/libwavpack.a/unfat-44962/libwavpack.a-i386 && ar x libwavpack.a)
rm -fr .libs/libtag.lax/libtrueaudio.a
mkdir .libs/libtag.lax/libtrueaudio.a
Extracting /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5/taglib/./trueaudio/.libs/libtrueaudio.a
libtrueaudio.a has multiple architectures  ppc i386 
(cd /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5/taglib/.libs/libtag.lax/libtrueaudio.a/unfat-44962/libtrueaudio.a-ppc && ar x libtrueaudio.a)
(cd /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_audio_taglib/work/taglib-1.5/taglib/.libs/libtag.lax/libtrueaudio.a/unfat-44962/libtrueaudio.a-i386 && ar x libtrueaudio.a)
/usr/bin/g++-4.0 -dynamiclib  -o .libs/libtag.1.5.0.dylib  .libs/tag.o .libs/tagunion.o .libs/fileref.o .libs/audioproperties.o  .libs/libtag.lax/libmpeg.a/attachedpictureframe.o .libs/libtag.lax/libmpeg.a/commentsframe.o .libs/libtag.lax/libmpeg.a/generalencapsulatedobjectframe.o .libs/libtag.lax/libmpeg.a/id3v1genres.o .libs/libtag.lax/libmpeg.a/id3v1tag.o .libs/libtag.lax/libmpeg.a/id3v2extendedheader.o .libs/libtag.lax/libmpeg.a/id3v2footer.o .libs/libtag.lax/libmpeg.a/id3v2frame.o .libs/libtag.lax/libmpeg.a/id3v2framefactory.o .libs/libtag.lax/libmpeg.a/id3v2header.o .libs/libtag.lax/libmpeg.a/id3v2synchdata.o .libs/libtag.lax/libmpeg.a/id3v2tag.o .libs/libtag.lax/libmpeg.a/mpegfile.o .libs/libtag.lax/libmpeg.a/mpegheader.o .libs/libtag.lax/libmpeg.a/mpegproperties.o .libs/libtag.lax/libmpeg.a/relativevolumeframe.o .libs/libtag.lax/libmpeg.a/textidentificationframe.o .libs/libtag.lax/libmpeg.a/uniquefileidentifierframe.o .libs/libtag.lax/libmpeg.a/unknownframe.o .libs/libtag.lax/libmpeg.a/unsynchronizedlyricsframe.o .libs/libtag.lax/libmpeg.a/urllinkframe.o .libs/libtag.lax/libmpeg.a/xingheader.o  .libs/libtag.lax/libogg.a/oggfile.o .libs/libtag.lax/libogg.a/oggflacfile.o .libs/libtag.lax/libogg.a/oggpage.o .libs/libtag.lax/libogg.a/oggpageheader.o .libs/libtag.lax/libogg.a/speexfile.o .libs/libtag.lax/libogg.a/speexproperties.o .libs/libtag.lax/libogg.a/vorbisfile.o .libs/libtag.lax/libogg.a/vorbisproperties.o .libs/libtag.lax/libogg.a/xiphcomment.o  .libs/libtag.lax/libflac.a/flacfile.o .libs/libtag.lax/libflac.a/flacproperties.o  .libs/libtag.lax/libmpc.a/mpcfile.o .libs/libtag.lax/libmpc.a/mpcproperties.o  .libs/libtag.lax/libape.a/apefooter.o .libs/libtag.lax/libape.a/apeitem.o .libs/libtag.lax/libape.a/apetag.o  .libs/libtag.lax/libtoolkit.a/tbytevector.o .libs/libtag.lax/libtoolkit.a/tbytevectorlist.o .libs/libtag.lax/libtoolkit.a/tdebug.o .libs/libtag.lax/libtoolkit.a/tfile.o .libs/libtag.lax/libtoolkit.a/tstring.o .libs/libtag.lax/libtoolkit.a/tstringlist.o .libs/libtag.lax/libtoolkit.a/unicode.o  .libs/libtag.lax/libwavpack.a/wavpackfile.o .libs/libtag.lax/libwavpack.a/wavpackproperties.o  .libs/libtag.lax/libtrueaudio.a/trueaudiofile.o .libs/libtag.lax/libtrueaudio.a/trueaudioproperties.o   -L/opt/local/lib -lz  -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386 -mmacosx-version-min=10.5 -arch ppc -arch i386 -mmacosx-version-min=10.5 -install_name  /opt/local/lib/libtag.1.dylib -compatibility_version 7 -current_version 7.0 -Wl,-single_module
ld warning: in /opt/local/lib/libz.dylib, file is not of required architecture
Undefined symbols:
  "_uncompress", referenced from:
      TagLib::ID3v2::Frame::fieldData(TagLib::ByteVector const&) constin id3v2frame.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccp00usq.out (No such file or directory)
make[3]: *** [libtag.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

comment:5 Changed 16 years ago by blb@…

Is your /opt/local/lib/libz.dylib built universal (eg, zlib is +universal as well)? Also verify with file /opt/local/lib/libz.dylib.

comment:6 Changed 16 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

That got it. Committed revision r40498. Thanks!

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.