From nobody Thu Jan 19 10:23:25 2023 X-Original-To: ports@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 4NyJdB75Dsz2sWDl for ; Thu, 19 Jan 2023 10:23:58 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpg.telissant.net (smtpg.telissant.net [104.225.1.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4NyJd96m9Tz4GPL for ; Thu, 19 Jan 2023 10:23:57 +0000 (UTC) (envelope-from web@3dresearch.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of web@3dresearch.com designates 104.225.1.73 as permitted sender) smtp.mailfrom=web@3dresearch.com; dmarc=none Received: from sacada.3dresearch.com (localhost [127.0.0.1]) by smtpg.telissant.net (Postfix) with ESMTP id 4NyJd30rysz2DcfJ for ; Thu, 19 Jan 2023 05:23:51 -0500 (EST) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpg.telissant.net ([127.0.0.1]) by sacada.3dresearch.com (sacada.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kmxzp9Ai565F for ; Thu, 19 Jan 2023 05:23:50 -0500 (EST) Received: from elettra.3dresearch.com (unknown [71.112.243.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: elettra@sacada.3dresearch.com) by smtpg.telissant.net (Postfix) with ESMTPSA id 4NyJd20Rwcz2DcSy for ; Thu, 19 Jan 2023 05:23:50 -0500 (EST) Received: from elettra.3dresearch.com (localhost [127.0.0.1]) by elettra.3dresearch.com (Postfix) with SMTP id 4CEF85BFA4 for ; Thu, 19 Jan 2023 05:23:49 -0500 (EST) Date: Thu, 19 Jan 2023 05:23:25 -0500 From: Janos Dohanics To: ports@FreeBSD.org Subject: Error building devel/ninja Message-Id: <20230119052325.aabddc504ae315d3bb3e9367@3dresearch.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-0.79 / 15.00]; ENVFROM_SERVICE_ACCT(1.00)[]; FROM_SERVICE_ACCT(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:36236, ipnet:104.225.1.0/24, country:US]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[ports@FreeBSD.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; ARC_NA(0.00)[]; DMARC_NA(0.00)[3dresearch.com]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4NyJd96m9Tz4GPL X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N Hello, The system is FreeBSD 13.1-STABLE #0 3f908eed2: # make ===> License APACHE20 accepted by the user ===> ninja-1.11.1,2 depends on file: /usr/local/sbin/pkg - found => ninja-build-ninja-v1.11.1_GH0.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch https://codeload.github.com/ninja-build/ninja/tar.gz/v1.11.1?dummy=/ninja-build-ninja-v1.11.1_GH0.tar.gz fetch: https://codeload.github.com/ninja-build/ninja/tar.gz/v1.11.1?dummy=/ninja-build-ninja-v1.11.1_GH0.tar.gz: size unknown fetch: https://codeload.github.com/ninja-build/ninja/tar.gz/v1.11.1?dummy=/ninja-build-ninja-v1.11.1_GH0.tar.gz: size of remote file is not known ninja-build-ninja-v1.11.1_GH0.tar.gz 224 kB 4376 kBps 00s ===> Fetching all distfiles required by ninja-1.11.1,2 for building ===> Extracting for ninja-1.11.1,2 => SHA256 Checksum OK for ninja-build-ninja-v1.11.1_GH0.tar.gz. ===> Patching for ninja-1.11.1,2 ===> ninja-1.11.1,2 depends on file: /usr/local/bin/python3.9 - found ===> Configuring for ninja-1.11.1,2 ===> Building for ninja-1.11.1,2 bootstrapping ninja... Error in argument 4, char 1: no argument for option - usage: re2c [-bcdDefFghirsuvVwx18] [-o of] [-t th] file -? -h --help Display this info. -b --bit-vectors Implies -s. Use bit vectors as well in the attempt to coax better code out of the compiler. Most useful for specifications with more than a few keywords (e.g. for most programming languages). -c --conditions Require start conditions. -d --debug-output Creates a parser that dumps information during about the current position and in which state the parser is. -D --emit-dot Emit a Graphviz dot view of the DFA graph -e --ecb Generate a parser that supports EBCDIC. The generated code can deal with any character up to 0xFF. In this mode re2c assumes that input character size is 1 byte. This switch is incompatible with -w, -u, -x and -8 -f --storable-state Generate a scanner that supports storable states. -F --flex-syntax Partial support for flex syntax. -g --computed-gotos Implies -b. Generate computed goto code (only useable with gcc). -i --no-debug-info Do not generate '#line' info (usefull for versioning). -o of --output=of Specify the output file (of) instead of stdout -r --reusable Allow reuse of scanner definitions. -s --nested-ifs Generate nested ifs for some switches. Many compilers need this assist to generate better code. -t th --type-header=th Generate a type header file (th) with type definitions. -u --unicode Generate a parser that supports UTF-32. The generated code can deal with any valid Unicode character up to 0x10FFFF. In this mode re2c assumes that input character size is 4 bytes. This switch is incompatible with -e, -w, -x and -8. It implies -s. -v --version Show version information. -V --vernum Show version as one number. -w --wide-chars Generate a parser that supports UCS-2. The generated code can deal with any valid Unicode character up to 0xFFFF. In this mode re2c assumes that input character size is 2 bytes. This switch is incompatible with -e, -x, -u and -8. It implies -s. -x --utf-16 Generate a parser that supports UTF-16. The generated code can deal with any valid Unicode character up to 0x10FFFF. In this mode re2c assumes that input character size is 2 bytes. This switch is incompatible with -e, -w, -u and -8. It implies -s. -8 --utf-8 Generate a parser that supports UTF-8. The generated code can deal with any valid Unicode character up to 0x10FFFF. In this mode re2c assumes that input character size is 1 byte. This switch is incompatible with -e, -w, -x and -u. -1 --single-pass Force single pass generation, this cannot be combined with -f and disables YYMAXFILL generation prior to last re2c block. --no-generation-date Suppress date output in the generated output so that it only shows the re2c version. --case-insensitive All strings are case insensitive, so all "-expressions are treated in the same way '-expressions are. --case-inverted Invert the meaning of single and double quoted strings. With this switch single quotes are case sensitive and double quotes are case insensitive. --encoding-policy ep Specify what re2c should do when given bad code unit. ep can be one of the following: fail, substitute, ignore. --input i Specify re2c input API. i can be one of the following: default, custom. when running: re2c -b -i --no-generation-date --no-version -o ./src/depfile_parser.cc ./src/depfile_parser.in.cc Traceback (most recent call last): File "/usr/ports/devel/ninja/work/ninja-1.11.1/configure.py", line 485, in n.build(src('depfile_parser.cc'), 're2c', src('depfile_parser.in.cc')) File "/usr/ports/devel/ninja/work/ninja-1.11.1/configure.py", line 169, in build self._run_command(self._expand(cmd, local_vars)) File "/usr/ports/devel/ninja/work/ninja-1.11.1/configure.py", line 194, in _run_command subprocess.check_call(cmdline, shell=True) File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 're2c -b -i --no-generation-date --no-version -o ./src/depfile_parser.cc ./src/depfile_parser.in.cc' returned non-zero exit status 2. *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/ninja *** Error code 1 Stop. make: stopped in /usr/ports/devel/ninja Would you please advise? -- Janos Dohanics