Opened 21 months ago
Closed 7 weeks 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)
Change History (11)
Changed 21 months ago by MarcChenevier
Attachment: | end_console_report added |
---|
comment:1 Changed 21 months ago by kencu (Ken)
Description: | modified (diff) |
---|---|
Keywords: | snowleopard added |
Owner: | set to dbevans |
Port: | gexiv2 added |
Status: | new → assigned |
Summary: | error in building gexiv2 0.10.9 → error in building gexiv2 0.10.9 on 10.6.8 |
comment:2 Changed 21 months 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 21 months ago by MarcChenevier
I try that you suggest without succes I join my session.file macportsession29_04_19
Changed 21 months ago by MarcChenevier
Attachment: | macportsession29_04_19 added |
---|
record of my session with clang 5.0
comment:4 Changed 21 months 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:
comment:5 Changed 21 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | MarcusCalhoun-Lopez added |
---|
comment:6 Changed 21 months ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
comment:7 Changed 13 months ago by ryandesign (Ryan 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 7 weeks 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 7 weeks ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
a part of console report