Opened 9 years ago

Closed 9 years ago

#50242 closed defect (duplicate)

p7zip @15.09 does not build on 10.5.8

Reported by: udbraumann Owned by: stuartwesterman (Stuart Westerman)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: dgonyier (Dwaine Gonyier)
Port: p7zip

Description

While upgrading p7zip from 9.38.1_1 to 15.09_0 on 10.5.8 I found that a compiler is being selected which is not available

...
:debug:configure Using compiler 'Xcode GCC 4.2'
...
:info:build /usr/bin/llvm-gcc -c -I. -I../../../../C -I../../../myWindows -I../.
./../include_windows -I../../.. -m64 -O -DENV_MACOSX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -arch ppc  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/7zCrc.c
:info:build make[1]: /usr/bin/llvm-gcc: Command not found
...

ay I think this happens since llvm-gcc is the fallback compiler, and other Xcode compilers available are all blacklisted.

What is strange is this: If I try to specify another compiler, say, gcc5, though it than tells me

...
DEBUG: Using compiler 'MacPorts GCC 5'
...

it still runs into

...
make[1]: /usr/bin/llvm-gcc: Command not found
...

So something seems to be mistakenly 'hardwired'. I will later on install MacPorts' llvm-gcc-42 and try if this helps.

Attachments (1)

main.log.gz (2.0 KB) - added by udbraumann 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by udbraumann

Attachment: main.log.gz added

comment:1 Changed 9 years ago by udbraumann

sudo port install llvm-gcc42
Error: llvm-gcc42 cannot be installed for the configured build_arch 'ppc' because it only supports the arch(s) 'i386 x86_64'.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Cc: stuartwesterman@… removed
Owner: changed from macports-tickets@… to stuartwesterman@…

comment:3 Changed 9 years ago by dgonyier (Dwaine Gonyier)

Cc: dgonyier@… added

Cc Me!

comment:4 Changed 9 years ago by khepler

This ticket is a duplicate of #50146. I've supplied a patch there.

comment:5 Changed 9 years ago by mf2k (Frank Schima)

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