Each time I use bison from packages (as a build time dependency from portmaster --packages-build) bison package fails without libtextstyle, which is not pulled in.
checking for LIBNUMBERTEXT... yes
checking for uuidgen... /bin/uuidgen
checking for bison... /usr/local/bin/bison
checking the bison version... ld-elf.so.1: Shared object "libtextstyle.so.0" not found, required by "bison"
configure: error: failed (/usr/local/bin/bison need 2.0+)
Assign to maintainer.
bison will not use libtetstyle if NLS is off.
NLS is enabled by default (via /usr/ports/Mk/bsd.options.mk).
32 NLS_CONFIGURE_ENABLE= nls
33 NLS_CONFIGURE_OFF= ac_cv_libtextstyle=no
34 NLS_LIB_DEPENDS= libtextstyle.so:devel/libtextstyle
35 NLS_USES= gettext
What bison package are you using?
I have in ports.conf -
OPTIONS_UNSET= NLS DOCS EXAMPLES, though bison is installed as a dependency while using 'portmaster --packages-build --delete-build-only -a' so I presume it's a default freebsd package (build dependency).
You used a bison package which is built with NLS enabled. The failure is a correct result.
You should build a port on your own while using non-default option(s).
(In reply to Sunpoet Po-Chuan Hsieh from comment #4)
Yes, I've used the default package bison, which requires libtextstyle. Why it did not pull in libtextstyle then? Usually default packages pull in their dependencies.
(In reply to jakub_lach from comment #5)
I guess that would be a problem of portmaster.
(In reply to Sunpoet Po-Chuan Hsieh from comment #6)
And as I've seen it only with bison packages, I've filled a PR. I didn't mean to appear confrontational, I appreciate your replies.
(In reply to jakub_lach from comment #7)
bison and gettext-tools are the only 2 ports depending on libtextstyle (LIB_DEPENDS=libtextstyle.so:devel/libtextstyle).
(In reply to Sunpoet Po-Chuan Hsieh from comment #8)
It occurs with gettext package too iirc. So something makes portmaster do not recognize unsatisfied libtextstyle dependency in package.