Skip to content

Build error for release with default gcc on CentOS #22

@s-sajid-ali

Description

@s-sajid-ali

Hi libflame developers,

I'm seeing the following error when I attempt to build the 5.1.0 release with gcc-4.8.5 on centOS 7.5.

[sajid@xrmlite spack]$ spack install [email protected] %[email protected]                                                                                        
==> Installing libflame                                                                                                                               
==> Searching for binary cache of libflame                                                                                                            
==> Warning: No Spack mirrors are currently configured                                                                                                
==> No binary for libflame found: installing from source                                                                                              
==> Fetching https://github.com/flame/libflame/archive/5.1.0.tar.gz                                                                                   
######################################################################## 100.0%                                                                       
==> Staging archive: /home/sajid/packages/spack/var/spack/stage/libflame-5.1.0-d7l3mqr355nxmvshee5ngl5g3jvi2jc7/5.1.0.tar.gz                          
==> Created stage in /home/sajid/packages/spack/var/spack/stage/libflame-5.1.0-d7l3mqr355nxmvshee5ngl5g3jvi2jc7                                       
==> Applied patch /home/sajid/packages/spack/var/spack/repos/builtin/packages/libflame/Makefile_5.1.0.patch                                           
==> Building libflame [AutotoolsPackage]                                                                                                              
==> Executing phase: 'autoreconf'                                                                                                                     
==> Executing phase: 'configure'                                                                                                                      
==> Executing phase: 'build'                                                                                                                          
==> Error: ProcessError: Command exited with status 2:                                                                                                
    'make' '-j16'                                                                                                                                     
                                                                                                                                                      
3 errors found in build log:                                                                                                                          
  >> 4       cat: revision: No such file or directory                                                                                                 
     5       checking build system type... x86_64-unknown-linux-gnu                                                                                   
     6       checking host system type... x86_64-unknown-linux-gnu                                                                                    
     7       checking for GNU make... make                                                                                                            
     8       checking for GNU bash... bash                                                                                                            
     9       checking whether user requested a specific C compiler... no                                                                              
     10      configure: CC environment variable is set to /home/sajid/packages/                                                                       
             spack/lib/spack/env/gcc/gcc, which will override --with-cc option                                                                        
             and default search list for C compiler.                                                                                                  
                                                                                                                                                      
     ...                                                                                                                                              
                                                                                                                                                      
     5599    Compiling src/lapack/util/app/qutinc/front/flamec/FLA_Apply_Q_UT_i                                                                       
             nc_lhfc.c                                                                                                                                
     5600    Compiling src/lapack/util/app/qutinc/front/flamec/FLA_Apply_Q_UT_i                                                                       
             nc_lnfc.c                                                                                                                                
     5601    Compiling src/lapack/util/app/qutinc/lhfc/flamec/FLA_Apply_Q_UT_in                                                                       
             c_lhfc_blk_var1.c                                                                                                                        
     5602    Compiling src/lapack/util/app/qutinc/lnfc/flamec/FLA_Apply_Q_UT_in                                                                       
             c_lnfc_blk_var1.c                                                                                                                        
     5603    Archiving lib/x86_64-unknown-linux-gnu/libflame.a                                                                                        
     5604    Dynamically linking lib/x86_64-unknown-linux-gnu/libflame.so                                                                             
  >> 5605    ar: @@ar: No such file or directory                                                                                                      
  >> 5606    make: *** [lib/x86_64-unknown-linux-gnu/libflame.a] Error 1                                                                              
     5607    make: *** Waiting for unfinished jobs....                                                                                                
                                                                                                                                                      
See build log for details:                                                                                                                            
  /home/sajid/packages/spack/var/spack/stage/libflame-5.1.0-d7l3mqr355nxmvshee5ngl5g3jvi2jc7/spack-build-out.txt                                      

The build recipe I'm using is here 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions