Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken cmake/modules/VersionInfo.cmake from 4.2.0.43 tarball #407

Closed
glensc opened this issue Dec 10, 2018 · 2 comments
Closed

broken cmake/modules/VersionInfo.cmake from 4.2.0.43 tarball #407

glensc opened this issue Dec 10, 2018 · 2 comments

Comments

@glensc
Copy link
Contributor

glensc commented Dec 10, 2018

using https://github.com/open-eid/DigiDoc4-Client/releases/download/v4.2.0/qdigidoc4_4.2.0.43.orig.tar.xz to build, results cmake (3.13.0) syntax error

CMake Error at cmake/modules/VersionInfo.cmake:73:
  Parse error.  Function missing ending ")".  End of file reached.
Call Stack (most recent call first):

this is caused by syntax error beginning of the file:

 if( $ENV{BUILD_NUMBER} )
    set( BUILD_VER #{ENV["BUILD_NUMBER"]} )
 elseif(PROJECT_VERSION_TWEAK)
    set( BUILD_VER #{ENV["BUILD_NUMBER"]} )
 else()
    set( BUILD_VER #{ENV["BUILD_NUMBER"]} )
 endif()
 if(NOT BUILD_DATE)
    string(TIMESTAMP BUILD_DATE "%d.%m.%Y")

see:

i suspect the tarball was locally modified, as file with that content can't be found from git repository.

glensc added a commit to pld-linux/digidoc4-client that referenced this issue Dec 10, 2018
@metsma
Copy link
Contributor

metsma commented Dec 10, 2018

@metsma metsma closed this as completed Dec 10, 2018
@glensc
Copy link
Contributor Author

glensc commented Dec 10, 2018

not solved.

that file misses extensions/cmake/modules, if you make diff of the two tarballs.

also, the .tar.xz is ~1.5 MiB smaller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants