unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Andy Tai <lichengtai@gmail.com>
To: help-guix@gnu.org
Subject: building package: gcc 7.5.0 referenced instead of latest gcc; not sure why
Date: Mon, 22 Feb 2021 14:25:11 -0800	[thread overview]
Message-ID: <CAJsg1E8wazfyc2kroztBeG77H3z3ukRt-PjysqBFjGb4-wH29w@mail.gmail.com> (raw)

Hi, I checked out guix git following instructions in

https://github.com/pjotrp/guix-notes/blob/master/INSTALL.org#fetch-repository-with-git

and everything checked out and built fine.  the gcc installed is version 10.2.0

./pre-inst-env gcc --version
gcc (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.

I tried to update a package definition (vtk) and then tried to build it

./pre-inst-env guix build -k -K vtk

and the log file shows gcc 7.5 being used

(log fragment)

[ 28%] Building CXX object
Common/DataModel/CMakeFiles/vtkCommonDataModel.dir/vtkQuadraticLinearWedge.cxx.o
cd /tmp/guix-build-vtk-8.2.0.drv-0/build/Common/DataModel &&
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++
-DVTK_IN_VTK -DvtkCommonDataModel_EXPORTS
-I/tmp/guix-build-vtk-8.2.0.drv-0/build/Common/DataModel
-I/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/Common/DataModel
-I/tmp/guix-build-vtk-8.2.0.drv-0/build/Common/Core
-I/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/Common/Core
-I/tmp/guix-build-vtk-8.2.0.drv-0/build/Utilities/KWIML
-I/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/Utilities/KWIML
-I/tmp/guix-build-vtk-8.2.0.drv-0/build/Utilities/KWSys
-I/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/Utilities/KWSys
-I/tmp/guix-build-vtk-8.2.0.drv-0/build/ThirdParty/utf8
-I/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/ThirdParty/utf8
-I/tmp/guix-build-vtk-8.2.0.drv-0/build/Common/Math
-I/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/Common/Math
-I/tmp/guix-build-vtk-8.2.0.drv-0/build/Common/Misc
-I/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/Common/Misc
-I/tmp/guix-build-vtk-8.2.0.drv-0/build/Common/System
-I/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/Common/System
-I/tmp/guix-build-vtk-8.2.0.drv-0/build/Common/Transforms
-I/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/Common/Transforms  -O3
-DNDEBUG -fPIC -fvisibility=hidden   -std=c++11 -o
CMakeFiles/vtkCommonDataModel.dir/vtkQuadraticLinearWedge.cxx.o -c
/tmp/guix-build-vtk-8.2.0.drv-0/VTK-8.2.0/Common/DataModel/vtkQuadraticLinearWedge.cxx


I am not sure why gcc 7.5 is being used;   no where in the package
definition scm file references explicitly gcc 7.5.  I did not install
gcc 7.5 explicitly either.

(gcc 7.5 has problem compiling the package source so I want to make
sure later gcc used)

Thanks for any hint on this

-- 
Andy Tai, atai@atai.org
Year 2021 民國110年
自動的精神力是信仰與覺悟
自動的行為力是勞動與技能


             reply	other threads:[~2021-02-23 13:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22 22:25 Andy Tai [this message]
2021-02-24 10:24 ` building package: gcc 7.5.0 referenced instead of latest gcc; not sure why Chris Marusich
  -- strict thread matches above, loose matches on Subject: below --
2021-02-23  0:10 Andy Tai
2021-02-23  2:48 ` Leo Famulari
2021-02-23 22:06 ` zimoun
2021-02-24  4:21   ` Andy Tai
2021-02-23  0:18 Andy Tai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJsg1E8wazfyc2kroztBeG77H3z3ukRt-PjysqBFjGb4-wH29w@mail.gmail.com \
    --to=lichengtai@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).