pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51073: graphics/MesaLib wants flex not lex as a tool
>Number: 51073
>Category: pkg
>Synopsis: graphics/MesaLib wants flex not lex as a tool
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 18 03:45:00 +0000 2016
>Originator: David Shao
>Release: pkgsrc current cvs
>Organization:
>Environment:
NetBSD xxxxxx.xxxx 7.99.27 NetBSD 7.99.27 (GENERIC) #8: Sat Apr 16 19:41:32 PDT 2016 xxxxx%xxxxxx.xxxx@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
The change from
Module Name: pkgsrc
Date: Sun Apr 17 23:04:56 UTC 2016
Modified Files:
pkgsrc/graphics/MesaLib: Makefile
Log Message:
According to a Linux bulk build, this needs a lex. Add it to tools.
probably should have been to add flex as a tool in the Makefile, not lex.
make clean && make configure
checking if bison is the parser generator... yes
checking for flex... /usr/bin/lex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking if flex is the lexer generator... no
configure: error: flex not found - unable to compile glcpp-lex.l
*** Error code 1
>How-To-Repeat:
The NetBSD system on which the above error occurs has in /etc/mk.conf:
PREFER_PKGSRC= yes
CFLAGS+= -g
INSTALL_UNSTRIPPED=yes
USE_DESTDIR=yes
X11_TYPE=modular
ACCEPTABLE_LICENSES += vim-license lame-license vera-ttf-license
ALLOW_VULNERABLE_PACKAGES=yes
CURSES_DEFAULT=ncurses
READLINE_DEFAULT=readline
The error has also been observed on a DragonFly 4.5-DEVELOPMENT system.
>Fix:
The fix below allows make configure to complete successfully but has not been tested to see if the full package builds and replaces.
--- graphics/MesaLib/Makefile.orig 2016-04-17 17:22:21.675188353 -0700
+++ graphics/MesaLib/Makefile 2016-04-17 20:32:37.263543643 -0700
@@ -12,7 +12,7 @@
LICENSE= mit
GNU_CONFIGURE= yes
-USE_TOOLS+= bison pkg-config gmake lex
+USE_TOOLS+= bison pkg-config gmake flex
USE_LANGUAGES= c99 c++
USE_LIBTOOL= yes
Home |
Main Index |
Thread Index |
Old Index