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

Bug 112100

Summary: xforms-1.0-r1 doesn't compile
Product: Gentoo Linux Reporter: Dario Ernst <daddel9>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WORKSFORME    
Severity: normal CC: vanquirius
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dario Ernst 2005-11-10 12:29:10 UTC
when compiling xforms-1.0-r1 o get the following error:

i686-pc-linux-gnu-gcc -c    -I../exports/include                  -I../lib     
          -I../lib/private                -I. -I/usr/include    -Dlinux
-D__i386__ -D_POSIX_C_SOURCE=199309L                             -D_POSIX_SOURCE
-D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE   
                                                           -DFUNCPROTO=15
-DNARROWPROTO    -DMAKING_FORMS                  -DHAVE_STRERROR       -O3
-march=athlon-xp -pipe    glcanvas.c -o unshared/glcanvas.o
glcanvas.c: In function `fl_add_glcanvas':
glcanvas.c:90: warning: initialization makes pointer from integer without a cast
glcanvas.c: At top level:
glcanvas.c:167: error: conflicting types for 'fl_create_glcanvas'
glcanvas.c:90: error: previous implicit declaration of 'fl_create_glcanvas' was here
distcc[32369] ERROR: compile glcanvas.c on cheza failed
make[1]: *** [glcanvas.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xforms-1.0-r1/work/xforms-1.0-release/gl'
make: *** [all] Error 2

to me this looks like a kinda easy thing to fix if you know c/cpp (which i don't
... i'd include a patch if i did - sorry)

Reproducible: Always
Steps to Reproduce:
1. emerge sync and emerge xforms
Actual Results:  
xforms doesnt compile and thus prevents me from updating world.

Expected Results:  
compile cleanly :P

Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.13-gentoo-r4 i686)
=================================================================
System uname: 2.6.13-gentoo-r4 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.12.0_pre10
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi alsa ao apm audiofile avi bash-completion
berkdb bitmap-fonts bzip2 bzlib canna cdda cdparanoia cdr cjk corba crypt cscope
cups curl dlloader dmx dvd dvdread ecc eds emacs emboss encode esd ethereal exif
expat fam fame ffmpeg firefox flac font-server foomaticdb fortran freetype
freewnn gcj gd gdbm ggi gif glut gmp gnome gnustep gnutls gpm gstreamer gtk gtk2
guile howl icecast idea idn imagemagick imlib jpeg lcms ldap libcaca libg++
libwww live lua lzo mad matroska mhash mikmod mmx mmx2 mmxext mng motif
mozcalendar mozdevelop mozilla mozsvg mp3 mpeg musepack mysql nas ncurses nls
nvidia objc offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl png
portaudio python quicktime readline real recode screen sdl skey sndfile snmp
speex spell sqlite sse ssl stats tcltk tcpd tetex theora threads tiff truetype
truetype-fonts type1-fonts udev unicode usb video_cards_matrox vorbis
win32codecs wxwindows x86 xinerama xml xml2 xmms xosd xprint xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2005-12-24 11:31:10 UTC
Is there any reason not to use =x11-libs/xforms-1.0.90 instead? It's the most recent stable version and compiles with gcc4.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-13 00:20:58 UTC
As said, use something more recent.