Opened 17 months ago

Closed 16 months ago

Last modified 14 months ago

#66286 closed defect (fixed)

gettext-tools-libs: builld failure “Source option 6 is no longer supported. Use 7 or later.”

Reported by: vrepetenko (VR) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: gettext

Description (last modified by reneeotten (Renee Otten))

# port install mc

--->  Building gettext-tools-libs
Error: Failed to build gettext-tools-libs: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/main.log for details.


:info:build /bin/sh ../javacomp.sh -d . ./gnu/gettext/DumpResource.java
:info:build warning: [options] bootstrap class path not set in conjunction with -source 6
:info:build error: Source option 6 is no longer supported. Use 7 or later.
:info:build make[3]: *** [gnu/gettext/DumpResource.class] Error 2
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools/src'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools" && /usr/bin/make -j12 -w all 
:info:build Exit code: 2
:error:build Failed to build gettext-tools-libs: command execution failed
:debug:build Error code: CHILDSTATUS 72812 2

Attachments (1)

main.log (807.3 KB) - added by vrepetenko (VR) 17 months ago.
log file

Download all attachments as: .zip

Change History (10)

Changed 17 months ago by vrepetenko (VR)

Attachment: main.log added

log file

comment:1 Changed 17 months ago by reneeotten (Renee Otten)

Description: modified (diff)
Owner: set to ryandesign
Port: gettext-tools-libs added
Status: newassigned

comment:2 Changed 17 months ago by reneeotten (Renee Otten)

Keywords: ventura added
Summary: Ports installation problem on macOS 13.0.1gettext-tools-lib: builld failure “Source option 6 is no longer supported. Use 7 or later.”

comment:3 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Port: gettext added; gettext-tools-libs removed
Status: assignedaccepted
Summary: gettext-tools-lib: builld failure “Source option 6 is no longer supported. Use 7 or later.”gettext-tools-libs: builld failure “Source option 6 is no longer supported. Use 7 or later.”

The intention was that MacPorts gettext should not be doing anything with Java (#48651). When the gettext port was split into several subports (#58526) we only added the Java-disabling code to the gettext and gettext-runtime subports, but evidently it is also needed in at least the gettext-tools-libs subport. We should probably disable Java in all gettext subports, just to be safe, if that doesn't cause configure errors. We had the same problem with CSharp support which had only been disabled in some of the gettext subports (#65334).

Last edited 17 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 17 months ago by vrepetenko (VR)

Hi! Any update? A lot of ports depend on gettext-tools-lib...

Last edited 17 months ago by vrepetenko (VR) (previous) (diff)

comment:5 Changed 16 months ago by vrepetenko (VR)

the problem is fixed by last macOS/Xcode command line update. ticket can be closed. thanks!

comment:6 Changed 16 months ago by kencu (Ken)

I can't reproduce this either:

% port -v installed | grep gettext-tools-libs
  gettext-tools-libs @0.21_0 requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-25T19:23:20-0800'
  gettext-tools-libs @0.21_0+universal requested_variants='+universal' platform='darwin 22' archs='arm64 x86_64' date='2022-12-28T23:17:46-0800'

does it only happen if java is installed, or some similar special situation?

comment:7 Changed 16 months ago by kencu (Ken)

doesn't seem to matter if java is installed. I installed the current java19 from Oracle, and then reinstalled gettext-tools-libs without issue.

% sudo port -v installed gettext-tools-libs
The following ports are currently installed:
  gettext-tools-libs @0.21_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-29T15:34:36-0800'

so will close this as fixed, unless someone reopens with new information .

comment:8 Changed 16 months ago by kencu (Ken)

Resolution: fixed
Status: acceptedclosed

comment:9 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

In 8f3827815c383c48a1dae6cf22d0fc8b7d22543a/macports-ports (master):

gettext-tools-libs: Don't try to use Java

We don't want it and it may cause build failures for some users.

Closes: #66286

Note: See TracTickets for help on using tickets.