Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218956

Summary: x11-wm/pekwm-0.1.6 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Desktop WM Team (OBSOLETE) <desktop-wm+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: pekwm-0.1.6-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 20:48:58 UTC
make[2]: Entering directory `/var/tmp/portage/x11-wm/pekwm-0.1.6/work/pekwm-0.1.6/src'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3  -I/usr/include -I/usr/include/freetype2  -DSYSCONFDIR=\"/etc/pekwm\" -DDATADIR=\"/usr/share\" -MT ActionHandler.o -MD -MP -MF .deps/ActionHandler.Tpo -c -o ActionHandler.o ActionHandler.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3  -I/usr/include -I/usr/include/freetype2  -DSYSCONFDIR=\"/etc/pekwm\" -DDATADIR=\"/usr/share\" -MT ActionMenu.o -MD -MP -MF .deps/ActionMenu.Tpo -c -o ActionMenu.o ActionMenu.cc
In file included from Config.hh:17,
                 from PDecor.hh:17,
                 from ActionMenu.cc:14:
CfgParser.hh: In member function ‘bool CfgParser::Entry::operator==(const char*)’:
CfgParser.hh:80: error: ‘strcasecmp’ was not declared in this scope
In file included from ActionMenu.cc:15:
PMenu.hh: At global scope:
PMenu.hh:23: warning: declaration ‘class PDecor::TitleItem’ does not declare anything
In file included from ActionMenu.cc:17:
ActionMenu.hh:29: warning: declaration ‘class PMenu::Item’ does not declare anything
In file included from ActionMenu.cc:21:
Client.hh:29: warning: declaration ‘class PDecor::TitleItem’ does not declare anything
In file included from ActionMenu.cc:22:
Frame.hh:30: warning: declaration ‘class PDecor::Button’ does not declare anything
make[2]: *** [ActionMenu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from Config.hh:17,
                 from PDecor.hh:17,
                 from ActionHandler.cc:16:
CfgParser.hh: In member function ‘bool CfgParser::Entry::operator==(const char*)’:
CfgParser.hh:80: error: ‘strcasecmp’ was not declared in this scope
In file included from ActionHandler.cc:17:
PMenu.hh: At global scope:
PMenu.hh:23: warning: declaration ‘class PDecor::TitleItem’ does not declare anything
In file included from ActionHandler.cc:19:
Frame.hh:30: warning: declaration ‘class PDecor::Button’ does not declare anything
In file included from ActionHandler.cc:20:
Client.hh:29: warning: declaration ‘class PDecor::TitleItem’ does not declare anything
In file included from ActionHandler.cc:22:
CmdDialog.hh:22: warning: declaration ‘class PDecor::TitleItem’ does not declare anything
CmdDialog.hh:23: warning: declaration ‘class Theme::TextDialogData’ does not declare anything
In file included from ActionHandler.cc:37:
ActionMenu.hh:29: warning: declaration ‘class PMenu::Item’ does not declare anything
In file included from ActionHandler.cc:38:
FrameListMenu.hh:29: warning: declaration ‘class PMenu::Item’ does not declare anything
In file included from ActionHandler.cc:39:
DecorMenu.hh:25: warning: declaration ‘class PMenu::Item’ does not declare anything
In file included from ActionHandler.cc:41:
HarbourMenu.hh:25: warning: declaration ‘class PMenu::Item’ does not declare anything
make[2]: *** [ActionHandler.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-wm/pekwm-0.1.6/work/pekwm-0.1.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-wm/pekwm-0.1.6/work/pekwm-0.1.6'
make: *** [all] Error 2


Reproducible: Always
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 20:50:06 UTC
Created attachment 150656 [details, diff]
pekwm-0.1.6-gcc43.patch

Fixes the problem. Snatched from Debian and given a fixup to apply to 0.1.6.
Comment 2 David Shakaryan (RETIRED) gentoo-dev 2008-04-24 07:30:27 UTC
Just committed an updated ebuild. Thanks Peter. :)