Re: Help with a code snippet that fails in mock buildroots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 11, 2008 at 10:17 PM, Lennart Poettering
<mzerqung@xxxxxxxxxxx> wrote:
> On Fri, 11.04.08 22:07, Deji Akingunola (dakingun@xxxxxxxxx) wrote:
>
>  > Hi all,
>  >
>  > Can someone please explain (and possibly provide a solution) to me why
>  > the code below is failing in mock buildroot. It is run to check if the
>  > 'shm_open' function works when configuring latest mpich2 package, and
>  > its result is used to create a definition that's used later when
>  > compiling the package. The code runs fine (and the package builds fine
>  > too) on my rawhide system.
>  > Thanks.
>
>  Is /dev/shm/ available in the chroot env?
I have no idea; I ran 'rpm -q --whatprovides /dev/shm' on my system
and it returned 'file /dev/shm is not owned by any package', I wonder
how it get created. Thanks for your response.

Deji

> shm_open() is basically the
>  same as open(), however, it prepends /dev/shm to the file name. If
>  that dir is not writable (should be mounted as tmpfs) shm_open() fails,
>
>  Lennart
>
>  --
>  Lennart Poettering                        Red Hat, Inc.
>  lennart [at] poettering [dot] net         ICQ# 11060553
>  http://0pointer.net/lennart/           GnuPG 0x1A015CC4
>
>  --
>  fedora-devel-list mailing list
>  fedora-devel-list@xxxxxxxxxx
>  https://www.redhat.com/mailman/listinfo/fedora-devel-list
>

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux