Bug#759482: coin3: build with autoreconf

Mauricio Faria de Oliveira mauricfo at linux.vnet.ibm.com
Wed Aug 27 14:59:55 UTC 2014


Package: src:coin3
Version: 3.1.4~abc9f50-7
User: debian-powerpc at lists.debian.org
Usertags: ppc64el
User: debian-devel at lists.debian.org
Usertags: autoreconf

Hi,

I know the autoreconf idea has been already tried and reverted [1],
but I'd be willing to help in getting that working.

I understand it might require changes to upstream code as well,
so I'd ask the maintainers for some help/assistance, since they're
more experienced on this package and its upstream development.

Ok, let's move on.

Error 0) simacros is missing (fix suggested)

The first failure on autoreconf are lots of undefined m4 macros,
because the m4_includes on the end of aclocal.m4 are wiped out
by aclocal.

Additionally, their path doesn't exist. They require coin3d/simacros
to be pulled in.

So, it can be fixed by downloading a copy of simacros (suggestion:
git submodule), and adding something like this (obviously w/a
different path) on configure.ac:

	AC_CONFIG_MACROS_DIR[(../simacros/cfg/m4)]

Fixed.  Let's go to the next error.


Error 1) library naming

Many automake errors like this:

	src/3ds/Makefile.am:53: error: 'format3ds.lst' is not a standard 
library name
	src/3ds/Makefile.am:53: did you mean 'libformat3ds.a'?
	src/3ds/Makefile.am: error: object '3ds-dummy.$(OBJEXT)' created both 
with libtool and without
	[...]

This probably can be fixed with _LDFLAGS = -module, as suggested
in automake's documentation [2].

I didn't have success w/ this, although I didn't try hard, as
it would be nice to get a confirmation from maintainers that
this was worth pursuing, or maybe there's a better way.


Any help like instructions/suggestions/debugging/fixing this would
be greatly appreciated. :)

Thanks!


[1] 
http://anonscm.debian.org/cgit/debian-science/packages/coin3.git/commit/?id=194c31add297f0693682f7521048c207e78bad8b
[2] 
http://www.gnu.org/software/automake/manual/html_node/Libtool-Modules.html

-- 
Mauricio Faria de Oliveira
IBM Linux Technology Center



More information about the debian-science-maintainers mailing list