On Sat, Aug 11, 2018 at 08:15:20AM +0200, Andreas Tille wrote:
> libmuscle was bilding fine in several uploads but when I now
> try to rebuild to fix #904690 I get:
> dh_auto_build --no-parallel
> make -j1
> make: Entering directory '/build/libmuscle-3.7+4565'
> Making all in libMUSCLE
> make: Entering directory '/build/libmuscle-3.7+4565/libMUSCLE'
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT
> _H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
> -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=
> 1 -DTIME_WITH_SYS_TIME=1 -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -O2
> -funroll-loops -fomit-frame-pointer -ftree-vectorize -DNDEBUG=1 -fopenmp -g
> -O2 -fdebug-prefix-map=/build/libmuscle-
> 3.7+4565=. -fstack-protector-strong -Wformat -Werror=format-security -c -o
> main.o main.cpp
> make: *** No rule to make target '../libMUSCLE/libMUSCLE.la', needed by
> 'muscle'. Stop.
> make: Leaving directory '/build/libmuscle-3.7+4565/libMUSCLE'
> I suspect an issue in libMUSCLE/Makefile.am. Any hint how to fix this?
Fix is attached.
The triggering change for the FTBFS was automake 1.16, but this was an
old bug. The --no-parallel in debian/rules was a workaround for the same
bug and can now be dropped.
> Kind regards
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Description: Correct the libMUSCLE.la dependency
This allows automake to generate proper dependencies.
Author: Adrian Bunk <b...@debian.org>
@@ -36,6 +36,6 @@ bin_PROGRAMS = muscle
muscle_SOURCES = main.cpp
-muscle_LDADD = $(top_builddir)/libMUSCLE/libMUSCLE.la
+muscle_LDADD = libMUSCLE.la