Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#21202 closed defect (invalid)

id3lib 3.8.3 Snow Leopard compile error

Reported by: paul.hargreaves@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snowleopard Cc:
Port: id3lib

Description

Upgraded my system from Leopard to Snow Leopard. Macports broke so I downloaded the latest 1.8 dmg and installed. Ran a selfupdate, then an upgrade outdated. Most packages went fine but id3lib failed. Here is the log.

Core:~ paulhargreaves$ sudo port upgrade outdated
--->  Computing dependencies for id3lib
--->  Building id3lib
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_id3lib/work/id3lib-3.8.3" && /usr/bin/make -j2 all " returned error 2
Command output:   "ID3_Tag::GetMp3HeaderInfo() const", referenced from:
      _main in demo_info.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [id3info] Error 1
make[2]: *** Waiting for unfinished jobs....
ld: warning: in /opt/local/lib/libid3.dylib, file is not of required architecture
Undefined symbols:
  "ID3_Tag::ID3_Tag(char const*)", referenced from:
      _main in demo_convert.o
  "ID3_Tag::Strip(unsigned short)", referenced from:
      _main in demo_convert.o
  "ID3_Tag::Link(char const*, unsigned short)", referenced from:
      _main in demo_convert.o
  "ID3_Tag::Clear()", referenced from:
      _main in demo_convert.o
  "ID3_Tag::Update(unsigned short)", referenced from:
      _main in demo_convert.o
  "ID3_Tag::~ID3_Tag()", referenced from:
      _main in demo_convert.o
      _main in demo_convert.o
  "_ID3LIB_FULL_NAME", referenced from:
      PrintVersion(char const*)in demo_convert.o
  "ID3_Tag::SetPadding(bool)", referenced from:
      _main in demo_convert.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [id3convert] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1
Core:~ paulhargreaves$ 

Change History (3)

comment:1 Changed 11 years ago by tobypeterson

Resolution: invalid
Status: newclosed

you didn't read Migration

comment:2 Changed 11 years ago by paul.hargreaves@…

Sure I did. But since I was running a prior version successfully on Leopard, upgraded to SL, then found that port didn't work at all... it was unlikely I'd be able to perform the instructions in migration since every port command failed.

Potentially the instructions in either the snowleopard section or the migration section should address how to get from broken to working again?

comment:3 Changed 11 years ago by jmroot (Joshua Root)

"you will first need to install the base MacPorts system again, either from the appropriate disk image or from source" seems pretty clear to me...

Note: See TracTickets for help on using tickets.