Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273007 - dev-python/qscintilla-python-2.3.2-r1: error: invalid conversion from ‘const char*’ to ‘char*’
Summary: dev-python/qscintilla-python-2.3.2-r1: error: invalid conversion from ‘const ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
Keywords: InOverlay
Depends on:
Blocks: glibc-2.10
  Show dependency tree
Reported: 2009-06-07 09:50 UTC by Dennis Schridde
Modified: 2009-06-18 15:27 UTC (History)
2 users (show)

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

build.log (build.log,6.73 KB, text/plain)
2009-06-07 09:50 UTC, Dennis Schridde
fixes compilation (qscintilla-gcc44.patch,511 bytes, patch)
2009-06-18 15:00 UTC, Evan Teran
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2009-06-07 09:50:14 UTC
dev-python/qscintilla-python-2.3.2-r1 fails to build with following error:
sip/qsciscintillabase4.sip: In function ‘const sipTypeDef* sipSubClass_QsciScintillaBase(void**)’:                                                                                                                  
sip/qsciscintillabase4.sip:958: error: invalid conversion from ‘const char*’ to ‘char*’                                                                                                                             

Buildlog attached.

Reproducible: Always

Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64)             
System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.1           
Timestamp of tree: Sun, 07 Jun 2009 09:15:01 +0000                                                                     
app-shells/bash:     4.0_p24                                                                                           
dev-java/java-config: 2.1.8                                                                                            
dev-lang/python:     2.6.2-r1                                                                                          
dev-python/pycrypto: 2.0.1-r8                                                                                          
dev-util/cmake:      2.6.4                                                                                             
sys-apps/baselayout: 2.0.1                                                                                             
sys-apps/openrc:     0.4.3-r2                                                                                          
sys-apps/sandbox:    2.0                                                                                               
sys-devel/autoconf:  2.13, 2.63-r1                                                                                     
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11                                                             
sys-devel/binutils:  2.19.1-r1                                                                                         
sys-devel/gcc-config: 1.4.1                                                                                            
sys-devel/libtool:   2.2.6a                                                                                            
virtual/os-headers:  2.6.29                                                                                            
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                         
CFLAGS="-pipe -O2 -march=athlon64-sse3 -fstack-protector -ftree-vectorize"                                             
CONFIG_PROTECT="/etc /usr/inferno/keydb /usr/inferno/lib /usr/inferno/services /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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-pipe -O2 -march=athlon64-sse3 -fstack-protector -ftree-vectorize"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox usersync"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/cache/portage/layman/pcsx2 /var/cache/portage/layman/x11 /var/cache/portage/layman/kde-testing /var/cache/portage/layman/oss-overlay /var/cache/portage/layman/dev-zero /var/cache/portage/layman/sunrise /var/cache/portage/layman/java-overlay /var/cache/portage/layman/perl-experimental /var/cache/portage/layman/qting-edge /var/cache/portage/local"
USE="3dnow X a52 aac acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cjk cli cracklib crypt cups dbus dri dvb dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gimp gpm gtk hal iconv ipv6 isdnlog jpeg jpeg2k kde kdehiddenvisibility latex ldap libnotify mad midi mikmod mmx mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly ogg openal openexr opengl openmp oss pam pch pcre pdf perl php png ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sasl sdl session speex spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd theora threads tiff truetype unicode usb vorbis xinerama xml xorg xulrunner xv xvid zlib" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia"
Comment 1 Dennis Schridde 2009-06-07 09:50:27 UTC
Created attachment 193778 [details]
Comment 2 Viktor S 2009-06-08 08:48:37 UTC
This is a glibc-related bug, add it to the tracker (bug #270353). To solve it you either need to patch the program or downgrade glibc to 2.9.
Comment 3 Dennis Schridde 2009-06-09 07:46:58 UTC
Fixed in version dev-python/qscintilla-python-2.4 from qting-edge overlay.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2009-06-13 21:27:32 UTC
Since 2.4 works fine I will close it as WONTFIX unless a working patch is provided

Comment 5 Evan Teran 2009-06-18 15:00:46 UTC
Created attachment 195086 [details, diff]
fixes compilation
Comment 6 Evan Teran 2009-06-18 15:01:26 UTC
I would disagree that this is a glibc/gcc issue. It made use of the deprecated
conversion from a string constant to char *. The patch is very simple, so I've
made one. I hope you'll fix this since it won't compile on gcc 4.4 without it.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2009-06-18 15:09:34 UTC
Re-opening cause we need to fix this before we mark 2.3.2-rX stable
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2009-06-18 15:27:40 UTC
-r2 added on cvs. Thanks for the patch