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.
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