Closed aphecetche closed 7 years ago
Did you set the same defaults when calling aliDoctor ?
Damn it. Nooooo !
Sure enough with aliDoctor --defaults o2 I get the source of the problem :
GCC-Toolchain:
:3:2: error: #error "System's GCC cannot be used: we need at least GCC 6.X. We are going to compile our own version.
Thanks Barth !
@ktf @dberzano Shouldn't aliDoctor have complained that O2 requires a defaults ? @aphecetche Was your alidist up to date ?
@Barthelemy yes, I agree. aliDoctor should have said something about the default.
See also #480
@ktf thank you for the ticket
@Barthelemy yes my alidist was up to date ( f60ceb886736b167618fb53f5edb5a3105d07449 Mon Sep 4 11:07:16 2017 +0200)
Hi,
I'm trying to build o2 on Ubuntu 14.04 (in a container, image from travis), and it seems aliDoctor and aliBuild disagree on the packages to be built. Specifically aliBuild wants to build the GCC toolchain (which I'd rather avoid) while aliDoctor says it's ok (see below the tail of the output of both commands).
GCC 5 (5.4) (including fortran) is installed in $HOME/bin and $HOME/bin is added to PATH.
What stupid mistake am I making ;-) ?
Thanks,
> which gfortran /home/travis/bin/gfortran
> travis@442c2165269e:~/build$ ls -l $HOME/bin total 0 lrwxrwxrwx 1 travis travis 14 Sep 4 09:50 c++ -> /usr/bin/g++-5 lrwxrwxrwx 1 travis travis 14 Sep 4 09:50 cc -> /usr/bin/gcc-5 lrwxrwxrwx 1 travis travis 19 Sep 4 09:50 gfortran -> /usr/bin/gfortran-5
> aliDoctor O2 ... snip...
==> The following packages will be picked up from the system:
==> The following packages will be build by aliBuild because they couldn't be picked up from the system:
> aliBuild --dry-run --defaults o2 build O2
==> aliBuild can take the following packages from the system and will not build them: Python, libpng, FreeType, autotools
==> The following packages cannot be taken from the system and will be built: Python-modules, Vc, CMake, protobuf, GCC-Toolchain, yaml-cpp, nanomsg, ZeroMQ, boost, GSL
==> Packages will be built in the following order: