Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317237 - app-text/hunspell fails with invalid conversion
Summary: app-text/hunspell fails with invalid conversion
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 06:46 UTC by Svenne Krap
Modified: 2010-04-27 12:22 UTC (History)
0 users

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


Attachments
build.log (build.log,27.30 KB, text/plain)
2010-04-27 09:12 UTC, Svenne Krap
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Svenne Krap 2010-04-26 06:46:30 UTC
Hunspell emerge fails with: 

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/hunspell -I../../src/parsers    -O2 -pipe -MT hunzip.o -MD -MP -MF .deps/hunzip.Tpo -c -o hunzip.o hunzip.cxx
hunspell.cxx: In function ‘char* chenc(char*, const char*, const char*)’:
hunspell.cxx:193: error: invalid conversion from ‘const char**’ to ‘char**’
hunspell.cxx:193: error:   initializing argument 2 of ‘size_t iconv(void*, char**, size_t*, char**, size_t*)’
hunspell.cxx: In function ‘TextParser* get_parser(int, char*, Hunspell*)’:
hunspell.cxx:238: error: invalid conversion from ‘const char**’ to ‘char**’
hunspell.cxx:238: error:   initializing argument 2 of ‘size_t iconv(void*, char**, size_t*, char**, size_t*)’
hunspell.cxx:267: error: invalid conversion from ‘const char**’ to ‘char**’
hunspell.cxx:267: error:   initializing argument 2 of ‘size_t iconv(void*, char**, size_t*, char**, size_t*)’
hunspell.cxx:301: error: invalid conversion from ‘const char**’ to ‘char**’
hunspell.cxx:301: error:   initializing argument 2 of ‘size_t iconv(void*, char**, size_t*, char**, size_t*)’
hunspell.cxx: In function ‘int dialog(TextParser*, Hunspell*, char*, char*, char**, int, int)’:
hunspell.cxx:981: warning: deprecated conversion from string constant to ‘char*’
hunspell.cxx:1104: warning: deprecated conversion from string constant to ‘char*’
make[3]: *** [hunspell.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/hunzip.Tpo .deps/hunzip.Po
mv -f .deps/hzip.Tpo .deps/hzip.Po
make[3]: Leaving directory `/var/tmp/portage/app-text/hunspell-1.2.9/work/hunspell-1.2.9/src/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-text/hunspell-1.2.9/work/hunspell-1.2.9/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/hunspell-1.2.9/work/hunspell-1.2.9'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. emerge hunspell
2.
3.

Actual Results:  
Fails

Expected Results:  
Succeeds
Comment 1 Svenne Krap 2010-04-26 09:35:43 UTC
Btw. this goes both for 1.2.9 and 1.2.8
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-04-26 09:37:19 UTC
Please post your "emerge --info" and attach the build.log file of the failed emerge to this bug.
Comment 3 Svenne Krap 2010-04-27 09:06:18 UTC
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.34-rc5 x86_64)
=================================================================
System uname: Linux-2.6.34-rc5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 27 Apr 2010 05:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.mdfnet.se/mirror/gentoo ftp://mirror.mdfnet.se/gentoo "
LANG="da_DK.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"                                                                                                                                                                                                                               
PKGDIR="/usr/portage/packages"                                                                                                                                                                                                               
PORTAGE_CONFIGROOT="/"                                                                                                                                                                                                                       
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"                                                                                                                                                                                                                    
PORTDIR="/usr/portage"                                                                                                                                                                                                                       
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/pro-audio /usr/local/portage/layman/lisp /usr/local/portage/layman/science /usr/local/portage/layman/x11 /usr/local/portage"                                    
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"                                                                                                                                                                                        
USE="X a52 aac accessibility acl acpi akode alsa amd64 ao apache2 arts artswrappersuid audiofile avahi bash-completion berkdb bluetooth bonjour branding bzip2 cairo caps cdr chroot cli consolekit cracklib crypt cups curl cxx dbus deprecated dhcp dia diskio doc dri drm dts dv dvb dvd dvdr dvdread emacs emboss encode examples exif fam fastcgi ffmpeg firefox flac fortran gcj gd gdbm gif gimp git gnome gnome-print gnutls gpg gpm graphviz gs gstreamer gtk haskell htmlhandbook iconv imagemagick inkjar ipv6 jabber jack java jce jpeg kde kipi kqemu lame lash lcms ldap libedit libnotify libsamplerate lm_sensors lzo mad midi mikmod mmx mng modules mp2 mp3 mp4 mpeg mudflap multilib multiuser nagios-dns nagios-game nagios-ntp nagios-ssh nas ncurses nls nptl nptlonly nsplugin nvidia nxclient odbc offensive ogg opengl openmp oss pam pango pcmcia pcre pcsc-lite pdf perl pg-intdatetime php plotutils png pnm policykit portaudio postgres postscript ppds pppd pulseaudio python qt3support qt4 quicktime quotas rar rdesktop readline realmedia reflection regex samba schroedinger sdl session snmp spell spl sql sse sse2 ssl ssse3 startup-notification subversion svg swat symlink sysfs syslog tcpd theora threads tiff tk truetype unicode ups usb vim-with-x vnc vorbis wmf wmp wxwindows x264 xattr xcb xine xinerama xml xorg xprint xrender xulrunner xv xvid xvmc zlib zrtp" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="picolcd" LINGUAS="en" NETBEANS_MODULES="cnd dlight enterprise ergonomics groovy identity profiler ruby php mobility apisupport harness ide java nb websvccommon webcommon" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="vesa nouveau"                                            
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS                                                                                             
Comment 4 Svenne Krap 2010-04-27 09:12:39 UTC
Created attachment 229367 [details]
build.log
Comment 5 Svenne Krap 2010-04-27 12:22:41 UTC
Updating gcc fixed the problem.