<div dir="ltr"><div><div><div>I just realized I was trying to build as root, which means the 
file would never be unreadable, so the test would always fail. I'll try to building again as a regular 
user with fakeroot, it should work then.<br><br></div>Documenting this somewhere would surely
 help people building from source (if it is documented already, please 
forgive me for my mistake).<br><br></div>Regards,<br></div>Daniel<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Oct 27, 2013 at 7:03 AM, Daniel Miranda <span dir="ltr"><<a href="mailto:danielkza2@gmail.com" target="_blank">danielkza2@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello,<br><br></div>I'm trying to get Augeas 1.0 running on a Debian Wheezy (stable) system. Unfortunately the official release of 1.0 is only available in the testing distribution, and requires me to upgrade libc to testing as well, which I do not want to do.<br>


<br></div>So I set to compiling it myself. I downloaded the Debian testing sources of augeas-1.0.0 (which are mostly clean, just a single patch related to case-sensitivity of the build root), and went to build it.<br><br>


</div>Unfortunately I'm getting a failed test:<br><br>> FAIL: test-load (exit: 1)<br>> =========================<br>> <br>> ..............F..<br>><br>> There was 1 failure:<br>> 1) testPermsErrorReported:<br>


> test-load.c:542: expected <0> but was <1><br><br>> !!!FAILURES!!!<br>> Runs: 17 Passes: 16 Fails: 1<br><br></div>I checked the test code and it if I understood correctly it tries to parse an unreadable hosts file. So I went to check if it was actually unreadable, and it its:<br>


<br>> $ ls -l build/test-load/testPermsErrorReported/etc/<br>> total 4<br>> --w------- 1 root root 309 Nov  2  2012 hosts<br><br><div>I don't really know what information about my system could be relevant, but here are some:<br>


<br>> libc6:amd64 2.13-38<br>> libreadline-dev 6.2+dfsg-0.1<br></div><div>> augeas 1.0.0-1.1 from debian testing (jessie)<br><br></div><div>I don't really know if the failed test is really meaningful, or what I need to do to debug/fix it. Any pointers would be appreciated.<br>


<br>Thanks in advance,<br>Daniel Miranda<br></div><div><br><br><br></div><div><br></div></div>
</blockquote></div><br></div>