Bug 216

Summary: Can't compile LinuxSampler rev 2534 on Debian Wheezy
Product: LinuxSampler Reporter: Nicola Pandini <nicola.pandini>
Component: otherAssignee: Christian Schoenebeck <cuse>
Status: CLOSED WORKSFORME    
Severity: blocker    
Priority: P5    
Version: unspecified   
Hardware: PC   
OS: Linux   
Attachments: iss216.patch

Description Nicola Pandini 2014-03-29 11:36:30 CET
Hi, the compilation of LS rev 2534 on Debian 7 fails with the following error:
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

I successfully compiled other revs of LS on the same machine.
Here is the full log:

nicola@agora:~/Progetti/AudioPRO/LinuxSampler/SVN/linuxsampler$ dpkg-buildpackage -rfakeroot -b
dpkg-buildpackage: source package linuxsampler
dpkg-buildpackage: source version 1.0.0-1
dpkg-buildpackage: source changed by Christian Schoenebeck <cuse@users.sourceforge.net>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build linuxsampler
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
if [ -e Makefile.cvs ] ; then \
	    /usr/bin/make -f Makefile.cvs; \
	fi;
make[1]: Entering directory `/home/nicola/Progetti/AudioPRO/LinuxSampler/SVN/linuxsampler'
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Useless use of /d modifier in transliteration operator at /usr/share/automake-1.9/Automake/Wrap.pm line 60.
src/common/Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/home/nicola/Progetti/AudioPRO/LinuxSampler/SVN/linuxsampler'
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
Comment 1 Christian Schoenebeck 2014-03-29 14:36:45 CET
Created attachment 61 [details]
iss216.patch

It is more likely caused by an update of your autoconf/automake installation which is more strict than previous ones, than actually caused by any changes in the sampler's code base.

Anyway, try this tiny patch and please let me know whether it fixes the compilation error for you.
Comment 2 Nicola Pandini 2014-03-29 17:06:41 CET
(In reply to comment #1)
> Created attachment 61 [details]
> iss216.patch
> 
> It is more likely caused by an update of your autoconf/automake installation
> which is more strict than previous ones, than actually caused by any changes in
> the sampler's code base.
> 
> Anyway, try this tiny patch and please let me know whether it fixes the
> compilation error for you.

Thank you Christian,
I patched the file "configure.ac" inside linuxsampler's folder, but I have the same error message.
Comment 3 Nicola Pandini 2014-04-12 14:44:05 CEST
(In reply to comment #2)
> (In reply to comment #1)
> > Created attachment 61 [details] [details]
> > iss216.patch
> > 
> > It is more likely caused by an update of your autoconf/automake installation
> > which is more strict than previous ones

The compilation fails with automake 1.9.
With automake 1.11 I am able to compile LS correctly.

Thanks for the hint!