[MacPorts] #17454: xvid does not build universal on Leopard

MacPorts noreply at macports.org
Sun Nov 30 16:16:15 PST 2008


#17454: xvid does not build universal on Leopard
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  nox@…           
     Type:  defect                 |      Status:  new             
 Priority:  Normal                 |   Milestone:  Port Bugs       
Component:  ports                  |     Version:  1.8.0           
 Keywords:                         |        Port:                  
-----------------------------------+----------------------------------------
Description changed by jeremyhu@…:

Old description:

> L: libxvidcore.a
> ranlib: for architecture: ppc file: libxvidcore.a(timer.o) has no symbols
> ranlib: for architecture: i386 file: libxvidcore.a(timer.o) has no
> symbols
>   L: libxvidcore.4.dylib
> ldld: library not found for -ldylib1.10.5.o
> collect2: ld returned 1 exit status
> : library not found for -ldylib1.10.5.o
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//ccFdRcgs.out (No such file or
> directory)
> make: *** [libxvidcore.4.dylib] Error 1
>
> ---
>
> Fix:
>
> --- Portfile    (revision 42677)
> +++ Portfile    (working copy)
> @@ -31,8 +31,8 @@
>
>  patchfiles          patch-platform.inc.in-LDFLAGS.diff
>
> -# configure.universal_ldflags-append  -isysroot ${sysroot}
> -configure.universal_ldflags-append  -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk
> +configure.universal_ldflags-append  -isysroot ${sysroot}
> +# configure.universal_ldflags-append  -isysroot
> /Developer/SDKs/MacOSX10.4u.sdk
>  configure.args                      --disable-assembly
>
>  post-destroot {
>
> ---
>
> Why was 10.4u being forced?

New description:

 {{{
   L: libxvidcore.a
 ranlib: for architecture: ppc file: libxvidcore.a(timer.o) has no symbols
 ranlib: for architecture: i386 file: libxvidcore.a(timer.o) has no symbols
   L: libxvidcore.4.dylib
 ldld: library not found for -ldylib1.10.5.o
 collect2: ld returned 1 exit status
 : library not found for -ldylib1.10.5.o
 collect2: ld returned 1 exit status
 lipo: can't open input file: /var/tmp//ccFdRcgs.out (No such file or
 directory)
 make: *** [libxvidcore.4.dylib] Error 1
 }}}

 ---

 Fix:
 {{{
 --- Portfile    (revision 42677)
 +++ Portfile    (working copy)
 @@ -31,8 +31,8 @@

  patchfiles          patch-platform.inc.in-LDFLAGS.diff

 -# configure.universal_ldflags-append  -isysroot ${sysroot}
 -configure.universal_ldflags-append  -isysroot
 /Developer/SDKs/MacOSX10.4u.sdk
 +configure.universal_ldflags-append  -isysroot ${sysroot}
 +# configure.universal_ldflags-append  -isysroot
 /Developer/SDKs/MacOSX10.4u.sdk
  configure.args                      --disable-assembly

  post-destroot {
 }}}

 ---

 Why was 10.4u being forced?

--

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


More information about the macports-tickets mailing list