Opened 7 years ago

Closed 7 years ago

#55405 closed defect (fixed)

gimp2: five configuration errors

Reported by: Liontooth (David Liontooth) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: gimp2

Description

On a fresh install of High Sierra, gimp2 fails to configure:

configure:8194: /usr/bin/clang -E -I/opt/local/include conftest.c
conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:8194: $? = 1
configure: failed program was:
| /* confdefs.h */
configure:8253: /usr/bin/clang -E -I/opt/local/include conftest.c
conftest.c:10:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
configure:8253: $? = 1
configure: failed program was:
| /* confdefs.h */
configure:14692: /usr/bin/clang -c -pipe -Os -arch x86_64 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wmissing-format-attribute -Wformat-security -fno-common -fdiagnostics-show-option   -I/opt/local/include conftest.c >&5
conftest.c:70:20: error: expected expression
if (sizeof ((pid_t)))
                   ^
1 error generated.
configure:14692: $? = 1
configure: failed program was:
| /* confdefs.h */
configure:14723: /usr/bin/clang -c -pipe -Os -arch x86_64 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wmissing-format-attribute -Wformat-security -fno-common -fdiagnostics-show-option   -I/opt/local/include conftest.c >&5
conftest.c:71:21: error: expected expression
if (sizeof ((size_t)))
                    ^
1 error generated.
configure:14723: $? = 1
configure: failed program was:
| /* confdefs.h */
configure:15114: checking for _NL_MEASUREMENT_MEASUREMENT
configure:15127: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Werror=missing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wmissing-format-attribute -Wformat-security -fno-common -fdiagnostics-show-option   -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 conftest.c  >&5
conftest.c:44:43: error: use of undeclared identifier '_NL_MEASUREMENT_MEASUREMENT'
char c = *((unsigned char *)  nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
                                          ^
1 error generated.

Change History (4)

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Cc: dbevans removed
Owner: set to dbevans
Status: newassigned

comment:2 Changed 7 years ago by Liontooth (David Liontooth)

Running "port -v install gimp2" revealed

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

After installing p5-xml-parser, gimp2 configured without problems.

Please add p5-xml-parser to dependencies and close this report.

comment:3 in reply to:  2 Changed 7 years ago by dbevans (David B. Evans)

Status: assignedaccepted

Replying to Liontooth:

Running "port -v install gimp2" revealed

checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool

After installing p5-xml-parser, gimp2 configured without problems.

Please add p5-xml-parser to dependencies and close this report.

That's not really the correct solution.

intltool has migrated to perl5.26 (and p5.26-xml-parser is installed) but gimp thinks it should still use perl5.24 (becuase the default variant for perl5 is still +perl5_24).so it's lookging (unsuccessfully) for p5.24-xml-parser.

Working on a configuration fix for gimp2 that will allow it to build with perl5.26 regardless of the variant of perl5 installed.

comment:4 Changed 7 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: acceptedclosed

In b11fd98321c3bc96aec3e322fabc122152b48684/macports-ports:

gimp2: build using perl5.26

This ensures that gimp2 uses perl5.26 for both its perl-based
build scripts and the various intltool scripts independent of
which variant of perl5 (if any) may be installed.

No need to force rebuild if already installed.

See: #55208
Fixes: #55405

Note: See TracTickets for help on using tickets.