And.. failing again on the php5 install

Ross Walker rswwalker at hotmail.com
Sun Aug 10 22:59:03 PDT 2008


On 8/11/08 1:03 AM, "Ryan Schmidt" <ryandesign at macports.org> wrote:

> On Aug 10, 2008, at 22:02, Scott Haneda wrote:
> 
>> I got it working on my local machine, PPC Dual 2.0, Leopard.
>> At my colo, I have PPC 2.5 Dual, Leopard, clean install, brand new,
>> developer tools, x11 and x11 sdk.
>> 
>> Apache2 went in without too much trouble, mysql5 seems to have done
>> the same.
>> 
>> sudo port install php5 +apache2 +mysql5
>> 
>> First, it barfs at some point, says it can not find perl, so I remove
>> perl, and install it again, and it gets a bit further.
> 
> Possibly again the Leopard environment variable bug; not sure since
> you didn't show the exact error.
> 
>> sudo port install php5 +apache2 +mysql5
> 
> [snip]
> 
>> --->  Fetching jpeg
>> --->  Attempting to fetch jpegsrc.v6b.tar.gz from http://
>> www.ijg.org/files
>> --->  Attempting to fetch droppatch.tar.gz from http://sylvana.net/
>> jpegcrop/
>> --->  Verifying checksum(s) for jpeg
>> --->  Extracting jpeg
>> --->  Applying patches to jpeg
>> --->  Configuring jpeg
>> --->  Building jpeg 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_graphics_jpeg/work/jpeg-6b" && make all "
>> returned error 2
>> Command output: /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./
>> wrrle.c  -fno-common -DPIC -o .libs/wrrle.lo
>> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrrle.c -o wrrle.o
>>> /dev/null 2>&1
>> mv -f .libs/wrrle.lo wrrle.lo
>> ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I.
>> -c ./wrbmp.c
>> rm -f .libs/wrbmp.lo
>> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrbmp.c  -fno-
>> common -DPIC -o .libs/wrbmp.lo
>> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./wrbmp.c -o wrbmp.o
>>> /dev/null 2>&1
>> mv -f .libs/wrbmp.lo wrbmp.lo
>> ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I.
>> -c ./rdcolmap.c
>> rm -f .libs/rdcolmap.lo
>> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdcolmap.c  -fno-
>> common -DPIC -o .libs/rdcolmap.lo
>> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdcolmap.c -o
>> rdcolmap.o >/dev/null 2>&1
>> mv -f .libs/rdcolmap.lo rdcolmap.lo
>> ./libtool --mode=link /usr/bin/gcc-4.0 -L/opt/local/lib -o djpeg
>> djpeg.lo wrppm.lo wrgif.lo wrtarga.lo wrrle.lo wrbmp.lo rdcolmap.lo
>> cdjpeg.lo libjpeg.la
>> /usr/bin/gcc-4.0 -L/opt/local/lib -o .libs/djpeg djpeg.o wrppm.o
>> wrgif.o wrtarga.o wrrle.o wrbmp.o rdcolmap.o cdjpeg.o -L.libs -ljpeg
>> creating djpeg
>> ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I.
>> -c ./jpegtran.c
>> rm -f .libs/jpegtran.lo
>> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./jpegtran.c  -fno-
>> common -DPIC -o .libs/jpegtran.lo
>> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./jpegtran.c -o
>> jpegtran.o >/dev/null 2>&1
>> mv -f .libs/jpegtran.lo jpegtran.lo
>> ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I.
>> -c ./transupp.c
>> rm -f .libs/transupp.lo
>> /usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./transupp.c  -fno-
>> common -DPIC -o .libs/transupp.lo
>> ./transupp.c: In function 'jtransform_execute_transform':
>> ./transupp.c:1747: internal compiler error: Bus error
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://developer.apple.com/bugreporter> for instructions.
>> make: *** [transupp.lo] Error 1
>> 
>> Error: The following dependencies failed to build: gd2 jpeg libpng
>> libtool libmcrypt libxml2 libxslt mhash tiff
>> Error: Status 1 encountered during processing.
> 
> 
> So it's failing on the jpeg install, not on the php5 install.
> 
> If you clean the jpeg work area ("sudo port clean --work jpeg") and
> try again, does it still fail? If so, you should file a bug report
> with Apple like it says.
> 
> I haven't seen this problem before but dual-processor PowerPC systems
> probably aren't very well represented among MacPorts users /
> maintainers / developers.

I would also check the jpeg project's web site, there may be a known issue
with their code and compiler options on big endian multi-processor systems
(try a local jpeg macport that doesn't use the -O2 optimization option).

-Ross




More information about the macports-users mailing list