Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67666

Summary: slang-1.4.9 contains glibc-specific calls (fails under uclibc)
Product: Gentoo Linux Reporter: Thierry Carrez (RETIRED) <koon>
Component: New packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: blocker CC: embedded
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: disables the use of __libc_enable_secure on uclibc

Description Thierry Carrez (RETIRED) gentoo-dev 2004-10-15 07:29:50 UTC
Compiling newt with slang-1.4.9-r1 with an uclibc profile brings this error :

-----------------------------------
gcc -g -o test test.o libnewt.a -lslang -lm  -static
/usr/lib/gcc/i386-pc-linux-uclibc/3.4.2/../../../libslang.a(slmisc.o)(.text+0xb37):
In function `_SLsecure_issetugid':
: undefined reference to `__libc_enable_secure'
collect2: ld returned 1 exit status
make: *** [test] Error 1
-----------------------------------

This is apparently due to slang-1.4.9 making use of a glibc-specific __libc_enable_secure call. This would be due to the inclusion from 1.4.7 on of a patch from Openwall in the main distribution. Solar Designer warned about incompatibility with other libc, but the patch went in anyway :

http://archives.neohapsis.com/archives/linux/lsap/2002-q4/0000.html
ftp://space.mit.edu/pub/davis/slang/v1.4/changes.txt
Comment 1 Peter S. Mazinger 2004-10-20 11:51:06 UTC
Created attachment 42262 [details, diff]
disables the use of __libc_enable_secure on uclibc
Comment 2 solar (RETIRED) gentoo-dev 2004-10-29 12:07:55 UTC
Package: sys-libs/slang
Herd: cjk
Maintainer: liquidx@gentoo.org, yakina@gentoo.org

slang-1.4.5-r1.ebuild  slang-1.4.5-r2.ebuild  slang-1.4.9-r1.ebuild  slang-1.4.9.ebuild

temp work around USE="-cjk" but it would be nice to fix this.
Patch looks good to me.
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-11-06 00:00:26 UTC
Thanks for the patch. Applied to slang-1.4.9-r1.