Giter Site home page Giter Site logo

Fails to compile with gcc 13 about cryfs HOT 8 CLOSED

davesteele avatar davesteele commented on June 13, 2024
Fails to compile with gcc 13

from cryfs.

Comments (8)

davesteele avatar davesteele commented on June 13, 2024 1

I'll give it a try. It will take about a week to get to it.

from cryfs.

smessmer avatar smessmer commented on June 13, 2024

Hi @davesteele , I think this was fixed in 3f249ff. Can you check if that works?

from cryfs.

davesteele avatar davesteele commented on June 13, 2024

The current releases/0.11, which includes 3f249ff, compiles with gcc-13, but fails (at least) two tests:

[ RUN      ] CryConfigLoaderTest.AsksWhenLoadingNewerFilesystem_AnswerYes
unknown file: Failure
C++ exception with description "stoul" thrown in the test body.
./test/cryfs/impl/config/CryConfigLoaderTest.cpp:316: Failure
Actual function call count doesn't match EXPECT_CALL(*console, askYesNo(HasSubstr("should not be opened with older         versions"), false))...
         Expected: to be called once
           Actual: never called - unsatisfied and active
[  FAILED  ] CryConfigLoaderTest.AsksWhenLoadingNewerFilesystem_AnswerYes (0 ms)
[ RUN      ] CryConfigLoaderTest.AsksWhenLoadingNewerFilesystem_AnswerNo
unknown file: Failure
C++ exception with description "stoul" thrown in the test body.
./test/cryfs/impl/config/CryConfigLoaderTest.cpp:324: Failure
Actual function call count doesn't match EXPECT_CALL(*console, askYesNo(HasSubstr("should not be opened with older     versions"), false))...
         Expected: to be called once
           Actual: never called - unsatisfied and active
[  FAILED  ] CryConfigLoaderTest.AsksWhenLoadingNewerFilesystem_AnswerNo (0 ms)

from cryfs.

smessmer avatar smessmer commented on June 13, 2024

I just added a couple of commits to release/0.11 so that its CI runs on more compilers. gcc-13 is one of them. The gcc-13 job does seem to pass all tests. See https://github.com/cryfs/cryfs/actions/runs/5526980172 for a cancelled run that was cancelled after gcc-13 passed or https://github.com/cryfs/cryfs/actions/runs/5534887676 for a full run that (as of the time of this writing) isn't finished yet. Did you use any special build flags that the CI job may not have used?

from cryfs.

smessmer avatar smessmer commented on June 13, 2024

ok the full run completed as well now. It passed. Not sure how to reproduce the errors you're seeing. Can you send detailed steps?

from cryfs.

davesteele avatar davesteele commented on June 13, 2024

The Build-Depends var in the control file shows the non-core packages that are installed before build/test. The rules file shows the build steps.

from cryfs.

davesteele avatar davesteele commented on June 13, 2024

I got my Debian unstable system back online, and the package builds successfully. The failures must have been due to VM issues.

Can you release an 0.11.4 to put this to bed?

from cryfs.

smessmer avatar smessmer commented on June 13, 2024

oh great that this is resolved then. I released 0.11.4.

from cryfs.

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.