Thank you for your response. That was my initial thought, but I cannot seem to put my finger on the problem. If I add
--verbose and
--dry-run to the
glibtoolize invocation, I get the following output.
5) autoheader
4) libtoolize
glibtoolize: found 'configure.ac'
glibtoolize: export M4='/usr/bin/m4'
glibtoolize: ac_aux_dir='config'
glibtoolize: ltdl mode=''
glibtoolize: rm -f 'config/compile'
glibtoolize: rm -f 'config/depcomp'
glibtoolize: rm -f 'config/missing'
rm -f config/ltmain.sh
rm -f config/ltmain.sh
glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
glibtoolize: func_echo_all cp -f /opt/local/share/libtool/build-aux/ltmain.sh config
glibtoolize: found 'Makefile.am'
glibtoolize: aclocal_amflags=-I config'
glibtoolize: am_macro_dir='config'
rm -f config/libtool.m4
rm -f config/libtool.m4
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'.
glibtoolize: func_echo_all cp -f /opt/local/share/aclocal/libtool.m4 config
glibtoolize: Not copying 'config/ltargz.m4', libltdl not used.
glibtoolize: Not copying 'config/ltdl.m4', libltdl not used.
rm -f config/ltoptions.m4
rm -f config/ltoptions.m4
glibtoolize: func_echo_all cp -f /opt/local/share/aclocal/ltoptions.m4 config
rm -f config/ltsugar.m4
rm -f config/ltsugar.m4
glibtoolize: :: cp -f /opt/local/share/aclocal/ltsugar.m4 config
rm -f config/ltversion.m4
rm -f config/ltversion.m4
glibtoolize: func_echo_all cp -f /opt/local/share/aclocal/ltversion.m4 config
rm -f config/lt~obsolete.m4
rm -f config/lt~obsolete.m4
glibtoolize: func_echo_all cp -f /opt/local/share/aclocal/lt~obsolete.m4 config
glibtoolize: found LT_INIT invocation
3) aclocal
2) automake
cp: cannot lseek '/opt/local/share/automake-1.16/compile': Inappropriate ioctl for device
configure.ac:351: error: installing 'config/compile'
configure.ac:351: error while copying
cp: cannot lseek '/opt/local/share/automake-1.16/missing': Inappropriate ioctl for device
configure.ac:38: error: installing 'config/missing'
configure.ac:38: error while copying
cp: cannot lseek '/opt/local/share/automake-1.16/depcomp': Inappropriate ioctl for device
src/AnalysisPKG/Makefile.am: error: installing 'config/depcomp'
src/AnalysisPKG/Makefile.am: error while copying
1) autoconf
0) autoheader, againFor example, the command
cp -f /opt/local/share/libtool/build-aux/ltmain.sh config
is returning a non-zero exit status. If I run the command manually I get the following error message.
cp: cannot lseek '/opt/local/share/libtool/build-aux/ltmain.sh': Inappropriate ioctl for device
I get the same message if I run the command as root.
The files themselves are readable; e.g.,
-rw-r--r-- 1 root wheel 333035 Apr 8 2022 /opt/local/share/libtool/build-aux/ltmain.sh
I have a default MacPorts installation and I think the issue only appeared only after I upgraded some ports.
Any thoughts?
Thanks you in advance.