On 01/11/2017 08:48 PM, [email protected] wrote:
> 
> 
> 
>     On 01/09/2017 12:56 PM, [email protected]
>     <mailto:[email protected]> wrote:
>     > 
>     >    On 01/09/2017 11:20 AM, [email protected]
>     <mailto:[email protected]>
>     >    <mailto:[email protected] <mailto:[email protected]>>
>     wrote:
>     >    > 
>     >    > 
>     >    >    On 01/08/2017 11:22 AM, [email protected]
>     <mailto:[email protected]>
>     >    <mailto:[email protected] <mailto:[email protected]>>
>     >    >    <mailto:[email protected]
>     <mailto:[email protected]> <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >    wrote:
>     >    >    > Thank you for your reply.
>     >    >    > Build.log is attached this mail.
>     >    >    > Can you find the error?
>     >    >    > 
>     >    >    > Tkane
>     >    >    > 
>     >    >    >    On 01/08/2017 12:01 AM, [email protected]
>     <mailto:[email protected]>
>     >    <mailto:[email protected] <mailto:[email protected]>>
>     >    >    <mailto:[email protected]
>     <mailto:[email protected]> <mailto:[email protected]
>     <mailto:[email protected]>>>
>     >    >    >    <mailto:[email protected]
>     <mailto:[email protected]>
>     >    <mailto:[email protected] <mailto:[email protected]>>
>     <mailto:[email protected] <mailto:[email protected]>
>     >    <mailto:[email protected] <mailto:[email protected]>>>>
>     >    >    wrote:
>     >    >    >    > Hello,
>     >    >    >    > I want to use dev-lang/R on gentoo/prefix.
>     >    >    >    > But failed to build libblas as follows.
>     >    >    >    > How can I fix this failure?
>     >    >    >    >
>     >    >    >    > cd
>     >    >    >    >
>     >    >    >  
>     >    >  
>     >   
>     
> /home/kaneko/gentoo/var/tmp/portage/sci-libs/blas-reference-20151113-r1/work/blas-reference-20151113_build/BLAS/SRC
>     >    >    >    > && /home/kaneko/gentoo/usr/bin/cmake -E
>     >    cmake_symlink_library
>     >    >    >    > ../../lib/libblas.so.3.6.0 ../../lib/libblas.so.3
>     >    >    ../../lib/libblas.so
>     >    >    >    > make[2]: ***
>     [BLAS/SRC/CMakeFiles/blas.dir/build.make:4002:
>     >    >    >    > lib/libblas.so] Error 1
>     >    >    >    > make[2]: *** Deleting file 'lib/libblas.so'
>     >    >    >    > make[2]: Leaving directory
>     >    >    >    >
>     >    >    >  
>     >    >  
>     >   
>     
> '/home/kaneko/gentoo/var/tmp/portage/sci-libs/blas-reference-20151113-r1/work/blas-reference-20151113_build'
>     >    >    >    > make[1]: *** [CMakeFiles/Makefile2:1004:
>     >    >    >    > BLAS/SRC/CMakeFiles/blas.dir/all] Error 2
>     >    >    >    > make[1]: Leaving directory
>     >    >    >    >
>     >    >    >  
>     >    >  
>     >   
>     
> '/home/kaneko/gentoo/var/tmp/portage/sci-libs/blas-reference-20151113-r1/work/blas-reference-20151113_build'
>     >    >    >    > make: *** [Makefile:161: all] Error 2
>     >    >    >    > make: Leaving directory
>     >    >    >    >
>     >    >    >  
>     >    >  
>     >   
>     
> '/home/kaneko/gentoo/var/tmp/portage/sci-libs/blas-reference-20151113-r1/work/blas-reference-20151113_build/BLAS'
>     >    >    >    >  * ERROR:
>     sci-libs/blas-reference-20151113-r1::gentoo failed
>     >    >    (compile
>     >    >    >    > phase):
>     >    >    >    >  *  emake failed
>     >    >    >    >
>     >    >    >    > emerge --info text file is attached.
>     >    >    >    >
>     >    >    >    > Tkane
>     >    >    > 
>     >    >    >    It doesn't look like the error is contained in the
>     snipped
>     >    you've
>     >    >    >    provided, it's probably further up in the build log.
>     >    >    > 
>     >    >    >    Dan
>     >    >    > 
>     >    >    > 
>     >    >    > 
>     >    > 
>     >    >    Have you checked the output of `eselect blas` ? It looks
>     like it's
>     >    >    failing in the linking stage, leading me to wonder if an
>     >    implementation
>     >    >    is selected.
>     >    > 
>     >    >    Dan
>     >    > 
>     >    > Thank you for confirming various things.
>     >    > The result of eselect is below.
>     >    > 
>     >    > $ eselect blas
>     >    > Usage: eselect blas <action> <options>
>     >    > 
>     >    > Standard actions:
>     >    >  help                      Display help text
>     >    >  usage                    Display usage information
>     >    >  version                  Display version information
>     >    > 
>     >    > Extra actions:
>     >    >  add <libdir> <file> <implementation>
>     >    >                            Add a new BLAS implementation
>     >    >    libdir                    library directory where BLAS
>     >    > implementation is installed (lib, lib64, etc.)
>     >    >    file                      path to file containing symlink map
>     >    >    implementation            name of the BLAS implementation
>     >    >  list                      List all installed BLAS
>     implementations
>     >    >  set <implementation>      Activate one of the installed BLAS
>     >    > implementations
>     >    >    implementation            implementation name or number (from
>     >    'list'
>     >    > action)
>     >    >  show                      Print the currently active BLAS
>     >    implementation
>     >    > $ eselect blas list
>     >    > $ eselect blas show
>     >    > 
>     >    > 
>     >    > Tkane
>     >    > 
>     >    > 
>     > 
>     > 
>     >    Have you tried the stable version of sci-libs/blas-reference?
>     > 
>     >    Dan
>     > 
>     > 
>     > I do not understand it very well,
>     > I think sci-libs/blas-reference-20151113-r1 is a stable version.
>     > 
>     > $ eix -e sci-libs/blas-reference
>     > * sci-libs/blas-reference
>     >      Available versions:  20070226-r4 20151113-r1 {doc}
>     >      Homepage:            http://www.netlib.org/blas/
>     >      Description:        Basic Linear Algebra Subprograms F77
>     reference
>     > implementations
>     > 
>     > Tkane
>     > 
>     > 
>     > 
>     > 
> 
>     I don't use eix, but the one you are trying to install (20151113-r1) is
>     marked unstable:
> 
>     $ eshowkw sci-libs/blas-reference
>     Keywords for sci-libs/blas-reference:
>                 |                                |  u  |
>                 | a a        p s    a  n r    |  n  |
>                 | l m  h i  p p  m r m i i s  | e u s | r
>                 | p d a p a p c a x i m 6 o s 3  | a s l | e
>                 | h 6 r p 6 p 6 r 8 p 6 8 s c 9 s | p e o | p
>                 | a 4 m a 4 c 4 c 6 s 4 k 2 v 0 h | i d t | o
>     ------------+---------------------------------+-------+-------
>     20070226-r4 | + + + + + + + + + ~ o o o o ~ o | 5 o 0 | gentoo
>     20151113-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o o o ~ o | 6 o  | gentoo
> 
> 
>     Dan
> 
> Thank you.
> I understood that sci-libs/blas-reference-20151113-r1 is not stable.
> So I added a line in package.mask file as follows.
> 
>>=sci-libs/blas-reference-20151113-r1
> 
> And I try emerge --ask dev-lang/R, 
> sci-libs/acml-4.1.0-r2 is required instead of blas-reference-20151113-r1.
> 
> But acml-4-1-0-gfortran-64bit.tgz download link missing,
> I cannot download acml-4-1-0-gfortran-64bit.tgz.
> 
> How do I use dev-lang/R?
> 
> $ emerge --ask dev-lang/R
> 
>  * IMPORTANT: 10 news items need reading for repository 'gentoo'.
>  * Use eselect news read to view new items.
> 
> 
>  * IMPORTANT: 7 config files in '/home/kaneko/gentoo/etc/portage' need
> updating.
>  * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
>  * sections of the emerge man page to learn how to update config files.
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N F   ] sci-libs/acml-4.1.0-r2  USE="openmp -doc -examples
> -gfortran (-ifc) -int64 {-test}"
> [ebuild  N     ] virtual/blas-3.6
> [ebuild  N     ] dev-lang/R-3.3.2  USE="nls openmp (prefix) readline -X
> -cairo -doc -icu -java -jpeg -lapack -minimal -perl -png -profile
> -static-libs -tiff -tk"
> 
> Fetch instructions for sci-libs/acml-4.1.0-r2:
>  * Please download the ACML from:
>  * http://developer.amd.com/acml.jsp
>  * and place it in /home/kaneko/gentoo/usr/portage/distfiles.
>  * The previous versions could be found at
>  * http://developer.amd.com/acmlarchive.jsp
>  * SRC=acml-4-1-0-gfortran-64bit.tgz
>  *      amd64? (
>  *              ifc? ( acml-4-1-0-ifort-64bit.tgz
>  *                      int64? ( acml-4-1-0-ifort-64bit-int64.tgz ) )
>  *              gfortran? (      acml-4-1-0-gfortran-64bit.tgz
>  *                      int64? ( acml-4-1-0-gfortran-64bit-int64.tgz ) )
>  *              !ifc? (
>  *                      !gfortran? ( acml-4-1-0-gfortran-64bit.tgz
>  *                              int64? (
> acml-4-1-0-gfortran-64bit-int64.tgz ) ) ) )
>  *      x86? (
>  *              ifc? ( acml-4-1-0-ifort-32bit.tgz )
>  *              gfortran? ( acml-4-1-0-gfortran-32bit.tgz )
>  *              !ifc? ( !gfortran? ( acml-4-1-0-gfortran-32bit.tgz ) ) )
> 
> Would you like to merge these packages? [Yes/No] no
> 
> Quitting.
> 
> Tkane
> 
> 
> 
> 

Is there a specific reason you're trying to use the unstable versions?

I just installed the stable versions with no issues:

# emerge -pv R

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

Calculating dependencies... done!
[ebuild  N     ] app-eselect/eselect-blas-0.1::gentoo  0 KiB
[ebuild  N     ] sci-libs/blas-reference-20070226-r4::gentoo  USE="-doc"
0 KiB
[ebuild  N     ] virtual/blas-1.0::gentoo  0 KiB
[ebuild  N     ] dev-lang/R-3.2.2::gentoo  USE="X cairo jpeg nls openmp
png readline tiff -doc -icu -java -lapack -minimal -perl (-prefix)
-profile -static-libs -tk" 0 KiB

Total: 4 packages (4 new), Size of downloads: 0 KiB

Dan

Reply via email to