mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ruggero <rrossi@atb-biomag.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] Problems compiling package dbus with ptxdist 2023.11.0
Date: Mon, 11 Dec 2023 08:56:26 +0100	[thread overview]
Message-ID: <ZXbAqtSiXnO7KiWU@pengutronix.de> (raw)
In-Reply-To: <20231208083714.0991e973@Laptop-RR>

Hi,

On Fri, Dec 08, 2023 at 08:37:14AM +0100, ruggero wrote:
> I hope I'm posting on the right mailing list - if not, please redirect
> me.
> 
> I'm having a problem while migrating from ptxdist.2023.09.0 to
> ptxdist.2023.11.0
> 
> Package dbus fails to install.
> 
> The relevant messages are the following:
> 
> make: *** [/usr/local/lib/ptxdist-2023.10.0/rules/post/ptxd_make_world_install.make:41:
>            /...../platform-phyFLEX-i.MX6/state/dbus.install] Error 1
> 
> Traceback (most recent call last):
>   File "/...../platform-phyFLEX-i.MX6/build-target/dbus-1.15.8/meson_post_install.py",
>      line 106, in <module> post_install_exe() File
>      ".......x/platform-phyFLEX-i.MX6/build-target/dbus-1.15.8/meson_post_install.py",
>      line 95, in post_install_exe os.chown(exe_path, 0, grp.getgrnam(dbus_user).gr_gid)
>                                                        ^^^^^^^^^^^^^^^^^^^^^^^ 
>      KeyError: "getgrnam(): name not found: 'messagebus'"
> 
> It looks like, that a python script now takes care of some phasis of
> the installation, and the python script fails.
[...]
> Any opinion / suggestion?

Ah, the problem is, that the distribution you're using does not have a
'messagebus' user. I'm testing mainly on Debian and Ubuntu and the user
always exists here. So I've never encountered this.

I've created a patch that should fix this. It will it ptxdist master as
soon as the build tests for my current patch queue have finished
successfully.

Michael

-- 
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-12-11  7:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-08  7:37 ruggero
2023-12-11  7:56 ` Michael Olbrich [this message]
2023-12-11  8:23   ` ruggero
2023-12-11 16:41     ` Michael Olbrich
2023-12-11 17:03       ` ruggero

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=ZXbAqtSiXnO7KiWU@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rrossi@atb-biomag.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