Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11895 - Missing dependencie in PAM

Attached to Project: Arch Linux
Opened by Daniel Ehlers (sargon) - Sunday, 26 October 2008, 19:23 GMT
Last edited by Jan de Groot (JGC) - Monday, 27 October 2008, 08:14 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
PAM didn't build without flex.
I tried to build with the abs PKGBUILD and it always stops with

.....
gcc -march=i686 -mtune=generic -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -Wl,--as-needed -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o
pam_conv_l.o: In function `yylex':
pam_conv_l.c:(.text+0xda6): undefined reference to `yywrap'
collect2: ld returned 1 exit status
make[4]: *** [pam_conv1] Error 1
make[4]: Leaving directory `/home/i486/abs/core/pam/src/Linux-PAM-1.0.2/conf/pam_conv1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/i486/abs/core/pam/src/Linux-PAM-1.0.2/conf/pam_conv1'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/i486/abs/core/pam/src/Linux-PAM-1.0.2/conf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/i486/abs/core/pam/src/Linux-PAM-1.0.2'
make: *** [all] Error 2
....

After some thoughts I decide to add flex to the depend list and tada it builds fine.

Additional info:
* pam 1.0.2-2

Steps to reproduce:
Try to build pam without installed flex.
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 27 October 2008, 08:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  Note that base-devel should be installed on a package building system. Adding this makedepends because it's a core/base or core/base-devel package.

Loading...