Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

GCC 4.1[beta]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Locked
Advanced search
834 posts
  • Page 4 of 34
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 34
  • Next
Author
Message
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

Post by Halcy0n » Thu Nov 17, 2005 9:37 pm

Tyler_Durden wrote:I had this problem too. It's a bug, grab the patch here & use the latest binutils:
http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00857.html
If they don't have this patch committed by the next snapshot, I'll probably throw it into the ebuild so people can test on amd64.
Mark Loeser
http://www.halcy0n.com
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

Post by Tiger683 » Thu Nov 17, 2005 11:01 pm

halcy0n: is there a purpose in submitting patches for glibc-2.3.90?
Retired gentoo user
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

Post by Gentree » Fri Nov 18, 2005 8:07 am

Hi,

I'm about 200/453 though emerge -e world with beta but I am getting several packages failing to see gtk+

I previously had two slotted versions and thought it may be a source of confusion and the cause of these failures so I unmerged and re-emerged just the later one.

This went fine on gcc beta but did not affect the errors but did show an error:

emerge gtk+-2.6.10-r1

OK, but ...

Code: Select all


>>> /usr/lib/libgtk-x11-2.0.so -> libgtk-x11-2.0.so.0.600.10
>>> /usr/lib/libgdk_pixbuf_xlib-2.0.so -> libgdk_pixbuf_xlib-2.0.so.0.600.10
g_module_open() failed for /usr/lib/gtk-2.0/2.4.0/loaders/svg_loader.so: \
libgsf-1.so.1: cannot open shared object file: No such file or directory

>>> Regenerating /etc/ld.so.cache...
>>> x11-libs/gtk+-2.6.10-r1 merged.
>>> Recording x11-libs/gtk+ in "world" favorites file...

>>> clean: No packages selected for removal.
#later libdv dropsout :

Code: Select all

checking for pkg-config... /usr/bin/pkg-config
checking for glib >= 1.2.4 gtk+ >= 1.2.4... sh: gtk-config: command not found
sh: gtk-config: command not found
sh: gtk-config: command not found
sh: gtk-config: command not found
sh: gtk-config: command not found
sh: gtk-config: command not found
Requested 'gtk+ >= 1.2.4' but version of GTK+ is
configure: error: Library requirements (glib >= 1.2.4 gtk+ >= 1.2.4) not met; c$
ever since poking binutils before starting the system rebuild I have had several progs like Opera giving missing library errors,

Code: Select all

#opera
[1] 20261
bash-3.00#ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
I was hoping a thorough rebuild would clear this up but that seems not.

Anyone recognise the problem?

TIA. 8)
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

Post by Tiger683 » Fri Nov 18, 2005 8:29 am

For the packages failing to see gtk (or any other library, as well as throwing linker errors)
remove -Wl,--as-needed from your LDFLAGS.
when the package is merged, you can stop the build with ctrl+c set the flag again and
do
emerge --resume
EDIT:
for the slotting error, try emerge gtk-config.
EDIT2: oh, sorry, gtk-config seems a part of gtk+-1.2.10

PS: this is not gcc error
Retired gentoo user
Top
mayday147
l33t
l33t
User avatar
Posts: 825
Joined: Mon Mar 22, 2004 1:13 am
Location: Bucharest, Romania

Post by mayday147 » Fri Nov 18, 2005 5:46 pm

I have a problem during emerge -e world with x11-libs/cairo :

Code: Select all

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -O2 -march=athlon-xp -fomit-frame-pointer -pipe -MT pixregion.lo -MD -MP -MF .deps/pixregion.Tpo -c pixregion.c -o pixregion.o >/dev/null 2>&1
{standard input}: Assembler messages:
{standard input}:5702: Error: symbol `_cairo_pixman_composite' is already defined
make[3]: *** [fbpict.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/pixman'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2'
make: *** [all] Error 2

!!! ERROR: x11-libs/cairo-1.0.2 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! Compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

Code: Select all

Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-4.1.0-beta20051112, glibc-2.3.6-r1, 2.6.14-nitro2-CHARLIE i686)
=================================================================
System uname: 2.6.14-nitro2-CHARLIE i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.12.0_pre10
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1, 2.16.91.0.4
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="" 
ALSA_CARDS="cmipci"
ARCH="x86"        
AUTOCLEAN="yes"   
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="i686-pc-linux-gnu"
CCACHE_DIR="/root/.ccache"
CCACHE_SIZE="2G"  
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."     
CLEAN_DELAY="5"   
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/
share/config /usr/lib/X11/xkb /usr/lib/fax /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CVS_RSH="ssh"     
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -ffriend-injection"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"     
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5           ${URI}   -P    ${DISTDIR}"
GCC_SPECS=""      
GDK_USE_XFT="1"   
GENTOO_MIRRORS="http://ftp.roedu.net/mirrors/gentoo.org/ ftp://mirrors.napocastar.ro"
G_BROKEN_FILENAMES="1"
HOME="/root"      
HOSTNAME="charlie"
HUSHLOGIN="FALSE" 
HZ="100"          
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.91.0.4/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051112/info"
I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS="1"
JAVAC="/opt/blackdown-jdk-1.4.2.02/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.2.02"
JDK_HOME="/opt/blackdown-jdk-1.4.2.02"
KDEDIRS="/usr"    
KERNEL="linux"    
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_US.UTF8" 
LC_ADDRESS="ro_RO.UTF-8"
LC_COLLATE="ro_RO.UTF-8"
LC_IDENTIFICATION="ro_RO.UTF-8"
LC_MEASUREMENT="ro_RO.UTF-8"
LC_MONETARY="ro_RO.UTF-8"
LC_NAME="ro_RO.UTF-8"
LC_NUMERIC="ro_RO.UTF-8"
LC_PAPER="ro_RO.UTF-8"
LC_TELEPHONE="ro_RO.UTF-8"
LC_TIME="ro_RO.UTF-8"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIRC_OPTS="--with-driver=serial"
LOGNAME="root"    
MAIL="/var/spool/mail/root"
MAKEOPTS="-j2"    
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.91.0.4/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0-beta20051112/man::/opt/blackdown-jdk-1.4.2.02/man:/usr/qt/3/doc/man"
OLDPWD="/root"    
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.0-beta20051112:/usr/i386-pc-linux-gnu/gcc-bin/3.3:/opt/blackdown-jdk-1.4.2.02/bin:/opt/blackdown-jdk-1.4.2.02/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos s390 sh sparc x86 x86-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250" 
PORTAGE_MASTER_PID="20385"
PORTAGE_NICENESS="0"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PRELINK_PATH=""   
PRELINK_PATH_MASK="/lib/modules:/usr/lib/locale:/usr/lib/wine:/usr/lib/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js:/usr/lib/klibc"
PWD="/etc/scripts"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3" 
RESUMECOMMAND="/usr/bin/wget -c -t 5       ${URI}   -P    ${DISTDIR}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3" 
RSYNC_TIMEOUT="180"
SHELL="/bin/bash" 
SHLVL="2"         
STY="8264.tty1.charlie"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
TERM="screen.linux"
TERMCAP="SC|screen.linux|VT 100/ANSI X3.64 virtual terminal:\
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\
        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\
        :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\
        :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\
        :li#40:co#122:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\
        :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\
        :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\
        :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\
        :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\
        :se=\E[23m:mb=\E[5m:md=\E[1m:mh=\E[2m:mr=\E[7m:\
        :me=\E[m:ms:\
        :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\
        :vb=\Eg:as=\E(0:ae=\E(B:\
        :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\
        :k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\
        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\
        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\
        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:kb=:\
        :K2=\E[G:kB=\E[Z:kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:\
        :kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:\
        :kr=\EOC:kl=\EOD:"
USE="3dnow 3dnowex X alsa apache2 apm audiofile avi bitmap-fonts bzip2 bzlib cdr crypt cups curl dedicated divx4linux dts dvd emboss encode esd ethereal exif expat fam fbdev ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk gtk2 hal idn imagemagick imlib java jpeg lcms libg++ libwww lirc live mad mhash mikmod mmx mmx2 mng motif mp3 mpeg mpeg4 mplayer mppe-mppc mysql nas ncurses network nls nptl nptlonly nvidia ogg oggvorbis opengl oss pcre pdflib perl php pic png python quicktime readline recode rtc sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis x86 xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
USER="root"       
USERLAND="GNU"    
USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC"
WINDOW="0"        
XARGS="xargs -r"  
XINITRC="/etc/X11/xinit/xinitrc"
_="/usr/bin/emerge"
BTW: Why is my emerge --info way bigger than anyone elses's? Are'n they posting the whole info?
gentoo.ro
Top
seren
Guru
Guru
User avatar
Posts: 448
Joined: Sat Aug 27, 2005 8:37 am
Location: Wisconsin

Post by seren » Fri Nov 18, 2005 5:51 pm

this is why

Code: Select all

[TERMCAP="SC|screen.linux|VT 100/ANSI X3.64 virtual terminal:\ 
        :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ 
        :cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ 
        :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ 
        :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ 
        :li#40:co#122:am:xn:xv:LP:sr=\EM:al=\E[L:AL=\E[%dL:\ 
        :cs=\E[%i%d;%dr:dl=\E[M:DL=\E[%dM:dc=\E[P:DC=\E[%dP:\ 
        :im=\E[4h:ei=\E[4l:mi:IC=\E[%d@:ks=\E[?1h\E=:\ 
        :ke=\E[?1l\E>:vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ 
        :ti=\E[?1049h:te=\E[?1049l:us=\E[4m:ue=\E[24m:so=\E[3m:\ 
        :se=\E[23m:mb=\E[5m:md=\E[1m:mh=\E[2m:mr=\E[7m:\ 
        :me=\E[m:ms:\ 
        :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ 
        :vb=\Eg:as=\E(0:ae=\E(B:\ 
        :ac=\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\ 
        :k0=\E[10~:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:\ 
        :k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:\ 
        :F1=\E[23~:F2=\E[24~:F3=\E[25~:F4=\E[26~:F5=\E[28~:\ 
        :F6=\E[29~:F7=\E[31~:F8=\E[32~:F9=\E[33~:FA=\E[34~:kb=:\ 
        :K2=\E[G:kB=\E[Z:kh=\E[1~:@1=\E[1~:kH=\E[4~:@7=\E[4~:\ 
        :kN=\E[6~:kP=\E[5~:kI=\E[2~:kD=\E[3~:ku=\EOA:kd=\EOB:\ 
        :kr=\EOC:kl=\EOD:"
what is this anyways?
Top
mayday147
l33t
l33t
User avatar
Posts: 825
Joined: Mon Mar 22, 2004 1:13 am
Location: Bucharest, Romania

Post by mayday147 » Fri Nov 18, 2005 5:56 pm

I believe that's because I was posting under screen terminal.
gentoo.ro
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

Post by Gentree » Fri Nov 18, 2005 6:15 pm

thanks for the help once more.

I have turned that flag off completely for the while, I want at least to get through rebuilding everything and I cant sit by the machine to two days flipping it on and off.

another error that seems to be coming up rather a lot is like this in wxGTK-2.4.2.tar.bz2

Code: Select all

../include/wx/datetime.h:1300: warning: 'class wxDateTimeHolidayAuthority' has virtual functions but non-virtual destructor
../include/wx/datetime.h:1342: warning: 'class wxDateTimeWorkDays' has virtual functions but non-virtual destructor
i686-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make: *** [grid.o] Error 1
make: *** Waiting for unfinished jobs....
bash-3.00#



It seems repeatable on the pkgs it affects but not always on the same place: rerunning the above gave this second time around.

Code: Select all

i686-pc-linux-gnu-g++ -c   -I./lib/wx/include/gtk2-2.4 -I../include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES    -D__WXGTK__ -DGTK_NO_CHECK_CASTS -O2 -MMD -march=athlon-xp -O2 -pipe -mtune=athlon-xp -fomit-frame-pointer -falign-functions=64 -D_FILE_OFFSET_BITS=64 -ffriend-injection -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -Wall -fPIC -o helpext.o ../src/generic/helpext.cpp
i686-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make: *** [grid.o] Error 1
make: *** Waiting for unfinished jobs....
bash-3.00#
TIA 8)

PS ... and a bit further p7zip

Code: Select all

../../Archive/7z/../../Crypto/7zAES/7zAES.h:48: warning: comparison between signed and unsigned integer expressions
../../Archive/7z/../../Crypto/7zAES/7zAES.h: At global scope:
../../Archive/7z/../../Crypto/7zAES/7zAES.h:80: warning: 'class NCrypto::NSevenZ::CBaseCoder' has virtual functions but non-virtual destructor
../../Archive/7z/../../Crypto/7zAES/7zAES.h:101: warning: 'class NCrypto::NSevenZ::CEncoder' has virtual functions but non-virtual destructor
../../Archive/7z/../../Crypto/7zAES/7zAES.h:113: warning: 'class NCrypto::NSevenZ::CDecoder' has virtual functions but non-virtual destructor
make[1]: *** [7zExtract.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [7zDecode.o] Error 1
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

Post by Tiger683 » Fri Nov 18, 2005 6:43 pm

Confirmed, BUG.
Retired gentoo user
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

Post by Gentree » Fri Nov 18, 2005 7:13 pm

Cool, do I win a goldfish? :lol:

two more . I think the apache one may not be gcc, it rings a very distant bell, but I'll let you decide if its relevant.

Code: Select all

httpd-2.0.54/config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -march=athlon-xp -O2 -pipe -mtune=athlon-xp  -fomit-frame-pointer -falign-functions=64  -D_FILE_OFFSET_BITS=64
configure:   current value: -march=athlon-xp -O2 -pipe -mtune=athlon-xp -fomit-frame-pointer -falign-functions=64 -D_FILE_OFFSET_BITS=64
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm /usr/portage/new/../tmp/portage/apache-2.0.54-r31/work/httpd-2.0.54/config.cache' and start over
configure failed for srclib/pcre

!!! ERROR: net-www/apache-2.0.54-r31 failed.
!!! Function src_compile, Line 161, Exitcode 1
!!! bad ./configure please submit bug report to bugs.gentoo.org. Include your config.layout and config.log
!!! If you need support, post the topmost build error, NOT this status message.
resume

Code: Select all

dpkg
i686-pc-linux-gnu-gcc  -march=athlon-xp -O2 -pipe -mtune=athlon-xp  -fomit-frame-pointer -falign-functions=64  -D_FILE_OFFSET_BITS=64  -Wall  -Wwrite-strings -W$
In file included from dump.c:37:
../include/parsedump.h:33: error: array type has incomplete element type
dump.c: In function 'w_charfield':
dump.c:95: warning: cast discards qualifiers from pointer target type
dump.c: In function 'w_booleandefno':
Only 305 pkgs to go :(
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
mayday147
l33t
l33t
User avatar
Posts: 825
Joined: Mon Mar 22, 2004 1:13 am
Location: Bucharest, Romania

Post by mayday147 » Fri Nov 18, 2005 7:17 pm

Is it possible to tell portage to compile x11-libs/cairo with gcc-3.4 for example, and then continue with emerge -e world, using gcc-4.1?
gentoo.ro
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

Post by Tiger683 » Fri Nov 18, 2005 7:54 pm

not without scripting it....

something like

Code: Select all

emerge foo bar ofo rba oof rab && gcc-config 1 && env-update && source /etc/profile && emerge foobaraboof && gcc-config 6 && env-update && source /etc/profile && emerge bla alb lba bal
Retired gentoo user
Top
Halcy0n
Developer
Developer
User avatar
Posts: 1682
Joined: Wed Sep 17, 2003 5:09 am
Location: Freehold, NJ
Contact:
Contact Halcy0n
Website

Post by Halcy0n » Fri Nov 18, 2005 8:31 pm

Tiger683 wrote:halcy0n: is there a purpose in submitting patches for glibc-2.3.90?
I personally don't touch any of the glibc stuff. It'd be better to ask az about that probably.
Mark Loeser
http://www.halcy0n.com
Top
mayday147
l33t
l33t
User avatar
Posts: 825
Joined: Mon Mar 22, 2004 1:13 am
Location: Bucharest, Romania

Post by mayday147 » Sat Nov 19, 2005 1:46 am

Tiger683 wrote:not without scripting it....

something like

Code: Select all

emerge foo bar ofo rba oof rab && gcc-config 1 && env-update && source /etc/profile && emerge foobaraboof && gcc-config 6 && env-update && source /etc/profile && emerge bla alb lba bal
I guess I won't emerge -e world anymore, as there would be about 500 ebuilds I'd have to write down in that script. Though, do I really have to remerge world, after gcc update? Isn't emerging system enough?
gentoo.ro
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

Post by Tiger683 » Sat Nov 19, 2005 1:49 am

it depends if you want consisten system...
failing to do so can result in udefined behaviour, segfaults,
linker errors while building packages built with the old toolchain....

T
Retired gentoo user
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

Post by Gentree » Sat Nov 19, 2005 9:00 am

Hmm, starting to think I was a bit premature in going for 4.1, I got the impression it was a bit more workable from the thread.

qt just failed and now kde

Code: Select all

config.status: creating java/javax/security/Makefile
config.status: creating java/javax/security/auth/Makefile
config.status: creating java/javax/security/auth/callback/Makefile
config.status: creating pwcheck/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
what versions are know to compile? (not really too bothered 'cos I dont use kde beyond the odd time is need k3b, but this thread is about testing so let's test.)

So far I seems to be having a lot more failures that others seem to be reporting.

:cry:
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

Post by Gentree » Sat Nov 19, 2005 9:08 am

I just removed as-needed and unmasked ~x86 kde but now resume refuses to resume:

Code: Select all

configure: running /bin/sh './configure' --prefix=/usr  '--prefix=/usr' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--build=i686-pc-linux-gnu' '--with-saslauthd=/var/lib/sasl2' '--with-pwcheck=/var/lib/sasl2' '--with-configdir=/etc/sasl2' '--with-plugindir=/usr/lib/sasl2' '--with-dbpath=/etc/sasl2/sasldb2' '--enable-login' '--enable-ntlm' '--disable-krb4' '--disable-otp' '--disable-static' '--with-openssl' '--with-pam' '--without-ldap' '--disable-gssapi' '--with-mysql' '--enable-mysql' '--without-pgsql' '--disable-postgres' '--disable-java' '--without-javahome' '--without-authdaemond' '--enable-sql' '--with-dblib=gdbm' 'CFLAGS=-march=athlon-xp -O2 -pipe -mtune=athlon-xp -fomit-frame-pointer -falign-functions=64 -D_FILE_OFFSET_BITS=64' 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -s' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' --cache-file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
configure: error: `CFLAGS' has changed since the previous run:
configure:   former value:  -march=athlon-xp -O2 -pipe -mtune=athlon-xp  -fomit-frame-pointer -falign-functions=64  -D_FILE_OFFSET_BITS=64
configure:   current value: -march=athlon-xp -O2 -pipe -mtune=athlon-xp -fomit-frame-pointer -falign-functions=64 -D_FILE_OFFSET_BITS=64
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm .././config.cache' and start over
configure: error: /bin/sh './configure' failed for saslauthd
bash-3.00#
well cflags has not changed. Looks like I'll have to skip on kde as well.
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

Post by Gentree » Sat Nov 19, 2005 9:17 am

now getting this on Konqueror. Basically the same msg that failed on qt, definately looks like a gcc issue.

Code: Select all

/usr/qt/3/include/private/qucom_p.h:423: warning: 'struct QUType_charstar' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucom_p.h:444: warning: 'struct QUType_QString' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucomextra_p.h:65: warning: 'struct QUType_QVariant' has virtual functions but non-virtual destructor
/usr/qt/3/include/private/qucomextra_p.h:87: warning: 'struct QUType_varptr' has virtual functions but non-virtual destructor
pls advise.
8)
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

Post by Tiger683 » Sat Nov 19, 2005 10:44 am

Gentree:

Do _not_ use emerge --resume with FEATURES="keepwork" if you changed
compiler or linker options, even if the buildsystem weren't smart enough to prevent it,
it would b0rk your system......... :!:

T
Retired gentoo user
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

Post by Gentree » Sat Nov 19, 2005 10:55 am

Thanks for the warning.

I am using emerge --resume -skipfirst to get around pkgs that wont compile.

I do not have keepwork , either in make.conf or explicitly, the only change I made was to add/remove --as-needed (as you indicated above) and in the case of kde I unmasked ~x86.

Are you seeing something that seems to contradict that.

Thanks for sharing your wisdom. :wink:
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

Post by Tiger683 » Sat Nov 19, 2005 11:34 am

well, instead of getting all over this one, i'm waiting for the next snapshot ;)
in the meantime, new glibc HEAD checkout must satisfy me :P
Retired gentoo user
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

Post by Gentree » Sat Nov 19, 2005 2:30 pm

For the (largish) handful of pkgs that are refusing to compile would the best choice be to switch back to 3.4.x and emerge to relink them to the new libraries?

Thx 8)
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

Post by Tiger683 » Sat Nov 19, 2005 4:17 pm

either this or 4.0.2 ...
Retired gentoo user
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

Post by Gentree » Sat Nov 19, 2005 7:27 pm

OK, thanks.


k3b and another k* package says no manifest, which is manifest bullshit :roll:

Code: Select all

Calculating dependencies ...done!
[ebuild   R   ] app-cdr/k3b-0.12.1  
bash-3.00#em !$
em k3b
Calculating dependencies ...done!
>>> emerge (1 of 1) app-cdr/k3b-0.12.1 to /
!!! No package manifest found: /usr/portage/overlay/app-cdr/k3b/Manifest
just did emerge sync and confirmed same thing,

8)
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Tiger683
Veteran
Veteran
User avatar
Posts: 1347
Joined: Sat Jan 08, 2005 8:34 pm
Location: Heffner's House

Post by Tiger683 » Sat Nov 19, 2005 7:50 pm

[EDITED] Whatever was here, forget what you saw :wink:
Last edited by Tiger683 on Sun Nov 20, 2005 1:58 pm, edited 1 time in total.
Retired gentoo user
Top
Locked

834 posts
  • Page 4 of 34
    • Jump to page:
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • …
  • 34
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic