[MacPorts] #46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -------------------------------+-------------------------------- Reporter: snipsnipsnip@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: apple-gcc42 tiger | Port: apple-gcc42 -------------------------------+-------------------------------- Hi, I noticed that building the port apple-gcc42+bootstrap on Tiger PPC fails with message like `/CoreOS/Standard/Standard.make: No such file or directory`. {{{ $ sudo port clean apple-gcc42 $ sudo port -v install apple-gcc42 +bootstrap ... fetch and patch ... ---> Configuring apple-gcc42 ---> Building apple-gcc42 make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/gcc-5666.3' GNUmakefile:16: /CoreOS/Standard/Standard.make: No such file or directory make: *** No rule to make target `/CoreOS/Standard/Standard.make'. Stop. }}} Relevant lines in the `GNUmakefile` are: {{{ ifndef CoreOSMakefiles CoreOSMakefiles = $(MAKEFILEPATH)/CoreOS endif include $(CoreOSMakefiles)/Standard/Standard.make }}} It seems that both `$(CoreOSMakefiles)` and `$(MAKEFILEPATH)` hasn't been set on my Mac, making `$(CoreOSMakefiles)` to be `/CoreOS`. I added `CoreOSMakefiles="/Developer/Makefiles/CoreOS"` to `build.args` then built successfully. Not sure if this is the right way, nor if the problem is only for me, but I attach a patch for information: {{{ --- Portfile.orig 2015-01-21 16:14:53.000000000 +0900 +++ Portfile 2015-01-21 16:38:15.000000000 +0900 @@ -231,6 +231,8 @@ error "Please install this port without the bootstrap variant." } } else { + build.args-append \ + CoreOSMakefiles="/Developer/Makefiles/CoreOS" notes-append " Now please reinstall ${name} without the bootstrap variant by running: }}} -- Ticket URL: <https://trac.macports.org/ticket/46642> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+------------------------ Reporter: snipsnipsnip@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+------------------------ Changes (by mf2k@…): * cc: jeremyhu@… (removed) * keywords: apple-gcc42 tiger => tiger * owner: macports-tickets@… => jeremyhu@… -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+------------------------ Reporter: snipsnipsnip@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+------------------------ Comment (by snipsnipsnip@…): Build failed again in reinstalling without +bootstrap. I updated patch to handle both case. {{{ ~$ ## apply apple-gcc42.patch ## ~$ sudo port install apple-gcc42 +bootstrap ---> Computing dependencies for apple-gcc42 ---> Extracting apple-gcc42 ---> Applying patches to apple-gcc42 ---> Configuring apple-gcc42 ---> Building apple-gcc42 ---> Staging apple-gcc42 into destroot ---> Installing apple-gcc42 @5666.3_14+bootstrap ---> Activating apple-gcc42 @5666.3_14+bootstrap Now please reinstall apple-gcc42 without the bootstrap variant by running: sudo port install apple-gcc42 This will ensure that apple-gcc42 uses MacPorts versions of cctools and ld64 which are newer than the ones included with Xcode and will work better and prevent some ports from failing to build. ---> Cleaning apple-gcc42 ~$ sudo port install ld64 ## .. built successfully .. ---> Activating ld64 @97.17_4 ---> Cleaning ld64 ~$ sudo port install cctools ## .. built successfully .. ---> Activating cctools @806_4 ---> Cleaning cctools ~$ sudo port clean apple-gcc42 ---> Cleaning apple-gcc42 ~$ sudo install apple-gcc42 -bootstrap ---> Computing dependencies for apple-gcc42 ---> Fetching archive for apple-gcc42 ---> Attempting to fetch apple-gcc42-5666.3_14.darwin_8.ppc.tbz2 from http://jog.id.packages.macports.org/macports/packages/apple-gcc42 ---> Attempting to fetch apple-gcc42-5666.3_14.darwin_8.ppc.tbz2 from http://packages.macports.org/apple-gcc42 ---> Attempting to fetch apple-gcc42-5666.3_14.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/apple-gcc42 ---> Fetching distfiles for apple-gcc42 ---> Verifying checksums for apple-gcc42 ---> Extracting apple-gcc42 ---> Applying patches to apple-gcc42 ---> Configuring apple-gcc42 ---> Building apple-gcc42 Error: org.macports.build for port apple-gcc42 returned: command execution failed Please see the log file for port apple-gcc42 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port apple-gcc42 failed }}} -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+------------------------ Reporter: snipsnipsnip@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+------------------------ Comment (by dsmithhfx@…): I also can't install apple-gcc42 (no -bootstrap), after successfully installing apple-gcc42 -bootstrap with this message in output: {{{ Now please reinstall apple-gcc42 without the bootstrap variant by running: sudo port install apple-gcc42 This will ensure that apple-gcc42 uses MacPorts versions of cctools and ld64 which are newer than the ones included with Xcode and will work better and prevent some ports from failing to build. }}} (Tiger ppc, port version 2.3.3) /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_lang_apple-gcc42/apple-gcc42/main.log attached -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+------------------------ Reporter: snipsnipsnip@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+------------------------ Comment (by dsmithhfx@…): Long story short, I was able to get apple-gcc42 to install by manually installing following dependencies one by one, in reverse order (from main.log): :error:build The following dependencies were not installed: cctools ld64 ld64-97 dyld-headers libmacho-headers -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Changes (by jeremyhu@…): * owner: jeremyhu@… => ryandesign@… Comment: Ryan, can you look into this? I don't have Tiger. -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Comment (by jeremyhu@…): dsmithhfx, is the issue just that we didn't give you the explicit instructions: {{{ sudo port upgrade --force apple-gcc42 -bootstrap }}} -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Comment (by dsmithhfx@…): Replying to [comment:6 jeremyhu@…]:
dsmithhfx, is the issue just that we didn't give you the explicit instructions:
{{{ sudo port upgrade --force apple-gcc42 -bootstrap }}}
??? Terminal output after successful installation of apple-gcc42 -bootstrap: {{{ Now please reinstall apple-gcc42 without the bootstrap variant by running: sudo port install apple-gcc42 }}} This is what failed until manual pre-installation of dependencies (as in my previous post). -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Comment (by dfifer19@…): I'm Having The Same Problem But apple-gcc42 does not build what do I do? I'm using Mac Os X 10.4.11 Tiger PPC {{{ sudo port install git-core }}} -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Changes (by larryv@…): * cc: dfifer19@… (added) Comment: Has likely duplicate #46852. -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Changes (by larryv@…): * cc: dfifer19@… (removed) Comment: Scratch that, no evidence in #46852 that anything is actually wrong. -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Changes (by larryv@…): * cc: larryv@… (added) Comment: Is this still an issue with apple-gcc42 @5666.3_15? -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Comment (by patrick@…): I've just hit this problem with a clean install of 10.4.11 (PPC). The bootstrap variant installs fine, i.e. /opt/local/bin/port -d install apple-gcc42 +bootstrap results in: DEBUG: Skipping activate (apple-gcc42 @5666.3_15+bootstrap) since this port is already active But then attempting to install the non-bootstrap variant results in: {{{ # /opt/local/bin/port install apple-gcc42 ---> Computing dependencies for apple-gcc42 ---> Dependencies to be installed: cctools ld64 ld64-97 dyld-headers libmacho-headers ---> Building cctools Error: org.macports.build for port cctools returned: command execution failed Error: Failed to install cctools Please see the log file for port cctools for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cctools/cctools/main.log }}} I'll upload the above log file as an attachment. Thanks, Patrick -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:17> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Comment (by patrick@…): Update: I was able to install the following dependencies: ld64 ld64-97 dyld-headers libmacho-headers The output of {{{ port -d install cctools }}} is attached as cctools_fail.log -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:18> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Comment (by ryandesign@…): Patrick, this ticket is about a failure to build apple-gcc42. For your failure to build cctools, please file a new ticket; it is a different issue. -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:20> MacPorts <https://www.macports.org/> Ports system for OS X
#46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build -----------------------------+-------------------------- Reporter: snipsnipsnip@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger Port: apple-gcc42 | -----------------------------+-------------------------- Comment (by patrick@…): Ah okay - apologies :-). Thanks for the quick reply. -- Ticket URL: <https://trac.macports.org/ticket/46642#comment:21> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts