Opened 7 months ago

Last modified 7 months ago

#71383 reopened defect

gle-graphics @4.2.5_4 build failure

Reported by: elbennich Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.5
Keywords: arm64 sequoia Cc:
Port: gle-graphics

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Dear all,

Ever since I upgrades to Mac OS 15 and reinstalled MacPorts, I didn't manage to install gle-graphics. I completely uninstalled Macports and cleaned paths and removed users and groups as instructed in 2.4. of the MacPorts guide, reinstalled it with available binary (before I installed it with the source), used sudo port clean portname after a first unsuccessful attempt and tried again with sudo port -t install. Nothing worked, I keep receiving the message:

--->  Cleaning poppler
--->  Fetching archive for gle-graphics
--->  Attempting to fetch gle-graphics-4.2.5_4.darwin_24.arm64.tbz2 from https://packages.macports.org/gle-graphics
--->  Attempting to fetch gle-graphics-4.2.5_4.darwin_24.arm64.tbz2 from http://bos.us.packages.macports.org/gle-graphics
--->  Attempting to fetch gle-graphics-4.2.5_4.darwin_24.arm64.tbz2 from https://mirrors.mit.edu/macports/packages/gle-graphics
--->  Fetching distfiles for gle-graphics
--->  Attempting to fetch gle-graphics-4.2.5f-src.tar.gz from https://distfiles.macports.org/gle-graphics
--->  Verifying checksums for gle-graphics                                           
--->  Extracting gle-graphics
--->  Applying patches to gle-graphics
--->  Configuring gle-graphics
--->  Building gle-graphics                              
Error: Failed to build gle-graphics: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gle-graphics/gle-graphics/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gle-graphics failed

I attached the main.log

Attachments (2)

main.log (174.8 KB) - added by elbennich 7 months ago.
main.log file with description of gle-graphics installation attempt
main-no-trace.log (197.6 KB) - added by elbennich 7 months ago.

Download all attachments as: .zip

Change History (10)

Changed 7 months ago by elbennich

Attachment: main.log added

main.log file with description of gle-graphics installation attempt

comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: arm64 sequoia added
Port: gle-graphics added
Resolution: duplicate
Status: newclosed
Version: 2.10.5

This happens because you're using trace mode (the -t flag). Trace mode is currently broken on Apple Silicon Macs running macOS 13 or later. Duplicate of #66358.

comment:2 Changed 7 months ago by elbennich

OK, thanks, but before I had tried without the -t flag and it also didn't work ....

comment:3 Changed 7 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: closedreopened

Please generate a new log showing the failure without trace mode.

sudo port clean gle-graphics
sudo port install gle-graphics

comment:4 Changed 7 months ago by elbennich

Hello, Thanks for helping. I attached the new log installing without the -t flag. See attachments. The errors I see are:

:msg:archivefetch --->  Fetching archive for gle-graphics
:debug:archivefetch Executing org.macports.archivefetch (gle-graphics)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 501/501
:info:archivefetch --->  gle-graphics-4.2.5_4.darwin_24.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch gle-graphics-4.2.5_4.darwin_24.arm64.tbz2 from https://packages.macports.org/gle-graphics
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch gle-graphics-4.2.5_4.darwin_24.arm64.tbz2 from https://mirrors.mit.edu/macports/packages/gle-graphics
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch gle-graphics-4.2.5_4.darwin_24.arm64.tbz2 from http://bos.us.packages.macports.org/gle-graphics
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

Could it be that the port is simply corrupted ?

Cheers,

Bruno

Last edited 7 months ago by jmroot (Joshua Root) (previous) (diff)

Changed 7 months ago by elbennich

Attachment: main-no-trace.log added

comment:5 Changed 7 months ago by jmroot (Joshua Root)

Summary: Failure to install gle-graphics packagegle-graphics @4.2.5_4 build failure

Looks like the code defines isnan and isinf macros that conflict with the ones in the stdlib.

:info:build In file included from cutils.cpp:91:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/string:594:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/__memory_resource/polymorphic_allocator.h:20:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/tuple:272:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/compare:145:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/__compare/compare_partial_order_fallback.h:13:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/__compare/partial_order.h:14:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/__compare/weak_order.h:14:
:info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/__compare/strong_order.h:20:
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/usr/include/c++/v1/cmath:583:15: error: expected unqualified-id
:info:build   583 |   return std::isnan(__lcpp_x);
:info:build       |               ^
:info:build cutils.cpp:61:5: note: expanded from macro 'isnan'
:info:build    61 |     (sizeof (x) == sizeof (long double) ? isnan_ld (x) \
:info:build       |     ^

comment:6 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

There's no point trying to make the ancient gle-graphics 4.2.x work. As I mentioned in #55706, its code is terrible because it was converted from FORTRAN to C back in 1990.

The project was revived and versions 4.3.x were released more recently at https://github.com/vlabella/GLE but the old build system was removed and the new build system and code had numerous problems for which I submitted bug reports or pull requests, but I haven't been back to see what the current state of things is.

comment:7 Changed 7 months ago by elbennich

Thanks for all the info, but downloading directly from them has been a problem the past months. I can compile but gle doesn't find font lists and initialization scripts, even though they are supposed to be produced when compiling ...

It's a waste of time it seems, although it was a really useful graphics program. I will move to Python and use their graphics resources. More likely to survive the next years!

Thanks again!

comment:8 in reply to:  7 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to elbennich:

Thanks for all the info, but downloading directly from them has been a problem the past months. I can compile but gle doesn't find font lists and initialization scripts, even though they are supposed to be produced when compiling ...

Please report any problems you've had with GLE to its developers so that hopefully one day a fixed version will exist to which we can then update in MacPorts.

Note: See TracTickets for help on using tickets.