[MacPorts] #46642: apple-gcc42 @5666.3_14 +bootstrap on Tiger PPC fails to build

MacPorts noreply at macports.org
Wed Jan 21 02:45:59 PST 2015


#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


More information about the macports-tickets mailing list