Opened 17 years ago

Closed 17 years ago

#12025 closed defect (fixed)

BUG: flac-1.1.4 compile errors on Intel 10.4.9

Reported by: jmealins@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.4.42
Keywords: Cc: jmealins@…,markd@…
Port:

Description

upon trying to update from flac 1.1.2 > 1.1.4 I recieve the following error:

Error: Unable to upgrade port: 1
--->  Building flac with target all
Error: Target com.apple.build returned: shell command " cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_audio_flac/work/flac-1.1.4" && make all OBJ_FORMAT=macho " returned error 2
Command output: make[2]: Nothing to be done for `all'.
Making all in src
Making all in libFLAC
Making all in ia32
make[4]: Nothing to be done for `all'.
Making all in include
Making all in private
make[5]: Nothing to be done for `all'.
Making all in protected
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in .
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..   -I/opt/local/include   -I/opt/local/include -I../.. -I./include -I../../include -DNDEBUG -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -g -O2 -MT format.lo -MD -MP -MF ".deps/format.Tpo" \
  -c -o format.lo `test -f 'format.c' || echo './'`format.c; \
then mv -f ".deps/format.Tpo" ".deps/format.Plo"; \
else rm -f ".deps/format.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -I/opt/local/include -I../.. -I./include -I../../include -DNDEBUG -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -g -O2 -MT format.lo -MD -MP -MF .deps/format.Tpo -c format.c  -fno-common -DPIC -o .libs/format.o
format.c:474: warning: type defaults to 'int' in declaration of 'FLAC__StreamMetadata_Picture'
format.c:474: error: parse error before '*' token
format.c: In function 'FLAC__format_picture_is_legal':
format.c:479: error: 'picture' undeclared (first use in this function)
format.c:479: error: (Each undeclared identifier is reported only once
format.c:479: error: for each function it appears in.)
format.c:481: error: 'violation' undeclared (first use in this function)
make[4]: *** [format.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (4)

comment:1 Changed 17 years ago by markd@…

Cc: jmealins@… markd@… added

What if you force remove and reinstall?

port uninstall -f flac port install flac

comment:2 Changed 17 years ago by markd@…

Also "port clean --all flac" after uninstall.

comment:3 Changed 17 years ago by jmealins@…

did the following and it seemed to fix all the problems, thanks!

comment:4 Changed 17 years ago by markd@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.