Re: [GNUnet-developers] Guix based tooling for GNUNet
Catonano transcribed 3.6K bytes: > Hello > > I opened this thread on the gnunet-develop mailing list > > https://lists.gnu.org/archive/html/gnunet-developers/2018-03/msg00030.html > > Christian Grothoff suggested that Hartmut Goebel and Andreas Enge helped in > setting up the GNUNet building with Guix > > So here I am > > I managed to build GNUNet with Guix both on a Fedora workstation with Guix > as an additional package manager and on a GuixSD station > > With this line > > guix build -f ./ guix-env.scm > > Now, I can' t rebuild it anymore, with this result > > configure flags: > ("CONFIG_SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" > "SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" > "--prefix=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915mm-gnunet-dev-env-0.11-1.dev-env" > "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" > "--with-nssdir=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915mm-gnunet-dev-env-0.11-1.dev-env/lib" > "--enable-logging=verbose" "CFLAGS=-ggdb -O0") > configure: WARNING: unrecognized options: --with-nssdir Yeah sorry, I forgot to remove that line. Many things happened and I still need to adjust the guix tooling to the (in my opinion bad) solution to the nss directory which was changed last year. > ./configure: line 2678: config.log: Permission denied > ./configure: line 2688: config.log: Permission denied Can you post the full build log and the commit this is on? > phase `configure' failed after 0.1 seconds > > > Is this the state of the art in building GNUNet with Guix or are there any > progresses not available in the GNUNet master branch ? > > The next step for me would be to try to run GNUNet and follow the manual > about how to use it > > So I' ll be bable to review what the manual says > > Thanks for your help ___ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers
Re: [GNUnet-developers] Guix based tooling for GNUNet
2018-04-01 12:30 GMT+02:00 Nils Gillmann: guix-env.scm adjusted for now. the general behaviour how to start an > development environment > with this file etc must be documented. building works. > > Yes, it's great. Thanks for your work ! ___ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers
Re: [GNUnet-developers] Guix based tooling for GNUNet
2018-04-01 12:15 GMT+02:00 Nils Gillmann: > > Yeah sorry, I forgot to remove that line. Many things happened and I still > need > to adjust the guix tooling to the (in my opinion bad) solution to the nss > directory > which was changed last year. > don't worry, I don't even know what this nss thing is all about > > ./configure: line 2678: config.log: Permission denied > > ./configure: line 2688: config.log: Permission denied > > Can you post the full build log and the commit this is on? > Right now I can't But you can reproduce this You need to install Guix on a foreign distro Then do guix environment -f .guix-env.scm and bootsrap, configure, build, locally after that, guix build -f ./guix-env.scm won't work anymore with the error I reported ___ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers
Re: [GNUnet-developers] Guix based tooling for GNUNet
Nils Gillmann transcribed 1.8K bytes: > Catonano transcribed 3.6K bytes: > > Hello > > > > I opened this thread on the gnunet-develop mailing list > > > > https://lists.gnu.org/archive/html/gnunet-developers/2018-03/msg00030.html > > > > Christian Grothoff suggested that Hartmut Goebel and Andreas Enge helped in > > setting up the GNUNet building with Guix > > > > So here I am > > > > I managed to build GNUNet with Guix both on a Fedora workstation with Guix > > as an additional package manager and on a GuixSD station > > > > With this line > > > > guix build -f ./ guix-env.scm > > > > Now, I can' t rebuild it anymore, with this result > > > > configure flags: > > ("CONFIG_SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" > > "SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" > > "--prefix=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915mm-gnunet-dev-env-0.11-1.dev-env" > > "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" > > "--with-nssdir=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915mm-gnunet-dev-env-0.11-1.dev-env/lib" > > "--enable-logging=verbose" "CFLAGS=-ggdb -O0") > > configure: WARNING: unrecognized options: --with-nssdir > > Yeah sorry, I forgot to remove that line. Many things happened and I still > need > to adjust the guix tooling to the (in my opinion bad) solution to the nss > directory The bug about the bug: https://gnunet.org/bugs/view.php?id=5119 > which was changed last year. guix-env.scm adjusted for now. the general behaviour how to start an development environment with this file etc must be documented. building works. > > ./configure: line 2678: config.log: Permission denied > > ./configure: line 2688: config.log: Permission denied > > Can you post the full build log and the commit this is on? > > > phase `configure' failed after 0.1 seconds > > > > > > Is this the state of the art in building GNUNet with Guix or are there any > > progresses not available in the GNUNet master branch ? > > > > The next step for me would be to try to run GNUNet and follow the manual > > about how to use it > > > > So I' ll be bable to review what the manual says > > > > Thanks for your help ___ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers
Re: [GNUnet-developers] Guix based tooling for GNUNet
> > Building with Guix(SD): > > On my Fedora workstation, it builds and passes all the tests happily > I have to amend this statement There are some failures on Fedora too I' m sure there weren' t, last time I tried So I' m experiencing some undeterministic failures, as Christian mentioned Here' s the test-suite.log = gnunet 0.11.0: src/cadet/test-suite.log = # TOTAL: 18 # PASS: 12 # SKIP: 0 # XFAIL: 0 # FAIL: 6 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test_cadet_5_forward == Apr 01 07:05:05-980785 test-14774 DEBUG 5 PEER LINE Apr 01 07:05:05-980824 test-14774 DEBUG FORWARD Apr 01 07:05:36-134600 testbed-api-topology-14774 WARNING Error while establishing a link: 0xc: Timeout during GNUNET_ATS_connectivity_suggest() at peer G3FK -- Retrying Apr 01 07:06:06-153105 testbed-api-topology-14774 WARNING Error while establishing a link: 0xe: Timeout during GNUNET_ATS_connectivity_suggest() at peer G3FK -- Retrying Apr 01 07:06:36-177216 testbed-api-topology-14774 WARNING Error while establishing a link: 0xf: Timeout during GNUNET_ATS_connectivity_suggest() at peer G3FK -- Retrying Apr 01 07:07:06-207538 test_cadet_small-14774 ERROR Some links failed (4), ending FAIL test_cadet_5_forward (exit status: 2) FAIL: test_cadet_5_signal = Apr 01 07:07:06-267870 test-14850 DEBUG 5 PEER LINE Apr 01 07:07:06-267909 test-14850 DEBUG SIGNAL Apr 01 07:07:36-417808 testbed-api-topology-14850 WARNING Error while establishing a link: 0xc: Timeout during GNUNET_ATS_connectivity_suggest() at peer G3FK -- Retrying Apr 01 07:08:06-445116 testbed-api-topology-14850 WARNING Error while establishing a link: 0xe: Timeout during GNUNET_ATS_connectivity_suggest() at peer G3FK -- Retrying Apr 01 07:08:36-475389 testbed-api-topology-14850 WARNING Error while establishing a link: 0xf: Timeout during GNUNET_ATS_connectivity_suggest() at peer G3FK -- Retrying Apr 01 07:09:06-504821 test_cadet_small-14850 ERROR Some links failed (4), ending FAIL test_cadet_5_signal (exit status: 2) FAIL: test_cadet_5_speed_ack Apr 01 07:09:37-382853 test-15080 DEBUG 5 PEER LINE Apr 01 07:09:37-382893 test-15080 DEBUG SPEED_ACK Apr 01 07:10:07-478852 testbed-api-topology-15080 WARNING Error while establishing a link: 0xa: Timeout while acquiring ATS of 6YNB from cache -- Retrying Apr 01 07:10:37-486643 testbed-api-topology-15080 WARNING Error while establishing a link: 0xe: Timeout during GNUNET_ATS_connectivity_suggest() at peer 6YNB -- Retrying Apr 01 07:11:07-497388 testbed-api-topology-15080 WARNING Error while establishing a link: 0xf: Timeout during GNUNET_ATS_connectivity_suggest() at peer 6YNB -- Retrying Apr 01 07:11:37-511851 test_cadet_small-15080 ERROR Some links failed (4), ending FAIL test_cadet_5_speed_ack (exit status: 2) FAIL: test_cadet_5_speed_reliable = Apr 01 07:11:37-578395 test-15156 DEBUG 5 PEER LINE Apr 01 07:11:37-578434 test-15156 DEBUG SPEED Apr 01 07:11:37-814605 cadet-15179 WARNING ** Apr 01 07:11:37-814651 cadet-15179 WARNING Cadet is running with DROP enabled. Apr 01 07:11:37-814658 cadet-15179 WARNING This is NOT a good idea! Apr 01 07:11:37-829235 cadet-15179 WARNING Remove DROP_PERCENT from config file. Apr 01 07:11:37-829243 cadet-15179 WARNING ** Apr 01 07:11:37-873155 cadet-15192 WARNING ** Apr 01 07:11:37-873206 cadet-15192 WARNING Cadet is running with DROP enabled. Apr 01 07:11:37-873213 cadet-15192 WARNING This is NOT a good idea! Apr 01 07:11:37-873220 cadet-15192 WARNING Remove DROP_PERCENT from config file. Apr 01 07:11:37-873225 cadet-15192 WARNING ** Apr 01 07:11:37-880716 cadet-15188 WARNING ** Apr 01 07:11:37-880761 cadet-15188 WARNING Cadet is running with DROP enabled. Apr 01 07:11:37-880768 cadet-15188 WARNING This is NOT a good idea! Apr 01 07:11:37-880773 cadet-15188 WARNING Remove DROP_PERCENT from config file. Apr 01 07:11:37-880778 cadet-15188 WARNING ** Apr 01 07:11:37-886503 cadet-15184 WARNING ** Apr 01 07:11:37-886548 cadet-15184 WARNING Cadet is running with DROP enabled. Apr 01 07:11:37-886555 cadet-15184 WARNING This is NOT a good idea! Apr 01 07:11:37-886561 cadet-15184 WARNING Remove DROP_PERCENT from config file. Apr 01 07:11:37-886566 cadet-15184 WARNING ** Apr 01 07:11:37-950320 cadet-15196 WARNING ** Apr 01 07:11:37-950371 cadet-15196 WARNING Cadet is running with DROP enabled. Apr 01 07:11:37-950379 cadet-15196 WARNING This is NOT a good idea! Apr 01 07:11:37-950384 cadet-15196 WARNING Remove DROP_PERCENT from config file. Apr 01 07:11:37-950389
Re: [GNUnet-developers] Guix based tooling for GNUNet
2018-04-01 8:57 GMT+02:00 Catonano: > > > 2018-03-31 21:51 GMT+02:00 Schanzenbach, Martin : > >> Hmm. The nssdir thing is just a warning. >> There seems to be a permissions problem for the configure files (such as >> config.log). >> That must be rooted in the build system (guix?) in this case though. >> For example: I guess you could reproduce it by executing configure as >> root and then after as user. Result should be the same. >> > > Guix does its builds in an "isolated" folder and it's a "build" user that > does the build in such an environment > > So I can' t build as root and then as a user > > Not it's building again > > I just scrapped the gnunet folder and checked out again from git > > In this way, it builds > > If I try to build locally (not putting Guix inb charge of the build, but > rather doing it myself by hand) and THEN ask guix to build, it happens what > I reported > > But this is a matter for the guix mailing list > > On my Fedora workstation, it builds and passes a > > Sorry I pressed the wrong key combination by mistake and sent the email too early I was saying: Building with Guix(SD): On my Fedora workstation, it builds and passes all the tests happily On my GuixSD workstation, it doesn' t pass the tests and there' s one of those pesky timeouts in establishing a connection that Christian mentioned Now I have still to see if I can instal it and run it on the Fedora desktop With that information I' ll try to devise a plan ___ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers
Re: [GNUnet-developers] Guix based tooling for GNUNet
2018-03-31 21:51 GMT+02:00 Schanzenbach, Martin: > Hmm. The nssdir thing is just a warning. > There seems to be a permissions problem for the configure files (such as > config.log). > That must be rooted in the build system (guix?) in this case though. > For example: I guess you could reproduce it by executing configure as root > and then after as user. Result should be the same. > Guix does its builds in an "isolated" folder and it's a "build" user that does the build in such an environment So I can' t build as root and then as a user Not it's building again I just scrapped the gnunet folder and checked out again from git In this way, it builds If I try to build locally (not putting Guix inb charge of the build, but rather doing it myself by hand) and THEN ask guix to build, it happens what I reported But this is a matter for the guix mailing list On my Fedora workstation, it builds and passes a > > BR > Martin > > > On 31. Mar 2018, at 20:02, Christian Grothoff > wrote: > > > > Hi! > > > > This one I might even be able to help: the --with-nssdir was removed, so > > change the script to just not pass that option ;-). > > > > Andreas: assuming this came from the Guix-tree, maybe you can remove it > > there? > > > > Happy hacking! > > > > -Christian > > > > On 03/31/2018 07:58 PM, Catonano wrote: > >> Hello > >> > >> I opened this thread on the gnunet-develop mailing list > >> > >> https://lists.gnu.org/archive/html/gnunet-developers/2018- > 03/msg00030.html > >> > >> Christian Grothoff suggested that Hartmut Goebel and Andreas Enge helped > >> in setting up the GNUNet building with Guix > >> > >> So here I am > >> > >> I managed to build GNUNet with Guix both on a Fedora workstation with > >> Guix as an additional package manager and on a GuixSD station > >> > >> With this line > >> > >> guix build -f ./ guix-env.scm > >> > >> Now, I can' t rebuild it anymore, with this result > >> > >> configure flags: > >> ("CONFIG_SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgim > l1-bash-minimal-4.4.12/bin/bash" > >> "SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgim > l1-bash-minimal-4.4.12/bin/bash" > >> "--prefix=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915 > mm-gnunet-dev-env-0.11-1.dev-env" > >> "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" > >> "--with-nssdir=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915 > mm-gnunet-dev-env-0.11-1.dev-env/lib" > >> "--enable-logging=verbose" "CFLAGS=-ggdb -O0") > >> configure: WARNING: unrecognized options: --with-nssdir > >> ./configure: line 2678: config.log: Permission denied > >> ./configure: line 2688: config.log: Permission denied > >> phase `configure' failed after 0.1 seconds > >> > >> > >> Is this the state of the art in building GNUNet with Guix or are there > >> any progresses not available in the GNUNet master branch ? > >> > >> The next step for me would be to try to run GNUNet and follow the manual > >> about how to use it > >> > >> So I' ll be bable to review what the manual says > >> > >> Thanks for your help > >> > >> > >> > >> ___ > >> GNUnet-developers mailing list > >> GNUnet-developers@gnu.org > >> https://lists.gnu.org/mailman/listinfo/gnunet-developers > >> > > > > ___ > > GNUnet-developers mailing list > > GNUnet-developers@gnu.org > > https://lists.gnu.org/mailman/listinfo/gnunet-developers > > > - Martin > > GPG: 3D11063C10F98D14BD24D1470B0998EF86F59B6A > > > ___ > GNUnet-developers mailing list > GNUnet-developers@gnu.org > https://lists.gnu.org/mailman/listinfo/gnunet-developers > > ___ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers
Re: [GNUnet-developers] Guix based tooling for GNUNet
Hmm. The nssdir thing is just a warning. There seems to be a permissions problem for the configure files (such as config.log). That must be rooted in the build system (guix?) in this case though. For example: I guess you could reproduce it by executing configure as root and then after as user. Result should be the same. BR Martin > On 31. Mar 2018, at 20:02, Christian Grothoffwrote: > > Hi! > > This one I might even be able to help: the --with-nssdir was removed, so > change the script to just not pass that option ;-). > > Andreas: assuming this came from the Guix-tree, maybe you can remove it > there? > > Happy hacking! > > -Christian > > On 03/31/2018 07:58 PM, Catonano wrote: >> Hello >> >> I opened this thread on the gnunet-develop mailing list >> >> https://lists.gnu.org/archive/html/gnunet-developers/2018-03/msg00030.html >> >> Christian Grothoff suggested that Hartmut Goebel and Andreas Enge helped >> in setting up the GNUNet building with Guix >> >> So here I am >> >> I managed to build GNUNet with Guix both on a Fedora workstation with >> Guix as an additional package manager and on a GuixSD station >> >> With this line >> >> guix build -f ./ guix-env.scm >> >> Now, I can' t rebuild it anymore, with this result >> >> configure flags: >> ("CONFIG_SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" >> "SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" >> "--prefix=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915mm-gnunet-dev-env-0.11-1.dev-env" >> "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" >> "--with-nssdir=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915mm-gnunet-dev-env-0.11-1.dev-env/lib" >> "--enable-logging=verbose" "CFLAGS=-ggdb -O0") >> configure: WARNING: unrecognized options: --with-nssdir >> ./configure: line 2678: config.log: Permission denied >> ./configure: line 2688: config.log: Permission denied >> phase `configure' failed after 0.1 seconds >> >> >> Is this the state of the art in building GNUNet with Guix or are there >> any progresses not available in the GNUNet master branch ? >> >> The next step for me would be to try to run GNUNet and follow the manual >> about how to use it >> >> So I' ll be bable to review what the manual says >> >> Thanks for your help >> >> >> >> ___ >> GNUnet-developers mailing list >> GNUnet-developers@gnu.org >> https://lists.gnu.org/mailman/listinfo/gnunet-developers >> > > ___ > GNUnet-developers mailing list > GNUnet-developers@gnu.org > https://lists.gnu.org/mailman/listinfo/gnunet-developers - Martin GPG: 3D11063C10F98D14BD24D1470B0998EF86F59B6A signature.asc Description: Message signed with OpenPGP ___ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers
Re: [GNUnet-developers] Guix based tooling for GNUNet
Hi! This one I might even be able to help: the --with-nssdir was removed, so change the script to just not pass that option ;-). Andreas: assuming this came from the Guix-tree, maybe you can remove it there? Happy hacking! -Christian On 03/31/2018 07:58 PM, Catonano wrote: > Hello > > I opened this thread on the gnunet-develop mailing list > > https://lists.gnu.org/archive/html/gnunet-developers/2018-03/msg00030.html > > Christian Grothoff suggested that Hartmut Goebel and Andreas Enge helped > in setting up the GNUNet building with Guix > > So here I am > > I managed to build GNUNet with Guix both on a Fedora workstation with > Guix as an additional package manager and on a GuixSD station > > With this line > > guix build -f ./ guix-env.scm > > Now, I can' t rebuild it anymore, with this result > > configure flags: > ("CONFIG_SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" > "SHELL=/gnu/store/icz3hd36aqpjz5slyp4hhr8wsfbgiml1-bash-minimal-4.4.12/bin/bash" > "--prefix=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915mm-gnunet-dev-env-0.11-1.dev-env" > "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" > "--with-nssdir=/gnu/store/ijw81007gcwb0dgc7d4hj4i7rdj915mm-gnunet-dev-env-0.11-1.dev-env/lib" > "--enable-logging=verbose" "CFLAGS=-ggdb -O0") > configure: WARNING: unrecognized options: --with-nssdir > ./configure: line 2678: config.log: Permission denied > ./configure: line 2688: config.log: Permission denied > phase `configure' failed after 0.1 seconds > > > Is this the state of the art in building GNUNet with Guix or are there > any progresses not available in the GNUNet master branch ? > > The next step for me would be to try to run GNUNet and follow the manual > about how to use it > > So I' ll be bable to review what the manual says > > Thanks for your help > > > > ___ > GNUnet-developers mailing list > GNUnet-developers@gnu.org > https://lists.gnu.org/mailman/listinfo/gnunet-developers > signature.asc Description: OpenPGP digital signature ___ GNUnet-developers mailing list GNUnet-developers@gnu.org https://lists.gnu.org/mailman/listinfo/gnunet-developers