Bug 188973

Summary: graphics/libetonyek01 uses wrong gperf
Product: Ports & Packages Reporter: Joseph <icke>
Component: Individual Port(s)Assignee: FreeBSD Office Team <office>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: jkim, w.schwarzenfeld
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Joseph 2014-04-24 21:00:00 UTC
The build of libetonyek breaks while it uses /usr/bin/gperf instead of /usr/local/bin/gperf which it depends on.
The output is this

===>  Building for libetonyek-0.0.3_3
gmake  all-recursive
gmake[1]: Entering directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3'
Making all in build
gmake[2]: Entering directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/build'
Making all in win32
gmake[3]: Entering directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/build/win32'
gmake[3]: Für das Ziel »all« ist nichts zu tun.
gmake[3]: Leaving directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/build/win32'
gmake[3]: Entering directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/build'
gmake[3]: Für das Ziel »all-am« ist nichts zu tun.
gmake[3]: Leaving directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/build'
gmake[2]: Leaving directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/build'
Making all in inc
gmake[2]: Entering directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/inc'
Making all in libetonyek
gmake[3]: Entering directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/inc/libetonyek'
gmake[3]: Für das Ziel »all« ist nichts zu tun.
gmake[3]: Leaving directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/inc/libetonyek'
gmake[3]: Entering directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/inc'
gmake[3]: Für das Ziel »all-am« ist nichts zu tun.
gmake[3]: Leaving directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/inc'
gmake[2]: Leaving directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/inc'
Making all in src
gmake[2]: Entering directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/src'
Making all in lib
gmake[3]: Entering directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/src/lib'
if /usr/bin/gperf --compare-strncmp --enum --null-strings --readonly-tables --language C++ KEY1Token.gperf > KEY1Token.inc.tmp; then \
	mv KEY1Token.inc.tmp KEY1Token.inc; \
else \
	rm -f KEY1Token.inc.tmp; \
	if /usr/bin/gperf --version >/dev/null 2>&1; then \
		exit 1; \
	else \
		touch KEY1Token.inc; \
	fi \
fi
if /usr/bin/gperf --compare-strncmp --enum --null-strings --readonly-tables --language C++ KEY2Token.gperf > KEY2Token.inc.tmp; then \
	mv KEY2Token.inc.tmp KEY2Token.inc; \
else \
	rm -f KEY2Token.inc.tmp; \
	if /usr/bin/gperf --version >/dev/null 2>&1; then \
		exit 1; \
	else \
		touch KEY2Token.inc; \
	fi \
fi
gperf: unrecognized option `--null-strings'
Usage: /usr/bin/gperf [-cCdDef[num]F<initializers>GhH<hashname>i<init>Ijk<keys>K<keyname>lL<language>nN<function name>ors<size>S<switches>tTvW<wordlistname>Z<class name>7] [input-file]
Try `/usr/bin/gperf --help' for more information.
gperf: unrecognized option `--null-strings'
Usage: /usr/bin/gperf [-cCdDef[num]F<initializers>GhH<hashname>i<init>Ijk<keys>K<keyname>lL<language>nN<function name>ors<size>S<switches>tTvW<wordlistname>Z<class name>7] [input-file]
Try `/usr/bin/gperf --help' for more information.
gmake[3]: *** [KEY1Token.inc] Fehler 1
gmake[3]: *** Warte auf noch nicht beendete Prozesse...
gmake[3]: *** [KEY2Token.inc] Fehler 1
gmake[3]: Leaving directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/src/lib'
gmake[2]: *** [all-recursive] Fehler 1
gmake[2]: Leaving directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3/src'
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Leaving directory `/tmp/usr/ports/graphics/libetonyek/work/libetonyek-0.0.3'
gmake: *** [all] Fehler 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop in /usr/ports/graphics/libetonyek.
*** Error code 1

/usr/bin/gperf does not support the option --null-strings /usr/local/bin/gperf from ports does.

How-To-Repeat: make in /usr/ports/graphics/libetonyek
Comment 1 Edwin Groothuis freebsd_committer 2014-04-25 04:30:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->office

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-01-09 05:13:29 UTC
libtonyek. now libtonyek01 has 0.1.7_1 and compiles fine. I think could closed.