Date: Sat, 15 Feb 2014 13:26:35 GMT From: Matthew Rezny <matthew@reztek.cz> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/186790: textproc/flex 2.5.38 causes some depedencies to fail to build Message-ID: <201402151326.s1FDQZKR025024@cgiserv.freebsd.org> Resent-Message-ID: <201402151330.s1FDU06G083137@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186790 >Category: ports >Synopsis: textproc/flex 2.5.38 causes some depedencies to fail to build >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 15 13:30:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Matthew Rezny >Release: 10.0-STABLE >Organization: RezTEk, s.r.o. >Environment: FreeBSD desktop.reztek 10.0-STABLE FreeBSD 10.0-STABLE #0 r261871: Fri Feb 14 16:41:18 CET 2014 root@desktop.reztek:/usr/obj/usr/src/sys/DESKTOP amd64 >Description: multimedia/libkate 0.4.1_2 (needed for VLC) failed to build on this machine. I had installed just installed VLC, and thus libkate, an another machine less than a week prior. The versions and options for libkate were same on both. The most pertinent difference I noticed between the two machines was the version of flex. Reverting to the prior version of flex corrected the build problem. The tail of the libkate build was as follows: [snip; no errors, minor unrelated warnings] /bin/sh ../libtool --tag=CC --silent --mode=link cc -Wall -W -I/usr/src/include -I/usr/local/include/libpng15 -O3 -pipe -march=amdfam10 -I/usr/local/include -fstack-protector -fno-strict-aliasing -fstack-protector -o kateenc kateenc-kateenc.o kateenc-kate_lexer.o kateenc-kate_parser.o kateend-kpng.o ../lib/liboggkate.la ../lib/libkate.la -L/usr/local/lib -logg -L/usr/local/lib -lpng15 -lfl /usr/local/lib/libfl.so: undefined reference to 'yylex' cc:error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [kateenc] Error 1 gmake[3]: Leaving directory '/usr/obj/usr/ports/multimedia/libkate/work/libkate-0.4.1/tools' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory '/usr/obj/usr/ports/multimedia/libkate/work/libkate-0.4.1/tools' [snip; gmake recursion] gmake: *** [all] Error 2 >How-To-Repeat: Ensure /usr/ports is at least r344136 (so that flex is at 2.5.38) cd /usr/ports/textproc/flex && make install clean (will succeed) cd /usr/ports/multimedia/libkate && make install clean (will fail) >Fix: Revert flex to 2.5.37_1 i.e. cd /usr/ports/textproc/flex && svnlite -r 339569 up && make (re)install clean cd /usr/ports/multimedia/libkate && make install clean (now succeeds) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402151326.s1FDQZKR025024>