ltmain.sh not found

Willem Offermans Willem at Offermans.Rompen.nl
Wed Apr 24 07:44:19 UTC 2019


Dear FreeBSD friends,

Ports tree should be up to date.

$ svnlite info /usr/ports/
Path: /usr/ports
Working Copy Root Path: /usr/ports
URL: svn://svn0.eu.freebsd.org/ports/head
Relative URL: ^/head
Repository Root: svn://svn0.eu.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 499718
Node Kind: directory
Schedule: normal
Last Changed Author: tobik
Last Changed Rev: 499718
Last Changed Date: 2019-04-23 08:12:45 +0200 (Tue, 23 Apr 2019)


I had recently updated from FreeBSD 11.2 to 12.0.

Thereafter I have run ``portmaster -ad``, then the problems appear.

It should be something simple like running autoreconf during update/installation.
But I don’t know yet how to build this in into the ports and portmaster.




Wiel Offermans
Willem at Offermans.Rompen.nl




> On 24 Apr 2019, at 09:08, Dima Pasechnik <dimpase+freebsd at gmail.com> wrote:
> 
> On Wed, Apr 24, 2019 at 7:58 AM Willem Offermans
> <Willem at offermans.rompen.nl> wrote:
>> Almost every third port update ends with ``configure.ac:6: error: required file './ltmain.sh' not found``.
>> See output below!
>> 
>> I can copy ltmain manually: cp -p /usr/local/share/libtool/build-aux/ltmain.sh ., but this is quite
>> cumbersome.
>> 
>> Does anyone know a more elegant solution?
> 
> see https://www.gnu.org/software/automake/manual/html_node/Error-required-file-ltmain_002esh-not-found.html
> 
> That is, teach the script in question to run autoreconf, if you want
> this to work.
> 
> 
> HTH
> Dima
>> 
>> 
>> Erroneous example:
>> 
>> 
>> => SHA256 Checksum OK for libinotify-kqueue-libinotify-kqueue-20180201_GH0.tar.gz.
>> ===>  Patching for libinotify-20180201_1
>> ===>   libinotify-20180201_1 depends on package: autoconf>=2.69 - found
>> ===>   libinotify-20180201_1 depends on package: automake>=1.16.1 - found
>> ===>   libinotify-20180201_1 depends on executable: libtoolize - found
>> ===>  Configuring for libinotify-20180201_1
>> configure.ac:6: installing './compile'
>> configure.ac:6: installing './config.guess'
>> configure.ac:6: installing './config.sub'
>> configure.ac:2: installing './install-sh'
>> configure.ac:6: error: required file './ltmain.sh' not found
>> configure.ac:2: installing './missing'
>> Makefile.am: installing './depcomp'
>> autoreconf-2.69: automake failed with exit status: 1
>> *** Error code 1
>> 
>> Stop.
>> make: stopped in /usr/ports/devel/libinotify
>> 
>> ===>>> make build failed for devel/libinotify
>> ===>>> Aborting update
>> 
>> ===>>> Update for libinotify-20180201 failed
>> ===>>> Aborting update
>> 
>> 
>> Wiel Offermans
>> Willem at Offermans.Rompen.nl
>> 
>> 
>> 
>> 
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



More information about the freebsd-ports mailing list