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

Bug 218934

Summary: net-misc/omnievents-2.6.2 fails w/ gcc-4.3.0
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: ssuominen
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: omnievents-2.6.2-gcc43.patch

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 19:41:07 UTC
make[1]: Entering directory `/var/tmp/portage/net-misc/omnievents-2.6.2/work/omniEvents-2_6_2/src'
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  ConsumerAdmin.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  EventChannel.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  EventChannelFactory.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  EventQueue.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  Filter.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  Orb.cc
i686-pc-linux-gnu-g++ -c -I../idl -I../src -pthread -I/usr/include  -DHAVE_CONFIG_H  -DENABLE_CLIENT_IR_SUPPORT=1 -DOMNIEVENTS_REAL_TIME_PUSH=1 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -fPIC  PersistNode.cc
PersistNode.cc: In member function ‘bool OmniEvents::PersistNode::readtoken(std::istream&, std::string&)’:
PersistNode.cc:92: error: ‘INT_MAX’ was not declared in this scope
make[1]: *** [PersistNode.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/omnievents-2.6.2/work/omniEvents-2_6_2/src'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-22 19:41:44 UTC
Created attachment 150643 [details, diff]
omnievents-2.6.2-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2008-04-22 19:54:04 UTC
+  22 Apr 2008; Samuli Suominen <drac@gentoo.org>
+  +files/omnievents-2.6.2-gcc43.patch, omnievents-2.6.2.ebuild:
+  Fix building with GCC 4.3 wrt #218934, thanks to Peter Alfredsen.
+

loki_val++