Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78679 - ppp: can't compile the dhcp module in a uclibc env
Summary: ppp: can't compile the dhcp module in a uclibc env
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 06:55 UTC by Christian Zoffoli (RETIRED)
Modified: 2005-01-21 00:07 UTC (History)
0 users

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


Attachments
sys_errlist converted to strerror (ppp-sys_error_to_strerror.patch,4.80 KB, patch)
2005-01-19 06:56 UTC, Christian Zoffoli (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Zoffoli (RETIRED) gentoo-dev 2005-01-19 06:55:13 UTC
I can't compile the dhcp in a uclibc env because it uses sys_errlist instead of strerror, so I've done a little patch (I'll send it also upstream).

see bug #78591

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (uclibc/x86/hardened, gcc-3.3.5, uclibc-0.9.26-r7,
2.6.10-hardened-r1 i686)
=================================================================
System uname: 2.6.10-hardened-r1 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe"
CHOST="i386-pc-linux-uclibc"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks nodoc noinfo
noman sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/x86/embedded"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.4.11/gentoo-portage"
USE="apache2 berkdb crypt dhcp gdbm hardened hostap-noplx justify libwww
make-busybox-symlinks multicall ncurses oggvorbis pcmcia pic pie png postgres
readline snmp ssl tcpd uclibc x86 zlib"
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-19 06:56:27 UTC
Created attachment 48950 [details, diff]
sys_errlist converted to strerror
Comment 2 solar (RETIRED) gentoo-dev 2005-01-20 16:06:00 UTC
heh. neat watching this bug get bounced around from herd to herd. 
xmerlin this patch is so trivial that unless your c syntax is wrong you cant really mess this up. net-dialup is an overworked herd and I'm sure nobody minds.
Comment 3 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-20 17:00:18 UTC
ok fixed in CVS
Comment 4 solar (RETIRED) gentoo-dev 2005-01-20 23:14:51 UTC
did you mail this upstream?
Comment 5 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-21 00:07:49 UTC
sure.

I've sent it to the author of this module (added in the ebuild 2.4.2)