It is also necessary to have /proc mounted to run ghc, not just to build it.

On Mon, Feb 17, 2014 at 1:54 PM, David Fox <[email protected]> wrote:
> I found the problem - I wasn't specifying that the /proc file system
> needs to be mounted during the build.
>
> On Tue, Feb 11, 2014 at 2:49 PM, David Fox <[email protected]> wrote:
>> On Tue, Feb 11, 2014 at 2:41 PM, Joachim Breitner <[email protected]> wrote:
>>> Hi,
>>>
>>> Am Dienstag, den 11.02.2014, 14:28 -0800 schrieb David Fox:
>>>> Here is the output of the ldd command:
>>>>
>>>> # ldd /work/build/ghc/ghc-7.8.20140130/debian/tmp/usr/lib/ghc/bin/ghc-pkg
>>>
>>> is that ldd call run inside the build chroot, i.e. in the same
>>> environment where the call to ghc-pkg fails? Because ldd seems to find
>>> everything allright...
>>
>> Yes, it definitely ran inside the changeroot - mysterious...
>>
>>>
>>>> I am currently building in a non-changeroot environment to see if that
>>>> makes any difference.
>>
>> Oops, I meant to replace this with "I ran in an ubuntu precise
>> non-changeroot and the build succeeded."
>>
>>>
>>> thanks for your effort here!
>>
>> The least I can do...


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/cajn_rf5aaixoryqpr-gm_krhbbcbqexnvt2bnczaeg2hugn...@mail.gmail.com

Reply via email to