R18rc1 FTBFS Debian GNU/kFreeBSD
Bug #1279679 reported by
Teppo Mäenpää
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
CMakefile misidentifies Debian on kFreeBSD as FreeBSD, attempts to import some FreeBSD specific libraries and then fails.
tags: | added: bsd cmake ftbfs patch |
Changed in widelands: | |
status: | New → Confirmed |
Changed in widelands: | |
importance: | Undecided → Low |
milestone: | none → build19-rc1 |
status: | Confirmed → In Progress |
Changed in widelands: | |
status: | In Progress → Fix Committed |
tags: |
added: buildsystem removed: cmake |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
While reading the bug #1279029 report, I got curious how changing a kernel makes Widelands not compile; we are mostly using libraries, which should mind the difference.
The reason was that Widelands makefile assumes that the OS is a FreeBSD, if a match is found from the system name. Now, Debian running over FreeBSD kernel identifies itself as Debian GNU/kFreeBSD (regexp match, seemingly also match in the way cmake matches things), while it still should be treated like a "Linux-like OS" in this context.