[squid-users] v6.12 build error from release tarball

Marko, Peter Peter.Marko at siemens.com
Thu Nov 7 21:48:27 UTC 2024


Dear squid maintainers,

Commit [1] removed directory libltdl/m4 from release tarball by merging
all those files into libltdl/aclocal.m4, however makefiles still
reference it causing following error (in Yocto project):

| autoreconf: Entering directory 'libltdl'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=WORKDIR/recipe-sysroot/usr/share/aclocal/ -I WORKDIR/squid-6.12/acinclude/ -I WORKDIR/recipe-sysroot-native/usr/share/aclocal/ --force -I m4
| aclocal: error: couldn't open directory 'm4': No such file or directory
| autoreconf: error: aclocal failed with exit status: 1

Following change of release tarball will make the build pass:
diff squid-6.12-orig/libltdl/Makefile.am squid-6.12/libltdl/Makefile.am
--- squid-6.12-orig/libltdl/Makefile.am
+++ squid-6.12/libltdl/Makefile.am
@@ -29,7 +29,7 @@
 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 #####
 
-ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS =
 AUTOMAKE_OPTIONS = foreign
 AM_CPPFLAGS =
 AM_LDFLAGS =
diff squid-6.12-orig/libltdl/Makefile.in squid-6.12/libltdl/Makefile.in
--- squid-6.12-orig/libltdl/Makefile.in
+++ squid-6.12/libltdl/Makefile.in
@@ -448,7 +448,7 @@ target_alias = @target_alias@
 top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-ACLOCAL_AMFLAGS = -I m4
+ACLOCAL_AMFLAGS =
 AUTOMAKE_OPTIONS = foreign
 
 # -I$(srcdir) is needed for user that built libltdl with a sub-Automake

I don't know how to fix it in source repository.
Help would be appreciated.

Thanks,
  Peter

[1] https://github.com/squid-cache/squid/commit/b4addc2262e5bee37543f8d1ab9dd98337bafba3


More information about the squid-users mailing list