Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67666 - slang-1.4.9 contains glibc-specific calls (fails under uclibc)
Summary: slang-1.4.9 contains glibc-specific calls (fails under uclibc)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High blocker (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 07:29 UTC by Thierry Carrez (RETIRED)
Modified: 2004-11-06 00:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
disables the use of __libc_enable_secure on uclibc (slang-1.4.9-no__libc_enable_secure.patch,412 bytes, patch)
2004-10-20 11:51 UTC, Peter S. Mazinger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.