Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Build broken after a47c5e07 #60

Closed
fberlakovich opened this issue Aug 14, 2014 · 5 comments
Closed

Build broken after a47c5e07 #60

fberlakovich opened this issue Aug 14, 2014 · 5 comments
Assignees
Labels
Milestone

Comments

@fberlakovich
Copy link
Contributor

It seems like I can no longer do a fresh build after a47c5e0. I realised it when trying to do a build from scratch on a different machine (for #38). Cmake aborts with the following error

CMake Error in src/libelektra/CMakeLists.txt:
  Cannot find source file "$<TARGET_OBJECTS:elektra-resolver-objects>".
  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
  .hxx .in .txx

Building on f137b99 works fine.
Can somebody reproduce this?

@markus2330
Copy link
Contributor

I cannot reproduce it, which version of cmake do you use? How is PLUGINS set? Please give me the full cmake call.

I am working on getting all buildserver jobs running again (github migration is still not fully done), maybe the issue will be triggered there, too.

@fberlakovich
Copy link
Contributor Author

The cmake version that fails is 2.8.2, I simply invoked cmake ../libelektra in a fresh directory and it fails. So I think PLUGINS should be dump;resolver? How can I see a cmake command describing the full configuration? Should send you the CMakeCache?

@markus2330
Copy link
Contributor

Sorry, still cannot reproduce it. I debootstrapped a fresh debian unstable, then

$cmake --version
cmake version 2.8.12.2

git clone https://github.com/ElektraInitiative/libelektra.git
mkdir build && cd build
cmake ../libelektra
make -j 12

Where do I get a cmake 2.8.2 from? (stable has 2.8.9, which I also tried)

@fberlakovich
Copy link
Contributor Author

The server is oldstable and the version installed is 2.8.2+dfsg.1-0+squeeze1. Could this really make the difference?

-----Ursprüngliche Nachricht-----
Von: markus2330 [mailto:notifications@github.com]
Gesendet: Donnerstag, 14. August 2014 19:23
An: ElektraInitiative/libelektra
Cc: Felix Berlakovich
Betreff: Re: [libelektra] Build broken after a47c5e0 (#60)

Sorry, still cannot reproduce it. I debootstrapped a fresh debian unstable,
then

$cmake --version
cmake version 2.8.12.2

git clone https://github.com/ElektraInitiative/libelektra.git
mkdir build && cd build
cmake ../libelektra
make -j 12

Where do I get a cmake 2.8.2 from? (stable has 2.8.9, which I also tried)


Reply to this email directly or view it on GitHub
<#60 (comment)
52214024> .
<https://github.com/notifications/beacon/7955528__eyJzY29wZSI6Ik5ld3Np
ZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMzY1NjE5NiwiZGF0YSI6eyJpZCI6Mzk2
NTY4NDV9fQ==--224754f00f44c54df6ba9dc36690801be9a795be.gif>

@markus2330
Copy link
Contributor

Yeah, it seems to be extremely relevant:
CMake 2.8.8 introduced the "OBJECT" library type

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

No branches or pull requests

2 participants