Re: I am unable to build atlas rpm from centos7.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 07/15/2016 05:20 AM, SUDHANSHU BHUTANI wrote:
> Hi all,
> 
> I just cloned from
> git clone https://git.centos.org/git/rpms/atlas
> 
> And rpmbuild is failing  with error in building ATLAS:-
> 
> make[1]: Leaving directory `/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base'
> DONE configure
> + '[' base = base ']'
> + sed -i 's#ARCH =.*#ARCH = P4E64SSE3#' Make.inc
> + sed -i s#-DATL_AVX## Make.inc
> + sed -i s#-mavx#-msse3# Make.inc
> + echo 'base makefile edited'
> base makefile edited
> + make build
> make -f Make.top build
> make[1]: Entering directory `/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base'
> cd bin/ ; make xatlas_build
> make[2]: Entering directory
> `/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base/bin'
> /usr/bin/x86_64-redhat-linux-gcc -DL2SIZE=4194304
> -I/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base/include
> -I/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base/..//include
> -I/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base/..//include/contrib
> -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux
> -DATL_ARCH_UNKNOWNx86 -DATL_CPUMHZ=2399 MAC -DATL_AVX -DATL_SSE3
> -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664 -m64 -DWALL
> -DATL_FULL_LAPACK -DATL_NCPU=4 -O -fomit-frame-pointer  -g
> -fstack-protector-strong -Wa,--noexecstack -fPIC -m64 -c
> /home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base/..//bin/atlas_tee.c
> x86_64-redhat-linux-gcc: error: MAC: No such file or directory
> make[2]: *** [atlas_tee.o] Error 1
> make[2]: Leaving directory
> `/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base/bin'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base'
> make: *** [build] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.LYBFLC (%build)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.LYBFLC (%build)
> "log" 465L, 31535C
> 
> -----
> uname -a:
> Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19
> 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> -bash-4.2$
> -----
> 
> Any pointers?
> I am not sure, why MAC is getting added to Makefile on my machine?

As a general rules, you should always use mock to build packages to
prevent 'extra rpms' from being in the build root that can change the
things a package is linked against. Having to many packages installed
can add in features, cause compiles to fail, etc.  Mock adds only a
minimal buildroot with only packages called out in the SRPM for building
added to that minimal buildroot.

I just built the latest atlas in mock on c7/x86_64. I used only the
current os/ and updates/ from mirror.centos.org .. it built fine.

Here is all the build information on the latest atlas in CentOS 7:

http://buildlogs.centos.org/c7.1511.00/atlas/20151120044325/3.10.1-10.el7.x86_64/

That includes the root.log (all packages in the buildroot) and the
build.log (output of rpmbuild in mock).

Also included is the mock config (but you can also just use base and
updates from any centos mirror in this case)

Thanks,
Johnny Hughes


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux