Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#56542 closed defect (fixed)

open_jtalk @1.10: error: unknown argument: '-finput-charset=UTF-8'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: l2dy (Zero King)
Port: open_jtalk

Description

--->  Building open_jtalk
DEBUG: Executing org.macports.build (open_jtalk)
DEBUG: Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_open_jtalk/open_jtalk/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.8'
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_open_jtalk/open_jtalk/work/open_jtalk-1.10" && /usr/bin/make -j8 -w all 
Executing:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_open_jtalk/open_jtalk/work/open_jtalk-1.10" && /usr/bin/make -j8 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_open_jtalk/open_jtalk/work/open_jtalk-1.10'
Making all in text2mecab
make[1]: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_open_jtalk/open_jtalk/work/open_jtalk-1.10/text2mecab'
/usr/bin/clang -DHAVE_CONFIG_H -I. -I../mecab  -D CHARSET_UTF_8 -I/opt/local/include  -O2 -Wall -g -pipe -Os -arch x86_64 -finput-charset=UTF-8 -fexec-charset=UTF-8  -MT text2mecab.o -MD -MP -MF .deps/text2mecab.Tpo -c -o text2mecab.o text2mecab.c
clang: error: unknown argument: '-finput-charset=UTF-8' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
clang: error: unknown argument: '-fexec-charset=UTF-8' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
make[1]: *** [text2mecab.o] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_audio_open_jtalk/open_jtalk/work/open_jtalk-1.10/text2mecab'
make: *** [all-recursive] Error 1

Change History (4)

comment:1 Changed 6 years ago by l2dy (Zero King)

Owner: set to l2dy
Resolution: fixed
Status: newclosed

In fd77b6c9333802afbb52c0432f0731cce92cb239/macports-ports (master):

open_jtalk: fix build on OS X <= 10.8

Fixes: #56542

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

FYI it built fine on 10.7 and earlier, just displaying a warning. As of 10.8, the warning became an error. The buildbot is busy right now so I don't know what happens on 10.9, 10.10, 10.11. It built fine on my 10.12 system. I don't know which version of clang started supporting this option.

comment:3 Changed 6 years ago by l2dy (Zero King)

In 05c56b7642459e84c054fb3110fca8de275ab1c7/macports-ports (master):

open_jtalk: fix build on OS X 10.9

See: #56542

comment:4 in reply to:  2 Changed 6 years ago by l2dy (Zero King)

Replying to ryandesign:

FYI it built fine on 10.7 and earlier, just displaying a warning. As of 10.8, the warning became an error. The buildbot is busy right now so I don't know what happens on 10.9, 10.10, 10.11. It built fine on my 10.12 system. I don't know which version of clang started supporting this option.

Thanks, I was watching the buildbot too and couldn't wait for 10.9 - 10.10 builds to finish. Fixed now.

Note: See TracTickets for help on using tickets.