Opened 4 years ago

Closed 4 years ago

#61244 closed defect (worksforme)

popt @1.18_0: build fails on 10.5_ppc

Reported by: jabenninghoff (John Benninghoff) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: dbevans (David B. Evans)
Port: popt

Description

Installing popt 1.18 on a 10.5 PPC system initiates a download and install of gcc7, presumably due to the inclusion of compiler.c_standard 2011. From the GitHub history, this addition appears to have been made to correct a warning on 10.7 (https://github.com/macports/macports-ports/commits/master/devel/popt/Portfile).

Although the gcc installation is still running on my system, it appears from https://ports.macports.org/port/gcc7/summary that gcc7 fails to build on 10.5_ppc, and ultimately, the popt 1.18 install will also fail.

Is compiler.c_standard 2011 needed or can it be omitted from the port to allow popt to continue to build on older versions of MacOS?

Change History (6)

comment:1 Changed 4 years ago by kencu (Ken)

The ports summary with respect to PPC is inaccurate, we're sorry. The PPC builder hasn't been running for several years now. We'd remove it from the summary, but there are hopes and dreams a PPC builder might again surface.

gcc7 builds great on PPC 10.4 and 10.5, and is needed for a great number of different software projects. So I suggest you let it build, and then allow it to build popt.

I have all these gcc versions installed on my Leopard PPC box:

$ port -v installed | grep gcc
  apple-gcc42 @5666.3_15 (active) platform='darwin 9' archs='ppc' date='2020-06-22T21:07:37-0700'
  gcc5 @5.5.0_5 (active) platform='darwin 9' archs='ppc' date='2020-06-22T21:00:44-0700'
  gcc6 @6.5.0_5 (active) platform='darwin 9' archs='ppc' date='2020-06-22T21:03:03-0700'
  gcc7 @7.4.0_4 (active) platform='darwin 9' archs='ppc' date='2020-06-25T07:09:31-0700'
  gcc7 @7.5.0_1 platform='darwin 9' archs='ppc' date='2020-06-22T21:04:33-0700'
  gcc43 @4.3.6_15 (active) platform='darwin 9' archs='ppc' date='2020-06-25T23:07:32-0700'
  gcc44 @4.4.7_14 (active) platform='darwin 9' archs='ppc' date='2020-06-25T23:10:01-0700'
  gcc45 @4.5.4_16 (active) platform='darwin 9' archs='ppc' date='2020-06-25T23:12:38-0700'
  gcc46 @4.6.4_14 (active) platform='darwin 9' archs='ppc' date='2020-06-26T01:26:07-0700'
  gcc47 @4.7.4_11 (active) platform='darwin 9' archs='ppc' date='2020-06-26T04:34:08-0700'
  gcc48 @4.8.5_5 (active) platform='darwin 9' archs='ppc' date='2020-06-22T20:57:12-0700'
  gcc49 @4.9.4_5 (active) platform='darwin 9' archs='ppc' date='2020-06-25T23:19:19-0700'
  gcc_select @0.1_8 (active) platform='darwin 9' archs='noarch' date='2020-06-22T20:52:40-0700'
  libgcc @3.0_0 (active) platform='darwin 9' archs='ppc' date='2020-06-22T09:11:00-0700'
  libgcc6 @6.5.0_4 (active) platform='darwin 9' archs='ppc' date='2020-06-22T20:56:05-0700'
  libgcc7 @7.4.0_4 (active) platform='darwin 9' archs='ppc' date='2020-06-25T07:08:27-0700'
  libgcc7 @7.5.0_0 platform='darwin 9' archs='ppc' date='2020-06-22T09:10:56-0700'
  libgcc45 @4.5.4_16 (active) platform='darwin 9' archs='ppc' date='2020-06-25T23:06:22-0700'
Last edited 4 years ago by kencu (Ken) (previous) (diff)

comment:2 Changed 4 years ago by kencu (Ken)

popt was updated a week ago, and the person who updated it found it needed C11 features to build. So it wasn't just to correct a warning.

I haven't tried yet to build it on 10.5 PPC.

I hope you know how to hold back a port if you need to -- for a system like 10.5 PPC, this will come up from time to time, and you might need to hold back some update to keep a package running that you want to keep.

It takes no more than five minutes to set this up for yourself, if you need it.

comment:3 Changed 4 years ago by kencu (Ken)

Hey -- good news. The new popt installed without issues on 10.5 PPC using gcc7:

$ port -v installed popt
The following ports are currently installed:
  popt @1.16_0 platform='darwin 9' archs='ppc' date='2020-06-23T23:42:55-0700'
  popt @1.18_0 (active) platform='darwin 9' archs='ppc' date='2020-09-28T17:18:29-0700'

So no need to worry about holding it back.

comment:4 Changed 4 years ago by jabenninghoff (John Benninghoff)

OK thanks, I'll let it run...I guess I need to be more patient.

Last edited 4 years ago by jabenninghoff (John Benninghoff) (previous) (diff)

comment:5 Changed 4 years ago by jabenninghoff (John Benninghoff)

Update: I let the build run. It took a couple of days to complete, and I also had to restart it a couple of times due to segfaults, but popt built and installed successfully. This ticket can be closed.

comment:6 Changed 4 years ago by kencu (Ken)

Resolution: worksforme
Status: newclosed

Great. Good luck soldiering on with 10.5 PPC -- I have several of them going myself :>

Note: See TracTickets for help on using tickets.