Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2018-07-24 14:55:59

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,616

trouble to build the unstable version

hello

trying to build the unstable version with waf

i get the following error at Configuration of the source repository stage

dedalus@dedalus:~/dev/codeaster> $HOME/dev/codeaster/devtools/bin/install_env --internet
Unknown repository in '/home/dedalus/dev/codeaster'
Please provide repository path as argument (see 'install_env --help').

what can be done ?

jean pierre aubry

Last edited by jeanpierreaubry (2018-07-24 15:08:51)

Offline

#2 2018-07-24 15:21:14

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,616

Re: trouble to build the unstable version

once the command is [corrected?] with the proper path?
i get

dedalus@dedalus:~/dev/codeaster/devtools>  $HOME/dev/codeaster/devtools/bin/install_env   --internet
Traceback (most recent call last):
  File "/home/dedalus/dev/codeaster/devtools/bin/install_env", line 654, in <module>
    repocfg = RepoCfg.factory(repodir, internet=opts.noedf, builder=builder)
  File "/home/dedalus/dev/codeaster/devtools/bin/install_env", line 200, in factory
    assert config.astersrc, "Only supported for codeaster repositories."
AssertionError: Only supported for codeaster repositories.
dedalus@dedalus:~/dev/codeaster/devtools> 

this is fully not understanble!!

Offline

#3 2018-07-24 23:26:22

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: trouble to build the unstable version

Hello Jean-Pierre,

the install_env script should be applied to a code_aster source repository (e.g. « src »).

« devtools » is not a code_aster source repository.

TdS

Offline

#4 2018-07-25 07:42:04

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 3,616

Re: trouble to build the unstable version

hello Thomas

i understand i have to do that
still an error

dedalus@dedalus:~/dev/codeaster> $HOME/dev/codeaster/devtools/bin/install_env  $HOME/dev/codeaster/src --internet
Configuring 'src' repository...
INFO     checking repository /home/dedalus/dev/codeaster/src
INFO     settings added into /home/dedalus/dev/codeaster/src/.hg/hgrc
INFO     checking repository /home/dedalus/dev/codeaster/data
INFO     checking repository /home/dedalus/dev/codeaster/validation
INFO     checking repository /home/dedalus/dev/codeaster/devtools
Traceback (most recent call last):
  File "/home/dedalus/dev/codeaster/devtools/bin/install_env", line 689, in <module>
    reset=opts.reset, integration=opts.integration)
  File "/home/dedalus/dev/codeaster/devtools/bin/install_env", line 426, in main
    subcfg = RepoCfg.factory(osp.join(rootdir, repo), repocfg.internet)
  File "/home/dedalus/dev/codeaster/devtools/bin/install_env", line 200, in factory
    assert config.astersrc, "Only supported for codeaster repositories."
AssertionError: Only supported for codeaster repositories.

Offline

#5 2018-07-28 16:26:21

Thomas DE SOZA
Guru
From: EDF
Registered: 2007-11-23
Posts: 3,066

Re: trouble to build the unstable version

Hello Jean-Pierre,

Argh, did you update the devtools repository before trying install_env?

cd $HOME/dev/codeaster/devtools
hg pull -u

TdS

Offline

#6 2018-08-24 07:03:17

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,167

Re: trouble to build the unstable version

Hello,

This is a regression in devtools that is now fixed and will be available very soon.

MC


Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline