Bug 223111 - sci-physics/abinit-5.3.4: autoreconf failure during compilation process
Bug#: 223111 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: dberkholz@gentoo.org Reported By: mariusz.adamski@gmail.com
Component: Unspecified
URL: 
Summary: sci-physics/abinit-5.3.4: autoreconf failure during compilation process
Keywords:  
Status Whiteboard: 
Opened: 2008-05-21 19:27 0000
Description:   Opened: 2008-05-21 19:27 0000
Due to the error in Makefile.am in Abinit source package (Abinit bug report
filed) abinit failes to emerge when running eautoreconf. Said line reads:
  ACLOCAL_AMFLAGS = -I @abinit_srcdir@/config/m4
which causes a 'no such file or directory' error.

Reproducible: Always

Steps to Reproduce:
1. echo "=sci-physics/abinit-5.3.4 ~x86" >> /etc/portage/packages.keywords
2. emerge abinit

Actual Results:  
***** aclocal *****
***** aclocal -I @abinit_srcdir@/config/m4 -I config/m4

aclocal-1.10: couldn't open directory `@abinit_srcdir@/config/m4': No such file
or directory

Expected Results:  
Succesfull emerge.

Suggested solution:
Bug report had been filed to Abinit team, but they may not backport a fix to
the version currently in portage tree. As a workaround I suggest putting
  sed -i -e "s:@abinit_srcdir@/::" Makefile.am
into the abinit ebuild.

------- Comment #1 From Markus Dittrich 2008-07-04 11:13:12 0000 -------
Hi Mariusz,

Thank you very much for your suggested fix which seems
to work fine. Unfortunately, after applying it, autoconf dies 
shortly after due to what looks like libtool-2.* related.
We'll have to have a closer look at this.

Best,
Markus

------- Comment #2 From Donnie Berkholz 2008-07-05 01:10:32 0000 -------
This really needs an update to 5.4.4 anyway. I just bumped it and fixed your
problems.