Bug 226083 - app-i18n/enca fails /w gcc-4.3.1 /w glibc-2.8 - error: width of ‘ignore’ exceeds its type
|
Bug#:
226083
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: maintainer-needed@gentoo.org
|
Reported By: atan@mizera.cz
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: app-i18n/enca fails /w gcc-4.3.1 /w glibc-2.8 - error: width of ‘ignore’ exceeds its type
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-06-12 14:36 0000
|
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
-DEXTCONV_DIR=\"/usr/libexec/enca/extconv\" -I/usr/include -Wall -W -pedantic
-O2 -march=athlon64 -mtune=athlon64 -msse3 -pipe -MT enca-enca.o -MD -MP -MF
".deps/enca-enca.Tpo" -c -o enca-enca.o `test -f 'enca.c' || echo './'`enca.c;
\
then mv -f ".deps/enca-enca.Tpo" ".deps/enca-enca.Po"; else rm -f
".deps/enca-enca.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib
-DEXTCONV_DIR=\"/usr/libexec/enca/extconv\" -I/usr/include -Wall -W -pedantic
-O2 -march=athlon64 -mtune=athlon64 -msse3 -pipe -MT enca-filebuf.o -MD -MP -MF
".deps/enca-filebuf.Tpo" -c -o enca-filebuf.o `test -f 'filebuf.c' || echo
'./'`filebuf.c; \
then mv -f ".deps/enca-filebuf.Tpo" ".deps/enca-filebuf.Po"; else rm -f
".deps/enca-filebuf.Tpo"; exit 1; fi
In file included from convert_recode.c:35:
/usr/include/recodext.h:221: error: width of ‘ignore’ exceeds its type
enca.c: In function ‘indent_surface’:
enca.c:299: warning: field precision should have type ‘int’, but argument 2
has type ‘long int’
make[3]: *** [enca-convert_recode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
convert_extern.c: In function ‘convert_external’:
convert_extern.c:77: warning: variable ‘tempfile’ might be clobbered by
‘longjmp’ or ‘vfork’
convert_extern.c:78: warning: variable ‘target_name’ might be clobbered by
‘longjmp’ or ‘vfork’
make[3]: Leaving directory
`/var/tmp/portage/portage/app-i18n/enca-1.9/work/enca-1.9/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/portage/app-i18n/enca-1.9/work/enca-1.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/portage/app-i18n/enca-1.9/work/enca-1.9'
make: *** [all] Error 2
Reproducible: Always
Portage 2.1.5.5 (!//system/portage/profiles/default-linux/amd64/2007.0/desktop,
gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Timestamp of tree: Thu, 12 Jun 2008 11:45:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.5.2-r4
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 9999
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.62
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.4
virtual/os-headers: 2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -msse3 -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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -mtune=athlon64 -msse3 -pipe"
DISTDIR="/system/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en cs ru"
MAKEOPTS="-j6"
PKGDIR="/system/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/system/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/roslin
/usr/local/portage/layman/sunrise
/usr/local/portage/layman/webapps-experimental
/usr/local/portage/layman/desktop-effects /system/portage-local
/system/portage-watzke"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X aac acl acpi alsa amd64 avi bash-completion
berkdb bitmap-fonts bluetooth branding bzip2 cairo cddb cdr cli cpudetection
cracklib crypt css cups dbus devmap dlloader dri dts dv dvd dvdr dvdread emboss
emul-linux-x86 encode evo extensions fam fbcon ffmpeg firefox flac fortran ftp
fuse gdbm gif glut gpm gstreamer gtk gtk2 hal htmlhandbook iconv ieee1394 ipv6
jpeg kde kdeenablefinal kerberos lame libg++ lm_sensors logitech-mouse mad midi
mikmod mmx mp3 mpeg mplayer mudflap musepack musicbrainz ncurses nls nptl
nptlonly nvidia ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd
python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl
sse sse-filters sse2 sse3 ssl svg symlink tcpd threads tiff tk truetype
truetype-fonts type1-fonts udev unicode usb utf8 vcd vorbis x264 xcomposite xml
xorg xscreensaver xv xvid zlib" ALSA_CARDS="intel8x0" 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 auth_digest authn_anon authn_dbd
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 dbd
deflate dir disk_cache env expires ext_filter file_cache filter headers ident
imagemap include info log_config logio mem_cache mime mime_magic negotiation
proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so
speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs ru"
USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created an attachment (id=158129) [details]
enca-1.9.ebuild.patch
Works with attatched patch.
a) use external recode, and add it to DEPEND
b) add RDEPEND too
c) add doc useflag
You maybe need to recompile app-text/recode with gcc-4.3 if you didn't do an
emerge -e world after gcc upgrade
*recode-3.6_p15 (25 Sep 2008)
25 Sep 2008; Peter Alfredsen <loki_val@gentoo.org> +recode-3.6_p15.ebuild:
Fix bug #226083. The fix for bug #209036 actually required a revbump
because the header file is installed and may thus affect the compilation
of other programs. This provides that and imports newest patches from
Debian.
(In reply to comment #3)
> *recode-3.6_p15 (25 Sep 2008)
>
> 25 Sep 2008; Peter Alfredsen <loki_val@gentoo.org> +recode-3.6_p15.ebuild:
> Fix bug #226083. The fix for bug #209036 actually required a revbump
> because the header file is installed and may thus affect the compilation
> of other programs. This provides that and imports newest patches from
> Debian.
Peter, can it be you fixed the wrong program?
I bumped this as well since the changes are a little more than just fixing a
compilation issue. Thanks for the patch Thomas.
*** Bug 260855 has been marked as a duplicate of this bug. ***
I hit the bug because I ran "emerge -uN world" and app-i18n/enca-1.9-r1 does
not require the fixed version app-text/recode-3.6_p15. Currently I see in the
ebuild:
DEPEND="app-text/recode"
Otherwise I cannot explain myself why did I hit the several months old bug of
app-text/recode. Somebody please REOPEN and FIX the REQUIRE line in
enca-1.9-r1.ebuild.