Opened 3 years ago
Closed 3 years ago
#63028 closed defect (fixed)
gimp2 @2.10.22 +quartz: build failures, due to syntax errors in configure script
Reported by: | mascguy (Christopher Nielsen) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | dbevans (David B. Evans) | |
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.
Attachments (1)
Change History (9)
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.
comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)
A similar configure-related syntax error is occurring for port gimp3-devel
:
checking for xcursor... yes ./configure: line 33451: syntax error near unexpected token `)' ./configure: line 33451: `fi)' Configure failed or did not finish! Command failed: cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_gimp3-devel/gimp3-devel/work/gimp3-devel-2.99.1-20200223" && ./autogen.sh --prefix=/opt/local --build=x86_64-apple-darwin19.6.0 --enable-mp --with-bug-report-url=https://guide.macports.org/#project.tickets --with-pdbgen --with-x --x-includes=/opt/local/include --x-libraries=/opt/local/lib --with-javascript=no --with-lua=no --disable-silent-rules --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 Exit code: 2
This is occurring across-the-board. One example:
comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)
PR created for update to 2.10.24:
PR 11772 - gimp2: update to 2.10.24
Of note, the PR includes a fix for these errors.
comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)
Cc: | dbevans added |
---|---|
Owner: | changed from dbevans to mascguy |
comment:8 Changed 3 years ago by i0ntempest
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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