By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1363 - Build issue: tdebase fails to build when demangle.h is not installed
Summary: Build issue: tdebase fails to build when demangle.h is not installed
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdebase (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Linux
: P1 blocker
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-12-10 15:53 CST by Darrell
Modified: 2013-03-03 17:17 CST (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2012-12-10 15:53:06 CST
Commit 786e248c from 2012-12-01 was merged to provide debugging and backtrace support for resolving bug report 1288. The new source file tdebase/kdesktop/lock/backtrace_symbols.c contains an include for demangle.h. That commit is the only place in the entire GIT sources requiring a dependency on demangle.h.

The demangle.h header is part of the binutils package.

Searching the web reveals that including demangle.h in binutils is not something that can be presumed. Although some distros have been patched to ensure demangle.h is part of the final package, not all distros have been patched.

A work-around is to reverse the patch when demangle.h is not installed. Long-term, perhaps the patch can be pulled when bug report 1288 is resolved or the patch could be updated without a dependency upon demangle.h.
Comment 1 Slávek Banko 2013-02-04 15:02:02 CST
Fixed in GIT hash 936d3cec.
Comment 2 Darrell 2013-03-02 20:22:27 CST
The patch in commit 936d3cec does not work for me. In my build script I set -DWITH_KDESKTOP_LOCK_BACKTRACE=OFF.

I still have to reverse commit 786e248c.
Comment 3 Darrell 2013-03-02 20:23:05 CST
Note: I am building with the latest GIT as of Saturday afternoon, March 2.
Comment 4 Slávek Banko 2013-03-03 13:57:37 CST
(Odpověď na komentář #3)
> Note: I am building with the latest GIT as of Saturday afternoon, March 2.

Good point. I found that commit 936d3cec was inadvertently reverted in commit de7e5867. Original commit 936d3cec I applied again in commit e9785ee7.
Comment 5 Darrell 2013-03-03 17:17:29 CST
I pulled the latest tdebase and am now able to build tdebase with -DWITH_KDESKTOP_LOCK_BACKTRACE=OFF and without reversing commit 786e248c.

Of course, anybody building tdebase in this way will be unable to provide helpful backtraces related to kdesktop_lock.