New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13033 (closed defect: fixed)

Opened 20 months ago

Last modified 2 months ago

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

Changed 20 months ago by ryandesign@…

  • cc mordeth@…, subpolar@… added
  • summary changed from multimedia/libtheora build fails on 10.5 to libtheora 1.0beta2 build fails on Mac OS X 10.5 Leopard
  • milestone set to Port Bugs

Changed 20 months ago by ryandesign@…

subpolar  reports that libtheora builds on Mac OS X 10.5 on a Quad-G5 PowerPC machine (but not on an Intel Mac laptop).

Changed 20 months ago by ryandesign@…

  • cc sbplrports@… added; subpolar@… removed

Changed 20 months ago by nox@…

  • cc nox@… added

Could you try with sudo port install libtheora configure.post_args=--disable-asm?

Changed 20 months 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.

Changed 20 months 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.

Changed 20 months ago by nox@…

  • status changed from new to closed
  • resolution set to fixed

It works, you are just experiencing a problem with coreutils on Leopard (#13005). Please run:

sudo port -f deactivate coreutils
sudo port -unf upgrade coreutils

and try again.

I've commited my workaround in r30659.

Changed 2 months ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.