Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218784 - x11-misc/lineakd-0.9.0-r1 fails w/ gcc-4.3.0
Summary: x11-misc/lineakd-0.9.0-r1 fails w/ gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-21 21:01 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-22 17:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lineakd-0.9.0-gcc43.patch (lineakd-0.9.0-gcc43.patch,873 bytes, patch)
2008-04-21 21:02 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 21:01:35 UTC
if /bin/bash ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DPLUGINDIR=\"/usr/lib/lineakd/plugins\" -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -I. -I. -I..   -I../lineakd -I. -I..    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT pluginmanager.lo -MD -MP -MF ".deps/pluginmanager.Tpo" -c -o pluginmanager.lo pluginmanager.cpp; \
        then mv -f ".deps/pluginmanager.Tpo" ".deps/pluginmanager.Plo"; else rm -f ".deps/pluginmanager.Tpo"; exit 1; fi
if /bin/bash ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DPLUGINDIR=\"/usr/lib/lineakd/plugins\" -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -I. -I. -I..   -I../lineakd -I. -I..    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT globals.lo -MD -MP -MF ".deps/globals.Tpo" -c -o globals.lo globals.cpp; \
        then mv -f ".deps/globals.Tpo" ".deps/globals.Plo"; else rm -f ".deps/globals.Tpo"; exit 1; fi
if /bin/bash ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DCONFDIR=\"/etc\" -DPLUGINDIR=\"/usr/lib/lineakd/plugins\" -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" -I. -I. -I..   -I../lineakd -I. -I..    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -MT displayctrl.lo -MD -MP -MF ".deps/displayctrl.Tpo" -c -o displayctrl.lo displayctrl.cpp; \
        then mv -f ".deps/displayctrl.Tpo" ".deps/displayctrl.Plo"; else rm -f ".deps/displayctrl.Tpo"; exit 1; fi
In file included from ../lineak/lconfig.h:35,
                 from displayctrl.cpp:22:
../lineak/lconfigdata.h:34: warning: type qualifiers ignored on function return type
In file included from ../lineak/lconfig.h:36,
                 from displayctrl.cpp:22:
../lineak/lcommand.h:51: warning: type qualifiers ignored on function return type
In file included from displayctrl.cpp:22:
../lineak/lconfig.h:110: warning: type qualifiers ignored on function return type
In file included from ../lineak/lineak_core_functions.h:30,
                 from displayctrl.cpp:24:
../lineak/lobject.h:52: warning: type qualifiers ignored on function return type
../lineak/lobject.h:53: warning: type qualifiers ignored on function return type
displayctrl.cpp:32: warning: unused parameter 'config'
displayctrl.cpp:37: warning: unused parameter 'config'
In file included from ../lineak/lconfig.h:35,
                 from ../lineak/plugin_definitions.h:23,
                 from ../lineak/pluginmanager.h:26,
                 from pluginmanager.cpp:19:
../lineak/lconfigdata.h:34: warning: type qualifiers ignored on function return type
In file included from ../lineak/lconfig.h:36,
                 from ../lineak/plugin_definitions.h:23,
                 from ../lineak/pluginmanager.h:26,
                 from pluginmanager.cpp:19:
../lineak/lcommand.h:51: warning: type qualifiers ignored on function return type
In file included from ../lineak/plugin_definitions.h:23,
                 from ../lineak/pluginmanager.h:26,
                 from pluginmanager.cpp:19:
../lineak/lconfig.h:110: warning: type qualifiers ignored on function return type
In file included from ../lineak/plugin_definitions.h:25,
                 from ../lineak/pluginmanager.h:26,
                 from pluginmanager.cpp:19:
../lineak/lobject.h:52: warning: type qualifiers ignored on function return type
../lineak/lobject.h:53: warning: type qualifiers ignored on function return type
In file included from pluginmanager.cpp:29:
../lineak/lkbd.h:84: warning: type qualifiers ignored on function return type
pluginmanager.cpp: In member function 'bool PluginManager::loadPlugin(const std::string&)':
pluginmanager.cpp:122: warning: suggest parentheses around && within ||
pluginmanager.cpp: In member function 'std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > PluginManager::scanForPlugins(const std::string&)':
pluginmanager.cpp:466: error: 'strcmp' was not declared in this scope
make[2]: *** [pluginmanager.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/x11-misc/lineakd-0.9.0-r1/work/lineakd-0.9/lineak'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/lineakd-0.9.0-r1/work/lineakd-0.9'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-21 21:02:22 UTC
Created attachment 150532 [details, diff]
lineakd-0.9.0-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Samuli Suominen gentoo-dev 2008-04-22 17:00:29 UTC
applied, thanks