Giter Site home page Giter Site logo

Comments (7)

mimir-d avatar mimir-d commented on August 16, 2024

a couple more i found trying to import 0.7.8

? libtpms/dist/libtpms.spec
? libtpms/include/libtpms/tpm_library.h
? libtpms/m4/ax_check_define.m4
? libtpms/m4/ax_check_linker_flag.m4
? libtpms/tests/corpus-execute-command/01288b7552bfaf10ba3e65a18059a54a8bb257d0
? libtpms/tests/corpus-execute-command/0157ea12e541d38f4ef2a25e302428fa82612667
... (everything in this last folder)

from libtpms.

mimir-d avatar mimir-d commented on August 16, 2024

im just gonna post this here, it's a similar situation with swtpm v0.6.0, these files are in gitignore but committed:

tests/patches/libtpm.patch
man/man8/swtpm_setup.sh.8
swtpm.spec
tests/patches/0002-Implement-powerup-for-swtpm.patch

from libtpms.

stefanberger avatar stefanberger commented on August 16, 2024

The issue is that there are still files in the man3 directory that are being used in the makefile. Since these are already committed, they aren't ignore by git, but if the codebase is cloned, those start getting ignored and make fails (in my case "TPM_Free.3").

Can you post the steps to recreate the failure, starting with the clone? Travis is building the branches upon every check-in and I also build them successfully on my machines, so I am wondering how you get to a build failure.

from libtpms.

mimir-d avatar mimir-d commented on August 16, 2024

Ah... it's a bit more complicated. I'm actually importing the project in a mercurial repo that is configured to respect .gitignore. So it picks up the .gitignore and then drops the files because they match ignore rules. I don't think it's reproducible with just a git clone, since for git the files are already committed (despite being on the ignore list now).
I fixed this manually for the moment by forcing mercurial to add the files.

You can get a list of the ignored, committed files:

git ls-files -i --exclude-standard
man/man8/swtpm_setup.sh.8
swtpm.spec
tests/patches/0001-Deactivate-test-cases-accessing-rootcerts.txt.patch
tests/patches/0002-Implement-powerup-for-swtpm.patch
tests/patches/0003-Set-CRYPTOLIBRARY-to-openssl.patch
tests/patches/0004-Store-and-restore-volatile-state-at-every-step.patch
tests/patches/0005-Disable-tests-related-to-events.patch
tests/patches/0006-Disable-testing-with-RSA-3072.patch
tests/patches/0007-Disable-rev155-test-cases.patch
tests/patches/0008-Disable-x509-test-cases.patch
tests/patches/0009-Disable-getcapability-TPM_CAP_ACT.patch
tests/patches/libtpm.patch

from libtpms.

stefanberger avatar stefanberger commented on August 16, 2024

Please have a look at PR #250 which fixes the issue on the master branch.

from libtpms.

mimir-d avatar mimir-d commented on August 16, 2024

Sorry, I fell off the face of the earth for a while. The PR looks ok, it's already merged so everything is fine. Thanks for addressing this

from libtpms.

stefanberger avatar stefanberger commented on August 16, 2024

@mimir-d glad you're back.

from libtpms.

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.