Date: Tue, 24 Jan 2023 20:33:19 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269134] devel/ninja Error in Argument when doing make on 1.11.1,2 Message-ID: <bug-269134-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269134 Bug ID: 269134 Summary: devel/ninja Error in Argument when doing make on 1.11.1,2 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: kde@FreeBSD.org Reporter: weldon@excelsus.com Flags: maintainer-feedback?(kde@FreeBSD.org) Assignee: kde@FreeBSD.org I cannot compile 1.11.1,2 on FreeBSD 12.3-RELEASEp10 r372803 even after a "make clean" in the port. Response from compile attempt: root@senna:/usr/ports/devel/ninja # make clean =3D=3D=3D> Cleaning for ninja-1.11.1,2 root@senna:/usr/ports/devel/ninja # make =3D=3D=3D> License APACHE20 accepted by the user =3D=3D=3D> ninja-1.11.1,2 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by ninja-1.11.1,2 for building =3D=3D=3D> Extracting for ninja-1.11.1,2 =3D> SHA256 Checksum OK for ninja-build-ninja-v1.11.1_GH0.tar.gz. =3D=3D=3D> Patching for ninja-1.11.1,2 =3D=3D=3D> ninja-1.11.1,2 depends on file: /usr/local/bin/python3.9 - fou= nd =3D=3D=3D> Configuring for ninja-1.11.1,2 =3D=3D=3D> 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 f= or 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 generat= ed 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 useab= le with gcc). -i --no-debug-info Do not generate '#line' info (usefull for versionin= g). -o of --output=3Dof 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 compile= rs need this assist to generate better code. -t th --type-header=3Dth Generate a type header file (th) with type defini= tions. -u --unicode Generate a parser that supports UTF-32. The generat= ed 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 generat= ed code can deal with any valid Unicode character up to 0x10FFF= F. 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 0x10FFF= F. In this mode re2c assumes that input character size is 1 byte. T= his switch is incompatible with -e, -w, -x and -u. -1 --single-pass Force single pass generation, this cannot be combin= ed with -f and disables YYMAXFILL generation prior to = last re2c block. --no-generation-date Suppress date output in the generated output so tha= t it only shows the re2c version. --case-insensitive All strings are case insensitive, so all "-expressi= ons are treated in the same way '-expressions are. --case-inverted Invert the meaning of single and double quoted stri= ngs. With this switch single quotes are case sensitive a= nd double quotes are case insensitive. --encoding-policy ep Specify what re2c should do when given bad code uni= t. 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 <module> 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=3DTrue) 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: stopped in /usr/ports/devel/ninja --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269134-7788>