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: 4,049

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)


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

Offline

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

jeanpierreaubry
Guru
From: nantes (france)
Registered: 2009-03-12
Posts: 4,049

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!!


consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

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: 4,049

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.

consider reading my book
freely available here https://framabook.org/beginning-with-code_aster/

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,183

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

#7 2021-09-07 20:51:03

aep93
Member
Registered: 2020-02-21
Posts: 103

Re: trouble to build the unstable version

Hello,
I am using the same instructions in this thread to build the unstable version. The installation starts, however, I the following error:

[7598/9875] Compiling bibc/renum/gpmetis_aster.c
In file included from ../../../bibc/include/aster.h:28:0,
                 from ../../../bibc/hdf/hdfcld.c:19:
../../../bibc/hdf/hdfcld.c:32:35: error: unknown type name ‘hid_t’; did you mean ‘id_t’?
 ASTERINTEGER DEFP(HDFCLD, hdfcld, hid_t *idd)
                                   ^
../../../bibc/include/definition.h:521:52: note: in definition of macro ‘DEFP’
 #define DEFP(UN,LN,a)               STDCALL(UN,LN)(a)
                                                    ^

Waf: Leaving directory `/home/user/dev/codeaster/src/build/std/release'
Build failed
 -> task in 'asterbibc' failed with exit status 1 (run with -v to display more information)

Offline