unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jakob Kirsch via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 72934@debbugs.gnu.org
Subject: bug#72934: lxc fails to build
Date: Sun, 1 Sep 2024 17:44:34 +0200	[thread overview]
Message-ID: <bf430ea7-ec39-4090-8efc-f93b57d699c7@web.de> (raw)

The error message is:

```
mount_utils.c: In function ‘create_detached_idmapped_mount’:
mount_utils.c:297:29: error: passing argument 4 of ‘mount_setattr’ from 
incompatible pointer type [-Werror=incompatible-pointer-types]
  297 |                             &attr, sizeof(attr));
      |                             ^~~~~
      |                             |
      |                             struct lxc_mount_attr *
In file included from mount_utils.c:9:
/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include/sys/mount.h:320:46: 
note: expected ‘struct mount_attr *’ but argument is of type ‘struct 
lxc_mount_attr *’
  320 |                           struct mount_attr *__uattr, size_t 
__usize)
      |                           ~~~~~~~~~~~~~~~~~~~^~~~~~~
mount_utils.c: In function ‘__fd_bind_mount’:
mount_utils.c:380:37: error: passing argument 4 of ‘mount_setattr’ from 
incompatible pointer type [-Werror=incompatible-pointer-types]
  380 |                                     &attr, sizeof(attr));
      |                                     ^~~~~
      |                                     |
      |                                     struct lxc_mount_attr *
In file included from mount_utils.c:9:
/gnu/store/zvlp3n8iwa1svxmwv4q22pv1pb1c9pjq-glibc-2.39/include/sys/mount.h:320:46: 
note: expected ‘struct mount_attr *’ but argument is of type ‘struct 
lxc_mount_attr *’
  320 |                           struct mount_attr *__uattr, size_t 
__usize)
```

             reply	other threads:[~2024-09-01 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-01 15:44 Jakob Kirsch via Bug reports for GNU Guix [this message]
2024-09-02 21:22 ` bug#72934: lxc fails to build Jakob Kirsch via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf430ea7-ec39-4090-8efc-f93b57d699c7@web.de \
    --to=bug-guix@gnu.org \
    --cc=72934@debbugs.gnu.org \
    --cc=jakob.kirsch@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).