Opened 18 years ago

Closed 18 years ago

#11426 closed defect (fixed)

cant upgrade flac 1.1.4

Reported by: xsteadfastx@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: Cc: markd@…
Port:

Description

i try to upgrade flac from 1.1.2 to 1.1.4 through a port selfupdate and port upgrade outdated. this is the output:

---> Fetching flac ---> Attempting to fetch flac-1.1.4.tar.gz from http://easynews.dl.sourceforge.net/flac ---> Verifying checksum(s) for flac ---> Extracting flac ---> Applying patches to flac ---> Configuring flac ---> 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.macports.org_dpupdate_dports_audio_flac/work/flac-1.1.4" && make all OBJ_FORMAT=macho" returned error 2 Command output: then mv -f ".deps/fixed.Tpo" ".deps/fixed.Plo"; \ else rm -f ".deps/fixed.Tpo"; exit 1; \ fi

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -faltivec -force_cpusubtype_ALL -DFLACNO_ASM -I/opt/local/include -I../.. -I./include -I../../include -DNDEBUG -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaCINLINE=inline -g -O2 -MT fixed.lo -MD -MP -MF .deps/fixed.Tpo -c fixed.c -fno-common -DPIC -o .libs/fixed.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -faltivec -force_cpusubtype_ALL -DFLACNO_ASM -I/opt/local/include -I../.. -I./include -I../../include -DNDEBUG -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaCINLINE=inline -g -O2 -MT fixed.lo -MD -MP -MF .deps/fixed.Tpo -c fixed.c -o fixed.o >/dev/null 2>&1

if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -faltivec -force_cpusubtype_ALL -DFLACNO_ASM -I/opt/local/include -I../.. -I./include -I../../include -DNDEBUG -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaCINLINE=inline -g -O2 -MT float.lo -MD -MP -MF ".deps/float.Tpo" \

-c -o float.lo test -f 'float.c' || echo './'float.c; \

then mv -f ".deps/float.Tpo" ".deps/float.Plo"; \ else rm -f ".deps/float.Tpo"; exit 1; \ fi

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -faltivec -force_cpusubtype_ALL -DFLACNO_ASM -I/opt/local/include -I../.. -I./include -I../../include -DNDEBUG -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaCINLINE=inline -g -O2 -MT float.lo -MD -MP -MF .deps/float.Tpo -c float.c -fno-common -DPIC -o .libs/float.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -faltivec -force_cpusubtype_ALL -DFLACNO_ASM -I/opt/local/include -I../.. -I./include -I../../include -DNDEBUG -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaCINLINE=inline -g -O2 -MT float.lo -MD -MP -MF .deps/float.Tpo -c float.c -o float.o >/dev/null 2>&1

if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -faltivec -force_cpusubtype_ALL -DFLACNO_ASM -I/opt/local/include -I../.. -I./include -I../../include -DNDEBUG -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaCINLINE=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 -faltivec -force_cpusubtype_ALL -DFLACNO_ASM -I/opt/local/include -I../.. -I./include -I../../include -DNDEBUG -O3 -funroll-loops -finline-functions -Wall -W -Winline -DFLaCINLINE=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 'FLACStreamMetadata_Picture' format.c:474: error: parse error before '*' token format.c: In function 'FLACformat_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 (8)

comment:1 Changed 18 years ago by fracai@…

I'm seeing similar errors on Intel (assuming the original report relates to PPC).

--->  Fetching flac
--->  Verifying checksum(s) for flac
--->  Extracting flac
--->  Applying patches to flac
--->  Configuring flac
--->  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: then mv -f ".deps/fixed.Tpo" ".deps/fixed.Plo"; \
else rm -f ".deps/fixed.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 fixed.lo -MD -MP -MF .deps/fixed.Tpo -c fixed.c  -fno-common -DPIC -o .libs/fixed.o
 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 fixed.lo -MD -MP -MF .deps/fixed.Tpo -c fixed.c -o fixed.o >/dev/null 2>&1
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 float.lo -MD -MP -MF ".deps/float.Tpo" \
  -c -o float.lo `test -f 'float.c' || echo './'`float.c; \
then mv -f ".deps/float.Tpo" ".deps/float.Plo"; \
else rm -f ".deps/float.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 float.lo -MD -MP -MF .deps/float.Tpo -c float.c  -fno-common -DPIC -o .libs/float.o
 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 float.lo -MD -MP -MF .deps/float.Tpo -c float.c -o float.o >/dev/null 2>&1
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

Error: Unable to upgrade port: 1

comment:2 Changed 18 years ago by martinalderson@…

I am also suffering the same problem on Intel. Going from v1.1.2 to v1.1.4.

comment:3 Changed 18 years ago by markd@…

Cc: markd@… added

What if you uninstall and reinstall?

port uninstall flac or port -f uninstall flac port clean --all flac port install flac

comment:4 Changed 18 years ago by xsteadfastx@…

port uninstall flac or port -f uninstall flac port clean --all flac port install flac

thank you..that worked

comment:5 Changed 18 years ago by markd@…

Resolution: fixed
Status: newclosed

comment:6 Changed 18 years ago by martinalderson@…

Resolution: fixed
Status: closedreopened

Still broken - I cannot uninstall as I have ports that depend on flac.

comment:7 Changed 18 years ago by markd@…

You may force the uninstall.

sudo port -f uninstall flac sudo port clean --all flac sudo port install flac

comment:8 Changed 18 years ago by kballard (Lily Ballard)

Resolution: fixed
Status: reopenedclosed

Reclosing as markd's instructions are an appropriate solution to the new problem.

Note: See TracTickets for help on using tickets.