[MacPorts] #71434: ftgl @2.4.0_1 does not build on macOS 15.1 Sequoia
MacPorts
noreply at macports.org
Fri Jan 3 21:06:11 UTC 2025
#71434: ftgl @2.4.0_1 does not build on macOS 15.1 Sequoia
-------------------------+--------------------
Reporter: halostatue | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: ftgl |
-------------------------+--------------------
Comment (by halostatue):
So, I don't think that this is tied to macOS 15, but rather a change in
freetype 2.13.3 which updated types.
This patch https://github.com/frankheckenbach/ftgl/pull/20.patch looks
like it would address it, but I was going through and adding / updating
patch files for (almost) everything merged from 2.4.0 to `master` since it
doesn't look like there's likely to be another release from this source,
and his proposed replacement repo doesn't look as up to date (Mr
Heckenbach says he's not really maintaining the repo anymore).
Unfortunately, I’m getting a weird checksums error when all I’ve done is
bumped the revision and added more patchfiles:
{{{#!diff
diff --git c/graphics/ftgl/Portfile i/graphics/ftgl/Portfile
index dfa5c26dc7b2..23ade069a18d 100644
--- c/graphics/ftgl/Portfile
+++ i/graphics/ftgl/Portfile
@@ -2,11 +2,11 @@
PortSystem 1.0
PortGroup github 1.0
github.setup frankheckenbach ftgl 2.4.0 v
-revision 1
+revision 2
platforms darwin
categories graphics
license MIT
maintainers nomaintainer
@@ -22,21 +22,28 @@ use_autoreconf yes
autoreconf.env LIBTOOLIZE=${prefix}/bin/glibtoolize
autoreconf.cmd ./autogen.sh
autoreconf.args
depends_lib-append \
- port:freetype
+ port:freetype
depends_build-append \
port:autoconf \
port:automake \
port:gsed \
port:libtool \
port:pkgconfig
-patchfiles AC_ARG_WITH.patch \
- dylib_file.patch
+patchfiles 20190521-CMakeLists.txt.patch \
+ 20190524-GL_TEXTURE_BIT.patch \
+ 20191028-pkgconfig-build.patch \
+ 20210210-AC_ARG_WITH.patch \
+ 20210210-dylib_file.patch \
+ 20221117-fontdemo.patch \ \
+ 20221117-fontdemo2.patch \
+ 20230511-float.patch \
+ 20241008-type-error.patch
# Don't use MacPorts X11 since there doesn't seem to be a need to do so.
# Don't use MacPorts OpenGL (mesa) since that would bring in X11 deps.
configure.args-append ac_cv_header_GL_gl_h=no \
ac_cv_header_GL_glu_h=no \
}}}
This nets me
{{{
:debug:checksum Executing org.macports.checksum (ftgl)
:info:checksum ---> Checksumming
:error:checksum No checksum set for
:info:checksum ---> Checksumming ftgl-2.4.0.tar.gz
:error:checksum No checksum set for ftgl-2.4.0.tar.gz
:info:checksum The correct checksum line may be:
:info:checksum checksums \
:info:checksum rmd160
c904e2aa2e5dc5329867ce120f4b1ebe1910ff65 \
:info:checksum sha256
933a371dbb2f44c9fa3121484d46081b5f1ed08c18908ba49bff92811629aede \
:info:checksum size 630956 \
:info:checksum ftgl-2.4.0.tar.gz \
:info:checksum rmd160
c904e2aa2e5dc5329867ce120f4b1ebe1910ff65 \
:info:checksum sha256
933a371dbb2f44c9fa3121484d46081b5f1ed08c18908ba49bff92811629aede \
:info:checksum size 630956
:error:checksum Failed to checksum ftgl: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
:debug:checksum while executing
:debug:checksum "$procedure $targetname"
:error:checksum See /opt/local/var/macports/logs
/_Users_austin_oss_macports-ports_graphics_ftgl/ftgl/main.log for details.
}}}
Even if I add `${distroname}-${version}${extract.suffix}` it seems not to
help.
--
Ticket URL: <https://trac.macports.org/ticket/71434#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list