Re: Help needed: compilation error

ch3 <[email protected]> Tue, 9 Jul 2024 17:13:48 +0200
Newsgroups gmane.network.gnunet.devel
Message-ID <[email protected]>
Thanks to Christians suggestion, here's what helped:

Manually `chown`ing the file in question (and a couple of rounds of
`make clean` and `make uninstalling` for the feeling of more cleanness).

Cheers,
ch3


On Tue, Jul 09, 2024 at 16:31:09 +0200, ch3 wrote:
> Dear list,
> 
> I'm stuck with the following compilation error:
> 
> 
> ````
> ../../../src/include/gnunet_testing_lib.h:902:18: fatal error: opening dependency file .deps/test_core_plugin_underlay_dummy.Tpo: Permission denied
>   902 |           struct GNUNET_TESTING_Trait ret = {                   \
>       |                  ^~~~~~~~~~~~~~~~~~~~
> gnunet_core_underlay_dummy.h:203:9: note: in expansion of macro 'GNUNET_TESTING_MAKE_IMPL_SIMPLE_TRAIT'
>   203 |         op (prefix, connect, const struct GNUNET_CORE_UNDERLAY_DUMMY_Handle)
>       |         ^~
> test_core_plugin_underlay_dummy.c:251:1: note: in expansion of macro 'GNUNET_CORE_SIMPLE_DUMMY_UNDERLAY_TRAITS'
>   251 | GNUNET_CORE_SIMPLE_DUMMY_UNDERLAY_TRAITS (
>       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ````
> 
> From my perspective it comes out of nowhere - there wasn't a commit by
> others recently that could trigger this behavior and I was not changing
> anything related. (At least I'm not aware.) I tried cleaning everything
> and starting with bootstrapping, configuring, ...
> 
> For cleaning I did:
>  * make uninstall,
>  * all of make-clean* targets and
>  * removed everything in the gnunet prefix directory. (The directory
>    that is given to configure with `--prefix=`.)
> 
> Reproducing should be possible by checking out the branch
> `dev/julius-buenger/cong-testing` and compiling everything, although I
> have a feeling that it is a local issue after all.
> 
> I ran out of ideas where else to look for this issue and would be quite
> thankful for pointers to what this could be.
> 
> Thanks in advance
> ch3
> 
>
(unnamed) (application/pgp-keys, 868 B) - not displayed
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRJThCE434IyPU5wMH6FaTWvxCd9QUCZo1TrAAKCRD6FaTWvxCd
9RLjAP9i/zNYuGmgDSiyu/wsMMkoALM4yGx+mH2onYhl62fxHwD/Qe/A4Hd/ELqJ
/xpZZNvZI8tMV6SJxukgEtNuhhJ60Aw=
=JKx0
-----END PGP SIGNATURE-----