Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495202 - sci-libs/cblas-reference::science build failure: Makefile.in:8: *** missing separator. Stop.
Summary: sci-libs/cblas-reference::science build failure: Makefile.in:8: *** missing s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-24 10:04 UTC by Johannes Buchner
Modified: 2013-12-25 11:50 UTC (History)
2 users (show)

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


Attachments
emerge --info (file_495202.txt,5.41 KB, text/plain)
2013-12-24 10:04 UTC, Johannes Buchner
Details
removing "d" from auto-generated Makefile.in (file_495202.txt,519 bytes, patch)
2013-12-24 15:18 UTC, Johannes Buchner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Buchner 2013-12-24 10:04:04 UTC
Created attachment 366076 [details]
emerge --info

I was following https://wiki.gentoo.org/wiki/User_talk:Houseofsuns and emerging sci-libs/cblas-reference::science. However, the compile fails:


$ FEATURES="-preserve-libs" emerge --oneshot --ask --verbose sci-libs/cblas-reference::science

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] sci-libs/cblas-reference-20110218::science  USE="-static-libs" 0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

!!! The following installed packages are masked:
- virtual/blas-1.0::gentoo (masked by: package.mask)
/etc/portage/package.mask:
## mask packages superseded by science overlay

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Would you like to merge these packages? [Yes/No]  

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-libs/cblas-reference-20110218 from science
 * cblas-reference-20110218.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                    [ ok ]
 * Using following Fortran compiler:
 *   F77: x86_64-pc-linux-gnu-gfortran
 *   FC:  x86_64-pc-linux-gnu-gfortran
>>> Unpacking source...
>>> Unpacking cblas-reference-20110218.tgz to /mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/work
>>> Source unpacked in /mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/work
>>> Preparing source in /mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/work/CBLAS ...
>>> Source prepared.
>>> Configuring source in /mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/work/CBLAS ...
>>> Source configured.
>>> Compiling source in /mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/work/CBLAS ...
make -j8 'FFLAGS= -fPIC' 'CFLAGS= -DADD_ -fPIC' CBLIB=../lib/librefcblas.a alllib 
Makefile.in:8: *** missing separator.  Stop.
 * ERROR: sci-libs/cblas-reference-20110218::science failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/cblas-reference-20110218::science'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/cblas-reference-20110218::science'`.
 * The complete build log is located at '/mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/temp/build.log'.
 * The ebuild environment file is located at '/mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/temp/environment'.
 * Working directory: '/mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/work/CBLAS'
 * S: '/mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/work/CBLAS'







/mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/work/CBLAS/Makefile:
dlvl = ./.
include $(dlvl)/Makefile.in
...


/mnt/data/tmp/portage/sci-libs/cblas-reference-20110218/work/CBLAS/Makefile.in:
BLLIB=-lrefblas
FC=x86_64-pc-linux-gnu-gfortran
CC=x86_64-pc-linux-gnu-gcc
CBLIB=../lib/librefcblas.a
LOADER=$(FC)
ARCH=x86_64-pc-linux-gnu-ar
ARCHFLAGS=cr
d       RANLIB=x86_64-pc-linux-gnu-ranlib



The last line is probably the problem!
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-12-24 10:19:11 UTC
Please set FFLAGS CFLAGS and friends. Does this help?
Comment 2 Johannes Buchner 2013-12-24 15:11:16 UTC
(In reply to Justin Lecher from comment #1)
> Please set FFLAGS CFLAGS and friends. Does this help?

I had it set to 
CFLAGS="-Os -pipe -g"
CXXFLAGS="${CFLAGS}"

But that gave the same result. I only unset them to reproduce the bug cleanly.
Comment 3 Johannes Buchner 2013-12-24 15:18:09 UTC
Created attachment 366102 [details, diff]
removing "d" from auto-generated Makefile.in

This modification solves the problem for me.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-12-25 11:50:32 UTC
+  25 Dec 2013; Justin Lecher <jlec@gentoo.org> cblas-reference-20110218.ebuild,
+  metadata.xml:
+  Fix Typo, #495202
+