* Package: dev-ml/opam-2.1.2  * Repository: gentoo  * Maintainer: ml@gentoo.org gienah@gentoo.org  * USE: abi_x86_64 amd64 elibc_glibc kernel_linux ocamlopt userland_GNU  * FEATURES: compressdebug installsources network-sandbox preserve-libs splitdebug test userpriv usersandbox >>> Unpacking source... >>> Unpacking opam-2.1.2.tar.gz to /tmp/portage/dev-ml/opam-2.1.2/work >>> Unpacking opam-2.1.0-dose3-6.patch.xz to /tmp/portage/dev-ml/opam-2.1.2/work >>> Source unpacked in /tmp/portage/dev-ml/opam-2.1.2/work >>> Preparing source in /tmp/portage/dev-ml/opam-2.1.2/work/opam-2.1.2 ... * Applying opam-2.1.0-dose3-6.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /tmp/portage/dev-ml/opam-2.1.2/work/opam-2.1.2 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/opam-2.1.2 --htmldir=/usr/share/doc/opam-2.1.2/html --libdir=/usr/lib64 configure: loading site script /usr/share/config.site checking for x86_64-pc-linux-gnu-ocamlc... no checking for ocamlc... ocamlc OCaml version is 4.14.0 OCaml library path is /usr/lib64/ocaml checking for x86_64-pc-linux-gnu-ocamlopt... no checking for ocamlopt... ocamlopt checking for x86_64-pc-linux-gnu-ocamlc.opt... no checking for ocamlc.opt... ocamlc.opt checking for x86_64-pc-linux-gnu-ocamlopt.opt... no checking for ocamlopt.opt... ocamlopt.opt checking for x86_64-pc-linux-gnu-ocaml... no checking for ocaml... ocaml checking for x86_64-pc-linux-gnu-ocamldep... no checking for ocamldep... ocamldep checking for x86_64-pc-linux-gnu-ocamldep.opt... no checking for ocamldep.opt... ocamldep.opt checking for x86_64-pc-linux-gnu-ocamlmktop... no checking for ocamlmktop... ocamlmktop checking for x86_64-pc-linux-gnu-ocamlmklib... no checking for ocamlmklib... ocamlmklib checking for x86_64-pc-linux-gnu-ocamldoc... no checking for ocamldoc... ocamldoc checking for x86_64-pc-linux-gnu-ocamldoc.opt... no checking for ocamldoc.opt... ocamldoc.opt checking for x86_64-pc-linux-gnu-ocamlbuild... no checking for ocamlbuild... ocamlbuild checking OCaml Sys.os_type... Unix checking for gawk... gawk checking for compiler type... cc checking for compiler architecture... amd64 checking for compiler system... linux checking for x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-gcc... no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking acl/libacl.h usability... yes checking acl/libacl.h presence... yes checking for acl/libacl.h... yes checking for library containing acl_get_perm... -lacl checking for x86_64-pc-linux-gnu-ocamlobjinfo... no checking for ocamlobjinfo... ocamlobjinfo checking for x86_64-pc-linux-gnu-ocamlfind... no checking for ocamlfind... ocamlfind checking for curl... curl checking for x86_64-pc-linux-gnu-dune... no checking for dune... dune checking for x86_64-pc-linux-gnu-cppo... no checking for cppo... cppo checking for x86_64-pc-linux-gnu-patch... no checking for patch... patch checking for x86_64-pc-linux-gnu-bunzip2... no checking for bunzip2... bunzip2 checking for OCaml findlib package unix... found checking for OCaml findlib package bigarray... found checking for OCaml findlib package extlib... found checking for OCaml findlib package re... found checking for OCaml findlib package re.glob... found checking for OCaml findlib package cmdliner... found checking for OCaml findlib package ocamlgraph... found checking for OCaml findlib package cudf... found checking for OCaml findlib package dose3.common... found checking for OCaml findlib package dose3.algo... found checking for OCaml findlib package opam-file-format... found checking for OCaml findlib package mccs... found checking for OCaml findlib package opam-0install-cudf... not found checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes configure: creating ./config.status config.status: creating Makefile.config config.status: creating src/ocaml-flags-configure.sexp config.status: creating src/stubs/c-flags.sexp config.status: creating src/stubs/libacl/c-libraries.sexp Opam will be built WITH a built-in solver Executables will be installed in /usr/bin Manual pages will be installed in /usr/share/man >>> Source configured. >>> Compiling source in /tmp/portage/dev-ml/opam-2.1.2/work/opam-2.1.2 ... * Building ... Scanned 0 directories Done: 0/0 (jobs: 0) Done: 532/1727 (jobs: 11) Done: 533/1727 (jobs: 10) Done: 534/1727 (jobs: 9) Done: 535/1727 (jobs: 8) Done: 538/1727 (jobs: 8) Done: 540/1727 (jobs: 7) Done: 542/1727 (jobs: 6) Done: 544/1727 (jobs: 5) Done: 546/1727 (jobs: 4) Done: 563/1727 (jobs: 32) Done: 565/1727 (jobs: 32) Done: 567/1729 (jobs: 32) Done: 569/1729 (jobs: 32) Done: 570/1729 (jobs: 32) Done: 572/1729 (jobs: 32) Done: 573/1729 (jobs: 32) Done: 575/1729 (jobs: 32) Done: 576/1729 (jobs: 32) Done: 577/1729 (jobs: 32) Done: 579/1729 (jobs: 32) Done: 581/1729 (jobs: 32) Done: 582/1729 (jobs: 32) Done: 583/1729 (jobs: 32) Done: 584/1729 (jobs: 32) Done: 585/1729 (jobs: 32) Done: 587/1729 (jobs: 32) Done: 588/1729 (jobs: 32) Done: 593/1729 (jobs: 32) Done: 595/1729 (jobs: 32) Done: 597/1729 (jobs: 32) Done: 598/1729 (jobs: 32) Done: 600/1729 (jobs: 32) Done: 601/1729 (jobs: 32) Done: 605/1729 (jobs: 32) Done: 607/1729 (jobs: 32) Done: 608/1729 (jobs: 32) Done: 610/1729 (jobs: 32) Done: 612/1729 (jobs: 32) Done: 613/1729 (jobs: 32) Done: 616/1729 (jobs: 32) Done: 617/1729 (jobs: 32) Done: 619/1729 (jobs: 32) Done: 625/1729 (jobs: 32) Done: 626/1729 (jobs: 32) Done: 628/1729 (jobs: 32) Done: 630/1729 (jobs: 32) Done: 632/1729 (jobs: 32) Done: 634/1729 (jobs: 32) Done: 636/1729 (jobs: 32) Done: 638/1729 (jobs: 32) Done: 644/1729 (jobs: 32) Done: 647/1729 (jobs: 32) Done: 649/1729 (jobs: 32) Done: 651/1729 (jobs: 32) Done: 653/1729 (jobs: 32) Done: 654/1729 (jobs: 32) Done: 655/1729 (jobs: 32) Done: 656/1729 (jobs: 32) Done: 657/1729 (jobs: 32) Done: 658/1729 (jobs: 32) Done: 659/1729 (jobs: 32) Done: 660/1729 (jobs: 32) Done: 662/1729 (jobs: 32) Done: 663/1729 (jobs: 32) Done: 664/1729 (jobs: 32) Done: 666/1729 (jobs: 32) Done: 667/1729 (jobs: 32) Done: 668/1729 (jobs: 32) Done: 670/1729 (jobs: 32) Done: 671/1729 (jobs: 32) Done: 672/1729 (jobs: 32) Done: 673/1729 (jobs: 32) Done: 675/1729 (jobs: 32) Done: 677/1729 (jobs: 32) Done: 678/1729 (jobs: 32) Done: 679/1729 (jobs: 32) Done: 680/1729 (jobs: 32) Done: 681/1729 (jobs: 32) Done: 682/1729 (jobs: 32) Done: 683/1729 (jobs: 32) Done: 684/1729 (jobs: 32) Done: 686/1729 (jobs: 32) Done: 687/1729 (jobs: 32) Done: 688/1729 (jobs: 32) Done: 689/1729 (jobs: 32) Done: 690/1729 (jobs: 32) Done: 692/1729 (jobs: 32) Done: 693/1729 (jobs: 32) Done: 694/1729 (jobs: 32) Done: 695/1729 (jobs: 32) Done: 697/1729 (jobs: 32) Done: 698/1729 (jobs: 32) Done: 699/1729 (jobs: 32) Done: 700/1729 (jobs: 32) Done: 702/1729 (jobs: 32) Done: 703/1729 (jobs: 32) Done: 705/1729 (jobs: 32) Done: 707/1729 (jobs: 32) Done: 710/1729 (jobs: 32) Done: 711/1729 (jobs: 32) Done: 713/1729 (jobs: 32) Done: 715/1729 (jobs: 32) Done: 717/1729 (jobs: 32) Done: 719/1729 (jobs: 32) Done: 720/1729 (jobs: 32) Done: 721/1729 (jobs: 32) Done: 729/1729 (jobs: 32) Done: 731/1729 (jobs: 32) Done: 733/1729 (jobs: 32) Done: 735/1729 (jobs: 32) Done: 737/1729 (jobs: 32) Done: 739/1729 (jobs: 32) Done: 741/1729 (jobs: 32) Done: 743/1729 (jobs: 32) Done: 745/1729 (jobs: 32) Done: 747/1729 (jobs: 32) Done: 749/1729 (jobs: 32) Done: 751/1729 (jobs: 32) Done: 753/1729 (jobs: 32) Done: 755/1729 (jobs: 32) Done: 757/1729 (jobs: 32) Done: 759/1729 (jobs: 32) Done: 760/1729 (jobs: 32) Done: 762/1729 (jobs: 32) Done: 763/1729 (jobs: 32) Done: 764/1729 (jobs: 32) Done: 765/1729 (jobs: 32) Done: 766/1729 (jobs: 32) Done: 767/1729 (jobs: 32) Done: 772/1729 (jobs: 32) Done: 774/1729 (jobs: 32) Done: 776/1729 (jobs: 32) Done: 781/1729 (jobs: 32) Done: 783/1729 (jobs: 32) Done: 785/1729 (jobs: 32) Done: 787/1729 (jobs: 32) Done: 789/1729 (jobs: 32) Done: 791/1729 (jobs: 32) Done: 793/1729 (jobs: 32) Done: 795/1729 (jobs: 32) Done: 797/1729 (jobs: 32) Done: 799/1729 (jobs: 32) Done: 801/1729 (jobs: 32) Done: 803/1729 (jobs: 32) Done: 805/1729 (jobs: 32) Done: 806/1729 (jobs: 32) Done: 807/1729 (jobs: 32) Done: 808/1729 (jobs: 32) Done: 810/1729 (jobs: 32) Done: 811/1729 (jobs: 32) Done: 817/1729 (jobs: 32) Done: 819/1729 (jobs: 32) Done: 821/1729 (jobs: 32) Done: 823/1729 (jobs: 32) Done: 825/1729 (jobs: 32) Done: 827/1729 (jobs: 32) Done: 829/1729 (jobs: 32) Done: 831/1729 (jobs: 32) Done: 833/1729 (jobs: 32) Done: 835/1729 (jobs: 32) Done: 837/1729 (jobs: 32) Done: 838/1729 (jobs: 32) Done: 840/1729 (jobs: 32) Done: 841/1729 (jobs: 32) Done: 842/1729 (jobs: 32) Done: 843/1729 (jobs: 32) Done: 844/1729 (jobs: 32) Done: 845/1729 (jobs: 32) Done: 847/1729 (jobs: 32) Done: 849/1729 (jobs: 32) Done: 850/1729 (jobs: 32) Done: 859/1729 (jobs: 32) Done: 861/1729 (jobs: 32) Done: 863/1729 (jobs: 32) Done: 865/1729 (jobs: 32) Done: 867/1729 (jobs: 31) Done: 869/1729 (jobs: 30) Done: 871/1729 (jobs: 29) Done: 873/1729 (jobs: 28) Done: 875/1729 (jobs: 27) Done: 877/1729 (jobs: 26) Done: 879/1729 (jobs: 25) Done: 881/1729 (jobs: 24) Done: 883/1729 (jobs: 23) Done: 885/1729 (jobs: 22) Done: 887/1729 (jobs: 21) Done: 889/1729 (jobs: 20) Done: 891/1729 (jobs: 19) Done: 893/1729 (jobs: 18) Done: 895/1729 (jobs: 17) Done: 897/1729 (jobs: 16) Done: 899/1729 (jobs: 15) Done: 901/1729 (jobs: 14) Done: 903/1729 (jobs: 13) Done: 905/1729 (jobs: 12) Done: 923/1729 (jobs: 12) Done: 930/1729 (jobs: 11) Done: 933/1729 (jobs: 12) Done: 934/1729 (jobs: 12) Done: 937/1729 (jobs: 13) Done: 940/1729 (jobs: 12) Done: 943/1729 (jobs: 11) File "src/core/opamStubsTypes.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. Done: 943/1729 (jobs: 11) Done: 946/1729 (jobs: 11) Done: 948/1729 (jobs: 10) Done: 951/1729 (jobs: 11) Done: 953/1729 (jobs: 10) Done: 955/1729 (jobs: 9) Done: 958/1729 (jobs: 12) Done: 960/1729 (jobs: 11) Done: 962/1729 (jobs: 10) Done: 964/1729 (jobs: 9) Done: 965/1729 (jobs: 9) Done: 967/1729 (jobs: 8) Done: 969/1729 (jobs: 7) Done: 971/1729 (jobs: 6) Done: 973/1729 (jobs: 5) Done: 976/1729 (jobs: 7) Done: 978/1729 (jobs: 7) Done: 980/1729 (jobs: 6) Done: 982/1729 (jobs: 5) Done: 984/1729 (jobs: 4) Done: 986/1729 (jobs: 3) Done: 989/1729 (jobs: 8) Done: 992/1729 (jobs: 8) Done: 994/1729 (jobs: 7) Done: 997/1729 (jobs: 8) Done: 1000/1729 (jobs: 7) Done: 1003/1729 (jobs: 7) Done: 1006/1729 (jobs: 9) Done: 1008/1729 (jobs: 8) Done: 1011/1729 (jobs: 10) Done: 1013/1729 (jobs: 9) Done: 1016/1729 (jobs: 9) Done: 1019/1729 (jobs: 12) Done: 1021/1729 (jobs: 11) Done: 1024/1729 (jobs: 11) Done: 1027/1729 (jobs: 11) Done: 1030/1729 (jobs: 19) Done: 1031/1729 (jobs: 18) Done: 1033/1729 (jobs: 17) Done: 1035/1729 (jobs: 16) Done: 1038/1729 (jobs: 16) Done: 1041/1729 (jobs: 16) Done: 1043/1729 (jobs: 15) Done: 1046/1729 (jobs: 15) Done: 1049/1729 (jobs: 15) Done: 1052/1729 (jobs: 14) Done: 1055/1729 (jobs: 14) Done: 1058/1729 (jobs: 14) Done: 1061/1729 (jobs: 16) Done: 1063/1729 (jobs: 15) Done: 1065/1729 (jobs: 14) Done: 1067/1729 (jobs: 13) Done: 1069/1729 (jobs: 12) Done: 1071/1729 (jobs: 11) Done: 1073/1729 (jobs: 10) Done: 1075/1729 (jobs: 9) Done: 1077/1729 (jobs: 8) Done: 1079/1729 (jobs: 7) Done: 1081/1729 (jobs: 6) Done: 1083/1729 (jobs: 6) Done: 1086/1729 (jobs: 6) Done: 1088/1729 (jobs: 5) Done: 1091/1729 (jobs: 6) Done: 1093/1729 (jobs: 5) Done: 1095/1729 (jobs: 4) Done: 1098/1729 (jobs: 6) Done: 1100/1729 (jobs: 5) Done: 1102/1729 (jobs: 5) Done: 1105/1729 (jobs: 4) Done: 1108/1729 (jobs: 6) Done: 1111/1729 (jobs: 7) Done: 1113/1729 (jobs: 6) Done: 1115/1729 (jobs: 5) Done: 1117/1729 (jobs: 4) Done: 1119/1729 (jobs: 4) Done: 1122/1729 (jobs: 5) Done: 1125/1729 (jobs: 11) Done: 1127/1729 (jobs: 10) Done: 1130/1729 (jobs: 9) Done: 1133/1729 (jobs: 12) Done: 1136/1729 (jobs: 14) Done: 1139/1729 (jobs: 14) Done: 1141/1729 (jobs: 13) File "src/solver/opamCudfSolverSig.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. Done: 1141/1729 (jobs: 13) Done: 1144/1729 (jobs: 16) Done: 1147/1729 (jobs: 16) Done: 1150/1729 (jobs: 16) Done: 1153/1729 (jobs: 17) Done: 1156/1729 (jobs: 16) Done: 1159/1729 (jobs: 19) Done: 1162/1729 (jobs: 19) Done: 1164/1729 (jobs: 18) Done: 1166/1729 (jobs: 17) Done: 1169/1729 (jobs: 17) Done: 1171/1729 (jobs: 16) Done: 1174/1729 (jobs: 16) Done: 1177/1729 (jobs: 17) Done: 1179/1729 (jobs: 16) Done: 1181/1729 (jobs: 15) Done: 1183/1729 (jobs: 14) Done: 1186/1729 (jobs: 14) Done: 1189/1729 (jobs: 14) Done: 1192/1729 (jobs: 21) Done: 1194/1729 (jobs: 20) Done: 1196/1729 (jobs: 19) Done: 1198/1729 (jobs: 20) Done: 1200/1729 (jobs: 19) Done: 1202/1729 (jobs: 18) Done: 1204/1729 (jobs: 17) Done: 1207/1729 (jobs: 17) Done: 1210/1729 (jobs: 18) Done: 1213/1729 (jobs: 18) Done: 1215/1729 (jobs: 17) Done: 1218/1729 (jobs: 16) Done: 1221/1729 (jobs: 16) Done: 1224/1729 (jobs: 15) Done: 1226/1729 (jobs: 14) Done: 1229/1729 (jobs: 14) Done: 1232/1729 (jobs: 23) Done: 1234/1729 (jobs: 22) Done: 1236/1729 (jobs: 21) Done: 1238/1729 (jobs: 20) Done: 1240/1729 (jobs: 19) Done: 1242/1729 (jobs: 18) Done: 1245/1729 (jobs: 18) Done: 1247/1729 (jobs: 17) Done: 1250/1729 (jobs: 16) Done: 1252/1729 (jobs: 15) Done: 1255/1729 (jobs: 14) Done: 1258/1729 (jobs: 13) Done: 1261/1729 (jobs: 13) Done: 1264/1729 (jobs: 12) Done: 1267/1729 (jobs: 11) Done: 1269/1729 (jobs: 11) Done: 1271/1729 (jobs: 10) Done: 1274/1729 (jobs: 9) Done: 1277/1729 (jobs: 8) Done: 1280/1729 (jobs: 7) Done: 1283/1729 (jobs: 32) Done: 1285/1729 (jobs: 31) Done: 1288/1729 (jobs: 30) Done: 1291/1729 (jobs: 29) Done: 1294/1729 (jobs: 29) Done: 1297/1729 (jobs: 28) Done: 1300/1729 (jobs: 32) Done: 1303/1729 (jobs: 31) Done: 1306/1729 (jobs: 31) Done: 1309/1729 (jobs: 32) Done: 1312/1729 (jobs: 31) Done: 1315/1729 (jobs: 31) Done: 1318/1729 (jobs: 31) Done: 1321/1729 (jobs: 30) Done: 1324/1729 (jobs: 29) Done: 1327/1729 (jobs: 28) Done: 1330/1729 (jobs: 28) Done: 1332/1729 (jobs: 29) Done: 1334/1729 (jobs: 28) Done: 1337/1729 (jobs: 27) Done: 1339/1729 (jobs: 26) Done: 1341/1729 (jobs: 25) Done: 1344/1729 (jobs: 24) Done: 1346/1729 (jobs: 23) Done: 1348/1729 (jobs: 22) Done: 1350/1729 (jobs: 21) Done: 1352/1729 (jobs: 20) Done: 1354/1729 (jobs: 19) Done: 1357/1729 (jobs: 19) Done: 1360/1729 (jobs: 27) Done: 1362/1729 (jobs: 26) Done: 1364/1729 (jobs: 25) Done: 1367/1729 (jobs: 27) Done: 1369/1729 (jobs: 26) Done: 1371/1729 (jobs: 25) Done: 1373/1729 (jobs: 24) Done: 1375/1729 (jobs: 23) Done: 1377/1729 (jobs: 22) Done: 1379/1729 (jobs: 21) Done: 1381/1729 (jobs: 20) Done: 1384/1729 (jobs: 22) Done: 1386/1729 (jobs: 21) Done: 1388/1729 (jobs: 21) Done: 1390/1729 (jobs: 20) Done: 1392/1729 (jobs: 19) Done: 1394/1729 (jobs: 19) Done: 1396/1729 (jobs: 18) Done: 1398/1729 (jobs: 17) Done: 1400/1729 (jobs: 16) Done: 1403/1729 (jobs: 16) Done: 1405/1729 (jobs: 15) Done: 1407/1729 (jobs: 14) Done: 1409/1729 (jobs: 13) Done: 1411/1729 (jobs: 12) Done: 1413/1729 (jobs: 11) Done: 1415/1729 (jobs: 11) Done: 1417/1729 (jobs: 10) Done: 1419/1729 (jobs: 10) Done: 1421/1729 (jobs: 9) Done: 1423/1729 (jobs: 8) Done: 1425/1729 (jobs: 7) Done: 1427/1729 (jobs: 6) Done: 1429/1729 (jobs: 5) Done: 1431/1729 (jobs: 5) Done: 1433/1729 (jobs: 4) Done: 1435/1729 (jobs: 3) Done: 1437/1729 (jobs: 2) Done: 1439/1729 (jobs: 2) Done: 1441/1729 (jobs: 4) Done: 1443/1729 (jobs: 4) Done: 1445/1729 (jobs: 3) Done: 1447/1730 (jobs: 3) File "src/tools/opam_admin_topstart.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. Done: 1447/1730 (jobs: 3) Done: 1448/1730 (jobs: 3) Done: 1450/1730 (jobs: 2) Done: 1452/1730 (jobs: 9) Done: 1454/1730 (jobs: 8) Done: 1456/1730 (jobs: 7) Done: 1458/1730 (jobs: 6) Done: 1460/1730 (jobs: 5) Done: 1462/1730 (jobs: 4) Done: 1464/1730 (jobs: 3) Done: 1467/1730 (jobs: 3) Done: 1469/1730 (jobs: 4) Done: 1471/1730 (jobs: 3) Done: 1474/1730 (jobs: 2) Done: 1476/1730 (jobs: 2) Done: 1478/1730 (jobs: 3) Done: 1480/1730 (jobs: 2) Done: 1482/1730 (jobs: 2) Done: 1484/1730 (jobs: 2) Done: 1486/1730 (jobs: 1) Done: 1488/1730 (jobs: 1) Done: 1490/1730 (jobs: 5) Done: 1492/1730 (jobs: 4) Done: 1494/1730 (jobs: 5) Done: 1496/1730 (jobs: 7) Done: 1498/1730 (jobs: 6) Done: 1500/1730 (jobs: 5) Done: 1502/1730 (jobs: 5) Done: 1505/1732 (jobs: 6) Done: 1507/1732 (jobs: 6) Done: 1509/1732 (jobs: 6) Done: 1511/1732 (jobs: 5) Done: 1513/1732 (jobs: 5) Done: 1515/1732 (jobs: 4) File "src/tools/opam_installer.ml", line 1: Warning 70 [missing-mli]: Cannot find interface file. Done: 1515/1732 (jobs: 4) Done: 1516/1732 (jobs: 4) Done: 1518/1732 (jobs: 4) Done: 1521/1732 (jobs: 3) Done: 1523/1732 (jobs: 3) Done: 1525/1732 (jobs: 5) Done: 1526/1732 (jobs: 5) Done: 1528/1732 (jobs: 4) Done: 1530/1732 (jobs: 3) Done: 1532/1732 (jobs: 3) Done: 1534/1732 (jobs: 6) Done: 1536/1732 (jobs: 5) Done: 1538/1732 (jobs: 4) Done: 1540/1732 (jobs: 4) Done: 1543/1732 (jobs: 4) Done: 1546/1732 (jobs: 3) Done: 1548/1732 (jobs: 3) Done: 1550/1732 (jobs: 4) Done: 1552/1732 (jobs: 4) Done: 1555/1732 (jobs: 3) Done: 1557/1732 (jobs: 4) Done: 1559/1732 (jobs: 3) Done: 1561/1732 (jobs: 3) Done: 1564/1732 (jobs: 3) Done: 1566/1732 (jobs: 2) Done: 1569/1732 (jobs: 1) Done: 1571/1732 (jobs: 2) Done: 1573/1732 (jobs: 2) Done: 1575/1732 (jobs: 1) Done: 1577/1732 (jobs: 1) Done: 1579/1732 (jobs: 1) Done: 1581/1732 (jobs: 1) Done: 1583/1732 (jobs: 1) Done: 1585/1732 (jobs: 5) Done: 1587/1732 (jobs: 4) Done: 1589/1732 (jobs: 5) Done: 1591/1732 (jobs: 5) Done: 1594/1732 (jobs: 5) Done: 1596/1732 (jobs: 4) Done: 1598/1732 (jobs: 7) Done: 1600/1732 (jobs: 6) Done: 1603/1732 (jobs: 5) Done: 1605/1732 (jobs: 4) Done: 1607/1732 (jobs: 3) Done: 1609/1732 (jobs: 2) Done: 1611/1732 (jobs: 1) Done: 1613/1732 (jobs: 1) Done: 1615/1732 (jobs: 3) Done: 1617/1732 (jobs: 4) Done: 1619/1732 (jobs: 4) Done: 1621/1732 (jobs: 3) Done: 1623/1732 (jobs: 2) Done: 1625/1732 (jobs: 2) Done: 1627/1732 (jobs: 1) Done: 1629/1732 (jobs: 1) Done: 1631/1732 (jobs: 1) Done: 1633/1732 (jobs: 2) Done: 1635/1732 (jobs: 2) Done: 1639/1737 (jobs: 3) Done: 1642/1737 (jobs: 3) Done: 1644/1737 (jobs: 3) Done: 1645/1737 (jobs: 3) Done: 1646/1737 (jobs: 3) Done: 1649/1737 (jobs: 2) Done: 1652/1737 (jobs: 1) Done: 1654/1737 (jobs: 1) Done: 1655/1737 (jobs: 32) Done: 1657/1737 (jobs: 32) Done: 1659/1737 (jobs: 32) Done: 1661/1737 (jobs: 32) Done: 1663/1737 (jobs: 32) Done: 1665/1737 (jobs: 32) Done: 1667/1737 (jobs: 32) Done: 1669/1737 (jobs: 32) Done: 1671/1737 (jobs: 32) Done: 1673/1737 (jobs: 31) Done: 1675/1737 (jobs: 30) Done: 1677/1737 (jobs: 29) Done: 1679/1737 (jobs: 28) Done: 1681/1737 (jobs: 27) Done: 1683/1737 (jobs: 26) Done: 1685/1737 (jobs: 25) Done: 1687/1737 (jobs: 24) Done: 1689/1737 (jobs: 23) Done: 1691/1737 (jobs: 22) Done: 1693/1737 (jobs: 21) Done: 1695/1737 (jobs: 20) Done: 1697/1737 (jobs: 19) Done: 1699/1737 (jobs: 18) Done: 1701/1737 (jobs: 17) Done: 1703/1737 (jobs: 16) Done: 1705/1737 (jobs: 15) Done: 1707/1737 (jobs: 14) Done: 1709/1737 (jobs: 13) Done: 1711/1737 (jobs: 12) Done: 1713/1737 (jobs: 11) Done: 1715/1737 (jobs: 10) Done: 1717/1737 (jobs: 9) Done: 1719/1737 (jobs: 8) Done: 1721/1737 (jobs: 7) Done: 1723/1737 (jobs: 6) Done: 1725/1737 (jobs: 5) Done: 1727/1737 (jobs: 4) Done: 1729/1737 (jobs: 3) Done: 1731/1737 (jobs: 2) Done: 1732/1737 (jobs: 1) Done: 1733/1737 (jobs: 1)  [ ok ] >>> Source compiled. >>> Test phase: dev-ml/opam-2.1.2 * Testing ... Scanned 0 directories Done: 0/0 (jobs: 0) Done: 800/928 (jobs: 10) Done: 800/928 (jobs: 10) Done: 801/928 (jobs: 9) Done: 820/933 (jobs: 8) Done: 823/938 (jobs: 8) Done: 823/938 (jobs: 7) Done: 823/938 (jobs: 6) Done: 823/938 (jobs: 5) Done: 823/938 (jobs: 4) Done: 826/943 (jobs: 4) Done: 827/943 (jobs: 4) Done: 829/945 (jobs: 4) Done: 831/945 (jobs: 4) Done: 833/945 (jobs: 4) Done: 834/945 (jobs: 4) Done: 835/945 (jobs: 4) Done: 836/945 (jobs: 4)  opam tests/reftests/root-N0REP0 [ERROR] Sandboxing is not working on your platform gentoo: "/tmp/portage/dev-ml/opam-2.1.2/work/opam-2.1.2/_build/default/tests/reftests/root-N0REP0/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" Done: 836/945 (jobs: 4) Done: 837/945 (jobs: 3) Done: 838/945 (jobs: 3) Done: 839/945 (jobs: 3) Done: 840/945 (jobs: 3) Done: 841/945 (jobs: 3) Done: 846/946 (jobs: 2) Done: 847/946 (jobs: 2) Done: 851/947 (jobs: 1) Done: 852/947 (jobs: 10) Done: 853/947 (jobs: 10) Done: 853/947 (jobs: 9) Done: 854/947 (jobs: 9) Done: 858/947 (jobs: 8) Done: 858/947 (jobs: 7) Done: 862/947 (jobs: 6) Done: 863/947 (jobs: 6) Done: 863/947 (jobs: 5) Done: 864/947 (jobs: 5) Done: 864/947 (jobs: 4) Done: 865/947 (jobs: 4) Done: 865/947 (jobs: 3) Done: 869/947 (jobs: 2) Done: 870/947 (jobs: 2) Done: 870/947 (jobs: 1) Done: 871/947 (jobs: 1)  wget tests/reftests/opam-archive-009e00fa.tar.gz (exit 4) (cd _build/default/tests/reftests && /usr/bin/wget --quiet -O opam-archive-009e00fa.tar.gz https://github.com/ocaml/opam-repository/archive/009e00fa.tar.gz) Done: 871/947 (jobs: 1)  wget tests/reftests/opam-archive-ad4dd344.tar.gz (exit 4) (cd _build/default/tests/reftests && /usr/bin/wget --quiet -O opam-archive-ad4dd344.tar.gz https://github.com/ocaml/opam-repository/archive/ad4dd344.tar.gz) Done: 871/947 (jobs: 1)  wget tests/reftests/opam-archive-c1d23f0e.tar.gz (exit 4) (cd _build/default/tests/reftests && /usr/bin/wget --quiet -O opam-archive-c1d23f0e.tar.gz https://github.com/ocaml/opam-repository/archive/c1d23f0e.tar.gz) Done: 871/947 (jobs: 1)  wget tests/reftests/opam-archive-f372039d.tar.gz (exit 4) (cd _build/default/tests/reftests && /usr/bin/wget --quiet -O opam-archive-f372039d.tar.gz https://github.com/ocaml/opam-repository/archive/f372039d.tar.gz) Done: 871/947 (jobs: 1)  patdiff (internal) (exit 1) (cd _build/default && /usr/bin/patdiff -keep-whitespace -location-style omake tests/reftests/cli-versioning.test tests/reftests/cli-versioning.out) ------ tests/reftests/cli-versioning.test ++++++ tests/reftests/cli-versioning.out File "tests/reftests/cli-versioning.test", line 122, characters 0-1:  |Package env-2-0 does not exist, create as a NEW package? [Y/n] y  |env-2-0 is now pinned to file://${BASEDIR}/opams (version ~dev)  |Package env-2-1 does not exist, create as a NEW package? [Y/n] y  |env-2-1 is now pinned to file://${BASEDIR}/opams (version ~dev)  |### opam switch set-invariant --formula "[]"  |The switch invariant was set to []  |### opam install env-2-0  |  |<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>  |[env-2-0.~dev] synchronised (no changes)  |  |The following actions will be performed:  | - install env-2-0 ~dev*  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved env-2-0.~dev (file://${BASEDIR}/opams) -|-> installed env-2-0.~dev -|Done. +|[ERROR] The compilation of env-2-0.~dev failed at "sh -c env | grep -qFx 'OPAMCLI=2.0'". +| +|#=== ERROR while compiling env-2-0.~dev =======================================# +|# context 2.1.2 | linux/x86_64 | | pinned(file://${BASEDIR}/opams) +|# path ${BASEDIR}/OPAM/cli-versioning/.opam-switch/build/env-2-0.~dev +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c env | grep -qFx 'OPAMCLI=2.0' +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/env-2-0-1251-b2d15b.env +|# output-file ${BASEDIR}/OPAM/log/env-2-0-1251-b2d15b.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build env-2-0 ~dev +|+-  +|- No changes have been performed +|# Return code 31 #  |### opam install env-2-1  |  |<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>  |[env-2-1.~dev] synchronised (no changes)  |  |The following actions will be performed:  | - install env-2-1 ~dev*  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved env-2-1.~dev (file://${BASEDIR}/opams) -|-> installed env-2-1.~dev -|Done. -|### opam remove env-2-0 -|The following actions will be performed: -| - remove env-2-0 ~dev* -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved env-2-0.~dev (no changes) -|-> removed env-2-0.~dev -|Done. -|### opam remove env-2-1 -|The following actions will be performed: -| - remove env-2-1 ~dev* -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved env-2-1.~dev (no changes) -|-> removed env-2-1.~dev -|Done. +|[ERROR] The compilation of env-2-1.~dev failed at "sh -c env | grep -qFx 'OPAMCLI=2.1'". +| +|#=== ERROR while compiling env-2-1.~dev =======================================# +|# context 2.1.2 | linux/x86_64 | | pinned(file://${BASEDIR}/opams) +|# path ${BASEDIR}/OPAM/cli-versioning/.opam-switch/build/env-2-1.~dev +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c env | grep -qFx 'OPAMCLI=2.1' +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/env-2-1-1476-960c76.env +|# output-file ${BASEDIR}/OPAM/log/env-2-1-1476-960c76.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build env-2-1 ~dev +|+-  +|- No changes have been performed +|# Return code 31 # +|### opam remove env-2-0 +|[NOTE] env-2-0 is not installed. +| +|Nothing to do. +|### opam remove env-2-1 +|[NOTE] env-2-1 is not installed. +| +|Nothing to do.  |### # Environement variables cli versioning  |### OPAMBUILDDOC=1 opam var share  |[WARNING] OPAMBUILDDOC was ignored because CLI 2.1 was requested and it was removed in 2.1, set OPAMCLI environment variable to 2.0.  |${BASEDIR}/OPAM/cli-versioning/share  |### OPAMCLI=2.0 OPAMBUILDDOC=1 opam config var share  |[WARNING] OPAMNODEPEXTS was ignored because CLI 2.0 was requested and it was introduced in 2.1.  |${BASEDIR}/OPAM/cli-versioning/share  |### # Switch creation with packages & formulaes  |### opam switch create errored baz --packages baz.2  |[ERROR] Individual package and option '--packages' can not be specified at the same time. Use just '--packages' instead, e.g.  | opam switch create flambda --packages=ocaml.4.12.0,ocaml-option-flambda  | or '--formula'  | opam switch create flambda --formula='["ocaml" {="4.12.0"} "ocaml-option-flambda"]'  |# Return code 2 #  |### OPAMCLI=2.0 opam switch create working baz --packages baz.2 --show  |[WARNING] OPAMNODEPEXTS was ignored because CLI 2.0 was requested and it was introduced in 2.1. Done: 871/947 (jobs: 1)  patdiff (internal) (exit 1) (cd _build/default && /usr/bin/patdiff -keep-whitespace -location-style omake tests/reftests/dot-install.test tests/reftests/dot-install.out) ------ tests/reftests/dot-install.test ++++++ tests/reftests/dot-install.out File "tests/reftests/dot-install.test", line 80, characters 0-1:  |saluton  |### OPAMYES=1  |### opam switch create inst --empty  |### opam update default  |  |<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>  |[default] synchronised from file://${BASEDIR}/REPO  |Now run 'opam upgrade' to apply any package updates.  |### OPAMPRECISETRACKING=1 OPAMDEBUGSECTIONS="TRACK ACTION" OPAMDEBUG=-1  |### opam install nodot  |The following actions will be performed:  | - install nodot ~dev  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |ACTION download_package: nodot.~dev  |ACTION prepare_package_source: nodot.~dev at ${BASEDIR}/OPAM/inst/.opam-switch/build/nodot.~dev -|ACTION Installing nodot.~dev. -| -|ACTION creating ${BASEDIR}/OPAM/inst/share/nodot -|TRACK after install: 19 elements, 3 added, scanned in 0.000s -|-> installed nodot.~dev -|Done. +|[ERROR] The installation of nodot failed at "echo hellow". +|TRACK after install: 16 elements, 0 added, scanned in 0.000s +|ACTION Removing nodot.~dev +|ACTION Removing files from .install +|ACTION Removing the misc files +| +|#=== ERROR while installing nodot.~dev ========================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/inst/.opam-switch/build/nodot.~dev +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh install echo hellow +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/nodot-419-01dd19.env +|# output-file ${BASEDIR}/OPAM/log/nodot-419-01dd19.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - install nodot ~dev +|+-  +|- No changes have been performed +|# Return code 31 # -|### ocaml cat.ml nodot -|==> nodot installed file -|hellow -|==> nodot changes -|opam-version: "2.0" -|added: [ -| "share" {"D"} -| "share-nodot" {"D"} -| "share-nodot-file" {"F:12fc204edeae5b57713c5ad7dcb97d39"} -|] +|### ocaml cat.ml nodot +|Exception: +|Sys_error +| "${BASEDIR}/OPAM/inst/share/nodot/file: No such file or directory". +|==> nodot installed file +|# Return code 2 # -|### opam install dot -|The following actions will be performed: -| - install dot ~dev +|### opam install dot +|The following actions will be performed: +| - install nodot ~dev [required by dot] +| - install dot ~dev +|===== 2 to install =====  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |ACTION download_package: dot.~dev -|ACTION prepare_package_source: dot.~dev at ${BASEDIR}/OPAM/inst/.opam-switch/build/dot.~dev -|ACTION Installing dot.~dev. -| -|ACTION creating ${BASEDIR}/OPAM/inst/share/dot +|ACTION download_package: nodot.~dev +|ACTION prepare_package_source: nodot.~dev at ${BASEDIR}/OPAM/inst/.opam-switch/build/nodot.~dev +|[ERROR] The installation of nodot failed at "echo hellow". -|TRACK after install: 2 elements, 2 added, scanned in 0.000s -|-> installed dot.~dev -|Done. +|TRACK after install: 16 elements, 0 added, scanned in 0.000s +|ACTION Removing nodot.~dev +|ACTION Removing files from .install +|ACTION Removing the misc files +| +|#=== ERROR while installing nodot.~dev ========================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/inst/.opam-switch/build/nodot.~dev +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh install echo hellow +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/nodot-707-35cf1a.env +|# output-file ${BASEDIR}/OPAM/log/nodot-707-35cf1a.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions were aborted +|| - install dot ~dev +|+-  +|+- The following actions failed +|| - install nodot ~dev +|+-  +|- No changes have been performed +|# Return code 31 # -|### ocaml cat.ml dot -|==> dot installed file -|hellow -|==> dot changes -|opam-version: "2.0" -|added: [ -| "share-dot" {"D"} -| "share-dot-file" {"F:12fc204edeae5b57713c5ad7dcb97d39"} -|] +|### ocaml cat.ml dot +|Exception: +|Sys_error +| "${BASEDIR}/OPAM/inst/share/dot/file: No such file or directory". +|==> dot installed file +|# Return code 2 #  |### OPAMDEBUGSECTIONS="SYSTEM FILE(.config)" OPAMDEBUG=-1  |### : check install files ordering :  |### opam install lot-of-files | grep "mkdir\|install\|FILE"  | - install lot-of-files ~dev  |SYSTEM mkdir ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev  |SYSTEM mkdir ${OPAMTMP}  |SYSTEM copy ${OPAMTMP}/default/packages/lot-of-files/lot-of-files.~dev/files/lot-of-files.install.in -> ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/lot-of-files.install.in -|FILE(.config) Wrote ${BASEDIR}/OPAM/inst/.opam-switch/config/lot-of-files.config in 0.000s -|SYSTEM install ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/fichier -> ${BASEDIR}/OPAM/inst/bin/fichier (755) -|SYSTEM mkdir ${BASEDIR}/OPAM/inst/lib/lot-of-files -|SYSTEM install ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/file -> ${BASEDIR}/OPAM/inst/lib/lot-of-files/file (644) -|SYSTEM install ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/fichier -> ${BASEDIR}/OPAM/inst/lib/lot-of-files/fichier (644) -|SYSTEM install ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/dosiero -> ${BASEDIR}/OPAM/inst/lib/lot-of-files/dosiero (644) -|SYSTEM mkdir ${BASEDIR}/OPAM/inst/share/lot-of-files -|SYSTEM install ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/fichier -> ${BASEDIR}/OPAM/inst/share/lot-of-files/fichier (644) -|SYSTEM install ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/dosiero -> ${BASEDIR}/OPAM/inst/share/lot-of-files/dosiero (644) -|SYSTEM mkdir ${BASEDIR}/OPAM/inst/etc -|SYSTEM mkdir ${BASEDIR}/OPAM/inst/etc/lot-of-files -|SYSTEM install ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/dosiero -> ${BASEDIR}/OPAM/inst/etc/lot-of-files/dosiero (644) -|SYSTEM install ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/file -> ${BASEDIR}/OPAM/inst/etc/lot-of-files/file (644) -|SYSTEM install ${BASEDIR}/OPAM/inst/.opam-switch/build/lot-of-files.~dev/file -> ${BASEDIR}/OPAM/dosiero (644) -|-> installed lot-of-files.~dev -|SYSTEM mkdir ${BASEDIR}/OPAM/inst/.opam-switch/packages/lot-of-files.~dev -|SYSTEM mkdir ${BASEDIR}/OPAM/inst/.opam-switch/packages/lot-of-files.~dev/files -|SYSTEM copy ${OPAMTMP}/default/packages/lot-of-files/lot-of-files.~dev/files/lot-of-files.install.in -> ${BASEDIR}/OPAM/inst/.opam-switch/packages/lot-of-files.~dev/files/lot-of-files.install.in +|[ERROR] The installation of lot-of-files failed at "echo hellow". +|#=== ERROR while installing lot-of-files.~dev =================================# +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh install echo hellow +|| - install lot-of-files ~dev +|# Return code 31 # Done: 871/947 (jobs: 1)  patdiff (internal) (exit 1) (cd _build/default && /usr/bin/patdiff -keep-whitespace -location-style omake tests/reftests/legacy-git.test tests/reftests/legacy-git.out) ------ tests/reftests/legacy-git.test ++++++ tests/reftests/legacy-git.out File "tests/reftests/legacy-git.test", line 727, characters 0-1:  |  |<><> Upgrading repositories from older opam format ><><><><><><><><><><><><><><>  |Upgrading repository "test"...  |Updated ${OPAMTMP}/test/packages/P1.0/opam  |Updated ${OPAMTMP}/test/packages/P1.1/opam  |Updated ${OPAMTMP}/test/packages/P2.1/opam  |Updated ${OPAMTMP}/test/packages/P3.1~weird-version.test/opam  |Updated ${OPAMTMP}/test/packages/P4.1/opam  |Updated ${OPAMTMP}/test/packages/P5.1/opam  |Now run 'opam upgrade' to apply any package updates.  |### opam switch create system "--formula=[\"ocaml\" {= \"system\"}]"  |  |<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>  |Switch invariant: ["ocaml" {= "system"}]  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> installed ocaml.system -|Done. +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1068-11db2e.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1068-11db2e.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] n +|# Return code 31 #  |### opam exec -- ocamlc -config | 'ext_lib: .' -> '#' | '^[^#].*' -> '\c' | '^#' -> '' >$ LIB_EXT  |### opam var ext_lib=$LIB_EXT --switch system | '.*' -> '\c'  |### : INSTALL-REMOVE :  |### opam list -is --columns=package -|ocaml.system  |### opam install P1  |The following actions will be performed: -| - install P1 1 I ll always bother you displaying this message -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (git+file://${BASEDIR}/GIT/P1-1) -|-> installed P1.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| - install ocaml system [required by P1] +| - install P1 1 I ll always bother you displaying this message +|===== 2 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|### opam remove P1 -|The following actions will be performed: -| - remove P1 1 +|### opam list -is --columns=package +|### opam remove P1 +|[NOTE] P1 is not installed. -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P1.1 -|Done. +| +|Nothing to do.  |### opam list -is --columns=package -|ocaml.system  |### : LIST :  |### opam list -A  |# Packages matching: any  |# Name # Installed # Synopsis -|ocaml system +|ocaml --  |P1 -- A very useful package  |P2 -- An other very useful package  |P3 -- Testing version names  |P4 -- Testing transitive closure  |P5 -- Testing optional dependencies  |### : INSTALL-OPT :  |### opam list -is --columns=package -|ocaml.system  |### opam install --yes P5 | unordered  |The following actions will be performed: -| - install P1 1 [required by P5] I ll always bother you displaying this message +| - install ocaml system [required by P5] +| - install P1 1 [required by P5] I ll always bother you displaying this message -| - install P5 1 +| - install P5 1 -|===== 2 to install ===== +|===== 3 to install ===== +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1223-b3ae4f.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1223-b3ae4f.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P1.1 (git+file://${BASEDIR}/GIT/P1-1)  |-> retrieved P5.1 (git+file://${BASEDIR}/GIT/P5) -|-> installed P1.1 -|-> installed P5.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| +|# Return code 31 # !|### test -f ${OPAMROOT}/system/lib/p5/p2_absent !|# Return code 1 # -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|P5.1 +|### opam list -is --columns=package +|### opam remove P5 +|[NOTE] P5 is not installed. +| +|Nothing to do. -|### opam remove P5 +|### opam list -is --columns=package +|### opam install P5 -|The following actions will be performed: -| - remove P5 1 -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P5.1 -|Done. +|The following actions will be performed: +| - install ocaml system [required by P5] +| - install P1 1 [required by P5] I ll always bother you displaying this message +| - install P5 1 +|===== 3 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|### opam install P5 +|### opam list -is --columns=package +|### opam remove P5 -a --yes +|[NOTE] P5 is not installed. +| -|The following actions will be performed: -| - install P5 1 +|The following actions will be performed: +| - install ocaml system -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P5.1 (git+file://${BASEDIR}/GIT/P5) -|-> installed P5.1 -|Done. -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|P5.1 -|### opam remove P5 -a --yes -|The following actions will be performed: -| - remove P5 1 -| - remove P1 1 -|===== 2 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P5.1 -|-> removed P1.1 -|Done. +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1417-4ccddf.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1417-4ccddf.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system -|### opam install P5 --yes | unordered -|The following actions will be performed: -| - install P1 1 [required by P5] I ll always bother you displaying this message +|### opam install P5 --yes | unordered +|The following actions will be performed: +| - install ocaml system [required by P5] +| - install P1 1 [required by P5] I ll always bother you displaying this message -| - install P5 1 +| - install P5 1 -|===== 2 to install ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|===== 3 to install ===== +|-> retrieved P1.1 (no changes) +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". -|-> retrieved P1.1 (git+file://${BASEDIR}/GIT/P1-1) -|-> retrieved P5.1 (git+file://${BASEDIR}/GIT/P5) -|-> installed P1.1 -|-> installed P5.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +|-> retrieved P5.1 (no changes) +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1474-643b0c.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1474-643b0c.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +| +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P5.1 -|### opam install P2 --yes | unordered -|The following actions will be performed: -| - install P2 1 -| - recompile P5 1 [uses P2] +|### opam install P2 --yes | unordered +|The following actions will be performed: +| - install ocaml system [required by P2] +| - install P1 1 [required by P2] I ll always bother you displaying this message +| - install P2 1 -|===== 1 to install | 1 to recompile ===== +|===== 3 to install ===== +|-> retrieved P1.1 (no changes) +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1554-3024e2.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1554-3024e2.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P2.1 (git+file://${BASEDIR}/GIT/P2) -|-> retrieved P5.1 (no changes) -|-> removed P5.1 -|-> installed P2.1 -|-> installed P5.1 -|Done. +|# Return code 31 # !|### test -f ${OPAMROOT}/system/lib/p5/p2_present !|# Return code 1 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P5.1 !|### opam remove P5 -a !|[NOTE] P5 is not installed. !| !|The following actions will be performed: -| - remove P5 1 -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P5.1 -|Done. +| - install ocaml system +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|### opam remove P2 -a --yes !|[NOTE] P2 is not installed. !| -|The following actions will be performed: -| - remove P2 1 -| - remove P1 1 -|===== 2 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P2.1 -|-> removed P1.1 -|Done. +|The following actions will be performed: +| - install ocaml system +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1652-012494.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1652-012494.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system !|### opam install P1 P2 P5 | unordered -|The following actions will be performed: -| - install P1 1 I ll always bother you displaying this message +|The following actions will be performed: +| - install ocaml system [required by P2, P1, P5] +| - install P1 1 I ll always bother you displaying this message -| - install P2 1 +| - install P2 1 -| - install P5 1 +| - install P5 1 -|===== 3 to install ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (git+file://${BASEDIR}/GIT/P1-1) -|-> retrieved P2.1 (git+file://${BASEDIR}/GIT/P2) -|-> installed P1.1 -|-> retrieved P5.1 (git+file://${BASEDIR}/GIT/P5) -|-> installed P2.1 -|-> installed P5.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +|===== 4 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### test -f ${OPAMROOT}/system/lib/p5/p2_present !|# Return code 1 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P5.1 !|### opam remove P2 -a --yes !|[NOTE] P2 is not installed. !| -|The following actions will be performed: -| - remove P2 1 -| - recompile P5 1 [uses P2] -|===== 1 to recompile | 1 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P5.1 (no changes) -|-> removed P5.1 -|-> removed P2.1 -|-> installed P5.1 -|Done. +|The following actions will be performed: +| - install ocaml system +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1717-776f1e.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1717-776f1e.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|# Return code 31 # !|### test -f ${OPAMROOT}/system/lib/p5/p2_absent !|# Return code 1 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P5.1 -|### opam remove P1 --yes -|The following actions will be performed: -| - remove P5 1 [uses P1] -| - remove P1 1 -|===== 2 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P5.1 -|-> removed P1.1 -|Done. +|### opam remove P1 --yes +|[NOTE] P1 is not installed. +| +|Nothing to do. !|### opam list -is --columns=package !|ocaml.system  |### : LIST :  |### opam list -A  |# Packages matching: any  |# Name # Installed # Synopsis -|ocaml system +|ocaml --  |P1 -- A very useful package  |P2 -- An other very useful package  |P3 -- Testing version names  |P4 -- Testing transitive closure  |P5 -- Testing optional dependencies  |### : INSTALL :  |### opam list -is --columns=package -|ocaml.system  |### opam install P1  |The following actions will be performed: -| - install P1 1 I ll always bother you displaying this message -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (git+file://${BASEDIR}/GIT/P1-1) -|-> installed P1.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| - install ocaml system [required by P1] +| - install P1 1 I ll always bother you displaying this message +|===== 2 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|### opam install P2 -|The following actions will be performed: -| - install P2 1 -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P2.1 (git+file://${BASEDIR}/GIT/P2) -|-> installed P2.1 -|Done. +|The following actions will be performed: +| - install ocaml system [required by P2] +| - install P1 1 [required by P2] I ll always bother you displaying this message +| - install P2 1 +|===== 3 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|### opam install P3 -|The following actions will be performed: -| - install P3 1~weird-version.test -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P3.1~weird-version.test (git+file://${BASEDIR}/GIT/P3) -|-> installed P3.1~weird-version.test -|Done. +|The following actions will be performed: +| - install ocaml system [required by P3] +| - install P1 1 [required by P3] I ll always bother you displaying this message +| - install P3 1~weird-version.test +|===== 3 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|### opam install P4 -|The following actions will be performed: -| - install P4 1 -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P4.1 (git+file://${BASEDIR}/GIT/P4) -|-> installed P4.1 -|Done. +|The following actions will be performed: +| - install ocaml system [required by P4] +| - install P1 1 [required by P2, P3] I ll always bother you displaying this message +| - install P3 1~weird-version.test [required by P4] +| - install P2 1 [required by P4] +| - install P4 1 +|===== 5 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.1  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 1 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies -|### : REINSTALL : -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|P2.1 -|P3.1~weird-version.test -|P4.1 -|### opam reinstall P1 --yes | unordered -|The following actions will be performed: +|### : REINSTALL : +|### opam list -is --columns=package +|### opam reinstall P1 --yes | unordered +|P1 is not installed. Install it? [Y/n] y +|The following actions will be performed: -| - recompile P1 1 I ll always bother you displaying this message -| - recompile P3 1~weird-version.test [uses P1] -| - recompile P2 1 [uses P1] -| - recompile P4 1 [uses P2, P3] +| - install ocaml system [required by P1] +| - install P1 1 I ll always bother you displaying this message -|===== 4 to recompile ===== +|===== 2 to install ===== +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1941-20434a.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1941-20434a.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P1.1 (no changes) -|-> retrieved P2.1 (no changes) -|-> retrieved P3.1~weird-version.test (no changes) -|-> retrieved P4.1 (no changes) -|-> removed P4.1 -|-> removed P2.1 -|-> removed P3.1~weird-version.test -|-> removed P1.1 -|-> installed P1.1 -|-> installed P2.1 -|-> installed P3.1~weird-version.test -|-> installed P4.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.1  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 1 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies  |### : UPLOAD-NEW :  |### mkdir REPO/packages/P4.2  |### cp packages/P4-2.opam REPO/packages/P4.2/opam  |### cp packages/P4/README REPO/packages/P4.2/descr  |### sh mkurl.sh P4.2 P4.tar.gz  |### mkdir REPO/packages/P4.3  |### cp packages/P4-3.opam REPO/packages/P4.3/opam  |### cp packages/P4/README REPO/packages/P4.3/descr  |### sh mkurl.sh P4.3 P4.tar.gz  |###  |let x () =  | try Random.int 10  | with _ -> 0  |(* new line *)  |### git -C GIT/P1-1 commit -a -qm "a small change"  |### File "tests/reftests/legacy-git.test", line 1106, characters 0-1:  |  |<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>  |[test] synchronised from git+file://${BASEDIR}/REPO  |[WARNING] The repository 'test' at git+file://${BASEDIR}/REPO doesn't have a 'repo' file, and might not be compatible with this version of opam.  |[NOTE] Repository at git+file://${BASEDIR}/REPO doesn't define its version, assuming it's 1.2.  |  |<><> Upgrading repositories from older opam format ><><><><><><><><><><><><><><>  |Upgrading repository "test"...  |Updated ${OPAMTMP}/test/packages/P1.0/opam  |Updated ${OPAMTMP}/test/packages/P1.1/opam  |Updated ${OPAMTMP}/test/packages/P2.1/opam  |Updated ${OPAMTMP}/test/packages/P3.1~weird-version.test/opam  |Updated ${OPAMTMP}/test/packages/P4.1/opam  |Updated ${OPAMTMP}/test/packages/P4.2/opam  |Updated ${OPAMTMP}/test/packages/P4.3/opam  |Updated ${OPAMTMP}/test/packages/P5.1/opam -| -|<><> Synchronising development packages <><><><><><><><><><><><><><><><><><><><> -|[P1.1] synchronised (git+file://${BASEDIR}/GIT/P1-1) -|[P2.1] synchronised (no changes) -|[P3.1~weird-version.test] synchronised (no changes) -|[P4.1] synchronised (no changes)  |Now run 'opam upgrade' to apply any package updates.  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 1 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies !|### : UPGRADE : !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.1  |### opam env --sexp | grep '"P1"' -| ("P1" "version1")  |### opam upgrade --yes | unordered  |The following actions will be performed: -| - recompile P1 1 [upstream or system changes] I ll always bother you displaying this message -| - recompile P3 1~weird-version.test [uses P1] -| - recompile P2 1 [uses P1] -| - upgrade P4 1 to 3 -|===== 3 to recompile | 1 to upgrade ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (no changes) -|-> retrieved P2.1 (no changes) -|-> retrieved P3.1~weird-version.test (no changes) -|-> retrieved P4.3 (git+file://${BASEDIR}/GIT/P4) -|-> removed P4.1 -|-> removed P2.1 -|-> removed P3.1~weird-version.test -|-> removed P1.1 -|-> installed P1.1 -|-> installed P2.1 -|-> installed P3.1~weird-version.test -|-> installed P4.3 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| - install ocaml system +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-2139-960e7f.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-2139-960e7f.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +| +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.3  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 3 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies !|### : DOWNGRADE : !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.3 !|### opam install P4.2 --yes | unordered -|The following actions will be performed: -| - downgrade P4 3 to 2 +|The following actions will be performed: +| - install ocaml system [required by P4] +| - install P1 1 [required by P4] I ll always bother you displaying this message +| - install P3 1~weird-version.test [required by P4] +| - install P2 1 [required by P4] +| - install P4 2 +|===== 5 to install ===== +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +|-> retrieved P1.1 (git+file://${BASEDIR}/GIT/P1-1) +|-> retrieved P2.1 (no changes) +|-> retrieved P3.1~weird-version.test (git+file://${BASEDIR}/GIT/P3) +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-2200-c38081.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-2200-c38081.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P4.2 (git+file://${BASEDIR}/GIT/P4) -|-> removed P4.3 -|-> installed P4.2 -|Done. +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.2  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 2 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies -|### : SWITCH-ALIAS : -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|P2.1 -|P3.1~weird-version.test -|P4.2 -|### opam remove P3.1~weird-version.test P4.2 -|The following actions will be performed: -| - remove P4 2 -| - remove P3 1~weird-version.test -|===== 2 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P4.2 -|-> removed P3.1~weird-version.test -|Done. +|### : SWITCH-ALIAS : +|### opam list -is --columns=package +|### opam remove P3.1~weird-version.test P4.2 +|[NOTE] P4.2 and P3.1~weird-version.test are not installed. +| +|Nothing to do. !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1  |### opam switch export test.export  |### opam switch create test system  |  |<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>  |Switch invariant: ["ocaml" {= "system"}]  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> installed ocaml.system -|Done. +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/test/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-2373-63bd33.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-2373-63bd33.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] n +|# Return code 31 #  |### opam var ext_lib=$LIB_EXT --switch test | '.*' -> '\c'  |### opam list -is --columns=package -|ocaml.system  |### opam switch import test.export | unordered  |The following actions will be performed: -| - install P1 1 I ll always bother you displaying this message -| - install P2 1 -|===== 2 to install ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (git+file://${BASEDIR}/GIT/P1-1) -|-> retrieved P2.1 (git+file://${BASEDIR}/GIT/P2) -|-> installed P1.1 -|-> installed P2.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| - install ocaml system +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1  |### opam switch create test2 20  |  |<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>  |Switch invariant: ["ocaml" {= "20"}]  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> installed ocaml.20  |Done.  |### opam var ext_lib=$LIB_EXT --switch test2 | '.*' -> '\c'  |### opam list -is --columns=package  |ocaml.20  |### opam install P1  |The following actions will be performed:  | - install P1 1 I ll always bother you displaying this message  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P1.1 (git+file://${BASEDIR}/GIT/P1-1) -|-> installed P1.1 -|Done. +|[ERROR] The compilation of P1.1 failed at "./build.sh". +| +|#=== ERROR while compiling P1.1 ===============================================# +|# context 2.1.2 | linux/x86_64 | ocaml.20 | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/test2/.opam-switch/build/P1.1 +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build ./build.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/P1-2506-05d949.env +|# output-file ${BASEDIR}/OPAM/log/P1-2506-05d949.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build P1 1 +|+-  +|- No changes have been performed -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> +| +|<><> P1.1 troubleshooting <><><><><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +|=> Thanks SO MUCH for installing this humble package +|=> Nooo, something went wrong, this makes me feel sooo sad... +|# Return code 31 #  |### opam list -is --columns=package  |ocaml.20 -|P1.1  |### opam switch system  |### opam list -is --columns=package -|ocaml.system -|P1.1 -|P2.1  |### opam switch remove test test2 --yes  |Switch test and all its packages will be wiped. Are you sure? [Y/n] y  |Switch test2 and all its packages will be wiped. Are you sure? [Y/n] y  |### : LIST :  |### opam list -A  |# Packages matching: any  |# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package  |P3 -- Testing version names  |P4 -- Testing transitive closure  |P5 -- Testing optional dependencies  |### : SWITCH-ENV-PACKAGES :  |### opam list -is --columns=package -|ocaml.system -|P1.1 -|P2.1  |### opam switch create 10+a+b --empty  |### opam var ext_lib=$LIB_EXT --switch 10+a+b | '.*' -> '\c'  |### opam install ocaml.10+a+b P1 P2 P3 P4 | unordered  |The following actions will be performed:  | - install ocaml 10+a+b  | - install P1 1 I ll always bother you displaying this message  | - install P3 1~weird-version.test  | - install P2 1  | - install P4 3  |===== 5 to install =====  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> installed ocaml.10+a+b  |-> retrieved P1.1 (git+file://${BASEDIR}/GIT/P1-1) +|[ERROR] The compilation of P1.1 failed at "./build.sh".  |-> retrieved P2.1 (git+file://${BASEDIR}/GIT/P2)  |-> retrieved P3.1~weird-version.test (git+file://${BASEDIR}/GIT/P3) -|-> installed P1.1 -|-> retrieved P4.3 (git+file://${BASEDIR}/GIT/P4) -|-> installed P2.1 -|-> installed P3.1~weird-version.test +|#=== ERROR while compiling P1.1 ===============================================# +|# context 2.1.2 | linux/x86_64 | | git+file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/10+a+b/.opam-switch/build/P1.1 +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build ./build.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/P1-2614-9a8dc1.env +|# output-file ${BASEDIR}/OPAM/log/P1-2614-9a8dc1.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build P1 1 +|+-  +|+- The following changes have been performed (the rest was aborted) +|| - install ocaml 10+a+b +|+-  +| +|<><> P1.1 troubleshooting <><><><><><><><><><><><><><><><><><><><><><><><><><><> +|=> Nooo, something went wrong, this makes me feel sooo sad... +| +|The former state can be restored with: +| /tmp/portage/dev-ml/opam-2.1.2/work/opam-2.1.2/_build/default/src/client/opamMain.exe switch import "${BASEDIR}/OPAM/10+a+b/.opam-switch/backup/state-20220415180203.export" -|-> installed P4.3 -|Done. +|-> retrieved P4.3 (git+file://${BASEDIR}/GIT/P4)  | -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><>  |=> Thanks SO MUCH for installing this humble package -|=> Everything went well +|# Return code 31 #  |### opam list -is --columns=package  |ocaml.10+a+b -|P1.1 -|P2.1 -|P3.1~weird-version.test -|P4.3  |### sh -c '. ${OPAMROOT}/opam-init/variables.sh && echo "PASS $TEST"'  |PASS 1  |### : REPO :  |### opam repo add REPO2 REPO -k git  |[REPO2] Initialised  |[WARNING] The repository 'REPO2' at git+file://${BASEDIR}/REPO doesn't have a 'repo' file, and might not be compatible with this version of opam.  |[NOTE] Repository at git+file://${BASEDIR}/REPO doesn't define its version, assuming it's 1.2.  |  |<><> Upgrading repositories from older opam format ><><><><><><><><><><><><><><>  |Upgrading repository "REPO2"...  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P1.0/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P1.1/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P2.1/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P3.1~weird-version.test/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P4.1/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P4.2/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P4.3/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P5.1/opam  |[NOTE] Repository REPO2 has been added to the selections of switch 10+a+b only.  | Run `opam repository add REPO2 --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.  |  |### opam repo remove REPO2 --all  |### opam repo remove test --all  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis  |ocaml 10+a+b -|P1 1 A very useful package -|P2 1 An other very useful package -|P3 1~weird-version.test Testing version names -|P4 3 Testing transitive closure Done: 871/947 (jobs: 1)  patdiff (internal) (exit 1) (cd _build/default && /usr/bin/patdiff -keep-whitespace -location-style omake tests/reftests/legacy-local.test tests/reftests/legacy-local.out) ------ tests/reftests/legacy-local.test ++++++ tests/reftests/legacy-local.out File "tests/reftests/legacy-local.test", line 666, characters 0-1:  |  |<><> Upgrading repositories from older opam format ><><><><><><><><><><><><><><>  |Upgrading repository "test"...  |Updated ${OPAMTMP}/test/packages/P1.0/opam  |Updated ${OPAMTMP}/test/packages/P1.1/opam  |Updated ${OPAMTMP}/test/packages/P2.1/opam  |Updated ${OPAMTMP}/test/packages/P3.1~weird-version.test/opam  |Updated ${OPAMTMP}/test/packages/P4.1/opam  |Updated ${OPAMTMP}/test/packages/P5.1/opam  |Now run 'opam upgrade' to apply any package updates.  |### opam switch create system "--formula=[\"ocaml\" {= \"system\"}]"  |  |<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>  |Switch invariant: ["ocaml" {= "system"}]  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> installed ocaml.system -|Done. +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-803-640e84.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-803-640e84.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] n +|# Return code 31 #  |### opam exec -- ocamlc -config | 'ext_lib: .' -> '#' | '^[^#].*' -> '\c' | '^#' -> '' >$ LIB_EXT  |### opam var ext_lib=$LIB_EXT --switch system | .* -> '\c'  |### : INSTALL-REMOVE :  |### opam list -is --columns=package -|ocaml.system  |### opam install P1  |The following actions will be performed: -| - install P1 1 I ll always bother you displaying this message -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (${BASEDIR}/REPO/cache) -|-> installed P1.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| - install ocaml system [required by P1] +| - install P1 1 I ll always bother you displaying this message +|===== 2 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|### opam remove P1 -|The following actions will be performed: -| - remove P1 1 +|### opam list -is --columns=package +|### opam remove P1 +|[NOTE] P1 is not installed. -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P1.1 -|Done. +| +|Nothing to do.  |### opam list -is --columns=package -|ocaml.system  |### : LIST :  |### opam list -A  |# Packages matching: any  |# Name # Installed # Synopsis -|ocaml system +|ocaml --  |P1 -- A very useful package  |P2 -- An other very useful package  |P3 -- Testing version names  |P4 -- Testing transitive closure  |P5 -- Testing optional dependencies  |### : INSTALL-OPT :  |### opam list -is --columns=package -|ocaml.system  |### opam install --yes P5 | unordered  |The following actions will be performed: -| - install P1 1 [required by P5] I ll always bother you displaying this message +| - install ocaml system [required by P5] +| - install P1 1 [required by P5] I ll always bother you displaying this message -| - install P5 1 +| - install P5 1 -|===== 2 to install ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (cached) -|-> retrieved P5.1 (${BASEDIR}/REPO/cache) -|-> installed P1.1 -|-> installed P5.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +|===== 3 to install ===== +|-> retrieved P1.1 (${BASEDIR}/REPO/cache) +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1067-4882e3.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1067-4882e3.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|-> retrieved P5.1 (${BASEDIR}/REPO/cache) +| +|# Return code 31 # !|### test -f ${OPAMROOT}/system/lib/p5/p2_absent !|# Return code 1 # -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|P5.1 -|### opam remove P5 -|The following actions will be performed: -| - remove P5 1 +|### opam list -is --columns=package +|### opam remove P5 +|[NOTE] P5 is not installed. -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P5.1 -|Done. +| +|Nothing to do. !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|### opam install P5 -|The following actions will be performed: -| - install P5 1 -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P5.1 (cached) -|-> installed P5.1 -|Done. +|The following actions will be performed: +| - install ocaml system [required by P5] +| - install P1 1 [required by P5] I ll always bother you displaying this message +| - install P5 1 +|===== 3 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P5.1 !|### opam remove P5 -a --yes !|[NOTE] P5 is not installed. !| -|The following actions will be performed: -| - remove P5 1 -| - remove P1 1 -|===== 2 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P5.1 -|-> removed P1.1 -|Done. +|The following actions will be performed: +| - install ocaml system +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1173-c03c91.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1173-c03c91.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system -|### opam install P5 --yes | unordered -|The following actions will be performed: -| - install P1 1 [required by P5] I ll always bother you displaying this message +|### opam install P5 --yes | unordered +|The following actions will be performed: +| - install ocaml system [required by P5] +| - install P1 1 [required by P5] I ll always bother you displaying this message -| - install P5 1 +| - install P5 1 -|===== 2 to install ===== +|===== 3 to install ===== +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1215-4f00c7.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1215-4f00c7.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P1.1 (cached)  |-> retrieved P5.1 (cached) -|-> installed P1.1 -|-> installed P5.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P5.1 -|### opam install P2 --yes | unordered -|The following actions will be performed: -| - install P2 1 -| - recompile P5 1 [uses P2] +|### opam install P2 --yes | unordered +|The following actions will be performed: +| - install ocaml system [required by P2] +| - install P1 1 [required by P2] I ll always bother you displaying this message +| - install P2 1 -|===== 1 to install | 1 to recompile ===== +|===== 3 to install ===== +|-> retrieved P1.1 (cached) +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1294-1399e1.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1294-1399e1.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P2.1 (${BASEDIR}/REPO/cache) -|-> retrieved P5.1 (cached) -|-> removed P5.1 -|-> installed P2.1 -|-> installed P5.1 -|Done. +|# Return code 31 # -|### test -f ${OPAMROOT}/system/lib/p5/p2_present -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|P2.1 -|P5.1 +|### test -f ${OPAMROOT}/system/lib/p5/p2_present +|# Return code 1 # +|### opam list -is --columns=package !|### opam remove P5 -a !|[NOTE] P5 is not installed. !| -|The following actions will be performed: -| - remove P5 1 -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P5.1 -|Done. +|The following actions will be performed: +| - install ocaml system +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|### opam remove P2 -a --yes !|[NOTE] P2 is not installed. !| !|The following actions will be performed: -| - remove P2 1 -| - remove P1 1 -|===== 2 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P2.1 -|-> removed P1.1 -|Done. +| - install ocaml system +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1391-d7c457.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1391-d7c457.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system -|### opam install P1 P2 P5 | unordered -|The following actions will be performed: -| - install P1 1 I ll always bother you displaying this message +|### opam install P1 P2 P5 | unordered +|The following actions will be performed: +| - install ocaml system [required by P2, P1, P5] +| - install P1 1 I ll always bother you displaying this message -| - install P2 1 +| - install P2 1 -| - install P5 1 +| - install P5 1 -|===== 3 to install ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (cached) -|-> retrieved P2.1 (cached) -|-> retrieved P5.1 (cached) -|-> installed P1.1 -|-> installed P2.1 -|-> installed P5.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +|===== 4 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### test -f ${OPAMROOT}/system/lib/p5/p2_present !|# Return code 1 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P5.1 !|### opam remove P2 -a --yes !|[NOTE] P2 is not installed. !| !|The following actions will be performed: -| - remove P2 1 -| - recompile P5 1 [uses P2] -|===== 1 to recompile | 1 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P5.1 (cached) -|-> removed P5.1 -|-> removed P2.1 -|-> installed P5.1 -|Done. -|### test -f ${OPAMROOT}/system/lib/p5/p2_absent +| - install ocaml system +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1473-132caf.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1473-132caf.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|# Return code 31 # +|### test -f ${OPAMROOT}/system/lib/p5/p2_absent +|# Return code 1 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P5.1 -|### opam remove P1 --yes -|The following actions will be performed: -| - remove P5 1 [uses P1] -| - remove P1 1 -|===== 2 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P5.1 -|-> removed P1.1 -|Done. +|### opam remove P1 --yes +|[NOTE] P1 is not installed. +| +|Nothing to do. !|### opam list -is --columns=package !|ocaml.system  |### : LIST :  |### opam list -A  |# Packages matching: any  |# Name # Installed # Synopsis -|ocaml system +|ocaml --  |P1 -- A very useful package  |P2 -- An other very useful package  |P3 -- Testing version names  |P4 -- Testing transitive closure  |P5 -- Testing optional dependencies  |### : INSTALL :  |### opam list -is --columns=package -|ocaml.system  |### opam install P1  |The following actions will be performed: -| - install P1 1 I ll always bother you displaying this message -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (cached) -|-> installed P1.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| - install ocaml system [required by P1] +| - install P1 1 I ll always bother you displaying this message +|===== 2 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 -|### opam install P2 -|The following actions will be performed: -| - install P2 1 -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P2.1 (cached) -|-> installed P2.1 -|Done. +|### opam install P2 +|The following actions will be performed: +| - install ocaml system [required by P2] +| - install P1 1 [required by P2] I ll always bother you displaying this message +| - install P2 1 +|===== 3 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 -|### opam install P3 -|The following actions will be performed: -| - install P3 1~weird-version.test -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P3.1~weird-version.test (${BASEDIR}/REPO/cache) -|-> installed P3.1~weird-version.test -|Done. +|### opam install P3 +|The following actions will be performed: +| - install ocaml system [required by P3] +| - install P1 1 [required by P3] I ll always bother you displaying this message +| - install P3 1~weird-version.test +|===== 3 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test -|### opam install P4 -|The following actions will be performed: -| - install P4 1 -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P4.1 (${BASEDIR}/REPO/cache) -|-> installed P4.1 -|Done. +|### opam install P4 +|The following actions will be performed: +| - install ocaml system [required by P4] +| - install P1 1 [required by P2, P3] I ll always bother you displaying this message +| - install P3 1~weird-version.test [required by P4] +| - install P2 1 [required by P4] +| - install P4 1 +|===== 5 to install ===== +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.1  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 1 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies -|### : REINSTALL : -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|P2.1 -|P3.1~weird-version.test -|P4.1 -|### opam reinstall P1 --yes | unordered -|The following actions will be performed: +|### : REINSTALL : +|### opam list -is --columns=package +|### opam reinstall P1 --yes | unordered +|P1 is not installed. Install it? [Y/n] y +|The following actions will be performed: -| - recompile P1 1 I ll always bother you displaying this message -| - recompile P3 1~weird-version.test [uses P1] -| - recompile P2 1 [uses P1] -| - recompile P4 1 [uses P2, P3] +| - install ocaml system [required by P1] +| - install P1 1 I ll always bother you displaying this message -|===== 4 to recompile ===== +|===== 2 to install ===== +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1728-d4fc5d.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1728-d4fc5d.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P1.1 (cached) -|-> retrieved P2.1 (cached) -|-> retrieved P3.1~weird-version.test (cached) -|-> retrieved P4.1 (cached) -|-> removed P4.1 -|-> removed P2.1 -|-> removed P3.1~weird-version.test -|-> removed P1.1 -|-> installed P1.1 -|-> installed P2.1 -|-> installed P3.1~weird-version.test -|-> installed P4.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.1  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 1 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies  |### : UPLOAD-NEW :  |### mkdir REPO/packages/P4.2  |### cp packages/P4-2.opam REPO/packages/P4.2/opam  |### cp packages/P4/README REPO/packages/P4.2/descr  |### sh mkurl.sh P4.2 P4.tar.gz  |### mkdir REPO/packages/P4.3  |### cp packages/P4-3.opam REPO/packages/P4.3/opam  |### cp packages/P4/README REPO/packages/P4.3/descr  |### sh mkurl.sh P4.3 P4.tar.gz  |### mkdir REPO/packages/P1.2  |### cp packages/P1-2.opam REPO/packages/P1.2/opam  |### cp packages/P1-2/README REPO/packages/P1.2/descr  |### sh mkurl.sh P1.2 P1-2.tar.gz  |### opam update  |  |<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><> File "tests/reftests/legacy-local.test", line 1041, characters 0-1:  |  |<><> Upgrading repositories from older opam format ><><><><><><><><><><><><><><>  |Upgrading repository "test"...  |Updated ${OPAMTMP}/test/packages/P1.0/opam  |Updated ${OPAMTMP}/test/packages/P1.1/opam  |Updated ${OPAMTMP}/test/packages/P1.2/opam  |Updated ${OPAMTMP}/test/packages/P2.1/opam  |Updated ${OPAMTMP}/test/packages/P3.1~weird-version.test/opam  |Updated ${OPAMTMP}/test/packages/P4.1/opam  |Updated ${OPAMTMP}/test/packages/P4.2/opam  |Updated ${OPAMTMP}/test/packages/P4.3/opam  |Updated ${OPAMTMP}/test/packages/P5.1/opam  |Now run 'opam upgrade' to apply any package updates.  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 1 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies !|### : UPGRADE : !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.1  |### opam env --sexp | grep '"P1"' -| ("P1" "version1")  |### opam upgrade --yes | unordered  |The following actions will be performed: -| - upgrade P1 1 to 2 -| - recompile P3 1~weird-version.test [uses P1] -| - recompile P2 1 [uses P1] -| - upgrade P4 1 to 3 -|===== 2 to recompile | 2 to upgrade ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.2 (${BASEDIR}/REPO/cache) -|-> retrieved P2.1 (cached) -|-> retrieved P3.1~weird-version.test (cached) -|-> retrieved P4.3 (cached) -|-> removed P4.1 -|-> removed P2.1 -|-> removed P3.1~weird-version.test -|-> removed P1.1 -|-> installed P1.2 -|-> installed P2.1 -|-> installed P3.1~weird-version.test -|-> installed P4.3 -|Done. -|### opam list -is --columns=package -|ocaml.system -|P1.2 -|P2.1 -|P3.1~weird-version.test -|P4.3 +| - install ocaml system +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1898-dcee91.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1898-dcee91.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +| +|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|# Return code 31 # +|### opam list -is --columns=package  |### opam env --sexp | grep '"P1"' -| ("P1" "version2")  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 2 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 3 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies !|### : DOWNGRADE : !|### opam list -is --columns=package !|ocaml.system !|P1.2 !|P2.1 !|P3.1~weird-version.test !|P4.3 !|### opam install P4.2 --yes | unordered -|The following actions will be performed: -| - downgrade P1 2 to 1 [required by P4] I ll always bother you displaying this message +|The following actions will be performed: +| - install ocaml system [required by P4] +| - install P1 1 [required by P4] I ll always bother you displaying this message -| - recompile P3 1~weird-version.test [uses P1] +| - install P3 1~weird-version.test [required by P4] -| - recompile P2 1 [uses P1] +| - install P2 1 [required by P4] -| - downgrade P4 3 to 2 -|===== 2 to recompile | 2 to downgrade ===== +| - install P4 2 +|===== 5 to install ===== +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +|-> retrieved P3.1~weird-version.test (${BASEDIR}/REPO/cache) +|-> retrieved P4.2 (${BASEDIR}/REPO/cache) +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/system/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-1968-2cf4dd.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-1968-2cf4dd.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P1.1 (cached)  |-> retrieved P2.1 (cached) -|-> retrieved P3.1~weird-version.test (cached) -|-> retrieved P4.2 (cached) -|-> removed P4.3 -|-> removed P2.1 -|-> removed P3.1~weird-version.test -|-> removed P1.2 -|-> installed P1.1 -|-> installed P2.1 -|-> installed P3.1~weird-version.test -|-> installed P4.2 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| +|# Return code 31 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1 !|P3.1~weird-version.test !|P4.2  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package -|P3 1~weird-version.test Testing version names +|P3 -- Testing version names -|P4 2 Testing transitive closure +|P4 -- Testing transitive closure -|P5 -- Testing optional dependencies +|P5 -- Testing optional dependencies -|### : SWITCH-ALIAS : -|### opam list -is --columns=package -|ocaml.system -|P1.1 -|P2.1 -|P3.1~weird-version.test -|P4.2 -|### opam remove P3.1~weird-version.test P4.2 -|The following actions will be performed: -| - remove P4 2 -| - remove P3 1~weird-version.test -|===== 2 to remove ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> removed P4.2 -|-> removed P3.1~weird-version.test -|Done. +|### : SWITCH-ALIAS : +|### opam list -is --columns=package +|### opam remove P3.1~weird-version.test P4.2 +|[NOTE] P4.2 and P3.1~weird-version.test are not installed. +| +|Nothing to do. !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1  |### opam switch export test.export  |### opam switch create test system  |  |<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>  |Switch invariant: ["ocaml" {= "system"}]  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> installed ocaml.system -|Done. +|[ERROR] The compilation of ocaml.system failed at "sh -uex ./gen.sh". +| +|#=== ERROR while compiling ocaml.system =======================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/test/.opam-switch/build/ocaml.system +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -uex ./gen.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/ocaml-2111-ccfd65.env +|# output-file ${BASEDIR}/OPAM/log/ocaml-2111-ccfd65.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build ocaml system +|+-  +|- No changes have been performed +|Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] n +|# Return code 31 #  |### opam var ext_lib=$LIB_EXT --switch test | '.*' -> '\c'  |### opam list -is --columns=package -|ocaml.system  |### opam switch import test.export | unordered  |The following actions will be performed: -| - install P1 1 I ll always bother you displaying this message -| - install P2 1 -|===== 2 to install ===== -| -|<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> retrieved P1.1 (cached) -|-> retrieved P2.1 (cached) -|-> installed P1.1 -|-> installed P2.1 -|Done. -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +| - install ocaml system +|Do you want to continue? [Y/n] n +|# Return code 10 # !|### opam list -is --columns=package !|ocaml.system !|P1.1 !|P2.1  |### opam switch create test2 20  |  |<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>  |Switch invariant: ["ocaml" {= "20"}]  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> installed ocaml.20  |Done.  |### opam var ext_lib=$LIB_EXT --switch test2 | '.*' -> '\c'  |### opam list -is --columns=package  |ocaml.20  |### opam install P1  |The following actions will be performed:  | - install P1 1 I ll always bother you displaying this message  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> retrieved P1.1 (cached) -|-> installed P1.1 -|Done. +|[ERROR] The compilation of P1.1 failed at "./build.sh". +| +|#=== ERROR while compiling P1.1 ===============================================# +|# context 2.1.2 | linux/x86_64 | ocaml.20 | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/test2/.opam-switch/build/P1.1 +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build ./build.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/P1-2220-31b394.env +|# output-file ${BASEDIR}/OPAM/log/P1-2220-31b394.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build P1 1 +|+-  +|- No changes have been performed -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> +| +|<><> P1.1 troubleshooting <><><><><><><><><><><><><><><><><><><><><><><><><><><> -|=> Thanks SO MUCH for installing this humble package -|=> Everything went well +|=> Thanks SO MUCH for installing this humble package +|=> Nooo, something went wrong, this makes me feel sooo sad... +|# Return code 31 #  |### opam list -is --columns=package  |ocaml.20 -|P1.1  |### opam switch system  |### opam list -is --columns=package -|ocaml.system -|P1.1 -|P2.1  |### opam switch remove test test2 --yes  |Switch test and all its packages will be wiped. Are you sure? [Y/n] y  |Switch test2 and all its packages will be wiped. Are you sure? [Y/n] y  |### : LIST :  |### opam list -A  |# Packages matching: any  |# Name # Installed # Synopsis -|ocaml system +|ocaml -- -|P1 1 A very useful package +|P1 -- A very useful package -|P2 1 An other very useful package +|P2 -- An other very useful package  |P3 -- Testing version names  |P4 -- Testing transitive closure  |P5 -- Testing optional dependencies  |### : SWITCH-ENV-PACKAGES :  |### opam list -is --columns=package -|ocaml.system -|P1.1 -|P2.1  |### opam switch create 10+a+b --empty  |### opam var ext_lib=$LIB_EXT --switch 10+a+b | '.*' -> '\c'  |### opam install ocaml.10+a+b P1 P2 P3 P4 | unordered  |The following actions will be performed:  | - install ocaml 10+a+b  | - install P1 1 I ll always bother you displaying this message  | - install P3 1~weird-version.test  | - install P2 1  | - install P4 3  |===== 5 to install =====  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> installed ocaml.10+a+b  |-> retrieved P1.1 (cached)  |-> retrieved P2.1 (cached)  |-> retrieved P3.1~weird-version.test (cached) +|[ERROR] The compilation of P1.1 failed at "./build.sh".  |-> retrieved P4.3 (cached) -|-> installed P1.1 -|-> installed P2.1 -|-> installed P3.1~weird-version.test -|-> installed P4.3 -|Done. +|#=== ERROR while compiling P1.1 ===============================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/10+a+b/.opam-switch/build/P1.1 +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build ./build.sh +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/P1-2377-0b26a7.env +|# output-file ${BASEDIR}/OPAM/log/P1-2377-0b26a7.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build P1 1 +|+-  +|+- The following changes have been performed (the rest was aborted) +|| - install ocaml 10+a+b +|+-  -| -|<><> P1.1 installed successfully ><><><><><><><><><><><><><><><><><><><><><><><> +| +|<><> P1.1 troubleshooting <><><><><><><><><><><><><><><><><><><><><><><><><><><> +|=> Nooo, something went wrong, this makes me feel sooo sad... +| +|The former state can be restored with: +| /tmp/portage/dev-ml/opam-2.1.2/work/opam-2.1.2/_build/default/src/client/opamMain.exe switch import "${BASEDIR}/OPAM/10+a+b/.opam-switch/backup/state-20220415180203.export" +|  |=> Thanks SO MUCH for installing this humble package -|=> Everything went well +|# Return code 31 #  |### opam list -is --columns=package  |ocaml.10+a+b -|P1.1 -|P2.1 -|P3.1~weird-version.test -|P4.3  |### sh -c '. ${OPAMROOT}/opam-init/variables.sh && echo "PASS $TEST"'  |PASS 1  |### : REPO :  |### opam repo add REPO2 REPO -k local  |[REPO2] Initialised  |[NOTE] Repository at file://${BASEDIR}/REPO doesn't define its version, assuming it's 1.2.  |  |<><> Upgrading repositories from older opam format ><><><><><><><><><><><><><><>  |Upgrading repository "REPO2"...  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P1.0/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P1.1/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P1.2/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P2.1/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P3.1~weird-version.test/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P4.1/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P4.2/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P4.3/opam  |Updated ${BASEDIR}/OPAM/repo/REPO2/packages/P5.1/opam  |[NOTE] Repository REPO2 has been added to the selections of switch 10+a+b only.  | Run `opam repository add REPO2 --all-switches|--set-default' to use it in all existing switches, or in newly created switches, respectively.  |  |### opam repo remove REPO2 --all  |### opam repo remove test --all  |### : LIST :  |### opam list -A  |# Packages matching: any -|# Name # Installed # Synopsis +|# Name # Installed # Synopsis  |ocaml 10+a+b -|P1 1 A very useful package -|P2 1 An other very useful package -|P3 1~weird-version.test Testing version names -|P4 3 Testing transitive closure Done: 871/947 (jobs: 1)  patdiff (internal) (exit 1) (cd _build/default && /usr/bin/patdiff -keep-whitespace -location-style omake tests/reftests/opamroot-versions.test tests/reftests/opamroot-versions.out) ------ tests/reftests/opamroot-versions.test ++++++ tests/reftests/opamroot-versions.out File "tests/reftests/opamroot-versions.test", line 644, characters 0-1:  | let name = Filename.concat dir name in  | mkdir_p (Filename.dirname name);  | let fd = open_out name in  | List.iter (fun l -> output_string fd (l^"\n")) content;  | close_out fd  | in  | let root,_ = get_files Sys.argv.(1) in  | List.iter (write (Sys.getenv "OPAMROOT")) root;  | match mode with  | | `Local v | `Orphaned v ->  | let _, local = get_files v in  | List.iter (write (Sys.getcwd ())) local  | | _ -> ()  |### rm -rf $OPAMROOT  |### opam init -na default ./default --bare --bypass-checks --no-opamrc --debug-level=0  |No configuration file found, using built-in defaults. +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |  |<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>  |[default] Initialised  |### mkdir -p $OPAMROOT $OPAMROOT/repo $OPAMROOT/default/.opam-switch $OPAMROOT/sw-comp/.opam-switch $OPAMROOT/sw-sys-comp/.opam-switch  |### :V:1:a: From 2.0 root, global  |### ocaml generate.ml 2.0  |### # ro global state  |### opam option jobs  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |FMT_UPG On-the-fly config upgrade, from 2.0 to 2.1  |FMT_UPG Format upgrade done  |### # ro global state, ro repo state, ro switch state  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |FMT_UPG On-the-fly config upgrade, from 2.0 to 2.1  |FMT_UPG Format upgrade done File "tests/reftests/opamroot-versions.test", line 940, characters 0-1:  |synopsis: "local switch"  |paths {  |  |}  |variables {  |  |}  |### opam-cat _opam/.opam-switch/switch-state  |compiler: ["i-am-sys-compiler.2"]  |installed: ["i-am-package.2" "i-am-sys-compiler.2"]  |opam-version: "2.0"  |roots: ["i-am-package.2" "i-am-sys-compiler.2"]  |### :V:1:e: reinit from 2.0  |### ocaml generate.ml 2.0  |### opam init --reinit --bypass-checks --no-setup  |No configuration file found, using built-in defaults. +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Light config upgrade, from 2.0 to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.0 to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Continue? [Y/n] y  |Format upgrade done.  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |### opam switch --short  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |${BASEDIR} File "tests/reftests/opamroot-versions.test", line 982, characters 0-1:  |# Name # Installed # Synopsis  |i-am-package 2 One-line description  |i-am-sys-compiler 2 One-line description  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["ocaml" {>= "4.05.0"}]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-sys-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### rm -rf _opam  |### :V:2:a: From 2.1~alpha root, global  |### ocaml generate.ml 2.1~alpha  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Hard config upgrade, from 2.1~alpha to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.1~alpha to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Perform the update and continue? [Y/n] y  |Format upgrade done.  |  |<><> Rerunning init and update ><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |Update done, please now retry your command.  |# Return code 10 #  |### # ro global state, ro repo state, ro switch state  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ sw-sys-comp  |STATE Switch state loaded in 0.000s  |# Packages matching: installed File "tests/reftests/opamroot-versions.test", line 1053, characters 0-1:  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ sw-comp  |STATE Switch state loaded in 0.000s  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["ocaml" {>= "4.05.0"}]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### opam-cat $OPAMROOT/sw-comp/.opam-switch/switch-config  |invariant: ["i-am-compiler"]  |opam-version: "2.0"  |synopsis: "switch with compiler"  |paths {  |  |}  |variables {  |  |}  |### opam-cat $OPAMROOT/sw-comp/.opam-switch/switch-state  |compiler: ["i-am-compiler.2"]  |installed: ["i-am-another-package.2" "i-am-compiler.2" "i-am-package.2"]  |opam-version: "2.0"  |roots: ["i-am-another-package.2" "i-am-compiler.2" "i-am-package.2"]  |### :V:2:b: From 2.1~alpha root, local  |### ocaml generate.ml 2.1~alpha local  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Hard config upgrade, from 2.1~alpha to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.1~alpha to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Perform the update and continue? [Y/n] y  |Format upgrade done.  |  |<><> Rerunning init and update ><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |Update done, please now retry your command.  |# Return code 10 #  |### opam install i-am-package  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ ${BASEDIR}  |STATE Definition missing for installed package i-am-sys-compiler.2, copying from repo  |STATE Switch state loaded in 0.000s  |STATE Detected changed packages (marked for reinstall): {} File "tests/reftests/opamroot-versions.test", line 1119, characters 0-1:  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> installed i-am-package.2  |Done.  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["ocaml" {>= "4.05.0"}]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "${BASEDIR}" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-sys-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### opam-cat _opam/.opam-switch/switch-config  |invariant: ["i-am-sys-compiler" | "i-am-compiler"]  |opam-root: "${BASEDIR}/OPAM"  |opam-version: "2.0"  |synopsis: "local switch"  |paths {  |  |}  |variables {  |  |}  |### opam-cat _opam/.opam-switch/switch-state  |compiler: ["i-am-sys-compiler.2"]  |installed: ["i-am-package.2" "i-am-sys-compiler.2"]  |opam-version: "2.0"  |roots: ["i-am-package.2" "i-am-sys-compiler.2"]  |### rm -rf _opam  |### :V:2:c: From 2.1~alpha root, local unknown from config  |### ocaml generate.ml 2.1~alpha orphaned  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Hard config upgrade, from 2.1~alpha to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.1~alpha to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Perform the update and continue? [Y/n] y  |Format upgrade done.  |  |<><> Rerunning init and update ><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |Update done, please now retry your command.  |# Return code 10 #  |### opam install i-am-package  |FILE(switch-config) Wrote ${BASEDIR}/_opam/.opam-switch/switch-config in 0.000s  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ ${BASEDIR}  |STATE Definition missing for installed package i-am-sys-compiler.2, copying from repo  |STATE Switch state loaded in 0.000s File "tests/reftests/opamroot-versions.test", line 1188, characters 0-1:  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> installed i-am-package.2  |Done.  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["ocaml" {>= "4.05.0"}]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-sys-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### opam-cat _opam/.opam-switch/switch-config  |invariant: ["i-am-sys-compiler" | "i-am-compiler"]  |opam-root: "${BASEDIR}/OPAM"  |opam-version: "2.0"  |synopsis: "local switch"  |paths {  |  |}  |variables {  |  |}  |### opam-cat _opam/.opam-switch/switch-state  |compiler: ["i-am-sys-compiler.2"]  |installed: ["i-am-package.2" "i-am-sys-compiler.2"]  |opam-version: "2.0"  |roots: ["i-am-package.2" "i-am-sys-compiler.2"] File "tests/reftests/opamroot-versions.test", line 1271, characters 0-1:  |synopsis: "local switch"  |paths {  |  |}  |variables {  |  |}  |### opam-cat _opam/.opam-switch/switch-state  |compiler: ["i-am-sys-compiler.2"]  |installed: ["i-am-package.2" "i-am-sys-compiler.2"]  |opam-version: "2.0"  |roots: ["i-am-package.2" "i-am-sys-compiler.2"]  |### :V:2:e: reinit from 2.1~alpha  |### ocaml generate.ml 2.1~alpha  |### opam init --reinit --bypass-checks --no-setup  |No configuration file found, using built-in defaults. +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Hard config upgrade, from 2.1~alpha to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.1~alpha to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Perform the update and continue? [Y/n] y  |Format upgrade done.  |  |<><> Rerunning init and update ><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |Update done, please now retry your command.  |# Return code 10 #  |### opam switch --short  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |${BASEDIR}  |default  |sw-comp  |sw-sys-comp  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM File "tests/reftests/opamroot-versions.test", line 1318, characters 0-1:  |# Name # Installed # Synopsis  |i-am-package 2 One-line description  |i-am-sys-compiler 2 One-line description  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["ocaml" {>= "4.05.0"}]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-sys-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### rm -rf _opam  |### :V:3:a: From 2.1~alpha2 root, global  |### ocaml generate.ml 2.1~alpha2  |### # ro global state  |### opam option jobs  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |FMT_UPG Intermediate opam root detected, launch hard upgrade  |FMT_UPG Downgrade config opam-version to fix up  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Hard config upgrade, from 2.1~alpha2 to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.1~alpha2 to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Perform the update and continue? [Y/n] y  |Format upgrade done.  |  |<><> Rerunning init and update ><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |Update done, please now retry your command.  |# Return code 10 #  |### # ro global state, ro repo state, ro switch state  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ sw-sys-comp  |STATE Switch state loaded in 0.000s  |# Packages matching: installed File "tests/reftests/opamroot-versions.test", line 1392, characters 0-1:  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ sw-comp  |STATE Switch state loaded in 0.000s  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["ocaml" {>= "4.05.0"}]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### opam-cat $OPAMROOT/sw-comp/.opam-switch/switch-config  |invariant: ["i-am-compiler"]  |opam-version: "2.0"  |synopsis: "switch with compiler"  |paths {  |  |}  |variables {  |  |}  |### opam-cat $OPAMROOT/sw-comp/.opam-switch/switch-state  |compiler: ["i-am-compiler.2"]  |installed: ["i-am-another-package.2" "i-am-compiler.2" "i-am-package.2"]  |opam-version: "2.0"  |roots: ["i-am-another-package.2" "i-am-compiler.2" "i-am-package.2"]  |### :V:3:b: From 2.1~alpha2 root, local  |### ocaml generate.ml 2.1~alpha2 local  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |FMT_UPG Intermediate opam root detected, launch hard upgrade  |FMT_UPG Downgrade config opam-version to fix up  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Hard config upgrade, from 2.1~alpha2 to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.1~alpha2 to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Perform the update and continue? [Y/n] y  |Format upgrade done.  |  |<><> Rerunning init and update ><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |Update done, please now retry your command.  |# Return code 10 #  |### opam install i-am-package  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ ${BASEDIR}  |STATE Definition missing for installed package i-am-sys-compiler.2, copying from repo  |STATE Switch state loaded in 0.000s  |STATE Detected changed packages (marked for reinstall): {} File "tests/reftests/opamroot-versions.test", line 1460, characters 0-1:  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> installed i-am-package.2  |Done.  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["ocaml" {>= "4.05.0"}]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "${BASEDIR}" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-sys-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### opam-cat _opam/.opam-switch/switch-config  |invariant: ["i-am-sys-compiler" | "i-am-compiler"]  |opam-root: "${BASEDIR}/OPAM"  |opam-version: "2.0"  |synopsis: "local switch"  |paths {  |  |}  |variables {  |  |}  |### opam-cat _opam/.opam-switch/switch-state  |compiler: ["i-am-sys-compiler.2"]  |installed: ["i-am-package.2" "i-am-sys-compiler.2"]  |opam-version: "2.0"  |roots: ["i-am-package.2" "i-am-sys-compiler.2"]  |### rm -rf _opam  |### :V:3:c: From 2.1~alpha2 root, local unknown from config  |### ocaml generate.ml 2.1~alpha2 orphaned  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |FMT_UPG Intermediate opam root detected, launch hard upgrade  |FMT_UPG Downgrade config opam-version to fix up  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Hard config upgrade, from 2.1~alpha2 to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.1~alpha2 to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Perform the update and continue? [Y/n] y  |Format upgrade done.  |  |<><> Rerunning init and update ><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |Update done, please now retry your command.  |# Return code 10 #  |### opam install i-am-package  |FILE(switch-config) Wrote ${BASEDIR}/_opam/.opam-switch/switch-config in 0.000s  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ ${BASEDIR}  |STATE Definition missing for installed package i-am-sys-compiler.2, copying from repo  |STATE Switch state loaded in 0.000s File "tests/reftests/opamroot-versions.test", line 1531, characters 0-1:  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |-> installed i-am-package.2  |Done.  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["ocaml" {>= "4.05.0"}]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-sys-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### opam-cat _opam/.opam-switch/switch-config  |invariant: ["i-am-sys-compiler" | "i-am-compiler"]  |opam-root: "${BASEDIR}/OPAM"  |opam-version: "2.0"  |synopsis: "local switch"  |paths {  |  |}  |variables {  |  |}  |### opam-cat _opam/.opam-switch/switch-state  |compiler: ["i-am-sys-compiler.2"]  |installed: ["i-am-package.2" "i-am-sys-compiler.2"]  |opam-version: "2.0"  |roots: ["i-am-package.2" "i-am-sys-compiler.2"] File "tests/reftests/opamroot-versions.test", line 1625, characters 0-1:  |roots: ["i-am-package.2" "i-am-sys-compiler.2"]  |### :V:3:e: reinit from 2.1~alpha2  |### ocaml generate.ml 2.1~alpha2  |### opam init --reinit --bypass-checks --no-setup  |No configuration file found, using built-in defaults.  |FMT_UPG Intermediate opam root detected, launch hard upgrade  |FMT_UPG Downgrade config opam-version to fix up  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Hard config upgrade, from 2.1~alpha2 to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.1~alpha2 to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Perform the update and continue? [Y/n] y  |Format upgrade done.  |  |<><> Rerunning init and update ><><><><><><><><><><><><><><><><><><><><><><><><> +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |Update done.  |### opam switch --short  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |${BASEDIR}  |default  |sw-comp  |sw-sys-comp  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM File "tests/reftests/opamroot-versions.test", line 1661, characters 0-1:  |# Name # Installed # Synopsis  |i-am-package 2 One-line description  |i-am-sys-compiler 2 One-line description  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["ocaml" {>= "4.05.0"}]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-sys-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### rm -rf _opam  |### :V:4:a: From 2.1~rc root, global  |### ocaml generate.ml 2.1~rc  |### # ro global state  |### opam option jobs  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |FMT_UPG On-the-fly config upgrade, from 2.1~rc to 2.1  |FMT_UPG Format upgrade done  |### # ro global state, ro repo state, ro switch state  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |FMT_UPG On-the-fly config upgrade, from 2.1~rc to 2.1  |FMT_UPG Format upgrade done  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ sw-sys-comp File "tests/reftests/opamroot-versions.test", line 1919, characters 0-1:  |repositories: "default"  |switch: "sw-sys-comp"  |### opam-cat _opam/.opam-switch/switch-config  |invariant: ["i-am-sys-compiler" | "i-am-compiler"]  |opam-root: "${BASEDIR}/OPAM"  |opam-version: "2.0"  |synopsis: "local switch"  |### opam-cat _opam/.opam-switch/switch-state  |compiler: ["i-am-sys-compiler.2"]  |installed: ["i-am-package.2" "i-am-sys-compiler.2"]  |opam-version: "2.0"  |roots: ["i-am-package.2" "i-am-sys-compiler.2"]  |### :V:4:e: reinit from 2.1~rc  |### ocaml generate.ml 2.1~rc  |### opam init --reinit --bypass-checks --no-setup  |No configuration file found, using built-in defaults. +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |[WARNING] Removing global switch 'this-internal-error' as it no longer exists  |FMT_UPG Light config upgrade, from 2.1~rc to 2.1  |This version of opam requires an update to the layout of ${BASEDIR}/OPAM from version 2.1~rc to version 2.1, which can't be reverted.  |You may want to back it up before going further.  |  |Continue? [Y/n] y  |Format upgrade done.  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |### opam switch --short  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |${BASEDIR} File "tests/reftests/opamroot-versions.test", line 1961, characters 0-1:  |# Name # Installed # Synopsis  |i-am-package 2 One-line description  |i-am-sys-compiler 2 One-line description  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["i-am-sys-compiler"]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "default"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-sys-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### rm -rf _opam  |### :V:5:a: From 2.1 root, global  |### ocaml generate.ml 2.1  |### # ro global state  |### opam option jobs  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |### # ro global state, ro repo state, ro switch state  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ sw-sys-comp  |STATE Switch state loaded in 0.000s  |# Packages matching: installed  |# Name # Installed # Synopsis  |i-am-another-package 2 One-line description File "tests/reftests/opamroot-versions.test", line 2167, characters 0-1:  |repositories: "default"  |switch: "sw-sys-comp"  |### opam-cat _opam/.opam-switch/switch-config  |invariant: ["i-am-sys-compiler" | "i-am-compiler"]  |opam-root: "${BASEDIR}/OPAM"  |opam-version: "2.0"  |synopsis: "local switch"  |### opam-cat _opam/.opam-switch/switch-state  |compiler: ["i-am-sys-compiler.2"]  |installed: ["i-am-package.2" "i-am-sys-compiler.2"]  |opam-version: "2.0"  |roots: ["i-am-package.2" "i-am-sys-compiler.2"]  |### :V:5:e: reinit from 2.1  |### ocaml generate.ml 2.1  |### opam init --reinit --bypass-checks --no-setup  |No configuration file found, using built-in defaults. +|[ERROR] Sandboxing is not working on your platform gentoo: +| "${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh -c echo SUCCESS >$TMPDIR/opam-sandbox-check-out && cat $TMPDIR/opam-sandbox-check-out; rm -f $TMPDIR/opam-sandbox-check-out" exited with code 1 "bwrap: setting up uid map: Permission denied" +|Do you want to disable it? Note that this will result in less secure package builds, so please ensure that you have some other isolation mechanisms in place (such as running within a container or virtual machine). [y/N] y  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |  |<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>  |[default] no changes from file://${BASEDIR}/default  |### opam-cat $OPAMROOT/config  |default-compiler: ["i-am-sys-compiler" "i-am-compiler"]  |default-invariant: ["i-am-sys-compiler"]  |depext: true  |depext-cannot-install: false  |depext-run-installs: true  |download-jobs: 3  |eval-variables: [sys-comp-version ["sh" "-c" "echo $OPAMSYSCOMP"] "comp version"]  |installed-switches: ["sw-sys-comp" "sw-comp" "default" "${BASEDIR}/why-did-you-delete-me" "this-internal-error"]  |opam-root-version: "2.1"  |opam-version: "2.0"  |repositories: "default"  |switch: "sw-sys-comp" -|wrap-build-commands: ["%{hooks}%/sandbox.sh" "build"] {os = "linux" | os = "macos"} -|wrap-install-commands: ["%{hooks}%/sandbox.sh" "install"] {os = "linux" | os = "macos"} -|wrap-remove-commands: ["%{hooks}%/sandbox.sh" "remove"] {os = "linux" | os = "macos"}  |### opam switch --short  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |${BASEDIR}  |default  |sw-comp  |sw-sys-comp  |this-internal-error  |### opam list  |GSTATE LOAD-GLOBAL-STATE @ ${BASEDIR}/OPAM  |RSTATE LOAD-REPOSITORY-STATE @ ${BASEDIR}/OPAM  |RSTATE Cache found  |STATE LOAD-SWITCH-STATE @ ${BASEDIR}  |STATE Switch state loaded in 0.000s  |# Packages matching: installed  |# Name # Installed # Synopsis  |i-am-package 2 One-line description Done: 871/947 (jobs: 1)  patdiff (internal) (exit 1) (cd _build/default && /usr/bin/patdiff -keep-whitespace -location-style omake tests/reftests/pat-sub.test tests/reftests/pat-sub.out) ------ tests/reftests/pat-sub.test ++++++ tests/reftests/pat-sub.out File "tests/reftests/pat-sub.test", line 70, characters 0-1:  |### opam switch create sw --empty  |### OPAMDEBUGSECTIONS="ACTION" opam install pat-sub -y --debug --debug-level=-1  |The following actions will be performed:  | - install pat-sub 0.1  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>  |ACTION download_package: pat-sub.0.1  |ACTION prepare_package_source: pat-sub.0.1 at ${BASEDIR}/OPAM/sw/.opam-switch/build/pat-sub.0.1  |ACTION pat-sub: expanding opam variables in baz-update.patch.in, generating baz-update.patch.  |  |ACTION pat-sub: applying bar-update.patch.  |  |ACTION pat-sub: applying baz-update.patch.  |  |ACTION pat-sub: expanding opam variables in foo.in, generating foo.  | -|ACTION Installing pat-sub.0.1. +|[ERROR] The compilation of pat-sub.0.1 failed at "grep pat-sub foo".  | -|-> installed pat-sub.0.1 -|Done. +|#=== ERROR while compiling pat-sub.0.1 ========================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/sw/.opam-switch/build/pat-sub.0.1 +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build grep pat-sub foo +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/pat-sub-394-450f22.env +|# output-file ${BASEDIR}/OPAM/log/pat-sub-394-450f22.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build pat-sub 0.1 +|+-  +|- No changes have been performed +|# Return code 31 # Done: 871/947 (jobs: 1)  patdiff (internal) (exit 1) (cd _build/default && /usr/bin/patdiff -keep-whitespace -location-style omake tests/reftests/switch-creation.test tests/reftests/switch-creation.out) ------ tests/reftests/switch-creation.test ++++++ tests/reftests/switch-creation.out File "tests/reftests/switch-creation.test", line 28, characters 0-1:  |build: ["sh" "./prefix"]  |install: ["cp" "pref" "%{lib}%/prefix"]  |###  |opam var prefix --safe > pref  |### opam update  |  |<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>  |[default] synchronised from file://${BASEDIR}/REPO  |Now run 'opam upgrade' to apply any package updates.  |### # switch not undefined for opam calls in build, on build creation  |### opam switch create undef-prefix baz  |  |<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>  |Switch invariant: ["baz"]  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> installed baz.1 -|Done. -|### cat $OPAMROOT/undef-prefix/lib/prefix -|${BASEDIR}/OPAM/undef-prefix +|[ERROR] The compilation of baz.1 failed at "sh ./prefix". +| +|#=== ERROR while compiling baz.1 ==============================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/undef-prefix/.opam-switch/build/baz.1 +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh ./prefix +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/baz-358-9027c3.env +|# output-file ${BASEDIR}/OPAM/log/baz-358-9027c3.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build baz 1 +|+-  +|- No changes have been performed +|Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] n +|# Return code 31 # +|### cat $OPAMROOT/undef-prefix/lib/prefix +|cat: ${BASEDIR}/OPAM/undef-prefix/lib/prefix: No such file or directory +|# Return code 1 #  |### # No deadlock on concurent opam calls in build  |### opam switch create nohang foo bar | unordered  |  |<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>  |Switch invariant: ["foo" "bar"]  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> installed bar.1 -|-> installed foo.1 -|Done. +|[ERROR] The compilation of bar.1 failed at "opam option jobs --safe --cli=2.1". +|[ERROR] The compilation of foo.1 failed at "opam option jobs --safe --cli=2.1". +| +|#=== ERROR while compiling foo.1 ==============================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/nohang/.opam-switch/build/foo.1 +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build opam option jobs --safe --cli=2.1 +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/foo-480-46ae7a.env +|# output-file ${BASEDIR}/OPAM/log/foo-480-46ae7a.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +|#=== ERROR while compiling bar.1 ==============================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/nohang/.opam-switch/build/bar.1 +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build opam option jobs --safe --cli=2.1 +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/bar-480-61fd3f.env +|# output-file ${BASEDIR}/OPAM/log/bar-480-61fd3f.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build bar 1 +|| - build foo 1 +|+-  +|- No changes have been performed +|Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] n +|# Return code 31 #  |### # switch propagation to opam calls in build  |### opam switch create undef-switch --empty  |### opam switch nohang  |### opam install baz --sw undef-switch  |The following actions will be performed:  | - install baz 1  |  |<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -|-> installed baz.1 -|Done. -|### cat $OPAMROOT/undef-switch/lib/prefix -|${BASEDIR}/OPAM/undef-switch +|[ERROR] The compilation of baz.1 failed at "sh ./prefix". +| +|#=== ERROR while compiling baz.1 ==============================================# +|# context 2.1.2 | linux/x86_64 | | file://${BASEDIR}/REPO +|# path ${BASEDIR}/OPAM/undef-switch/.opam-switch/build/baz.1 +|# command ${BASEDIR}/OPAM/opam-init/hooks/sandbox.sh build sh ./prefix +|# exit-code 1 +|# env-file ${BASEDIR}/OPAM/log/baz-734-f2a51b.env +|# output-file ${BASEDIR}/OPAM/log/baz-734-f2a51b.out +|### output ### +|# bwrap: setting up uid map: Permission denied +| +| +| +|<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +|+- The following actions failed +|| - build baz 1 +|+-  +|- No changes have been performed +|# Return code 31 # +|### cat $OPAMROOT/undef-switch/lib/prefix +|cat: ${BASEDIR}/OPAM/undef-switch/lib/prefix: No such file or directory +|# Return code 1 # Done: 871/947 (jobs: 1)  [ !! ] * ERROR: dev-ml/opam-2.1.2::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 639: Called dune_src_test * environment, line 389: Called die * The specific snippet of code: * eend $? || die * * If you need support, post the output of `emerge --info '=dev-ml/opam-2.1.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-ml/opam-2.1.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-ml:opam-2.1.2:20220415-180155.log'. * For convenience, a symlink to the build log is located at '/tmp/portage/dev-ml/opam-2.1.2/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-ml/opam-2.1.2/temp/environment'. * Working directory: '/tmp/portage/dev-ml/opam-2.1.2/work/opam-2.1.2' * S: '/tmp/portage/dev-ml/opam-2.1.2/work/opam-2.1.2'