[MacPorts] #37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC --------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: icu --------------------+-------------------------------- {{{ :info:build /usr/bin/gcc-4.0 -DU_ATTRIBUTE_DEPRECATED= -DU_COMMON_IMPLEMENTATION -I. "-DDEFAULT_ICU_PLUGINS=\"/macports/lib/icu\" " -pipe -O2 -arch ppc -O2 -ansi -pedantic -Wshadow -Wpointer-arith - Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-common -c -o umutex.ao umutex.c :info:build In file included from umutex.h:30, :info:build from ucln.h:21, :info:build from ucln_cmn.h:21, :info:build from umutex.c:23: :info:build /usr/include/libkern/OSAtomic.h:71: error: syntax error before ‘static’ :info:build /usr/include/libkern/OSAtomic.h:74: error: syntax error before ‘static’ :info:build /usr/include/libkern/OSAtomic.h:78: error: syntax error before ‘static’ :info:build /usr/include/libkern/OSAtomic.h:81: error: syntax error before ‘static’ :info:build gnumake[1]: *** [umutex.ao] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/37696> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: icu | ---------------------+-------------------------------- Comment (by jeremyhu@…): I guess gcc-4.0 doesn't like the __attribute__((__always_inline__)) Can you please remove that from the clang-assert.patch that I added, clean, and try again? -- Ticket URL: <https://trac.macports.org/ticket/37696#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: icu | ---------------------+-------------------------------- Comment (by jeremyhu@…): Oh, and why are you using gcc-4.0 on Leopard? You should have gcc-4.2 there... -- Ticket URL: <https://trac.macports.org/ticket/37696#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: icu | ---------------------+-------------------------------- Comment (by nad@…): gcc-4.0 is the default for /usr/bin/cc and /usr/bin/gcc on Leopard, AFAIK. -- Ticket URL: <https://trac.macports.org/ticket/37696#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: icu | ---------------------+-------------------------------- Comment (by jeremyhu@…): Replying to [comment:3 nad@…]:
gcc-4.0 is the default for /usr/bin/cc and /usr/bin/gcc on Leopard, AFAIK.
I don't think so, but that's not really relevant here. /usr/bin/gcc-4.0 is being executed. base should choose gcc-4.2 for XCode 3.0.x ... What version of XCode are you using on Leopard? -- Ticket URL: <https://trac.macports.org/ticket/37696#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: icu | ---------------------+-------------------------------- Comment (by nad@…): Sorry, must be late: I don't see a clang-assert.patch in port icu. {{{ # xcodebuild -version Xcode 3.1.4 Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0 BuildVersion: 9M2809 }}} According to the Xcode 3.1.4 Release Notes, "GCC 4.2 is a new optional compiler". It is there but gcc-4.0 is the default. That's the case on all of my Xcode 3.1.4 installations, PPC and Intel. Always has been. -- Ticket URL: <https://trac.macports.org/ticket/37696#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: icu | ---------------------+-------------------------------- Comment (by jeremyhu@…): Sorry, wrong patch name... that change was for a different port. r101785 should fix you up, but I'm still concerned about it picking gcc-4.0 for you... it should be choosing gcc-4.2. Your XCode release notes are irrelevant. It's base that determines what is run. What version of base do you have? {{{ port version }}} -- Ticket URL: <https://trac.macports.org/ticket/37696#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: icu | ---------------------+-------------------------------- Comment (by nad@…): Thanks, r101785 appears to fix the build failure. {{{ # port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.1.2 installed, MacPorts base version 2.1.2 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated # port -k upgrade icu ---> Fetching distfiles for icu ---> Verifying checksum(s) for icu ---> Extracting icu ---> Applying patches to icu ---> Configuring icu ---> Building icu ---> Staging icu into destroot ---> Installing icu @49.1.2_1 ---> Deactivating icu @49.1.2_0 ---> Cleaning icu ---> Activating icu @49.1.2_1 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. }}} icu/config.log attached: still using /usr/bin/gcc-4.0. -- Ticket URL: <https://trac.macports.org/ticket/37696#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: icu | ---------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:2 jeremyhu@…]:
Oh, and why are you using gcc-4.0 on Leopard? You should have gcc-4.2 there...
Yes, Leopard has gcc-4.2, but gcc-4.0 has always been the default compiler in MacPorts on Leopard. You and I talked once about maybe changing that, but as of MacPorts 2.1.2 it has not changed. -- Ticket URL: <https://trac.macports.org/ticket/37696#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37696: icu upgrade 49.1.2_0 < 49.1.2_1 fails on 10.5.8 PPC ---------------------+-------------------------------- Reporter: nad@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: icu | ---------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/37696#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts