Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193458 - gnome-extra/gtkhtml-3.2.5 compile failure: body.c:59: warning: implicit declaration of function 'N_'
Summary: gnome-extra/gtkhtml-3.2.5 compile failure: body.c:59: warning: implicit decla...
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: 205242
  Show dependency tree
 
Reported: 2007-09-22 22:23 UTC by Ed Catmur
Modified: 2008-01-30 12:23 UTC (History)
3 users (show)

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


Attachments
gi18n.patch (gi18n.patch,292 bytes, patch)
2007-09-22 22:27 UTC, Ed Catmur
Details | Diff
gi18n.patch (gi18n.patch,1.63 KB, patch)
2007-09-22 22:48 UTC, Ed Catmur
Details | Diff
modified gi18n.patch (gtkhtml-3.2-gi18n.patch,2.05 KB, patch)
2007-11-11 08:27 UTC, Yu Yuwei
Details | Diff
the ebuild employ gi18n patch (gtkhtml-3.2.5-r1.ebuild,1.14 KB, text/plain)
2007-11-11 08:28 UTC, Yu Yuwei
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2007-09-22 22:23:10 UTC
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I. -I/usr/include -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/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -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/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"gtkhtml\" -DSRCDIR=\".\" -DPREFIX=\"/usr\" -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/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/gail-1.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libglade-2.0 -DICONDIR=\"/usr/share/gtkhtml-3.1/icons\" -DGTKHTML_DATADIR=\"/usr/share/gtkhtml-3.1\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -DGLADE_DATADIR=\"/usr/share/gtkhtml-3.1\" -DGDK_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1 -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/share\" -DBONOBO_DISABLE_DEPRECATED=1 -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -Wall -Wmissing-prototypes -c body.c -MT body.lo -MD -MP -MF .deps/body.TPlo  -fPIC -DPIC -o .libs/body.o
body.c:59: warning: implicit declaration of function 'N_'
body.c:59: error: initializer element is not constant
body.c:59: error: (near initialization for 'body_templates[0].name')
body.c:67: error: initializer element is not constant
body.c:67: error: (near initialization for 'body_templates[1].name')
body.c:75: error: initializer element is not constant
body.c:75: error: (near initialization for 'body_templates[2].name')
body.c:83: error: initializer element is not constant
body.c:83: error: (near initialization for 'body_templates[3].name')
body.c:91: error: initializer element is not constant
body.c:91: error: (near initialization for 'body_templates[4].name')
body.c:99: error: initializer element is not constant
body.c:99: error: (near initialization for 'body_templates[5].name')
body.c:107: error: initializer element is not constant
body.c:107: error: (near initialization for 'body_templates[6].name')
body.c:115: error: initializer element is not constant
body.c:115: error: (near initialization for 'body_templates[7].name')
body.c:123: error: initializer element is not constant
body.c:123: error: (near initialization for 'body_templates[8].name')
body.c: In function 'fill_templates':
body.c:216: warning: implicit declaration of function '_'
body.c:216: warning: passing argument 1 of 'gtk_menu_item_new_with_label' makes pointer from integer without a cast
body.c: In function 'body_properties':
body.c:246: warning: passing argument 2 of 'editor_hig_attach_row' makes pointer from integer without a cast
body.c:256: warning: passing argument 1 of 'editor_hig_vbox' makes pointer from integer without a cast
body.c:279: warning: passing argument 2 of 'color_combo_new' makes pointer from integer without a cast
body.c:279: warning: passing argument 1 of 'gtk_label_new_with_mnemonic' makes pointer from integer without a cast
body.c:280: warning: passing argument 2 of 'color_combo_new' makes pointer from integer without a cast
body.c:280: warning: passing argument 1 of 'gtk_label_new_with_mnemonic' makes pointer from integer without a cast
body.c:281: warning: passing argument 2 of 'color_combo_new' makes pointer from integer without a cast
body.c:281: warning: passing argument 1 of 'gtk_label_new_with_mnemonic' makes pointer from integer without a cast
body.c:283: warning: passing argument 1 of 'editor_hig_vbox' makes pointer from integer without a cast
body.c:285: warning: passing argument 2 of 'gnome_pixmap_entry_new' makes pointer from integer without a cast
body.c:298: warning: passing argument 1 of 'gtk_label_new_with_mnemonic' makes pointer from integer without a cast
body.c:300: warning: passing argument 1 of 'editor_hig_vbox' makes pointer from integer without a cast
make[4]: *** [body.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/gnome-extra/gtkhtml-3.2.5/work/gtkhtml-3.2.5/components/html-editor'
Comment 1 Ed Catmur 2007-09-22 22:24:15 UTC
Looks similar to bug 83815 - possibly some headers have changed.
Comment 2 Ed Catmur 2007-09-22 22:27:18 UTC
Created attachment 131650 [details, diff]
gi18n.patch
Comment 3 Ed Catmur 2007-09-22 22:48:11 UTC
Created attachment 131655 [details, diff]
gi18n.patch

more fixes
Comment 4 Yu Yuwei 2007-11-11 08:24:25 UTC
(In reply to comment #3)
> Created an attachment (id=131655) [edit]
> gi18n.patch
> 
> more fixes
> 

add the path to files listed in this patch and it work fine:-) 
Comment 5 Yu Yuwei 2007-11-11 08:27:06 UTC
Created attachment 135712 [details, diff]
modified gi18n.patch
Comment 6 Yu Yuwei 2007-11-11 08:28:48 UTC
Created attachment 135714 [details]
the ebuild employ gi18n patch

use this ebuild to use the gi18n patch
Comment 7 David Raison 2007-12-20 18:50:56 UTC
only bumping this, as it's more than a month old and has not been included into portage yet.
The current version of gnotime (2.2.2) is depending on gtkhtml-3.2.5
Comment 8 Matthias Langer 2008-01-10 23:25:11 UTC
gnome-extra/gtkhtml-3.2.4 is affected as well (at least on amd64), and as app-office/gnotime-2.2.3 depends on =gnome-extra/gtkhtml-3.2* it cannot be installed.

 
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-11 07:06:00 UTC
Gnome, what about this patch?  It now holds up stabilisation for a package.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-01-11 09:25:25 UTC
looks like what was done for evolution, green light from me if it fixes the problem.
Comment 11 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-01-12 19:26:28 UTC
Seems that this has already been applied in the tree.  Marking as fixed.
Comment 12 Matthias Langer 2008-01-14 01:21:10 UTC
(In reply to comment #11)
> Seems that this has already been applied in the tree.  Marking as fixed.

Hmm, fear it has not, as i'm still getting the same error here:

Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r3 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Timestamp of tree: Sun, 13 Jan 2008 23:46:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ "
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage/repos/gentoo"
PORTDIR_OVERLAY="/var/portage/repos/private"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 beagle berkdb bitmap-fonts bzip2 cairo caps cddb cdr cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif gimp gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv icu ipod ipv6 isdnlog java jpeg jpeg2k lcms ldap libnotify lm_sensors mad matroska midi mikmod mmap mmx mmxext mono mp3 mpeg mudflap musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png pppd pulseaudio python qt3support quicktime readline reflection ruby sdl session spell spl sse sse2 ssl ssse3 svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd vim-syntax vorbis xattr xml xorg xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon konica ptp2 kodak" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 13 Devin Heckman 2008-01-19 18:36:13 UTC
Same error. Please forgive me for dirty configs. ;)



Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.9 i686)
=================================================================
System uname: 2.6.22.9 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Timestamp of tree: Fri, 18 Jan 2008 18:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/rc-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa arts audacious bash-completion berkdb bitmap-fonts bzip2 cairo cli cracklib crypt cscope cups curl dbus dedicated dri dvd dvdr dvdread eds emboss encode esd evo expat fam fbcon firefox flac foomaticdb fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv isdnlog java jpeg junit kde kerberos ldap mad maildir midi mikmod mmx mozilla mp3 mpeg mudflap ncurses new-login nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vcd vim-syntax vorbis win32codecs wxwindows x86 xml xml2 xorg xosd xv zlib" ALSA_CARDS="interwave,interwave-stb" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-24 08:33:31 UTC
(In reply to comment #10)
> looks like what was done for evolution, green light from me if it fixes the
> problem.

 One week, then I will commit the patch.

Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-30 12:23:30 UTC
(In reply to comment #11)
> Seems that this has already been applied in the tree.  Marking as fixed.

 It has been a similar patch, but not as complete as the current one.  Probably both can be merged, but I let you do that.  Package hopefully fixed.