mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [ANNOUNCE] PTXdist 2018.09.0 released
Date: Fri, 21 Sep 2018 15:43:20 +0200	[thread overview]
Message-ID: <20180921134320.GA5844@archibald.tuxnet> (raw)
In-Reply-To: <20180921081703.ipubq7pwop7d5gjr@pengutronix.de>

On Fri, Sep 21, 2018 at 10:17:03AM +0200, Michael Olbrich wrote:
> On Thu, Sep 20, 2018 at 03:07:10PM +0200, Clemens Gruber wrote:
> > On Thu, Sep 20, 2018 at 10:00:09AM +0200, Michael Olbrich wrote:
> > > On Wed, Sep 19, 2018 at 06:51:23PM +0200, Clemens Gruber wrote:
> > > > The systemd build breaks for me with PTXdist 2018.09.0:
> > > > 
> > > > ...
> > > > Message: Using /usr/bin/mount for mount
> > > > Message: Using /usr/bin/umount for umount
> > > > Message: Using /usr/bin/loadkeys for loadkeys
> > > > Message: Using /usr/bin/setfont for setfont
> > > > Program gperf found: YES (/home/clemens/foo/platform-bar/sysroot-host/bin/gperf)
> > > > Message: gperf len type is size_t
> > > > Has header "sys/capability.h": YES
> > > > Has header "crypt.h": YES
> > > > Has header "linux/btrfs.h": YES
> > > > Has header "linux/memfd.h": YES
> > > > Has header "linux/vm_sockets.h": YES
> > > > Has header "sys/auxv.h": YES
> > > > Has header "valgrind/memcheck.h": NO
> > > > Has header "valgrind/valgrind.h": NO
> > > > Message: maximum system UID is 999
> > > > Message: maximum system GID is 999
> > > > Dependency threads found: YES
> > > > Library rt found: YES
> > > > Library m found: YES
> > > > Library dl found: YES
> > > > Library crypt found: YES
> > > > Dependency libcap found: NO
> > > > Library cap found: YES
> > > > 
> > > > meson.build:808:0: ERROR:  Cross dependency 'mount' not found
> > > > 
> > > > 
> > > > The last part in meson-log.txt is:
> > > > 
> > > > ...
> > > > 
> > > > Code:
> > > >  int main(int argc, char **argv) { return 0; }
> > > > Compiler stdout:
> > > > 
> > > > Compiler stderr:
> > > > 
> > > > Library cap found: YES
> > > > Determining dependency 'mount' with pkg-config executable '/home/clemens/foo/
> > > > platform-bar/sysroot-cross/bin/arm-v7a-linux-gnueabihf-pkg-config'
> > > > Called `/home/clemens/foo/platform-bar/sysroot-cross/bin/arm-v7a-li
> > > > nux-gnueabihf-pkg-config --modversion mount` -> 1
> > > > 
> > > > meson.build:808:0: ERROR:  Cross dependency 'mount' not found
> > > > 
> > > > --
> > > > 
> > > > This could be connected to the pkg-config changes between 2018.08.0
> > > > and 2018.09.0 (?), but I did not yet have time to bisect it.
> > > > 
> > > > Can you reproduce this and do you have an idea what's causing it?
> > > > 
> > > > About my setup:
> > > > I am using a customized OSELAS toolchain with glibc 2.28 and had to
> > > > backport one systemd upstream patch before:
> > > > https://github.com/systemd/systemd/commit/75720bff62a84896e9a0654afc7cf9408cf89a38
> > > > (But all of this works fine with PTXdist 2018.08.0)
> > > 
> > > I've not seen any error like this.
> > > 
> > > util-linux-ng.install.post is finished when systemd.prepare is run, right?
> > 
> > Yes.
> > 
> > > 
> > > What's the output of:
> > > PATH=./platform-bar/sysroot-host/bin:$PATH ./platform-bar/sysroot-cross/bin/pkg-config --debug mount
> > 
> > no output option set, defaulting to --exists
> > Error printing disabled by default due to use of output options --exists, --atleast/exact/max-version, --list-all or no output option at all. Value of --print-errors: 0
> > Error printing disabled
> > Adding virtual 'pkg-config' package to list of known packages
> > Looking for package 'mount'
> > Looking for package 'mount-uninstalled'
> [...]
> 
> This looks all ok. Can you add some debug output to
> ./platform-bar/sysroot-cross/bin/pkg-config? You'll need to write that to a
> logfile, because afaik meson drops all stdout/stderr.
> The paths look good, so maybe the white-listing does not work correctly.

I found the problem:
Early 2018 I sent a patch for the UTF-8 locale problem on ArchLinux and
I still had a patched / custom ptxd_make_world_common.sh file in scripts/lib
of my BSP, so I was missing your changes to that file and therefore
PKGCONFIG_WHITELIST_HOST was not set..

Sorry for troubling you and the list.

Have a nice weekend.

Clemens

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2018-09-21 13:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-18 14:13 Michael Olbrich
2018-09-19  6:38 ` Alexander Dahl
2018-09-19 13:42   ` Michael Olbrich
2018-09-19 16:51 ` Clemens Gruber
2018-09-20  8:00   ` Michael Olbrich
2018-09-20 13:07     ` Clemens Gruber
2018-09-21  8:17       ` Michael Olbrich
2018-09-21 13:43         ` Clemens Gruber [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=20180921134320.GA5844@archibald.tuxnet \
    --to=clemens.gruber@pqgruber.com \
    --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