From nobody Sun Dec 3 12:13:57 2023 X-Original-To: users-jp@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sjm361002z52nY9 for ; Sun, 3 Dec 2023 12:15:30 +0000 (UTC) (envelope-from kazuhito.yoshida@nifty.com) Received: from dmta0009.nifty.com (mta-snd00003.nifty.com [106.153.226.35]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "", Issuer "Openwave Messaging Inc." (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sjm33018hz4KGD for ; Sun, 3 Dec 2023 12:15:26 +0000 (UTC) (envelope-from kazuhito.yoshida@nifty.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of kazuhito.yoshida@nifty.com designates 106.153.226.35 as permitted sender) smtp.mailfrom=kazuhito.yoshida@nifty.com; dmarc=pass (policy=none) header.from=nifty.com Received: from [192.168.0.11] by dmta0009.nifty.com with ESMTP id <20231203121520885.BVMT.90193.[192.168.0.11]@nifty.com> for ; Sun, 3 Dec 2023 21:15:20 +0900 Message-ID: <643cf76a-bf17-4c6a-9200-3fa097da8770@nifty.com> Date: Sun, 3 Dec 2023 21:13:57 +0900 List-Id: Discussion relevant to FreeBSD communities in Japan List-Archive: https://lists.freebsd.org/archives/freebsd-users-jp List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-users-jp@freebsd.org X-BeenThere: freebsd-users-jp@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: users-jp@freebsd.org Content-Language: en-US From: Yoshida Kazuhito Subject: =?UTF-8?B?RnJlZUJTRCAxNC4wLVJFTEVBU0UtcDHjgpJidWlkbHdvcmxk44GZ44KL?= =?UTF-8?B?6Zqb44Gu44Kz44Oz44OR44Kk44Or44Ko44Op44O844Gr44Gk44GE44Gm?= Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.41 / 15.00]; NEURAL_HAM_LONG(-0.98)[-0.976]; NEURAL_HAM_SHORT(-0.97)[-0.974]; DMARC_POLICY_ALLOW(-0.50)[nifty.com,none]; NEURAL_SPAM_MEDIUM(0.23)[0.228]; R_SPF_ALLOW(-0.20)[+ip4:106.153.226.0/23]; MIME_GOOD(-0.10)[text/plain]; ONCE_RECEIVED(0.10)[]; XM_UA_NO_VERSION(0.01)[]; R_DKIM_NA(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2516, ipnet:106.128.0.0/11, country:JP]; RCVD_COUNT_ONE(0.00)[1]; MLMMJ_DEST(0.00)[users-jp@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[106.153.226.35:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[users-jp@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4Sjm33018hz4KGD X-Spamd-Bar: -- 吉田@Niftyです。 FreeBSD 12.4-RELEASE-p7のシステムをFreeBSD 14.0-RELEASE-p1へ一気に バージョンアップしようとしているのですが、buildworldでコンパイルエラーと なるため悩んでいます。 ググっても以下Bugzilla / MLを見てもそのような報告が見当たらないため、 皆様のお知恵を拝借したい次第です。  FreeBSD Bugzilla  freebsd-bugs  freebsd-amd64  freebsd-current  freebsd-stable ソースはgit.freebsd.orgからのgitupで取得しており、configはGENERICです。 エラー個所は下記の通りで、/usr/src/usr.sbin/jail/jaillex.l辺りで型の 不一致が起きているようですが、報告事例がないことが気になっております。 本エラーは、FreeBSD 14.0-RELEASEでも発生します。 相談1.jailは不要なので、できればjailなしでコンパイルしてひとまず     逃げたいと思っております。方法はありましたでしょうか。     (そんなことよりOpenSSlを早く3.0系に上げたい) 相談2.FreeBSD Bugzillaで報告したほうが良いのでしょうか。     英語で説明できる自信がないのですが。 ----console log---- ===> usr.sbin/jail (all) lex -ojaillex.c /usr/src/usr.sbin/jail/jaillex.l yacc -d -v /usr/src/usr.sbin/jail/jailparse.y yacc: w - line 154 of "/usr/src/usr.sbin/jail/jailparse.y", the default action for param assigns an undefined value to $$ cp y.tab.c jailparse.c echo jail.full: /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libc.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libjail.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libkvm.a /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/libutil.a >> .depend cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I. -I/usr/src/usr.sbin/jail -DINET6 -DINET -fPIE -g -gz=zlib -MD -MF.depend.jail.o -MTjail.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Qunused-arguments -c /usr/src/usr.sbin/jail/jail.c -o jail.o cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I. -I/usr/src/usr.sbin/jail -DINET6 -DINET -fPIE -g -gz=zlib -MD -MF.depend.command.o -MTcommand.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Qunused-arguments -c /usr/src/usr.sbin/jail/command.c -o command.o cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I. -I/usr/src/usr.sbin/jail -DINET6 -DINET -fPIE -g -gz=zlib -MD -MF.depend.config.o -MTconfig.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Qunused-arguments -c /usr/src/usr.sbin/jail/config.c -o config.o cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I. -I/usr/src/usr.sbin/jail -DINET6 -DINET -fPIE -g -gz=zlib -MD -MF.depend.state.o -MTstate.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Qunused-arguments -c /usr/src/usr.sbin/jail/state.c -o state.o cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common -I. -I/usr/src/usr.sbin/jail -DINET6 -DINET -fPIE -g -gz=zlib -MD -MF.depend.jaillex.o -MTjaillex.o -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Qunused-arguments -c jaillex.c -o jaillex.o /usr/src/usr.sbin/jail/jaillex.l:106:6: error: comparison of integers of different signs: 'int' and 'yy_size_t' (aka 'unsigned long') [-Werror,-Wsign-compare] yyless(atvar); ^~~~~~~~~~~~~ jaillex.c:215:9: note: expanded from macro 'yyless' YY_LESS_LINENO(yyless_macro_arg);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jaillex.c:204:36: note: expanded from macro 'YY_LESS_LINENO' for ( yyl = n; yyl < yyleng; ++yyl )\ ~~~ ^ ~~~~~~ /usr/src/usr.sbin/jail/jaillex.l:146:5: error: comparison of integers of different signs: 'int' and 'yy_size_t' (aka 'unsigned long') [-Werror,-Wsign-compare] yyless(0); ^~~~~~~~~ jaillex.c:215:9: note: expanded from macro 'yyless' YY_LESS_LINENO(yyless_macro_arg);\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jaillex.c:204:36: note: expanded from macro 'YY_LESS_LINENO' for ( yyl = n; yyl < yyleng; ++yyl )\ ~~~ ^ ~~~~~~ jaillex.c:1906:58: error: unused parameter 'yyscanner' [-Werror,-Wunused-parameter] static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner) ^ jaillex.c:2226:43: error: unused parameter 'yyscanner' [-Werror,-Wunused-parameter] void *yyalloc (yy_size_t size , yyscan_t yyscanner) ^ jaillex.c:2231:58: error: unused parameter 'yyscanner' [-Werror,-Wunused-parameter] void *yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner) ^ jaillex.c:2243:36: error: unused parameter 'yyscanner' [-Werror,-Wunused-parameter] void yyfree (void * ptr , yyscan_t yyscanner) ^ 6 errors generated. *** Error code 1 Stop. make[4]: stopped in /usr/src/usr.sbin/jail *** Error code 1 *** Error code 1 1640.94 real 1544.06 user 110.48 sys *** Error code 1 *** Error code 1 ----console log---- 以上、よろしくお願いいたします。