Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270307 - x11-libs/qscintilla-2.3.2 fails to compile under gcc 4.1.x
Summary: x11-libs/qscintilla-2.3.2 fails to compile under gcc 4.1.x
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 15:32 UTC by Alejandro Stankevicius
Modified: 2009-06-06 14:12 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,1.58 KB, text/plain)
2009-05-18 22:16 UTC, Alejandro Stankevicius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Stankevicius 2009-05-18 15:32:23 UTC
It seems x11-libs/qscintilla-2.3.2 ebuild tries to use "-fno-stack-protector-all", a compiler option that gcc 4.1.x doesn't recognize.

Reproducible: Always

Steps to Reproduce:
1. select gcc 4.1.x with gcc-config
2. emerge x11-libs/qscintilla




$> gcc -fno-stack-protector-all  foobar.c
cc1: error: unrecognized command line option "-fno-stack-protector-all"

Also, just in case, here's my emerge --info:

Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r4 i686)                                                                                     
=================================================================                                
System uname: Linux-2.6.28-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.0    
Timestamp of tree: Mon, 18 May 2009 01:45:02 +0000                                               
app-shells/bash:     4.0_p17-r1                                                                  
dev-java/java-config: 2.1.7                                                                      
dev-lang/python:     2.3.5-r3, 2.4.4-r13, 2.5.4-r2, 2.6.2                                        
dev-util/cmake:      2.6.4                                                                       
sys-apps/baselayout: 2.0.0                                                                       
sys-apps/openrc:     0.4.3-r2                                                                    
sys-apps/sandbox:    1.6-r2                                                                      
sys-devel/autoconf:  2.13, 2.63                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                   
sys-devel/binutils:  2.18-r3                                                                     
sys-devel/gcc-config: 1.4.0-r4                                                                   
sys-devel/libtool:   1.5.26                                                                      
virtual/os-headers:  2.6.27-r2                                                                   
ACCEPT_KEYWORDS="x86"                                                                            
CBUILD="i686-pc-linux-gnu"                                                                       
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"                                          
CHOST="i686-pc-linux-gnu"                                                                        
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /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="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ http://mirror.usu.edu/mirrors/gentoo/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US es es_AR"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X aac acl acpi alsa apache2 asf avi berkdb bitmap-fonts bluetooth branding browserplugin bzip2 cairo cdr cli cracklib crypt cups cupsignoreowner dba dbus dri dvdread emboss encode esdevo fam firefox flac foomaticdb fortran gd gdbm gif gimpprint glitz gpm gstreamer gtk hal iconv icq isdnlog jabber java javascript jpeg kde ldap libnotify lm_sensors loop-aes mad maildir midi mikmod mmx mng mp3 mpeg msn mudflap musepack mysql ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp oscar oss pam pcre pda pdf perl pgp php png ppds pppd python qt3 qt3support qt4 quicktime rar readline reflection samba sdl session slang snmp spell spl sse sse2 ssl startup-notification svg sysfs tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts unicode usb vorbis webkit win32codecs x86 xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US es es_AR" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-05-18 18:28:19 UTC
The complete build.log please.
Comment 2 Alejandro Stankevicius 2009-05-18 22:16:36 UTC
Created attachment 191724 [details]
build.log
Comment 3 Mike Auty (RETIRED) gentoo-dev 2009-05-20 22:11:36 UTC
There's no mention of no-stack-protector-all in any of qscintilla-2.3.2.ebuild, the patches or the qscintilla-2.3.2 source code, so it would appear this is getting fed in from some other location on your system.  Did you ever have -fno-stack-protector-all enabled in the past on your machine?  A good place to look would be to see if that flag is included in any files in /usr/lib/pkgconfig/.  If so, I'd suggest rebuilding those packages, and see if they fail and/or if qscintilla then installs.  Please let us know the results, so we know which package to assign this bug to...
Comment 4 Alejandro Stankevicius 2009-05-22 18:03:21 UTC
(In reply to comment #3)
> There's no mention of no-stack-protector-all in any of qscintilla-2.3.2.ebuild,
> the patches or the qscintilla-2.3.2 source code, so it would appear this is
> getting fed in from some other location on your system.  Did you ever have
> -fno-stack-protector-all enabled in the past on your machine?  A good place to
> look would be to see if that flag is included in any files in
> /usr/lib/pkgconfig/.  If so, I'd suggest rebuilding those packages, and see if
> they fail and/or if qscintilla then installs.

Nope, I never tried that option before. Also, /usr/lib/pkgconfig shows no trace of it either.

> Please let us know the results,
> so we know which package to assign this bug to...

After some google searches I think we may be able to track this bug to some recent changes in flags-o-matic.eclass, particularly those introduced in revision 1.127 (cf. http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/flag-o-matic.eclass?view=log)

Thanks for all the help guys, now I'm convinced this bug is unrelated to x11-libs/qscintilla, so feel free to close it!

BTW, I'm kinda new to reporting bugs, so should I file a new bug report or this one can be reassigned?
Comment 5 Mike Auty (RETIRED) gentoo-dev 2009-05-25 13:09:29 UTC
We can convert this one, if you change the summary and add a comment detailing what you think the problem is and any ideas you might have on how or why it occurs...  5:)
Comment 6 Mike Auty (RETIRED) gentoo-dev 2009-05-25 13:28:31 UTC
You might also be interested to investigate bug 271141, the symptoms don't sound the same, but it appears to be an existing bug in the flag-o-matic eclass that doesn't appear all the time...
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-06 14:12:36 UTC
As pointed out by Mike this is no bug in x11-libs/qscintilla and thus I gonna mark this bug as CANTFIX.

Reopen this bug and converst it as Mike suggested in case you want it have fixed.