Monic Polynomial wrote:
> (detected via Todai’s build logs)
>
> openmcu-2.2.1-3 fails to build on Intel OS 10.5.6.
>
> $ fink -V | head -n 2
> Package manager version: 0.29.2
> Distribution version: selfupdate-rsync Thu Apr 23 07:48:43 2009, 10.5,  
> i386
>
> $ fink --build-as-nobody rebuild openmcu
>
> (...)
>
> gunzip -c ../openmcu_2.2.1-1.diff.gz | sed -e '0,/@DPATCH@/d' -e  
> '\Xdebian/controlX,$d' -e 's,^[+],,' | patch -p1
> missing header for unified diff at line 3 of patch
> patching file debian/patches/00list
> patch: **** malformed patch at line 4: compilation_fixes_backport
>
> ### execution of gunzip failed, exit code 2
> ### execution of /var/tmp/tmp.11.O24s79 failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-openmcu-2.2.1-3
> (Reading database ... 11244 files and directories currently installed.)
> Removing fink-buildlock-openmcu-2.2.1-3 ...
> Failed: phase patching: openmcu-2.2.1-3 failed
>
>
> This build error has been reproduced on my box. If you want to check  
> Todai’s full build log, it’s available at
> http://fink.sodan.ecc.u-tokyo.ac.jp/build-10.5-i386/2009-04-16/openmcu.err.gz
>
>
> Cheers,
>
> --
> monipol
>
>   
I didn't get the error above, but got the following:

c++ -o obj_Darwin_x86_n/openmcu -O3 -fstrict-aliasing -mdynamic-no-pic
-fno-common -dynamic -Wl,-x -exported_symbols_list symlst -dead_strip  
-multiply_defined suppress -L/sw/share/pwlib/lib -L/sw/lib  
./obj_Darwin_x86_n/main.o  ./obj_Darwin_x86_n/video.o 
./obj_Darwin_x86_n/conference.o  ./obj_Darwin_x86_n/filemembers.o 
./obj_Darwin_x86_n/custom.o  ./obj_Darwin_x86_n/h323.o 
./obj_Darwin_x86_n/mcu.o -lh323_Darwin_x86_n  -lpt_Darwin_x86_r  -lldap
-llber -lldap_r  -lpthread -lsasl2 -lssl -lcrypto -lexpat -lSDL -lresolv
-lresolv -framework AudioToolbox -framework CoreAudio -framework
AudioUnit -framework CoreServices
 # re-link with just -lh323 -lpt on the link line, to avoid bloated load
commands.

 c++ -o obj_Darwin_ppc_n/openmcu -Wl,-x -exported_symbols_list symlst
-dead_strip -L/sw/lib -lh323 -lpt obj_Darwin_ppc_n/*.o

i686-apple-darwin9-g++-4.0.1: obj_Darwin_ppc_n/*.o: No such file or
directory

The last line was explicitly added by hand in the CompileScript, and
seems to work happily on PowerPC (as one might expect). 

I stuck in some appropriate conditionals and the package builds now here.

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to