pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/libuv configure error: stops building wm/icewm14 and wm/jwm



On Wed, Jun 16, 2021 at 04:31:26AM +0000, Thomas Mueller wrote:
> I got an error trying to build devel/libuv as dependencies for wm/icewm14 and wm/jwm.
>
> Message in build log file suggests an obsolete macro, AC_PROG_LIBTOOL.
>
> I tried following the advice in the build log to run autoupdate, but that didn't help.
>
> I am on NetBSD-8.99.82 amd64.
>
> devel/libuv built successfully on FreeBSD-current amd64, from FreeBSD ports.
>
> ===> Creating toolchain wrappers for libuv-1.41.0
> ===> Configuring for libuv-1.41.0
> + libtoolize --copy
> + aclocal -I m4
> + autoconf
> configure.ac:39: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
> configure.ac:39: You should run autoupdate.
> aclocal.m4:121: AC_PROG_LIBTOOL is expanded from...
> configure.ac:39: the top level
> configure.ac:42: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
> lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
> lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
> ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
> ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
> m4/ax_pthread.m4:88: AX_PTHREAD is expanded from...
> configure.ac:42: the top level
> + automake --add-missing --copy
> configure.ac:37: installing './ar-lib'
> configure.ac:25: installing './compile'
> configure.ac:22: installing './config.guess'
> configure.ac:22: installing './config.sub'
> configure.ac:21: installing './install-sh'
> configure.ac:39: error: required file './ltmain.sh' not found
> configure.ac:21: installing './missing'
> Makefile.am: installing './depcomp'
> *** Error code 1
>
> Stop.
> make[1]: stopped in /BETA1/pkgsrc/devel/libuv
> *** Error code 1
>
> Stop.
> make: stopped in /BETA1/pkgsrc/devel/libuv

Works for me on 9.99.85/amd64

===> Configuring for libuv-1.41.0
+ libtoolize --copy
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
+ aclocal -I m4
+ autoconf
configure.ac:39: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:39: You should run autoupdate.
m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
configure.ac:39: the top level
configure.ac:42: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/ax_pthread.m4:88: AX_PTHREAD is expanded from...
configure.ac:42: the top level
+ automake --add-missing --copy
configure.ac:37: installing './ar-lib'
configure.ac:25: installing './compile'
configure.ac:22: installing './config.guess'
configure.ac:22: installing './config.sub'
configure.ac:21: installing './install-sh'
configure.ac:21: installing './missing'
Makefile.am: installing './depcomp'
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
...

The output of your 'libtoolize' command is empty.
In particular, the line about ltmain.sh is missing.

Try 'make clean' and 'make'. I'm not sure what else to recommend.
 Thomas


Home | Main Index | Thread Index | Old Index