FS#8971 - lm_sensors should makedepends on flex

Attached to Project: Arch Linux
Opened by Karolina Lindqvist (karolinali) - Wednesday, 19 December 2007, 16:23 GMT
Last edited by Jan de Groot (JGC) - Thursday, 27 December 2007, 17:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Does not build without flex


Additional info:
* package version(s)
lm_sensors-3.0.0-1
* config and/or log files etc.


Steps to reproduce:
No flex, and the following happens:
bison -p sensors_yy -d lib/conf-parse.y -o lib/conf-parse.c
gcc -DETCDIR="\"/etc\"" -I. -Wall -O2 -Wstrict-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wnested-externs -Winline -W -Wmissing-prototypes -Wundef -march=c3 -mno-3dnow -O2 -pipe -Wno-undef -c lib/conf-parse.c -o lib/conf-parse.ao
flex -Psensors_yy -t -Cfe -8 lib/conf-lex.l > lib/conf-lex.c
/bin/sh: flex: command not found
make: *** [lib/conf-lex.c] Error 127
==> ERROR: Build Failed.
Aborting...

This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 27 December 2007, 17:48 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Wednesday, 19 December 2007, 17:51 GMT
Don't we assume base-devel is installed on a system that builds packages? If we don't, we need to add dependencies for make, gcc, bison, libtool, autotools, etc.
Comment by Karolina Lindqvist (karolinali) - Wednesday, 19 December 2007, 18:14 GMT
I could not find any package base-devel, or basedevel, but I think it is a good idea.
Some of the PKGBUILD's have makedepends on some of those basic utilities, so the situation appears a little bit confused.
Comment by Jan de Groot (JGC) - Wednesday, 19 December 2007, 18:28 GMT
base-devel is a group in core where flex belongs to. This group contains also the other basic tools to build packages.
Comment by Karolina Lindqvist (karolinali) - Wednesday, 19 December 2007, 19:32 GMT
Ok, I understand now. So before building it is always assumed that base-devel is installed then.
A lot of the PKGBUILDS are confused considering that.

Loading...