[MacPorts] #13455: mp3info doesn't compile on Leopard PPC

MacPorts trac at macosforge.org
Fri Nov 30 19:38:28 PST 2007


#13455: mp3info doesn't compile on Leopard PPC
------------------------------+---------------------------------------------
  Reporter:  ken at preslan.org  |       Owner:  macports-dev at lists.macosforge.org
      Type:  defect           |      Status:  new                              
  Priority:  Normal           |   Milestone:                                   
 Component:  ports            |     Version:  1.5.2                            
Resolution:                   |    Keywords:  mp3info                          
------------------------------+---------------------------------------------
Old description:

> On a PPC leopard install, I get:
>
> # port install mp3info
> --->  Fetching mp3info
> --->  Verifying checksum(s) for mp3info
> --->  Extracting mp3info
> --->  Configuring mp3info
> --->  Building mp3info with target mp3info
> 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_mp3info/work/mp3info-0.8.5a"
> && make mp3info " returned error 2
> Command output: gcc -g -O2 -Wall   -c -o mp3info.o mp3info.c
> gcc -g -O2 -Wall   -c -o textfunc.o textfunc.c
> gcc -g -O2 -Wall   -c -o mp3curs.o mp3curs.c
> gcc -g -O2 -Wall   -c -o mp3tech.o mp3tech.c
> mp3tech.c: In function 'sameConstant':
> mp3tech.c:282: error: 'uint' undeclared (first use in this function)
> mp3tech.c:282: error: (Each undeclared identifier is reported only once
> mp3tech.c:282: error: for each function it appears in.)
> mp3tech.c:282: error: syntax error before ')' token
> mp3tech.c:282: error: syntax error before ')' token
> make: *** [mp3tech.o] Error 1
>
> Error: Status 1 encountered during processing.
>

> A patch to fix the problem is attached.

New description:

 On a PPC leopard install, I get:

 {{{
 # port install mp3info
 --->  Fetching mp3info
 --->  Verifying checksum(s) for mp3info
 --->  Extracting mp3info
 --->  Configuring mp3info
 --->  Building mp3info with target mp3info
 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_mp3info/work/mp3info-0.8.5a"
 && make mp3info " returned error 2
 Command output: gcc -g -O2 -Wall   -c -o mp3info.o mp3info.c
 gcc -g -O2 -Wall   -c -o textfunc.o textfunc.c
 gcc -g -O2 -Wall   -c -o mp3curs.o mp3curs.c
 gcc -g -O2 -Wall   -c -o mp3tech.o mp3tech.c
 mp3tech.c: In function 'sameConstant':
 mp3tech.c:282: error: 'uint' undeclared (first use in this function)
 mp3tech.c:282: error: (Each undeclared identifier is reported only once
 mp3tech.c:282: error: for each function it appears in.)
 mp3tech.c:282: error: syntax error before ')' token
 mp3tech.c:282: error: syntax error before ')' token
 make: *** [mp3tech.o] Error 1

 Error: Status 1 encountered during processing.
 }}}

 A patch to fix the problem is attached.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13455#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list