mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lars Pedersen <lapeddk@gmail.com>
To: m.olbrich@pengutronix.de
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] networkmanager: Version bump 1.30.4 to 1.44.2
Date: Tue, 28 Nov 2023 16:32:21 +0100	[thread overview]
Message-ID: <CAKd8=Gvphs6astWRb9zDuA=D3gL0-kuzJq=k_tk2w8tJpsFeXw@mail.gmail.com> (raw)
In-Reply-To: <ZWXqfhBBln1tMFJK@pengutronix.de>

On Tue, 28 Nov 2023 at 14:26, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
>
> On Tue, Nov 28, 2023 at 02:10:59PM +0100, Lars Pedersen wrote:
> > On Tue, 28 Nov 2023 at 09:31, Michael Olbrich <m.olbrich@pengutronix.de> wrote:
> > >
> > > On Tue, Nov 21, 2023 at 08:29:17AM +0100, Lars Pedersen wrote:
> > > > dnssec_trigger and iptables configure options has been removed
> > > >
> > > > select PPP_MS_CHAP if NETWORKMANAGER_PPP is enabled to fix compile error:
> > > >   ../NetworkManager-1.44.2/src/core/ppp/nm-pppd-compat.c:50:10: fatal
> > > >   error: pppd/chap_ms.h: No such file or directory
> > > >      50 | #include <pppd/chap_ms.h>
> > > >
> > > > Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
> > > > ---
> > > > Version 1.30.4 was getting pretty old and with this patch it will match
> > > > the one in Fedora 39. Surprisingly no major changes in configure
> > > > options.
> > > >
> > > > Note: Updating ppp to version 2.5.0 seemed pretty straight forward, but I
> > > > ran into issue https://github.com/ppp-project/ppp/issues/419. I'll try
> > > > to send a ppp patch when 2.5.1 is released.
> > >
> > > Hmmm, building fails with:
> > >
> > > FAILED: data/org.freedesktop.NetworkManager.policy
> > > .../sysroot-host/usr/bin/meson --internal msgfmthelper --msgfmt=.../sysroot-host/usr/bin/msgfmt data/org.freedesktop.NetworkManager.policy.in data/org.freedesktop.NetworkManager.policy xml .../build-target/NetworkManager-1.44.2/po
> > > .../sysroot-host/usr/bin/msgfmt: cannot locate ITS rules for data/org.freedesktop.NetworkManager.policy.in
> > >
> > > We're not selecting HOST_GETTEXT, so I'm guessing, msgfmt is found anyways
> > > even though it should not be used. But I've not looked any closer.
> > >
> > > Michael
> >
> > Hmm. We can't get the same error in our setup (ptxdist 2023.06.0).
> >
> > grep NETWORKMANAGER ptxconfig
> > PTXCONF_NETWORKMANAGER=y
> > PTXCONF_NETWORKMANAGER_NM_ONLINE=y
> > # PTXCONF_NETWORKMANAGER_NMTUI is not set
> > PTXCONF_NETWORKMANAGER_SYSTEMD_UNIT=y
> > # PTXCONF_NETWORKMANAGER_WIRELESS is not set
> > PTXCONF_NETWORKMANAGER_NMCLI=y
> > PTXCONF_NETWORKMANAGER_WWAN=y
> > PTXCONF_NETWORKMANAGER_PPP=y
> > # PTXCONF_NETWORKMANAGER_CONCHECK is not set
> > # PTXCONF_NETWORKMANAGER_EXAMPLES is not set
> > # PTXCONF_NETWORKMANAGER_POLKIT is not set
> > # PTXCONF_NETWORKMANAGER_MORE_LOGGING is not set
> > # PTXCONF_NETWORKMANAGER_INTROSPECTION is not set
> > # PTXCONF_NETWORKMANAGER_FORTISSLVPN is not set
> > # PTXCONF_NETWORKMANAGER_OPENVPN is not set
>
> It's my build everything BSP.
> All NETWORKMANAGER* options are enabled.
>
> > And we have tried enabling and disabling the following:
> >
> > # PTXCONF_HOST_GETTEXT
>
> This is enabled and was built before networkmanager.
>
> > # PTXCONF_GETTEXT
>
> Enabled and it was built before networkmanager, but I expect that this does
> not make a difference.
>
> > # PTXCONF_POLKIT
>
> This is a dependency with PTXCONF_NETWORKMANAGER_POLKIT enabled, so it's
> build before networkmanager.
>
> > What kind of networkmanager configuration are you testing?
>
> Michael

Hi.

We have reproduced the error and it looks like polkit is the issue.

I guess that we should just set it to broken for now like this (we
don't use this feature):

 config NETWORKMANAGER_POLKIT
        bool
+       depends on BROKEN
        prompt "polkit support"

/Lars Pedersen

>
> --
> Pengutronix e.K.                           |                             |
> Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
> 31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



      reply	other threads:[~2023-11-28 15:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-21  7:29 Lars Pedersen
2023-11-28  8:31 ` Michael Olbrich
2023-11-28 13:10   ` Lars Pedersen
2023-11-28 13:26     ` Michael Olbrich
2023-11-28 15:32       ` Lars Pedersen [this message]

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

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

  git send-email \
    --in-reply-to='CAKd8=Gvphs6astWRb9zDuA=D3gL0-kuzJq=k_tk2w8tJpsFeXw@mail.gmail.com' \
    --to=lapeddk@gmail.com \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox