#13033 closed defect (fixed)
libtheora 1.0beta2 build fails on Mac OS X 10.5 Leopard
Reported by: | mordeth@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.0 |
Keywords: | theora libtheora error warning uninitialized | Cc: | nox@…, mordeth@…, sbplrports@… |
Port: |
Description
[root@dissonance mplayer]# port install libtheora ---> Fetching libtheora ---> Attempting to fetch libtheora-1.0beta2.tar.bz2 from http://downloads.xiph.org/releases/theora/ ---> Verifying checksum(s) for libtheora ---> Extracting libtheora ---> Applying patches to libtheora ---> Configuring libtheora ---> Building libtheora with target all Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/libtheora-1.0beta2" && make all " returned error 2 Command output: enc/scan.c: In function 'AnalysePlane': enc/scan.c:1905: warning: 'DispFragPtr2' may be used uninitialized in this function enc/scan.c:1908: warning: 'FragScoresPtr2' may be used uninitialized in this function enc/scan.c:1901: warning: 'PixelScoresPtr2' may be used uninitialized in this function enc/scan.c:1883: warning: 'YUVDiffsPtr2' may be used uninitialized in this function enc/scan.c:1904: warning: 'DispFragPtr1' may be used uninitialized in this function enc/scan.c:1907: warning: 'FragScoresPtr1' may be used uninitialized in this function enc/scan.c:1882: warning: 'YUVDiffsPtr1' may be used uninitialized in this function enc/scan.c:1900: warning: 'PixelScoresPtr1' may be used uninitialized in this function enc/scan.c:1898: warning: 'PixelsChangedPtr1' may be used uninitialized in this function enc/scan.c:1894: warning: 'ChLocalsPtr1' may be used uninitialized in this function enc/scan.c:1886: warning: 'ScoreFragIndex1' may be used uninitialized in this function enc/scan.c:1893: warning: 'ChLocalsPtr0' may be used uninitialized in this function enc/scan.c:1903: warning: 'DispFragPtr0' may be used uninitialized in this function enc/scan.c:1897: warning: 'PixelsChangedPtr0' may be used uninitialized in this function enc/scan.c:1881: warning: 'YUVDiffsPtr' may be used uninitialized in this function enc/scan.c:1885: warning: 'FragIndex' may be used uninitialized in this function [deletia: error-free compile text] ld: absolute addressing (perhaps -mdynamic-no-pic) used in _FilterHoriz__mmx from .libs/libtheora_la-dct_decode_mmx.o not allowed in slidable image collect2: ld returned 1 exit status make[2]: *** [libtheora.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
Note: This is on Leopard on an Intel Core Duo MacBook Pro. I have not yet installed Leopard on PPC to test there.
Change History (8)
comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mordeth@… subpolar@… added |
---|---|
Milestone: | → Port Bugs |
Summary: | multimedia/libtheora build fails on 10.5 → libtheora 1.0beta2 build fails on Mac OS X 10.5 Leopard |
comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | sbplrports@… added; subpolar@… removed |
---|
comment:4 Changed 17 years ago by nox@…
Cc: | nox@… added |
---|
Could you try with sudo port install libtheora configure.post_args=--disable-asm
?
comment:5 Changed 17 years ago by mordeth@…
done:
[root@dissonance Applications]# port install libtheora configure.post_args=--disable-asm ---> Fetching libtheora ---> Verifying checksum(s) for libtheora ---> Extracting libtheora ---> Applying patches to libtheora ---> Configuring libtheora ---> Building libtheora with target all ---> Staging libtheora into destroot Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/libtheora-1.0beta2" && make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/destroot " returned error 2 Command output: Making install in lib test -z "/opt/local/lib" || /opt/local/bin/gmkdir -p "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/destroot/opt/local/lib" /bin/sh ../libtool --mode=install /opt/local/bin/ginstall -c 'libtheora.la' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/destroot/opt/local/lib/libtheora.la' /opt/local/bin/ginstall -c .libs/libtheora.0.3.2.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/destroot/opt/local/lib/libtheora.0.3.2.dylib /opt/local/bin/ginstall: `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_libtheora/work/destroot/opt/local/lib/libtheora.0.3.2.dylib': Invalid argument make[2]: *** [install-libLTLIBRARIES] Error 1 make[1]: *** [install-am] Error 2 make: *** [install-recursive] Error 1 Error: Status 1 encountered during processing.
Unfortunately, that doesn't work. Different errors, though.
comment:6 Changed 17 years ago by sbplrports@…
sudo port install libtheora configure.post_args=--disable-asm ---> Fetching libtheora ---> Verifying checksum(s) for libtheora ---> Extracting libtheora ---> Applying patches to libtheora ---> Configuring libtheora ---> Building libtheora with target all ---> Staging libtheora into destroot ---> Installing libtheora 1.0beta2_0 ---> Activating libtheora 1.0beta2_0 ---> Cleaning libtheora
seemed to work here.
comment:7 Changed 17 years ago by nox@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
subpolar reports that libtheora builds on Mac OS X 10.5 on a Quad-G5 PowerPC machine (but not on an Intel Mac laptop).