Summary: | dev-libs/libdbusmenu-0.5.1-r300 fails to build due to -Werror and use of deprecated gtk_hbox_new functions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Seong-ho Cho <darkcircle.0426> |
Component: | [OLD] GNOME | Assignee: | Ayatana Bugs <ayatana-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | darkcircle.0426, kde |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260867 | ||
Attachments: |
libdbusmenu-0.5.1-r300 build log which shows the fail resuit.
patch for eliminating building problem of libdbusmenu-0.5.1-r300 |
Description
Seong-ho Cho
2012-05-02 03:21:23 UTC
Created attachment 310609 [details]
libdbusmenu-0.5.1-r300 build log which shows the fail resuit.
This build.log will helps for checking what things are causes this problem.
Created attachment 310611 [details, diff]
patch for eliminating building problem of libdbusmenu-0.5.1-r300
I did check whether this patch works well or not by using below commands (as a root) during emerging libdbusmenu, manually.
* This solution is easy. but It seems that nobody did submit patch for eliminating this problem.
cp patch.diff /var/tmp/portage/dev-libs/libdbusmenu-0.5.1-r300/work/.
cd /var/tmp/portage/dev-libs/libdbusmenu-0.5.1-r300/work
patch -p0 < patch.diff
cd ~/
The problem is caused by the presence of -Werror in libdbusmenu's Makefiles, which turns every warning (such as use of deprecated gtk+ functions) into a fatal build error. well ... no one of *error* keyword is from any Makefile or Makefile.* files. I think that some more safe code is better. 0.6.1 is available by upstream. (In reply to comment #5) > 0.6.1 is available by upstream. I know... Every ayatana library needs a bump, I'll try to get to them soon, sorry for delay... This has been on my TODO like a month or two already :( Please at least remove the -Werror flag though. *It should not be there.* (In reply to comment #2) > Created attachment 310611 [details, diff] [details, diff] > patch for eliminating building problem of libdbusmenu-0.5.1-r300 > > I did check whether this patch works well or not by using below commands (as > a root) during emerging libdbusmenu, manually. > * This solution is easy. but It seems that nobody did submit patch for > eliminating this problem. > > cp patch.diff /var/tmp/portage/dev-libs/libdbusmenu-0.5.1-r300/work/. > cd /var/tmp/portage/dev-libs/libdbusmenu-0.5.1-r300/work > patch -p0 < patch.diff > cd ~/ Cant get this to work. can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Binary files dee-1.0.10/src/.dee-filter-model.h.swp and dee-1.0.10-r1/src/.dee-filter-model.h.swp differ |diff -urN dee-1.0.10/src/dee-filter.h dee-1.0.10-r1/src/dee-filter.h |--- dee-1.0.10/src/dee-filter.h 2012-02-25 01:46:45.000000000 +0900 |+++ dee-1.0.10-r1/src/dee-filter.h 2012-04-26 00:49:44.645313412 +0900 -------------------------- File to patch: Skip this patch? [y] y Skipping patch. patch: **** malformed patch at line 12: /** Removed -Werror from CFLAGS |