Build failure - Licensing issue - libtool

Dewayne-remote dewayne.geraghty at heuristicsystems.com.au
Sat Oct 12 08:24:19 UTC 2013


I came across a build issue that was associated with licencing changes. 
While trying to build libtool I experienced this failure during package
removal, in anticipation of a complete rebuild:

Another was pkg_delete: file
'/usr/local/share/licenses/libtool-2.4.2_1/LICENSE' doesn't exist
pkg_delete: file '/usr/local/share/licenses/libtool-2.4.2_1/GPLv2'
doesn't exist
pkg_delete: file '/usr/local/share/licenses/libtool-2.4.2_1' doesn't exist

which then prevented a build with the following messages
+ portmaster --no-term-title --no-confirm -H -D -g -G -B
--update-if-newer -v devel/libtool
tar: share/licenses/libtool-2.4.2_2/catalog.mk: Cannot stat: No such
file or directory
tar: share/licenses/libtool-2.4.2_2/LICENSE: Cannot stat: No such file
or directory
tar: share/licenses/libtool-2.4.2_2/GPLv2: Cannot stat: No such file or
directory

Do this.
echo DISABLE_LICENSES=yes >> /etc/make.conf

Discovered by searching /usr/ports/Mk/*, specifically bsd.licenses.mk

Libtool was one of many ports that failed during the build.
Regards, Dewayne.


More information about the freebsd-ports mailing list