Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Suspected ccache Issue With wireshark
@ 2022-03-24 15:38 Dan Ambrosio via buildroot
  2022-03-24 19:35 ` Peter Seiderer
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Ambrosio via buildroot @ 2022-03-24 15:38 UTC (permalink / raw)
  To: buildroot

Hello,
I recently upgraded my buildroot project from 2021.02.6 to the latest
LTS (2022.02) and ran into a compilation error with the wireshark
package when BR2_CCACHE is enabled.

It seems like a cmake argument is being passed through to ccache.

>>> wireshark 3.4.12 Building
PATH="/home/builder/output/oc_general/host/bin:/home/builder/output/oc_general/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
 /usr/bin/make -j17  -C
/home/builder/output/oc_general/build/wireshark-3.4.12/
[  0%] Building C object tools/lemon/CMakeFiles/lemon.dir/lemon.c.o
/home/builder/output/oc_general/host/bin/ccache: invalid option -- 'D'
Usage:
    ccache [options]
    ccache compiler [compiler options]
    compiler [compiler options]          (via symbolic link)

Common options:
    -c, --cleanup             delete old files and recalculate size counters
                              (normally not needed as this is done
                              automatically)
    -C, --clear               clear the cache completely (except configuration)
    -F, --max-files=N         set maximum number of files in cache to N (use 0
                              for no limit)
    -M, --max-size=SIZE       set maximum size of cache to SIZE (use 0 for no
                              limit); available suffixes: k, M, G, T (decimal)
                              and Ki, Mi, Gi, Ti (binary); default suffix: G
    -p, --show-config         show current configuration options in
                              human-readable format
    -s, --show-stats          show summary of configuration and statistics
                              counters in human-readable format
    -z, --zero-stats          zero statistics counters

    -h, --help                print this help text
    -V, --version             print version and copyright information

Options for scripting or debugging:
        --dump-manifest=PATH  dump manifest file at PATH in text format
    -k, --get-config=K        print the value of configuration key K
        --hash-file=PATH      print the hash (<MD4>-<size>) of the file at PATH
        --print-stats         print statistics counter IDs and corresponding
                              values in machine-parsable format
    -o, --set-config=K=V      set configuration item K to value V

See also <https://ccache.dev>.
[  0%] Built target cli_main
make[4]: *** [tools/lemon/CMakeFiles/lemon.dir/build.make:66:
tools/lemon/CMakeFiles/lemon.dir/lemon.c.o] Error 1
make[3]: *** [CMakeFiles/Makefile2:10914:
tools/lemon/CMakeFiles/lemon.dir/all] Error 2

FYI, 2021.02.6 did not exhibit this behavior.

Thanks,

Dan Ambrosio
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-03-24 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-24 15:38 [Buildroot] Suspected ccache Issue With wireshark Dan Ambrosio via buildroot
2022-03-24 19:35 ` Peter Seiderer
2022-03-24 19:39   ` Peter Seiderer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox