Opened 10 years ago
Closed 2 years ago
#46642 closed defect (fixed)
apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build
Reported by: | snipsnipsnip@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | tiger | Cc: | marco.comini@…, larryv (Lawrence Velázquez), patrick@… |
Port: | apple-gcc42 |
Description
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:
Attachments (7)
Change History (27)
Changed 10 years ago by snipsnipsnip@…
Attachment: | apple-gcc42.patch added |
---|
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Cc: | jeremyhu@… removed |
---|---|
Keywords: | apple-gcc42 removed |
Owner: | changed from macports-tickets@… to jeremyhu@… |
Changed 10 years ago by snipsnipsnip@…
Attachment: | apple-gcc42.revised.patch added |
---|
Portfile patch (revised)
Changed 10 years ago by snipsnipsnip@…
Build log of non-bootstrap build (after built +bootstrap with apple-gcc42.patch)
comment:2 Changed 10 years ago by snipsnipsnip@…
Build failed again in an attempt to reinstall 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
~$ ## apply apple-gcc42.revised.patch ## ~$ sudo port clean apple-gcc42 ~$ sudo port 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 ---> Staging apple-gcc42 into destroot ---> Installing apple-gcc42 @5666.3_14 ---> Deactivating apple-gcc42 @5666.3_14+bootstrap ---> Cleaning apple-gcc42 ---> Activating apple-gcc42 @5666.3_14 ---> Cleaning apple-gcc42
comment:3 Changed 10 years ago by dsmithhfx@…
I also can't (re)install apple-gcc42 (no -bootstrap), after successfully upgrading 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
comment:4 Changed 10 years ago 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
comment:5 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Owner: | changed from jeremyhu@… to ryandesign@… |
---|
Ryan, can you look into this? I don't have Tiger.
comment:6 follow-up: 7 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)
dsmithhfx, is the issue just that we didn't give you the explicit instructions:
sudo port upgrade --force apple-gcc42 -bootstrap
comment:7 Changed 10 years ago by dsmithhfx@…
Replying to 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).
comment:8 Changed 10 years ago 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
comment:9 follow-up: 10 Changed 10 years ago by larryv (Lawrence Velázquez)
Cc: | dfifer19@… added |
---|
Has likely duplicate #46852.
comment:10 Changed 10 years ago by larryv (Lawrence Velázquez)
Cc: | dfifer19@… removed |
---|
Scratch that, no evidence in #46852 that anything is actually wrong.
comment:16 Changed 9 years ago by larryv (Lawrence Velázquez)
Cc: | larryv@… added |
---|
Is this still an issue with apple-gcc42 @5666.3_15?
comment:17 Changed 9 years ago 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
Changed 9 years ago by patrick@…
Attachment: | main.3.log added |
---|
Failed build of non-bootstrap variant of apple-gcc42
comment:18 Changed 9 years ago 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
comment:20 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
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.
comment:22 Changed 7 years ago by mrkapqa
i am having this issue when building MPlayer on Tiger 10.4.11 with Xcode 2.5
apple-gcc42 fails to build
comment:23 Changed 3 years ago by barracuda156
Both apple-gcc42 +bootstrap
and afterwards apple-gcc42
build on Tiger for me with no manual changes.
comment:24 Changed 2 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | new → closed |
fixed at some point in the last decade:
$ port -v installed | grep gcc42 apple-gcc42 @5666.3_16+bootstrap requested_variants='' platform='darwin 8' archs='ppc' date='2022-01-12T11:44:12-0800'
Portfile patch