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

Bug 34283

Summary: sqlgui-0.5.0 fails to compile
Product: Gentoo Linux Reporter: Cletus Lichte <lichte>
Component: Current packagesAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: 1.4_rc4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cletus Lichte 2003-11-24 13:23:22 UTC
I get the following error:

make[1]: Entering directory `/tmp/portage/sqlgui-0.5/work/sqlgui-0.5.0'
Making all in sqlgui
make[2]: Entering directory `/tmp/portage/sqlgui-0.5/work/sqlgui-0.5.0/sqlgui'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.1/include -I/usr/qt/3/include
-I/usr/X11R6/include  -I/usr/include/mysql  -DQT_THREAD_SUPPORT  -D_REENTRANT 
-DNDEBUG -DNO_DEBUG -O2 -march=c3 -m3dnow -O2 -pipe -fno-exceptions
-fno-check-new  -c main.cpp
In file included from /usr/kde/3.1/include/sqlgui/sqlguidoc.h:39,
                 from /usr/kde/3.1/include/sqlgui/sqlgui_part.h:26,
                 from main.cpp:29:
/usr/kde/3.1/include/sqlgui/db_components.h:77:23: warning: no newline at end of
file
main.cpp: In function `int main(int, char**)':
main.cpp:61: error: `cout' undeclared (first use this function)
main.cpp:61: error: (Each undeclared identifier is reported only once for each 
   function it appears in.)
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/tmp/portage/sqlgui-0.5/work/sqlgui-0.5.0/sqlgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/sqlgui-0.5/work/sqlgui-0.5.0'
make: *** [all-recursive-am] Error 2

!!! ERROR: dev-db/sqlgui-0.5 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make



Reproducible: Always
Steps to Reproduce:
1. emerge sqlgui
2.
3.

Actual Results:  
The compile fails.

Expected Results:  
It should have finished compiling and merging.

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 VIA Samuel 2
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=c3 -m3dnow -O2 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/xdvi/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=c3 -m3dnow -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xv zlib alsa gdbm berkdb
slang readline arts tetex aalib ggi tcltk ruby mysql X sdl gpm tcpd pam libwww
ssl perl python imlib oggvorbis gtk qt kde motif opengl snmp 3dnow 3ds aavm acl
acpi apache2 artswrappersuid athena atlas cscope curl dedicated dillo dnd doc
dvd emacs ethereal faad fbcon flash fltk fluidsynth gd gtk2 imagemagick imap
innodb jack jack-caps jack-tmpfs java javascript joystick ladcca lcms leim
matroska mbox mcal md5sum mmx moznocompose moznoirc moznomail mpi objc
parse-clocks pda pic plotutils ppds ruby18 samba sasl skey slp sox sqlite sse
tiff transcode type1 usb videos vim-with-x wmf wxwindows X509 Xaw3d xml xvid
-apm -gnome -svga -xmms -esd"
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-11-27 04:28:04 UTC

*** This bug has been marked as a duplicate of 23824 ***