First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 16678
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Alastair Tse (RETIRED) <liquidx@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrei Ivanov <andrei.ivanov@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
config.log jed's config.log text/plain Andrei Ivanov 2003-03-02 16:00 0000 7.25 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 16678 depends on: Show dependency tree
Bug 16678 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-02 14:04 0000
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...

------- Comment #1 From SpanKY 2003-03-02 15:14:58 0000 -------
please post `emerge info`, `qpkg -I -v slang`, and the config.log file from the
build directory

------- Comment #2 From Andrei Ivanov 2003-03-02 15:59:41 0000 -------
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 *

------- Comment #3 From Andrei Ivanov 2003-03-02 16:00:23 0000 -------
Created an attachment (id=8879) [edit]
jed's config.log

------- Comment #4 From Alastair Tse (RETIRED) 2003-03-02 17:05:30 0000 -------
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.

------- Comment #5 From Alastair Tse (RETIRED) 2003-03-02 18:08:38 0000 -------
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

------- Comment #6 From Andrei Ivanov 2003-03-03 03:00:45 0000 -------
Yes... it works now :)

Thanks

------- Comment #7 From Alastair Tse (RETIRED) 2003-03-16 13:00:10 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug