Opened 15 years ago

Closed 15 years ago

#20995 closed defect (duplicate)

#18755 has regressed

Reported by: yaseppochi (Stephen J. Turnbull) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port:

Description

On PPC, gmp won't build because port insists on putting "CFLAGS='-arch ppc'" and "CXXFLAGS='-arch ppc' into the environment of configure. See #18755 for typical log of the build errors.

Attached:

macports-gmp.log: output of
sudo port clean gmp; sudo port -dv configure gmp 2>&1
shell-gmp.log: output of
cd dports/devel/gmp/work/gmp-4.3.1
CPATH='/opt/local/include' CPPFLAGS='-I/opt/local/include' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.4' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2 -m32' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' ./configure --prefix=/opt/local --infodir=/opt/local/share/info --enable-cxx 2>&1

After that, it was possible to get a build with `sudo port upgrade gmp'.

Mac OS X 10.4.11 "Tiger"
iBook G4 (PPC)
MacPorts from svn at r56693, base and most ports installed to r56693.

Attachments (3)

macports-gmp.log (23.8 KB) - added by yaseppochi (Stephen J. Turnbull) 15 years ago.
shell-gmp.log (20.4 KB) - added by yaseppochi (Stephen J. Turnbull) 15 years ago.
shell-gmp.2.log (20.4 KB) - added by yaseppochi (Stephen J. Turnbull) 15 years ago.

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by yaseppochi (Stephen J. Turnbull)

Attachment: macports-gmp.log added

Changed 15 years ago by yaseppochi (Stephen J. Turnbull)

Attachment: shell-gmp.log added

Changed 15 years ago by yaseppochi (Stephen J. Turnbull)

Attachment: shell-gmp.2.log added

comment:1 Changed 15 years ago by yaseppochi (Stephen J. Turnbull)

Urk ... the "shell-gmp.2.log" is a dupe, I'm pretty sure. Bad Firefox! Bad, bad Firefox!

comment:2 Changed 15 years ago by tobypeterson

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.