Skip to content

Trouble Building ("CMakeFiles/tagutil.dir/tagutil.c.d: No such file or directory") #53

Description

@4tuw2tuv0

When I try building tagutil, I keep running into this error:

make[3]: Entering directory '/tmp/guix-build-tagutil-3.1.drv-0/source/build'
[  4%] Building C object CMakeFiles/tagutil.dir/tagutil.c.o
cc1: error: too many filenames given; type ‘cc1 --help’ for usage
cc1: fatal error: CMakeFiles/tagutil.dir/tagutil.c.d: No such file or directory
compilation terminated.
make[3]: *** [CMakeFiles/tagutil.dir/build.make:76: CMakeFiles/tagutil.dir/tagutil.c.o] Error 1
make[3]: Leaving directory '/tmp/guix-build-tagutil-3.1.drv-0/source/build'
make[2]: *** [CMakeFiles/Makefile2:83: CMakeFiles/tagutil.dir/all] Error 2
make[2]: Leaving directory '/tmp/guix-build-tagutil-3.1.drv-0/source/build'
make[1]: *** [Makefile:136: all] Error 2
make[1]: Leaving directory '/tmp/guix-build-tagutil-3.1.drv-0/source/build'
make: *** [Makefile:6: release] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "8") exit-status: 2 term-signal: #f stop-signal: #f>

As far as I can tell – though –, I'm running the right commands (as the GitHub instructed):

test -d build || mkdir build
cd build && cmake -DCMAKE_BUILD_TYPE=RELEASE ../src && make

So I can't tell what I'm doing wrong; the version of cmake I'm using is 3.24.2.

And full output can be found here: https://pastebin.com/NAHgxpc1.

Thanks for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions