Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223111 - sci-physics/abinit-5.3.4: autoreconf failure during compilation process
Summary: sci-physics/abinit-5.3.4: autoreconf failure during compilation process
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Donnie Berkholz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 19:27 UTC by Mariusz Adamski
Modified: 2008-07-05 01:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mariusz Adamski 2008-05-21 19:27:06 UTC
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 Markus Dittrich (RETIRED) gentoo-dev 2008-07-04 11:13:12 UTC
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 Donnie Berkholz (RETIRED) gentoo-dev 2008-07-05 01:10:32 UTC
This really needs an update to 5.4.4 anyway. I just bumped it and fixed your problems.