make clean fails #4548

issue jgarzik opened this issue on July 16, 2014
  1. jgarzik commented at 11:27 PM on July 16, 2014: contributor

    Platform: Ubuntu 14/Linux 64-bit Current HEAD: 87e40799fdebb9f4c3c9d8cc7d071408a4ea768e

    $ make -s clean
    Making clean in src
     rm -f bitcoind bitcoin-cli test/test_bitcoin qt/bitcoin-qt qt/test/test_bitcoin-qt
    make[2]: *** No rule to make target `clean'.  Stop.
    
  2. kazcw commented at 11:35 PM on July 16, 2014: contributor

    I'm seeing this as the first error in the log (also with 87e4079):

    make -C secp256k1 clean
    make[2]: Entering directory '/home/kaz/a/btc/bitcoin2/src/secp256k1'
    make[2]: *** No rule to make target 'clean'.  Stop.
    

    So it looks like this is a problem with the secp256k1 directory.

  3. theuni commented at 2:57 AM on July 17, 2014: member

    Thanks for reporting, I haven't noticed this somehow. Will fix.

  4. theuni commented at 2:04 AM on July 18, 2014: member

    Ok, I see. "make -s" is lying to you somewhat. The rule is here:

    clean-local:
            -$(MAKE) -C leveldb clean
            -$(MAKE) -C secp256k1 clean
    

    The - in front means that it's allowed to fail without causing an error, in this case, because lib secp256k1 hasn't been merged yet. A full 'make clean' tells the whole story:

    make -C secp256k1 clean
    make: *** secp256k1: No such file or directory.  Stop.
    make: [clean-local] Error 2 (ignored)
    

    See #4553 for fix.

  5. laanwj closed this on Jul 18, 2014

  6. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-18 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me