| 7 Mar 2024 |
Robert Hensing (roberth) | haven't seen those errors | 16:51:15 |
void | oh I have plenty. | 16:51:41 |
void |
euler | make[3]: Entering directory '/build/source/src/hydra-evaluator'
euler | g++ -DHAVE_CONFIG_H -I. -I../.. -std=c++2a -I/nix/store/sayhfgaika0srb3d06ykn01svkg56264-nix-unstable-evrim-2.19.3-dev/include/nix -I/nix/store/a6gcj4anazwgqpn5nx7aqcw7f290xs89-boehm-gc-nix-evrim-8.2.4-dev/include -Wall -I ..\
/libhydra -Wno-deprecated-declarations -g -O2 -include nix/config.h -c -o hydra_evaluator-hydra-evaluator.o `test -f 'hydra-evaluator.cc' || echo './'`hydra-evaluator.cc
euler | In file included from hydra-evaluator.cc:1:
euler | ../libhydra/db.hh: In member function 'std::string Connection::getFlags()':
euler | ../libhydra/db.hh:15:18: error: 'getEnv' was not declared in this scope; did you mean 'getenv'?
euler | 15 | auto s = getEnv("HYDRA_DBI").value_or("dbi:Pg:dbname=hydra;");
euler | | ^~~~~~
euler | | getenv
euler | In file included from hydra-evaluator.cc:2:
euler | ../libhydra/hydra-config.hh: In constructor 'HydraConfig::HydraConfig()':
euler | ../libhydra/hydra-config.hh:16:32: error: 'getEnv' was not declared in this scope; did you mean 'getenv'?
euler | 16 | auto hydraConfigFile = getEnv("HYDRA_CONFIG");
euler | | ^~~~~~
euler | | getenv
euler | ../libhydra/hydra-config.hh:17:32: error: 'pathExists' was not declared in this scope
euler | 17 | if (hydraConfigFile && pathExists(*hydraConfigFile)) {
euler | | ^~~~~~~~~~
euler | ../libhydra/hydra-config.hh:19:54: error: 'readFile' was not declared in this scope
euler | 19 | for (auto line : tokenizeString<Strings>(readFile(*hydraConfigFile), "\n")) {
euler | | ^~~~~~~~
euler | hydra-evaluator.cc: In member function 'void Evaluator::run()':
euler | hydra-evaluator.cc:470:25: error: 'createInterruptCallback' was not declared in this scope
euler | 470 | auto callback = createInterruptCallback([&]() { std::_Exit(1); });
euler | | ^~~~~~~~~~~~~~~~~~~~~~~
euler | make[3]: *** [Makefile:443: hydra_evaluator-hydra-evaluator.o] Error 1
euler | make[3]: Leaving directory '/build/source/src/hydra-evaluator'
| 16:51:53 |
void | none of the branches compiles. | 16:51:58 |
void | maybe Im doing something strange. | 16:52:05 |
void | the above is with nix-2.19 hydra, 2.19-maintenance nix branch. | 16:52:42 |
void | though those branches are there to match but I guess Im wrong. | 16:53:37 |
void | * thought those branches are there to match but I guess Im wrong. | 16:53:43 |
void | could you point me in the right direction of branches to use? | 16:55:20 |
void | nix.url = "git+http://gitea/nix/nix.git?ref=2.18-maintenance";
nix.inputs.nixpkgs.follows = "nixpkgs";
hydra.url = "git+http://gitea/nix/hydra.git?ref=nix-2.18"; #"path:/home/void/hydra"; #"github:NixOS/hydra";
hydra.inputs.nixpkgs.follows = "nixpkgs";
hydra.inputs.nix.follows = "nix"; #inputs.nixpkgs.follows = "nixpkgs";
| 16:55:35 |
void | * nix.url = "git+http://gitea/nix/nix.git?ref=2.18-maintenance";
nix.inputs.nixpkgs.follows = "nixpkgs";
hydra.url = "git+http://gitea/nix/hydra.git?ref=nix-2.18";
hydra.inputs.nixpkgs.follows = "nixpkgs";
hydra.inputs.nix.follows = "nix"; #inputs.nixpkgs.follows = "nixpkgs";
| 16:55:44 |
void | * could you point me in the right direction of which branches to use? | 16:56:16 |
Robert Hensing (roberth) | I don't know. I'd assume the inputs of the hydra flake provide a working combination | 16:57:27 |
Robert Hensing (roberth) | maintaining hydra is not my job unfortunately :/ | 16:57:53 |
void | Its OK, just seen your PackageInfo patch on nix that's why I thought you mite have an idea. | 16:58:47 |
ma27 | In reply to @void68:matrix.org the above is with nix-2.19 hydra, 2.19-maintenance nix branch. fwiw nix build on 2.19 (with the flake pointing to nix 2.19-maintenance) works fine for me though. | 17:03:42 |
ma27 | are you using the flake stuff or the nixpkgs package? | 17:03:52 |
void | I use both both the hydra uses the one in nix flake if you go for hydra flakes. | 17:04:30 |
void | * I use both but the hydra uses the one in nix flake if you go for hydra flakes. | 17:04:38 |
void | interesting. tried 2.19 but failed, I'll recheck. | 17:05:13 |
ma27 | which rev of hydra are you on btw? tested with a plain nix build on 838648c0cebc12e0527ede3ac5f71b64670b5f83. | 17:06:56 |
void | hold on, updating flakes, I'll tell. | 17:08:56 |
void | warning: Git tree '/home/void/flakes.2' is dirty
warning: updating lock file '/home/void/flakes.2/flake.lock':
• Updated input 'hydra':
'git+http://gitea/nix/hydra.git?ref=nix-2.18&rev=4d1c8505120961f10897b8fe9a070d4e193c9a13' (2023-12-01)
→ 'git+http://gitea/nix/hydra.git?ref=nix-2.19&rev=838648c0cebc12e0527ede3ac5f71b64670b5f83' (2024-01-26)
• Added input 'hydra/nixpkgs-for-fileset':
'github:NixOS/nixpkgs/880992dcc006a5e00dd0591446fdf723e6a51a64' (2024-03-05)
• Updated input 'nix':
'git+http://gitea/nix/nix.git?ref=2.18-maintenance&rev=afb55f36df5e65007cb30798242ceb402f0572a4' (2024-02-22)
→ 'git+http://gitea/nix/nix.git?ref=2.19-maintenance&rev=6566d3c5658400d65e303e8e9a9e71e9ea306197' (2024-03-06)
| 17:08:57 |
void | yup it matches, let me see the errorr. | 17:10:57 |
void | euler | g++ -DHAVE_CONFIG_H -I. -I../.. -std=c++2a -I/nix/store/sayhfgaika0srb3d06ykn01svkg56264-nix-unstable-evrim-2.19.3-dev/include/nix -I/nix/store/a6gcj4anazwgqpn5nx7aqcw7f290xs89-boehm-gc-nix-evrim-8.2.4-dev/include -Wall -I ..\
/libhydra -Wno-deprecated-declarations -g -O2 -include nix/config.h -c -o hydra_queue_runner-nar-extractor.o `test -f 'nar-extractor.cc' || echo './'`nar-extractor.cc
euler | hydra-queue-runner.cc: In member function 'void State::monitorMachinesFile()':
euler | hydra-queue-runner.cc:229:74: error: cannot call member function 'nix::StringSet nix::StoreConfig::getDefaultSystemFeatures()' without object
euler | 229 | + concatStringsSep(",", StoreConfig::getDefaultSystemFeatures()));
euler | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
euler | make[3]: *** [Makefile:483: hydra_queue_runner-hydra-queue-runner.o] Error 1
| 17:14:31 |
void | interesting, I get this one. | 17:14:35 |
void | three branches, three diff errors. | 17:15:07 |
ma27 | what exactly is nix-unstable-evrim-2.19.3?
perhaps check with nix show-derivation /nix/store/sayhfgaika0srb3d06ykn01svkg56264-nix-unstable-evrim-2.19.3-dev whether it has the correct source and all that? | 17:18:08 |
ma27 | or, maybe even remove the nix-unstable-evrim part and use stock nix 2.19 to build? | 17:18:31 |
void | sure, prolly there is a mismatch. | 17:21:36 |