View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003606 | GNUnet | build process | public | 2015-01-08 12:33 | 2018-06-07 00:25 |
Reporter | Matthias Wachs | Assigned To | Christian Grothoff | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Product Version | Git master | ||||
Target Version | 0.11.0pre66 | Fixed in Version | 0.11.0pre66 | ||
Summary | 0003606: GNUNET_PREFIX test fails with wrong path used for detection | ||||
Description | On my system contrib/test_gnunet_prefix fails: echo $GNUNET_PREFIX /home/<user>/coding/gnb gnunet/contrib$ ./test_gnunet_prefix Failed to access `/home/<user>/coding/gnb/../share/gnunet/config.d': No such file or directory Path tested: dirname = DIR_SEPARATOR_STR ".." DIR_SEPARATOR_STR "share" DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR "config.d"; The correct path to test should be: dirname = DIR_SEPARATOR_STR "share" DIR_SEPARATOR_STR "gnunet" DIR_SEPARATOR_STR "config.d"; | ||||
Tags | No tags attached. | ||||
related to | 0002645 | closed | Christian Grothoff | libexec path on opensuse |
|
Is this a problem only on my machine? Committed a fix in rev 34845 |
|
We changed GNUNET_PREFIX's definition to include the "lib/" at the end, as it can be lib32, lib64 or other things depending on arch. I think you probably have your environment variable set to the 'old' GNUNET_PREFIX and/or didn't run via 'make check'. |
|
Almost certainly a case of bad GNUNET_PREFIX, proposed change creates new problems. |
|
According to latest ./README: $ export GNUNET_PREFIX=/usr/local # or other directory of your choice ... This will create the users and groups needed for running GNUnet securely and then compile and install GNUnet to $GNUNET_PREFIX/bin/, $GNUNET_PREFIX/lib/ and $GNUNET_PREFIX/share/ and start the system with the default configuration. |
|
Where is this change in definition documented? |
|
Found it. Ultimate cause was 0003284. |
|
See also SVN 32119 and 32149. |
|
With the new definition including "/lib/", make check fails in util: $ echo $GNUNET_PREFIX /home/<user>/coding/gnb/lib Jan 09 08:22:18-019892 util-25364 WARNING `access' failed on file `/home/<user>/coding/gnb/lib//gnunet/libexec/gnunet-service-resolver' at os_installation.c:772 with error: No such file or directory Jan 09 08:22:18-019961 test-resolver-api-25364 ERROR Assertion failed at test_resolver_api.c:397. |
|
Finally I figured out how to do it right: $ export MYPATH =/home/<user>/coding/gnb $ export GNUNET_PREFIX=$MYPATH/lib $ export PATH=$MYPATH/bin:$PATH $ ./configure --prefix=$MYPATH |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-01-08 12:33 | Matthias Wachs | New Issue | |
2015-01-08 12:35 | Matthias Wachs | Note Added: 0008754 | |
2015-01-08 12:35 | Matthias Wachs | Status | new => feedback |
2015-01-08 12:59 | Christian Grothoff | Note Added: 0008755 | |
2015-01-08 19:54 | Christian Grothoff | Note Added: 0008757 | |
2015-01-08 19:54 | Christian Grothoff | Status | feedback => resolved |
2015-01-08 19:54 | Christian Grothoff | Fixed in Version | => 0.11.0pre66 |
2015-01-08 19:54 | Christian Grothoff | Resolution | open => no change required |
2015-01-08 19:54 | Christian Grothoff | Assigned To | => Christian Grothoff |
2015-01-09 08:14 | Matthias Wachs | Note Added: 0008758 | |
2015-01-09 08:15 | Matthias Wachs | Status | resolved => feedback |
2015-01-09 08:17 | Matthias Wachs | Note Added: 0008759 | |
2015-01-09 08:17 | Matthias Wachs | Status | feedback => assigned |
2015-01-09 08:17 | Matthias Wachs | Status | assigned => feedback |
2015-01-09 08:28 | Christian Grothoff | Relationship added | related to 0002645 |
2015-01-09 08:31 | Christian Grothoff | Note Added: 0008761 | |
2015-01-09 08:34 | Christian Grothoff | Note Added: 0008762 | |
2015-01-09 08:35 | Matthias Wachs | Note Added: 0008763 | |
2015-01-09 08:35 | Matthias Wachs | Status | feedback => assigned |
2015-01-09 08:35 | Matthias Wachs | Status | assigned => feedback |
2015-01-09 08:47 | Matthias Wachs | Note Added: 0008764 | |
2015-01-09 08:47 | Matthias Wachs | Status | feedback => assigned |
2015-01-09 17:32 | Christian Grothoff | Status | assigned => resolved |
2015-01-09 19:40 | Christian Grothoff | Target Version | 0.11.0 => 0.11.0pre66 |
2018-06-07 00:25 | Christian Grothoff | Status | resolved => closed |