REPRODUCIBILITY: 100% (always)
OSVERSION: 4.4.0.72 , 4.5.0.21
HARDWARE: Sony Xperia 10 III - xqbt52 - xqbt52 - 1.0.0.176 - aarch64
UI LANGUAGE: English (UK) (user: en_GB, os: en_GB.utf8)
REGRESSION: not specified
DESCRIPTION:
The current packaging of libtool moves some files where actual runs of libtoolize do not find them:
See https://github.com/sailfishos/libtool/blob/master/libtool.spec#L105
This results in the files ending up here:
/usr/share/doc/libtool-2.4.6/README
/usr/share/doc/libtool-2.4.6/libltdl/README
/usr/share/licenses/libtool-ltdl-2.4.6/COPYING.LIB
But libtoolize expects them at:
/usr/share/libtool/README
/usr/share/libtool/COPYING.LIB
PRECONDITIONS:
none really
STEPS TO REPRODUCE:
- clone an autotools-based source tree
- install
libtool-doc
,libtool-ltdl-devel
- run
autoreconf -fiv
- libtoolize fails
One example where this fails is graphviz
: graphviz / graphviz · GitLab
EXPECTED RESULTS:
autotools and friends running successfully
ACTUAL RESULTS:
[ 24s] libtoolize: putting libltdl files in LT_CONFIG_LTDL_DIR, 'libltdl'.
[ 24s] libtoolize: error: '/usr/share/libtool/COPYING.LIB' not found
[ 24s] libtoolize: creating file 'libltdl/Makefile.am'
[ 24s] libtoolize: error: '/usr/share/libtool/README' not found
[ 24s] libtoolize: creating file 'libltdl/configure.ac'
[ 24s] libtoolize: copying file 'libltdl/aclocal.m4'
[ 24s] libtoolize: creating file 'libltdl/Makefile.in'
[ 24s] libtoolize: copying file 'libltdl/aclocal.m4'
[ 24s] libtoolize: creating file 'libltdl/Makefile.in'
[ 24s] libtoolize: copying file 'libltdl/config-h.in'
[ 24s] libtoolize: creating file 'libltdl/configure'
MODIFICATIONS:
not applicable