Subject: bug#37779: closed (Re: bug#37779: encfs build fails: stdlib.h: No such file or directory)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 18 Oct 2019 12:46:03 +0000

Your bug report

#37779: encfs build fails: stdlib.h: No such file or directory

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
37779: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37779
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#37779: encfs build fails: stdlib.h: No such file or directory
From: Marius Bakke <[email-masked]>
To: Pierre Neidhardt <[email-masked]>, [email-masked]
Date: Fri, 18 Oct 2019 14:44:59 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Pierre Neidhardt <[email-masked]> writes:

> Since the move to gcc 7, encfs cannot be built:
>
> --8<---------------cut here---------------start------------->8---
> In file included from /tmp/guix-build-encfs-1.9.5.drv-0/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:340:0,
> 								 from /tmp/guix-build-encfs-1.9.5.drv-0/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:17:
> /gnu/store/x3jx25cd3q363mr7nbgzrhrv1vza6cf7-gcc-7.4.0/include/c++/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
>  #include_next <stdlib.h>
> 							 ^~~~~~~~~~
> compilation terminated.
> --8<---------------cut here---------------end--------------->8---

Fixed in 1df9245586939e5a359f8c486662642d9d5998b5, thanks!

Subject: encfs build fails: stdlib.h: No such file or directory
From: Pierre Neidhardt <[email-masked]>
To: [email-masked]
Date: Wed, 16 Oct 2019 20:24:29 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Since the move to gcc 7, encfs cannot be built:

--8<---------------cut here---------------start------------->8---
In file included from /tmp/guix-build-encfs-1.9.5.drv-0/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.h:340:0,
								 from /tmp/guix-build-encfs-1.9.5.drv-0/encfs-1.9.5/vendor/github.com/muflihun/easyloggingpp/src/easylogging++.cc:17:
/gnu/store/x3jx25cd3q363mr7nbgzrhrv1vza6cf7-gcc-7.4.0/include/c++/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
 #include_next <stdlib.h>
							 ^~~~~~~~~~
compilation terminated.
--8<---------------cut here---------------end--------------->8---

Any idea how to fix this cleanly?

-- 
Pierre Neidhardt
https://ambrevar.xyz/