[Bug 269134] devel/ninja Error in Argument when doing make on 1.11.1,2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 24 20:33:19 GMT 2023


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269134

            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 at FreeBSD.org
          Reporter: weldon at excelsus.com
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at 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 at senna:/usr/ports/devel/ninja # make clean
===>  Cleaning for ninja-1.11.1,2
root at senna:/usr/ports/devel/ninja # make
===>  License APACHE20 accepted by the user
===>   ninja-1.11.1,2 depends on file: /usr/local/sbin/pkg - found
===> 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
<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=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: stopped in /usr/ports/devel/ninja

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list