Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71577 - emerge ppp-2.4.2-r9 fails auth.c PAM problem
Summary: emerge ppp-2.4.2-r9 fails auth.c PAM problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-17 11:38 UTC by Florian Konnertz
Modified: 2004-11-17 14:15 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Konnertz 2004-11-17 11:38:16 UTC
On fresh 2004.3 minimal stage-1 install livecd, emerge ppp fails

Reproducible: Always
Steps to Reproduce:
1.install from livecd as described in details
2.emerge net-dialup/ppp
3.

Actual Results:  
auth.c:99:31: security/pam_appl.h: No such file or directory
auth.c:1347: error: syntax error before '*' token
auth.c:1347: warning: data definition has no type or storage class
auth.c:1359: warning: `struct pam_response' declared inside parameter list
auth.c:1359: warning: its scope is only this definition or declaration, which is
probably not what you want
auth.c:1359: warning: `struct pam_message' declared inside parameter list
auth.c: In function `PAM_conv':
auth.c:1366: error: invalid application of `sizeof' to an incomplete type
auth.c:1367: error: `PAM_CONV_ERR' undeclared (first use in this function)
auth.c:1367: error: (Each undeclared identifier is reported only once
auth.c:1367: error: for each function it appears in.)
auth.c:1370: error: dereferencing pointer to incomplete type
auth.c:1371: error: `PAM_PROMPT_ECHO_ON' undeclared (first use in this function)
auth.c:1372: error: invalid use of undefined type `struct pam_response'
auth.c:1372: error: dereferencing pointer to incomplete type
auth.c:1372: error: `PAM_SUCCESS' undeclared (first use in this function)
auth.c:1373: error: invalid use of undefined type `struct pam_response'
auth.c:1373: error: dereferencing pointer to incomplete type
auth.c:1376: error: `PAM_PROMPT_ECHO_OFF' undeclared (first use in this function)
auth.c:1377: error: invalid use of undefined type `struct pam_response'
auth.c:1377: error: dereferencing pointer to incomplete type
auth.c:1378: error: invalid use of undefined type `struct pam_response'
auth.c:1378: error: dereferencing pointer to incomplete type
auth.c:1381: error: `PAM_TEXT_INFO' undeclared (first use in this function)
auth.c:1383: error: `PAM_ERROR_MSG' undeclared (first use in this function)
auth.c:1385: error: invalid use of undefined type `struct pam_response'
auth.c:1385: error: dereferencing pointer to incomplete type
auth.c:1386: error: invalid use of undefined type `struct pam_response'
auth.c:1386: error: dereferencing pointer to incomplete type
auth.c: At top level:
auth.c:1399: error: variable `PAM_conversation' has initializer but incomplete type
auth.c:1400: warning: excess elements in struct initializer
auth.c:1400: warning: (near initialization for `PAM_conversation')
auth.c:1402: warning: excess elements in struct initializer
auth.c:1402: warning: (near initialization for `PAM_conversation')
auth.c: In function `plogin':
auth.c:1427: error: `PAM_SUCCESS' undeclared (first use in this function)
auth.c:1439: error: `PAM_TTY' undeclared (first use in this function)
auth.c:1444: error: `PAM_SILENT' undeclared (first use in this function)
auth.c: In function `plogout':
auth.c:1545: error: `PAM_SILENT' undeclared (first use in this function)
auth.c: At top level:
auth.c:1399: error: storage size of `PAM_conversation' isn't known
make[1]: *** [auth.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ppp-2.4.2-r9/work/ppp-2.4.2/pppd'
make: *** [all] Error 2


Expected Results:  
emerge ppp properly

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /etc/sane.d/snapscan.conf /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/X11 /etc/gconf /etc/kde /etc/php /etc/sane.d
/etc/sound /etc/terminfo /usr/kde /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://212.219.247.11/sites/www.ibiblio.org/gentoo/ http://gentoo.inode.at/
ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi aim amd apache2 apm arts audiofile avantgo avi berkdb bidi
bitmap-fonts bluetooth cdb cddb cdf cdrom cgi chroot cjk clamav crypt cscope
ctype cups curl curlwrappers divx4linux doc dvd dvdr emacs encode evo f77 ffmpeg
flash flatfile foomaticdb foreign-package fortran ftp gd gdbm gif gimp gimpprint
gnome gpm gps gs gsl gstreamer gtk gtk2 hbci icq image imagemagick imap imlib
ipv6 irda jabber jack java javacomm javamail javascript joystick jp2 jpeg jython
kde lcms libg++ libwww lirc live mad mbox mdb mikmod ming motif mozaccess
mozcalendar mozctl mozdomi mozp3pmozsvg mozxmlterm mpeg mpeg4 mpi mplayer msdav
msn msql mssql mule music mysqli ncurses net nls nntp nvidia odbc oggvorbis
ooo-kde opengl openssh oracle7 oscar oss pam pcmcia pda pdflib perl pg-hier php
png pnp python qt quicktime readline remote samba sapdb sasl sdl slp snmp soap
sockets spell sqlite ssl stroke svg svga tcpd tokenizer transcode truetype
unicode usb v4l v4l2 vhosts videos vim-with-x wifi wxwindows x86 xchattext xine
xinerama xml xml2 xmlrpc xmms xv xvid yahoo zeo zlib"
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2004-11-17 11:57:31 UTC
This is a bug in ppp. It misses a dependency: sys-libs/pam (at least when compiled with useflag pam).
You can fix it with 'emerge --oneshot sys-libs/pam'

Thanks for spotting this :)
Comment 2 Florian Konnertz 2004-11-17 12:06:39 UTC
Yeah, found that out myself in the meantime :)

I'm glad i do not face such a annoying prob at the beginning of my install anymore. :)

g'luck,
FloK
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2004-11-17 14:15:48 UTC
fixed in cvs. thanks.