after upgrading slang to 1.4.8, emerge wanted to upgred jed to 0.99.16-r1, but jed compilation failed with: if /var/tmp/portage/jed-0.99.16-r1/work/jed-0.99-16/src/x86objs/chkslang jed 10311 ;\ then exit 0; else rm -f /var/tmp/portage/jed-0.99.16-r1/work/jed-0.99- 16/src/x86objs/chkslang; exit 1; fi ****** slang.h does not match slang library version. Did you install slang as as a shared library? Did you run ldconfig? You have an installation problem and you will need to check the SLANG variables in the Makefile and properly set them. Also try: make clean; make ****** make[1]: *** [slangversion] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/jed-0.99.16-r1/work/jed-0.99- 16/src' make: *** [jed] Error 2 * sys-libs/slang Latest version available: 1.4.8 Latest version installed: 1.4.8 l /usr/lib/*slang* -rw-r--r-- 1 root root 580466 Mar 2 20:59 /usr/lib/libslang.a lrwxrwxrwx 1 root root 17 Mar 2 20:59 /usr/lib/libslang.so -> libslang.so.1.4.8 lrwxrwxrwx 1 root root 17 Mar 2 20:59 /usr/lib/libslang.so.1 - > libslang.so.1.4.8 -rwxr-xr-x 1 root root 458876 Mar 2 20:59 /usr/lib/libslang.so.1.4.8 l /usr/include/*slang* -rw-r--r-- 1 root root 66115 Mar 2 20:59 /usr/include/slang.h I really don't think I have other version of slang installed...
please post `emerge info`, `qpkg -I -v slang`, and the config.log file from the build directory
Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2_pre1-r0) ================================================================= System uname: 2.5.63 i686 AMD Athlon(tm) Processor GENTOO_MIRRORS="ftp://ftp.dale.ro/pub/mirrors/ftp.ibiblio.org/pub/Linux/distributions/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo ftp://ftp.rez-gif.supelec.fr/pub/Linux/distrib/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga java guile X sdl gpm tcpd pam libwww ssl perl python imlib oggvorbis gtk qt kde motif opengl aalib acpi apache2 -apm curl dga esd gd gnome gtk2 gtkhtml imap innodb lcms ldap maildir mozilla mysql -nls odbc oss pic postgres samba sasl slp tiff xml" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon -O3 -pipe -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" CXXFLAGS="-march=athlon -O3 -pipe -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" qpkg -I -v slang sys-libs/slang-1.4.8 *
Created attachment 8879 [details] jed's config.log
i get this problem as well. seems to be something related to the recent slang-1.4.8 upgrade. i modified the chkslang script in JED to give me more information, and curiously, it says: "slang.h (10405) does not match slang library version (10408)." but in /usr/include/slang.h, it says 10408. very weird indeed. looking into this further.
ok, for some reason, gcc copies random header files into /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include try removing /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/slang.h and then try again. meanwhile i'll try and find out why the hell gcc is doing this? let us know if that works after you remove the cached old version of slang.h
Yes... it works now :) Thanks
ok, closing this bug now. i committed a fix into slang to make sure it removes any older cached header files created by gcc. apparently, the reason is that slang.h is non-ANSI compliant, so gcc > 3 tries to correct this and overrides any slang.h in /usr/include with its own version. the jed making problems shouldn't reoccur any more.