Bug 21618 - emerge x11-libs/fox-1.0.17 fails
Bug#: 21618 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: blocker Priority: P2
Resolution: FIXED Assigned To: rphillips@gentoo.org Reported By: steven.jenkins@ieee.org
Component: Library
URL: 
Summary: emerge x11-libs/fox-1.0.17 fails
Keywords:  
Status Whiteboard: 
Opened: 2003-05-24 12:06 0000
Description:   Opened: 2003-05-24 12:06 0000
The following errors occur:

dctest.cpp: In member function `DCTestWindow::DCTestWindow(FXApp*)':
dctest.cpp:364: warning: unused variable `FXuint opts'
dctest.cpp:372: warning: unused variable `FXTooltip*tooltip'
dctest.cpp:528: warning: unused variable `FXTabItem*linesTab'
dctest.cpp:536: warning: unused variable `FXTabItem*shapesTab'
dctest.cpp:542: warning: unused variable `FXTabItem*imagesTab'
dctest.cpp: In member function `long int DCTestWindow::onCmdRedraw(FXObject*,
   unsigned int, void*)':
dctest.cpp:778: warning: unused parameter `FXSelector sel'
dctest.cpp: In member function `long int DCTestWindow::onCmdPrint(FXObject*,
   unsigned int, void*)':
dctest.cpp:920: cannot pass objects of non-POD type `class FXString' through
   `...'
make[1]: *** [dctest.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/fox-1.0.17/work/fox-1.0.17/tests'
make: *** [all-recursive] Error 1
 
!!! ERROR: x11-libs/fox-1.0.17 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! Parallel Make Failed


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

Actual Results:  
See Details.

Expected Results:  
Emerged fox.

# emerge info
Portage 2.0.48 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif jpeg kde libg++ libwww
mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
zlib gtkhtml gdbm berkdb slang readline bonobo svga tcltk java guile ruby X sdl
gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

Also please note that the current stable release of the FOX Toolkit is 1.0.40.

------- Comment #1 From Steven Jenkins 2003-05-24 14:57:07 0000 -------
Changed severity from 'blocker' to 'major'. Don't quite know the etiquette
here--this problem prevents development using FOX, but doesn't impede overall
use of Gentoo.

------- Comment #2 From Kurt Hindenburg 2003-05-27 00:50:08 0000 -------
I'm running basically the same system as the Reporter.  I get the same exact
error.

...
dctest.cpp: In member function `long int DCTestWindow::onCmdPrint(FXObject*,
   unsigned int, void*)':
dctest.cpp:920: cannot pass objects of non-POD type `class FXString' through
   `...'

Seems to be the problem....

A simple fix is to comment out line 920; ie
//    FXTRACE((100,"Printer = %s\n",printer.name));

Fox then compiles O.K.  

Anyway, the latest stable version is 1.0.40 according to the fox-toolkit.org
website.  The ebuild needs upgraded...I'm downloading 40 now...

------- Comment #3 From Kurt Hindenburg 2003-05-27 04:02:59 0000 -------
1.0.40 compiled fine.  This should be the stable version for fox as I'm sure
the people at fox-toolkit know more then us which version is stable.  I used
the ebuild from 1.0.29 to compile the 40 version.  No problems...

------- Comment #4 From Steven Jenkins 2003-06-09 22:21:15 0000 -------
So much for patience.

------- Comment #5 From Ryan Phillips (RETIRED) 2003-06-10 07:44:07 0000 -------
Committed 1.0.40 and marked stable. 

------- Comment #6 From Steven Jenkins 2003-06-10 19:07:43 0000 -------
That did it. Thanks.