GithubHelp home page GithubHelp logo

Comments (6)

gerickson avatar gerickson commented on May 21, 2024 1

@sagar-apple, the 'distcheck' target does the following:

  • make dist
  • unarchives the distribution created by 'make dist'
  • runs 'make check'
  • runs 'make install'
  • runs 'make uninstall'

and validates that all of that completes. It's basically a project sanity check.

Typically, the error is that a source file or header file was not listed in a *_SOURCES, *_HEADERS, *_DIST, DIST, or EXTRA_DIST variable and, therefore, was not included in the 'make dist' step and could then not be found for the subsequent steps.

from connectedhomeip.

sagar-apple avatar sagar-apple commented on May 21, 2024

@gerickson @turon I could use some pointers.

from connectedhomeip.

sagar-apple avatar sagar-apple commented on May 21, 2024

STR:

$ make -f Makefile-Standalone distcheck

https://github.com/sagar-apple/connectedhomeip/runs/536893131

from connectedhomeip.

sagar-apple avatar sagar-apple commented on May 21, 2024

@gerickson specifically it fails here. The file it's looking for exists and was created via configure as a step of distcheck.

configure: creating ./config.status
config.status: creating Makefile
config.status: creating third_party/Makefile
config.status: creating third_party/lwip/Makefile
config.status: creating src/Makefile
config.status: creating src/ble/Makefile
config.status: creating src/lwip/Makefile
config.status: error: cannot find input file: `src/lwip/tests/Makefile.in'
Makefile:906: recipe for target 'distcheck' failed

from connectedhomeip.

gerickson avatar gerickson commented on May 21, 2024

This is a similar failure as the src/platform/Makefile.in failure from the other day.

Actually, it looks like e26cd7a introduced this issue by deleting tests from SUBDIRS. Basically, the project no longer references that directory and so it gets pruned in 'make dist'. If we aren't going to build those tests, then that subdirectory needs to be specified as

EXTRA_DIST = tests

from connectedhomeip.

sagar-apple avatar sagar-apple commented on May 21, 2024

Yup, that was it. I've added the sub_dirs back for now. We might get rid of the tests folder later on.

from connectedhomeip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.