Opened 3 years ago
Last modified 3 years ago
#63028 closed defect
gimp2 @2.10.22 +quartz: build failures, due to syntax errors in configure script — at Version 4
Reported by: | mascguy (Christopher Nielsen) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | gimp2 |
Description (last modified by mascguy (Christopher Nielsen))
After the recent ghostscript
update, my gimp2 +quartz
port was broken.
Allowing MacPorts to rebuild from source, the configure phase failed due to syntax errors in the configure script:
checking for xcursor... yes ./configure: line 33372: syntax error near unexpected token `)' ./configure: line 33372: `fi)' Command failed: cd "/opt/local/var/macports/build/_opt_macports_sources_ports_enabled_graphics_gimp2/gimp2/work/gimp-2.10.22" && ./configure --prefix=/opt/local --build=x86_64-apple-darwin17.7.0 --enable-mp --with-bug-report-url=https://guide.macports.org/#project.tickets --with-pdbgen --disable-silent-rules --disable-check-update --without-alsa --without-gudev --without-webkit ac_cv_path_INTLTOOL_PERL=/opt/local/bin/perl5.28 ac_cv_path_PERL=/opt/local/bin/perl5.28 --without-x Exit code: 2
This port built successfully for me on or around January 2021, so it hasn't been broken for too long.
And finally, for anyone who's looking for a quick fix: My solution was to simply create a symbolic link for the previous ghostscript version's dylib:
$ sudo bash -c 'cd /opt/local/lib ; ln -s libgs.dylib libgs.9.53.dylib'
Not ideal, but it fixes this port.
Anyhow, full log attached.
Change History (5)
Changed 3 years ago by mascguy (Christopher Nielsen)
Attachment: | gimp2-build-log-m4-obsolete-macros-10.13.txt.gz added |
---|
comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)
comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)
Description: | modified (diff) |
---|---|
Summary: | gimp2 @2.10.22: build failures; broken configure script, possibly due to obsolete m4 macros? → gimp2 @2.10.22 +quartz: build failures; broken configure script, possibly due to obsolete m4 macros? |
comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)
Of note, I'm using the +quartz
variant, rather than the default +x11
. Updated the summary accordingly.
comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)
Description: | modified (diff) |
---|---|
Summary: | gimp2 @2.10.22 +quartz: build failures; broken configure script, possibly due to obsolete m4 macros? → gimp2 @2.10.22 +quartz: build failures, due to syntax errors in configure script |
Removed references to obsolete m4
macros, as those don't appear to cause issues on our buildbots.
UPDATE: This port just built successfully for Big Sur ARM on 5/27/2021, despite warnings related to obsolete
m4
macros. So perhaps there's some other problem. (And I suppose it could be something related to my system. Hmmmm.)https://build.macports.org/builders/ports-11_arm64-builder/builds/20949