[MacPorts] #45832: defect: policykit 0.112_1 cannot be built on PPC Tiger and Leopard because it needs Clang 3.4 which cannot be built

MacPorts noreply at macports.org
Sat Nov 29 07:39:33 PST 2014


#45832: defect: policykit 0.112_1 cannot be built on PPC Tiger and Leopard because
it needs Clang 3.4 which cannot be built
------------------------------+----------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  devans@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.2
Resolution:                   |   Keywords:
      Port:  policykit        |
------------------------------+----------------------

Comment (by Peter_Dyballa@…):

 I made my first test on PPC Tiger, Mac OS X 10.4.11. It failed here:

 {{{
 /opt/local/bin/g++-apple-4.2 -o jsgc.o -c  -I./dist/system_wrappers_js
 -include ./config/gcc_hidden.h -DIMPL_MFBT -DEXPORT_JS_API
 -DNO_NSPR_10_SUPPORT -DUSE_ZLIB -I./../../mfbt/double-conversion -I. -I.
 -I./dist/include  -I/opt/local/include/nspr      -I. -I./assembler
 -I./yarr  -fPIC -I/opt/local/include -Wall -Wpointer-arith -Woverloaded-
 virtual -Werror=return-type -Wempty-body -Wno-ctor-dtor-privacy -Wno-
 overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align
 -pipe -Os -arch ppc -fno-common -fno-rtti -ffunction-sections -fdata-
 sections -fno-exceptions -pthread -pipe  -DNDEBUG -DTRIMMED -g -O3 -fno-
 stack-protector -fomit-frame-pointer -DUSE_SYSTEM_MALLOC=1
 -DENABLE_ASSEMBLER=1  -I/opt/local/include -DMOZILLA_CLIENT -include ./js-
 confdefs.h -MD -MF .deps/jsgc.o.pp
 /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_mozjs17/mozjs17/work/mozjs17.0.0/js/src/jsgc.cpp
 /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_mozjs17/mozjs17/work/mozjs17.0.0/js/src/jsgc.cpp:
 In function 'unsigned int js::GetCPUCount()':
 /opt/local/var/macports/build/_opt_mports_trunk_dports_lang_mozjs17/mozjs17/work/mozjs17.0.0/js/src/jsgc.cpp:2868:
 error: '_SC_NPROCESSORS_ONLN' was not declared in this scope
 config/rules.mk:1017: recipe for target 'jsgc.o' failed
 gmake[1]: *** [jsgc.o] Error 1
 gmake[1]: Leaving directory
 '/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_mozjs17/mozjs17/work/mozjs17.0.0/js/src'
 config/rules.mk:576: recipe for target 'all' failed
 gmake: *** [all] Error 2
 gmake: Leaving directory
 '/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_mozjs17/mozjs17/work/mozjs17.0.0/js/src'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_mports_trunk_dports_lang_mozjs17/mozjs17/work/mozjs17.0.0/js/src"
 && gmake -w all
 Exit code: 2
 Error: org.macports.build for port mozjs17 returned: command execution
 failed
 }}}

 I made three changes to the Portfile:

 1. added the patch file
 2. commented the blackmail line
 3. added {{{build.cmd   gmake}}} because Apple's /usr/bin/make instantly
 quit telling that virtual space was exhausted.

 One of the next few days, could be even tomorrow, I'll try the same on
 Leopard.

-- 
Ticket URL: <https://trac.macports.org/ticket/45832#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list