Opened 5 years ago

Closed 3 years ago

#58407 closed defect (fixed)

error in building gexiv2 0.10.9 on 10.6.8

Reported by: MarcChenevier Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: snowleopard Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: gexiv2

Description (last modified by kencu (Ken))

to get Gimp I am stopped at

Fetching distfiles for gexiv2
--->  Attempting to fetch gexiv2-0.10.9.tar.xz from https://distfiles.macports.org/gexiv2
--->  Verifying checksums for gexiv2                                                 
--->  Extracting gexiv2
--->  Configuring gexiv2
--->  Building gexiv2
Error: Failed to build gexiv2: command execution failed

my OS 10.6.8

Attachments (2)

end_console_report (6.8 KB) - added by MarcChenevier 5 years ago.
a part of console report
macportsession29_04_19 (23.8 KB) - added by MarcChenevier 5 years ago.
record of my session with clang 5.0

Download all attachments as: .zip

Change History (11)

Changed 5 years ago by MarcChenevier

Attachment: end_console_report added

a part of console report

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

Description: modified (diff)
Keywords: snowleopard added
Owner: set to dbevans
Port: gexiv2 added
Status: newassigned
Summary: error in building gexiv2 0.10.9error in building gexiv2 0.10.9 on 10.6.8

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

It does build on 10.6.8:

$ port -v installed gexiv2
The following ports are currently installed:
  gexiv2 @0.10.9_1+python27+python36 (active) platform='darwin 10' archs='x86_64' date='2018-12-23T14:23:26-0800'

so it's likely just the old gcc-4.2 compiler that is defaulting here can't build it (I build with clang-5.0 by default).

This is a common problem with the old OS versions, as a lot of software would not attempt to maintain compatibility with gcc-4.2 any longer.

You can help us! If you're running Snow Leopard and you come across something like this, try using a newer compiler like this:

sudo port clean gexiv2
sudo port -v install gexiv2 configure.compiler=macports-clang-5.0

and if that works, you can add it to your tickets to help us figure out the compilers that do work.

comment:3 Changed 5 years ago by MarcChenevier

I try that you suggest without succes I join my session.file macportsession29_04_19

Changed 5 years ago by MarcChenevier

Attachment: macportsession29_04_19 added

record of my session with clang 5.0

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

well, you overcame the compiler error and got further, but then you ran into another error that we are are working on here:

<https://trac.macports.org/ticket/58412>

Version 0, edited 5 years ago by kencu (Ken) (next)

comment:5 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:6 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

In b04c3ce79b899609bf6f3996c38b2a47844c7d18/macports-ports (master):

gexiv2: update version 0.10.9->0.10.10

Fixes #57881
See #58407

comment:7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

So I guess what needs to be done to resolve this ticket is to blacklist old gcc compilers (i.e. compiler.blacklist-append *gcc-3.* *gcc-4.*). The build is already succeeding on 10.6 without this change because as of MacPorts 2.6.0 we now default to using newer compilers on 10.6. But the problem probably still affects 10.5 since we do not default to using newer compilers there.

It's unfortunate that the reporter did not attach a main.log (as our bug reporting instructions ask reporters to do), because without it we do not know what the actual error was. (The attached end_console_resport only shows subsequent errors, not the first error which is the one we care about.)

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

gexiv2 has been updated to version 0.12.1 and the failure errors are different now, so this ticket is no longer relevant

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.