Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101970 - gnome-extra/libgtkhtml-3.2.5 fails to build
Summary: gnome-extra/libgtkhtml-3.2.5 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-10 05:06 UTC by Aaron Walker (RETIRED)
Modified: 2005-10-27 15:19 UTC (History)
0 users

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


Attachments
libgtkhtml-3.2.5-no-extern-cluealigned.diff (libgtkhtml-3.2.5-no-extern-cluealigned.diff,419 bytes, patch)
2005-08-10 05:07 UTC, Aaron Walker (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Walker (RETIRED) gentoo-dev 2005-08-10 05:06:35 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I/usr/include
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/freetype2/config -I/usr/include/libpng12 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2
-I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2
-I/usr/include/libglade-2.0 -I/usr/include/libsoup-2.2 -I/usr/include/libxml2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_LOG_DOMAIN=\"gtkhtml\"
-DSRCDIR=\".\" -DPREFIX=\"/usr\" -DICONDIR=\"/usr/share/gtkhtml-3.1/icons\"
-DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DGNOME_DISABLE_DEPRECATED=1
-O2 -march=athlon-xp -pipe -Wall -Wmissing-prototypes -c htmlcluealigned.c -MT
htmlcluealigned.lo -MD -MP -MF .deps/htmlcluealigned.TPlo  -fPIC -DPIC -o
.libs/htmlcluealigned.o
htmlcluealigned.c:29: error: static declaration of 'html_cluealigned_class'
follows non-static declaration
htmlcluealigned.h:41: error: previous declaration of 'html_cluealigned_class'
was here
make[2]: *** [htmlcluealigned.lo] Error 1
make[2]: Leaving directory
`/buildroot/portage/libgtkhtml-3.2.5/work/gtkhtml-3.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/buildroot/portage/libgtkhtml-3.2.5/work/gtkhtml-3.2.5'
make: *** [all] Error 2

!!! ERROR: gnome-extra/libgtkhtml-3.2.5 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


A patch is attached.


Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-4.0.1,
glibc-2.3.5.20050722-r0, 2.6.11.11 i686)
=================================================================
System uname: 2.6.11.11 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1, 2.16.90.0.3
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/local/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect cvs digest distlocks
sandbox sfperms sign strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ ftp://mirrors.tds.net/gentoo/
ftp://ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/buildroot"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/ka0ttic/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aim alsa apache2 bash-completion berkdb bzlib cdr crypt cscope esd
fam fbcon gdbm gif gtk gtk2 imap imlib jpeg maildir mailwrapper mikmod mmx
ncurses nls nptl offensive opengl oss pam pcre pdflib perl png python readline
ruby sasl sdl slang snmp sse ssl svga tcpd truetype unicode usb x86 xml2 xmms
xscreensaver zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-08-10 05:07:07 UTC
Created attachment 65592 [details, diff]
libgtkhtml-3.2.5-no-extern-cluealigned.diff
Comment 2 Rick Harris 2005-10-26 00:46:41 UTC
This patch is good. 
Problem only presents itself when compiling with gcc-4.x 
It also fixes the same issue with 3.0.10-r1, and perhaps other older versions 
of <=libgtkhtml-3.2.5. 
Though not critical, also including the following line in the ebuild makes for 
a much cleaner looking compile: 
CFLAGS="${CFLAGS} -Wno-pointer-sign" 
Comment 3 Aaron Walker (RETIRED) gentoo-dev 2005-10-27 15:19:28 UTC
Ok, got the ok from leonardop to go ahead and fix this.

The following versions exhibit this compile failure with gcc-4 and have been
patched (the same patch works for all): 3.0.10, 3.0.10-r1, 3.2.4, 3.2.5.