Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
swig-1.3.21 failed when updating world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Thu Mar 10, 2005 3:21 pm    Post subject: swig-1.3.21 failed when updating world Reply with quote

Thanks for reading this.

I'm a Gentoo AMD64 user. My profile is 2005.0 and my info is:
Code:
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  9 2005, 15:45:12)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib accessibility acl acpi aim alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bzlib cdparanoia cdr crypt ctype cups curl curlwrappers db2 dba dbase dbm dbx dga dio directfb divx4linux dv dvb dvd dvdr dvdread encode esd ethereal evo exif fam fastcgi fbcon ffmpeg fftw flac flash flatfile font-server foomaticdb fortran freetds ftp gd gdbm geoip gif ginac glut gmp gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hyperwave-api iconv icq imagemagick imap imlib inifile innodb interbase iodbc ipv6 jabber jack java javascript jikes jp2 jpeg junit kde kerberos krb4 ladcca lcms ldap lesstif libcaca libwww lzw lzw-tiff mad maildir mailwrapper matroska mbox mcal mcve memlimit mhash mikmod milter mime mmap mng motif mozilla mp3 mpeg mpi msession msn msql mysql mysqli nas ncurses neXt netcdf nis nls nptl oci8 ogg oggvorbis openal opengl oracle oracle7 oscar oss ovrimos pam pcntl pcre pda pdflib perl php pie plotutils png portaudio posix postgres ppds prelude python qdbm qt quicktime readline recode ruby samba sapdb sasl scanner sdl sharedext simplexml skey slang slp sndfile snmp soap sockets socks5 source sox speex spell spl ssl svg sysfs sysvipc szip tcltk tcpd tetex theora tidy tifftokenizer truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vhosts wddx wifi wmf wxwindows xface xine xml xml2 xmlrpc xmms xpm xprint xrandr xsl xv xvid yahoo yaz zeo zlib linguas_es"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY


Today, I've carried out my daily portage update. Then, I usually update my system this way:
Code:
emerge --update --newuse --deep --ask -vt system
emerge --update --newuse --deep --ask -vt world


This time, however, before proceeding to update my system, I decided to extend my USE flags this way:
Code:
# old USE
#USE="nls spell nptl qt kde dvd dvdr cdr alsa xprint xmms xml xml2 wmf usb unicode truetype tiff tetex tcpd tcltk svg svga sslsamba quicktime python ppds posix png perl pcre pdflib php opengl ncurses mysql mozilla mpeg mmx mime milter mcve mbox maildirjpeg java ipv6 imap imagemagick gif ftp foomaticdb ethereal encode curl cups arts apm acpi Xaw3d X 3dnow"

# new USE
USE="nls spell nptl qt kde dvd dvdr cdr alsa xprint xmms xml xml2 wmf usb unicode truetype tiff tetex tcpd tcltk svg svga ssl samba quicktime python ppds posix png perl pcre pdflib php opengl ncurses mysql mozilla mpeg mmx mime milter mcve mbox maildir jpeg java ipv6 imap imagemagick gif ftp foomaticdb ethereal encode curl cups arts apm acpi Xaw3d X 3dnow
a52 aac aalib accessibility acl adabas afs aim apache2 audiofile avi bash-completion bcmath berkdb bidi bzlib cdparanoia cpdflib crypt ctype curlwrappers db2 dba dbase dbm dbmaker dbx dga dio directfb divx4linux dv dvb dvdread emboss empress empress-bcs esd esoob evo exif famfortran fastcgi fbcon fdftk ffmpeg fftw filepro firebird flac flash flatfile freetds frontbase gd gdbm geoip ginac glut gmp gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hyperwave-api iconv icq imlib informix ingres inifile innodb interbase iodbc jabber jack javascript jikes kerberos krb4 ladcca lcms ldap lesstif libcaca libwww mad mailwrapper matroska mcal memlimit mhash mikmod mmap mng mono motif mp3 mpi msession msn msql mysqli nas netcdf neXt nis oci8 ogg oggvorbis openal oracle7 oracle oscar oss ovrimos pcntl pda pfpro pie plotutils portaudio postgres prelude qdbm readline recode ruby sapdb sasl scanner sdl sharedext simplexml skey slp slang sndfile snmp soap sockets socks5 solid source sox speex spl sybase sybase-ct sysfs sysvipc szip theora tidy tokenizer v4l vcd vhosts wddx wifi wxwindows xface xine xmlrpc xpm xsl xv xvid yahoo yaz zeo zlib"


(The new USE is *not* split into two lines in the real /etc/make.conf. I've done so here for reading purposes).
As you can see, I added quite a few new USE flags.

The thing is that "emerge --update --newuse --deep --ask -vt system" proceeded without errors, updating, among others, Xorg from 6.8.0 to 6.8.2-r1.

But, when running "emerge --update --newuse --deep --ask -vt world":
Code:
These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
[ebuild   R   ] app-cdr/k3b-0.11.18  +arts -debug +dvdr +encode +flac* +kde -kdeenablefinal +mad +oggvorbis* -xinerama 0 kB
[ebuild   R   ]  media-sound/normalize-0.7.6-r2  +audiofile* +mad +nls +xmms 0 kB
[ebuild   R   ]  media-libs/libsamplerate-0.1.1-r1  +sndfile* -static 0 kB
[ebuild   R   ]   sci-libs/fftw-3.0.1-r1  (-3dnow) (-altivec) -debug +mpi* (-sse) 0 kB
[ebuild   R   ]  media-sound/sox-12.17.5-r1  -debug +encode +mad +oggvorbis* 0 kB
[ebuild   R   ] app-admin/sudo-1.6.7_p5-r2  +pam +skey* 0 kB
[ebuild   R   ] media-video/avifile-0.7.41.20041001-r1  (-3dnow) +X +alsa +avi* -debug +divx4linux* +dvd +esd (-mmx) +oggvorbis* +qt +sdl* (-sse) -static +truetype +xv +zlib 0 kB
[ebuild   R   ]  media-video/ffmpeg-0.4.8.20040322  +aac* (-altivec) -debug -doc +dvd +encode +imlib (-mmx) +oggvorbis* +sdl* -static +truetype 0 kB
[ebuild  N    ]   media-libs/faad2-2.0-r3  -debug +xmms 748 kB
[ebuild   R   ] net-www/mozilla-firefox-1.0.1  -debug -gnome +java +ldap* -mozdevelop -moznoxft -mozsvg -mozxmlterm -xinerama +xprint 0 kB
[ebuild   R   ] mail-client/mozilla-thunderbird-1.0  +crypt -debug -gnome +java +ldap* -moznoxft -xinerama +xprint 0 kB
[ebuild   R   ] net-ftp/lftp-3.0.9  +nls +socks5* +ssl 0 kB
[ebuild   R   ] x11-misc/rss-glx-0.7.6  (-3dnow) +arts -debug +kde -kdeenablefinal +openal* (-sse) -xinerama 0 kB
[ebuild  N    ]  media-libs/openal-20040817  +alsa +arts -debug +esd +mpeg +oggvorbis +sdl 7,944 kB
[ebuild  N    ]   media-libs/smpeg-0.4.4-r4  +X -debug +gtk +opengl 307 kB
[nomerge      ] kde-base/kde-3.3.2
[ebuild   R   ]  kde-base/kdenetwork-3.3.2  +arts -debug -kdeenablefinal +samba +slp* +ssl +wifi* -xinerama 0 kB
[ebuild  N    ]   net-wireless/wireless-tools-26-r1  116 kB
[ebuild   R   ]  kde-base/kdeaddons-3.3.2  +arts -debug +esd -kdeenablefinal +sdl* (-svga) -xinerama +xmms 0 kB
[ebuild   R   ]   kde-base/kdemultimedia-3.3.2  +alsa +arts +audiofile* +cdparanoia* -debug +encode +flac* -kdeenablefinal +oggvorbis* +speex* +xine* -xinerama 0 kB
[ebuild   R   ]    media-libs/tunepimp-0.3.0  +flac* +mad +oggvorbis* +perl +python +readline 0 kB
[ebuild  N    ]    media-sound/vorbis-tools-1.0.1  -debug +flac +nls +speex 700 kB
[ebuild  N    ]     media-libs/libao-0.8.5  +alsa +arts +esd +mmap +nas -static 261 kB
[ebuild  N    ]    media-libs/xine-lib-1_rc8-r1  +X +aalib +alsa (-altivec) +arts +avi -debug +directfb +dvd +esd -gnome +ipv6+nls +oggvorbis -pic +sdl +speex +theora 7,181 kB
[ebuild  N    ]     media-libs/libtheora-1.0_alpha3  -debug 851 kB
[ebuild  N    ]     media-libs/libfame-0.9.0  -debug (-mmx) (-sse) 0 kB
[ebuild  N    ]     media-libs/speex-1.0.3  +oggvorbis (-sse) 388 kB
[ebuild  N    ]     media-libs/libdvdcss-1.2.8  -doc -static 204 kB
[ebuild  N    ] media-plugins/xmms-jack-0.10  569 kB
[ebuild  N    ] media-plugins/xmms-sndfile-1.2  221 kB
[ebuild  N    ] media-libs/flac-1.1.0-r2  -debug (-sse) +xmms 1,173 kB
[ebuild  N    ] media-plugins/xmms-vorbis-1.2.10-r1  +ipv6 +ssl 0 kB
[ebuild  N    ] media-plugins/xmms-mikmod-1.2.10  0 kB
[ebuild  N    ]  media-libs/libmikmod-3.1.11-r1  +alsa -debug +esd +oss 597 kB
[nomerge      ] media-plugins/xmms-arts-0.7.1-r1
[ebuild   R   ]   media-sound/xmms-1.2.10-r13  (-3dnow) +alsa +arts -debug +directfb* +esd +flac* +jack* -lirc +mad +mikmod* (-mmx) +mp3 +nls +oggvorbis* +oss +sndfile* 0 kB
[ebuild  N    ]   media-libs/libsdl-1.2.7-r3  +X +aalib +alsa +arts -debug +dga +directfb +esd +fbcon -ggi +libcaca +nas -noaudio -nojoystick -novideo +opengl +oss (-svga) -xinerama +xv 2,413 kB
[ebuild  N    ]    dev-libs/DirectFB-0.9.21  -debug +fbcon -fusion +gif +jpeg (-mmx) +mpeg +png +sdl (-sse) -static +truetype 1,695 kB
[ebuild  N    ]     media-libs/libmpeg3-1.5.2  -debug 0 kB
[ebuild  N    ]    media-libs/libcaca-0.9-r1  +X -doc +imlib +ncurses +slang 210 kB
[ebuild   R   ]  kde-base/kdepim-3.3.2  +arts -cjk +crypt -debug -gnokii -kdeenablefinal +pda* -xinerama 0 kB
[ebuild  N    ]   dev-libs/libmal-0.31  315 kB
[ebuild   R   ]  kde-base/kdegraphics-3.3.2-r2  +arts -debug +gphoto2* +imlib -jpeg2k -kdeenablefinal +opengl -povray +scanner* +tetex -xinerama 0 kB
[ebuild  N    ]   media-gfx/sane-backends-1.0.14-r6  +gphoto2 +ipv6 +usb 3,163 kB
[ebuild  N    ]    media-gfx/gphoto2-2.1.4  +aalib -debug +jpeg +ncurses +nls +readline 342 kB
[ebuild  N    ]     media-libs/libgphoto2-2.1.4  -doc +jpeg +nls 1,776 kB
[ebuild  N    ]     dev-libs/libusb-0.1.8  -debug -doc 313 kB
[ebuild  N    ]     dev-libs/cdk-4.9.10.20020809  340 kB
[ebuild  N    ]     media-libs/aalib-1.4_rc4-r2  +X +gpm +slang -static 381 kB
[ebuild   R   ] mail-client/evolution-2.0.2-r1  +crypt -debug -doc +ipv6 +kerberos* +ldap* +mozilla -nntp +pda* +spell +ssl 0 kB
[ebuild   R   ]  net-www/mozilla-1.7.5  +crypt -debug -gnome +java +ldap* -mozdevelop -moznomail -moznoxft -mozsvg -mozxmlterm+ssl -xinerama +xprint 0 kB
[ebuild  N    ] dev-tcltk/iwidgets-4.0.1  1,049 kB
[ebuild  N    ]  app-pda/gnome-pilot-conduits-2.0.10-r1  -debug 381 kB
[ebuild  N    ]   app-pda/gnome-pilot-2.0.10-r1  -debug 693 kB
[ebuild  N    ]    app-pda/pilot-link-0.11.8  +java +perl +png +python +readline +tcltk 633 kB
[ebuild  N    ]     dev-tcltk/itcl-3.2.1-r1  0 kB
[ebuild  N    ]    gnome-base/gnome-panel-2.8.2  -debug -doc -eds 3,006 kB
[ebuild  N    ]     x11-libs/libwnck-2.8.1  -debug -doc 386 kB
[ebuild  N    ]     gnome-base/gnome-desktop-2.8.1  -debug 1,106 kB
[ebuild  N    ]      x11-libs/startup-notification-0.7  220 kB
[ebuild  N    ]    dev-util/gob-2.0.6  -debug 222 kB
[ebuild   R   ]  app-crypt/gnupg-1.2.6  +X -debug -idea +ldap* +nls (-selinux) -static 0 kB
[ebuild   R   ]  gnome-extra/evolution-data-server-1.0.2  -debug -doc +ldap* 0 kB
[nomerge      ]  gnome-extra/yelp-2.6.4  -debug
[ebuild   R   ]   gnome-extra/libgtkhtml-2.6.1  +accessibility* -debug 0 kB
[ebuild   R   ] x11-themes/gnome-themes-2.8.1  +accessibility* -debug 0 kB
[nomerge      ]  x11-themes/gtk-engines-2.2.0
[nomerge      ]   gnome-base/libgnomeui-2.8.0  -debug -doc +jpeg
[nomerge      ]    gnome-base/libbonoboui-2.8.0  -debug -doc
[nomerge      ]     gnome-base/libgnome-2.8.0  -debug -doc
[ebuild   R   ]      gnome-base/gnome-vfs-2.8.3-r1  -debug -doc +gnutls* +hal* -howl +ipv6 +samba +ssl 0 kB
[ebuild  N    ]       sys-apps/hal-0.4.1-r1  -debug 1,302 kB
[ebuild  N    ]        sys-apps/dbus-0.23-r3  +X -debug +gtk +python +qt +xml2 1,250 kB
[ebuild  N    ]         dev-python/pyrex-0.9.3  171 kB
[ebuild  N    ]        sys-libs/libcap-1.10-r5  -debug -nocxx +python -static 38 kB
[ebuild  N    ]         dev-lang/swig-1.3.21  +X -debug +guile +java +perl +php +python +ruby +tcltk 0 kB

Total size of downloads: 42,685 kB

Do you want me to merge these packages? [Yes/No]


swig fails to compile giving this error:
Code:
                 from /usr/include/gentoo-multilib/amd64/limits.h:124,
                 from /usr/include/limits.h:7,
                 from /usr/include/tcl.h:379,
                 from libtcl8.c:284:
/usr/include/bits/../gentoo-multilib/amd64/bits/posix1_lim.h:153:28: #include nested too deeply
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/lib/perl5/5.8.5/x86_64-linux/CORE -Dbool=char -Dexplicit=-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=k8 -O2 -Wall -MT libswigpl_la-libpl.lo -MD -MP -MF .deps/libswigpl_la-libpl.Tpo -c libpl.c  -fPIC -DPIC -o .libs/libswigpl_la-libpl.o
make[1]: *** [libswigtcl8_la-libtcl8.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libpl.c: In function `boot_swigrun':
libpl.c:842: warning: unused variable `items'
libpl.c: At top level:
libpl.c:798: warning: 'swig_magic_readonly' defined but not used
make[1]: Leaving directory `/var/tmp/portage/swig-1.3.21/work/SWIG-1.3.21/Runtime'
make: *** [runtime] Error 2

!!! ERROR: dev-lang/swig-1.3.21 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


I'm absolutely clueless and don't know what to do or try. Any idea is greatly appreciated.
Thanks in advance.
Back to top
View user's profile Send private message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Fri Mar 11, 2005 10:00 am    Post subject: Reply with quote

Nobody? Is it really that difficult to emerge swig on AMD64?

It does not even compile with my old USE flags instead on the new ones :cry:
Back to top
View user's profile Send private message
rcb1974
n00b
n00b


Joined: 12 Mar 2003
Posts: 56
Location: Ithaca, NY, USA

PostPosted: Fri Mar 11, 2005 3:40 pm    Post subject: I also cannot compile swig-1.3.21 on amd64 Reply with quote

I also cannot compile swig-1.3.21 on amd64 but I get a different error.
Code:

libpl.c:798: warning: 'swig_magic_readonly' defined but not used
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc  -march=opteron -O3 -pipe -Wall   -o libswigpy.la -rpath /usr/lib64 -no-undefined   libswigpy_la-libpy.lo  -ldl
In file included from /usr/include/limits.h:7,
                 from /usr/include/gentoo-multilib/amd64/limits.h:124,
                 from /usr/include/limits.h:7,
                 from /usr/include/tcl.h:379,
                 from libtcl8.c:284:
/usr/include/gentoo-multilib/amd64/limits.h:124:26: #include nested too deeply
/usr/include/gentoo-multilib/amd64/limits.h:144:30: #include nested too deeply
/usr/include/gentoo-multilib/amd64/limits.h:148:30: #include nested too deeply
In file included from /usr/include/bits/posix1_lim.h:7,
                 from /usr/include/gentoo-multilib/amd64/limits.h:124,
                 from /usr/include/limits.h:7,
                 from /usr/include/tcl.h:379,
                 from libtcl8.c:284:
/usr/include/bits/../gentoo-multilib/amd64/bits/posix1_lim.h:153:28: #include nested too deeply
make[1]: *** [libswigtcl8_la-libtcl8.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -shared  .libs/libswigpy_la-libpy.o  -ldl  -march=opteron -Wl,-soname -Wl,libswigpy.so.0 -o .libs/libswigpy.so.0.0.0
(cd .libs && rm -f libswigpy.so.0 && ln -s libswigpy.so.0.0.0 libswigpy.so.0)
(cd .libs && rm -f libswigpy.so && ln -s libswigpy.so.0.0.0 libswigpy.so)
creating libswigpy.la
(cd .libs && rm -f libswigpy.la && ln -s ../libswigpy.la libswigpy.la)
make[1]: Leaving directory
 `/home/disks/tmp/portage/swig-1.3.21/work/SWIG-1.3.21/Runtime'
make: *** [runtime] Error 2


This line shows up about 50 times (I truncated it to reduce the length of the error):
Code:
                 from /usr/include/gentoo-multilib/amd64/limits.h:124,
                 from /usr/include/limits.h:7,
Back to top
View user's profile Send private message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Fri Mar 11, 2005 6:40 pm    Post subject: Reply with quote

It's strange. This morning I performed the usual "emerge --sync", and after that swig refused to emerge again (same error as yesterday).

On the other hand, I just noticed today OpenGL was not working proprerly on my box (as indicated by glxinfo). I then re-emerged nvidia-kernel, nvidia-glx and nvidia-settings (in that order), and updated my opengl with
Code:
opengl-update nvidia


However, it still didn't work with my 2005.0 profile. A new search allowed me to find that I had to insert this line
Code:
Option "AllowGLXWithComposite" "true"
into the "Screen" section of xorg.conf:
Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "tarjeta nVidia GeForce"
    Monitor     "SM793DF"
    DefaultDepth 24
    Option "AllowGLXWithComposite" "true"

    Subsection "Display"
        Depth       8
        Modes       "1152x864" "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1152x864" "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1152x864" "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection


I rebooted, and OpenGL was working again with my AMD64 / 2005.0 profile combo.

Then, I retried to update my world as stated in my first post, and this time swig was not shown as a required package. Why? I got no idea. Maybe it has something to do with providing some graphical support when OpenGL is not installed/configured? Since I don't have the slightest idea what swig is for, I can't but suppose.

Hope this info is helpful, anyway.

After that, the world update failed when trying to emerge something pda-related, so I removed pda from my USE (I only put it for completeness, in the first place). Then kdenetwork moaned about wifi, so I removed wifi too, since I found out searching for the problem that I have to have "CONFIG_NET_RADIO" set in my kernel, which is not the case.

Right now kdenetwork-3.3.2 is being re-emerged. I hope it won't fail this time. After that, I'm only 14 packages away from a complete updated world... This is my current setup (as of right now):
Code:
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar  9 2005, 15:45:12)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="es_ES@euro"
LC_ALL="es_ES@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib accessibility acl acpi aim alsa apache2 apm arts audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bzlib cdparanoia cdr crypt ctype cups curl curlwrappers db2 dba dbase dbm dbx dga dio directfb divx4linux dv dvb dvd dvdr dvdread encode esd ethereal evo exif fam fastcgi fbcon ffmpeg fftw flac flash flatfile font-server foomaticdb fortran freetds ftp gd gdbm geoip gif ginac glut gmp gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hyperwave-api iconv icq imagemagick imap imlib inifile innodb interbase iodbc ipv6 jabber jack java javascript jikes jp2 jpeg junit kde kerberos krb4 ladcca lcms ldap lesstif libcaca libwww lzw lzw-tiff mad maildir mailwrapper matroska mbox mcal mcve memlimit mhash mikmodmilter mime mmap mng motif mozilla mp3 mpeg mpi msession msn msql mysql mysqli nas ncurses neXt netcdf nis nls nptl oci8 ogg oggvorbis openal opengl oracle oracle7 oscar oss ovrimos pam pcntl pcre pdflib perl php pie plotutils png portaudio posix postgres ppds prelude python qdbm qt quicktime readline recode ruby samba sapdb sasl scanner sdl sharedext simplexml skey slang slp sndfile snmp soap sockets socks5 source sox speex spell spl ssl svg sysfs sysvipc szip tcltk tcpd tetex theora tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vhosts wddx wmf wxwindows xface xine xml xml2 xmlrpc xmms xpm xprint xrandr xsl xv xvid yahoo yaz zeo zlib linguas_es"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Sat Mar 12, 2005 11:22 pm    Post subject: Reply with quote

Well, well, my joy in a well!! ("mi gozo en un pozo", as we say in Spanish).

My world updated perfectly, and my next set was to install ntp, so that my clock would stay sync'ed. To my surprise, and "emerge --ask -v ntp" showed me the infamous swig as a dependency.

As I suspected, my prayers didn't succeed, and swig compilation failed again:
Code:
                 from /usr/include/gentoo-multilib/amd64/limits.h:124,
                 from /usr/include/limits.h:7,
                 from /usr/include/gentoo-multilib/amd64/limits.h:124,
                 from /usr/include/limits.h:7,
                 from /usr/include/gentoo-multilib/amd64/limits.h:124,
                 from /usr/include/limits.h:7,
                 from /usr/include/gentoo-multilib/amd64/limits.h:124,
                 from /usr/include/limits.h:7,
                 from /usr/include/gentoo-multilib/amd64/limits.h:124,
                 from /usr/include/limits.h:7,
                 from /usr/include/tcl.h:379,
                 from libtcl8.c:284:
/usr/include/bits/../gentoo-multilib/amd64/bits/posix1_lim.h:153:28: #include nested too deeply
make[1]: *** [libswigtcl8_la-libtcl8.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/swig-1.3.21/work/SWIG-1.3.21/Runtime'
make: *** [runtime] Error 2
!!! ERROR: dev-lang/swig-1.3.21 failed.
!!! Function src_compile, Line 63, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Can anybody show me the light at the end of this tunnel?
Thanks very much in advance.
Back to top
View user's profile Send private message
slougi
Apprentice
Apprentice


Joined: 12 Nov 2002
Posts: 222
Location: Oulu, Finland

PostPosted: Sun Apr 03, 2005 7:48 pm    Post subject: Reply with quote

It seems gentoo's limit.h is broken, at least on amd64. Modify /usr/include/limits.h to be something like this:

Code:

/* Common header file autogenerated by create_ml_includes in multilib.eclass */

#ifndef __amd64__limits_h__
#define __amd64__limits_h__

#ifdef __i386__
#include "gentoo-multilib/x86/limits.h"
#endif /* __i386__ */

#ifdef __x86_64__
#include "gentoo-multilib/amd64/limits.h"
#endif /* __x86_64__ */

#endif /* __amd64__limits_h__ */
Back to top
View user's profile Send private message
chebe
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 101
Location: New Caledonia

PostPosted: Tue Apr 05, 2005 10:44 pm    Post subject: Reply with quote

Your mods is working like a charm ! Did you fill a bug report with the solution you've found ? If not I think you should.
Anyway thanks a lot for saving my time !!!!

slougi wrote:
It seems gentoo's limit.h is broken, at least on amd64. Modify /usr/include/limits.h to be something like this:

Code:

/* Common header file autogenerated by create_ml_includes in multilib.eclass */

#ifndef __amd64__limits_h__
#define __amd64__limits_h__

#ifdef __i386__
#include "gentoo-multilib/x86/limits.h"
#endif /* __i386__ */

#ifdef __x86_64__
#include "gentoo-multilib/amd64/limits.h"
#endif /* __x86_64__ */

#endif /* __amd64__limits_h__ */

_________________
Unix is user friendly - it's just selective about who its friends are !
Back to top
View user's profile Send private message
shayneucf
n00b
n00b


Joined: 26 Dec 2004
Posts: 5

PostPosted: Wed Apr 13, 2005 5:26 pm    Post subject: Reply with quote

Good find! I appreciate it.
-Shayne
Back to top
View user's profile Send private message
b2pop
n00b
n00b


Joined: 14 Mar 2005
Posts: 26

PostPosted: Fri Apr 15, 2005 2:37 am    Post subject: Reply with quote

slougi wrote:
It seems gentoo's limit.h is broken, at least on amd64. Modify /usr/include/limits.h to be something like this:
...


Slougi, respects ! It really did the trick :D
Thx again[/b]
Back to top
View user's profile Send private message
RiverRat
n00b
n00b


Joined: 07 Oct 2004
Posts: 65
Location: Colorado

PostPosted: Sun Apr 17, 2005 10:28 pm    Post subject: The Bug and fix Reply with quote

There is a bug report on the issue here:

https://bugs.gentoo.org/show_bug.cgi?id=80177

The solution is pointing back to this post as the best one. (Edit /usr/include/limits.h)

This worked for me.
_________________
RiverRat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum