All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: Thomas Huth <thuth@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	qemu-devel@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PULL 00/13] Testing, build system and misc patches
Date: Fri, 03 Sep 2021 17:35:10 +0100	[thread overview]
Message-ID: <87v93hpqdj.fsf@linaro.org> (raw)
In-Reply-To: <3090f5dd-d03d-bd2a-ce4d-ff0d796d9c5f@redhat.com>


Thomas Huth <thuth@redhat.com> writes:

> On 03/09/2021 15.22, Peter Maydell wrote:
>> On Thu, 2 Sept 2021 at 13:49, Thomas Huth <thuth@redhat.com> wrote:
>>>
>>>   Hi Peter,
>>>
>>> the following changes since commit 59a89510b62ec23dbeab8b02fa4e3526e353d8b6:
>>>
>>>    Merge remote-tracking branch 'remotes/stefanberger/tags/pull-tpm-2021-09-01-1' into staging (2021-09-02 08:51:31 +0100)
>>>
>>> are available in the Git repository at:
>>>
>>>    https://gitlab.com/thuth/qemu.git tags/pull-request-2021-09-02
>>>
>>> for you to fetch changes up to c72dc94b74fb1686decc0ca4c2b05e5bf2e5b74b:
>>>
>>>    softmmu/vl: Deprecate the -sdl and -curses option (2021-09-02 14:43:58 +0200)
>>>
>>> ----------------------------------------------------------------
>>> * Add definitions of terms for CI/testing
>>> * Fix g_setenv problem discovered by Coverity
>>> * Gitlab CI improvements
>>> * Build system improvements (configure script + meson.build)
>>> * Removal of the show-fixed-bugs.sh script
>>> * Clean up of the sdl and curses options
>>>
>> This provokes a new warning from meson on a linux-static build:
>> Run-time dependency appleframeworks found: NO (tried framework)
>> Library rt found: YES
>> Found pkg-config: /usr/bin/pkg-config (0.29.1)
>> WARNING: Static library 'gbm' not found for dependency 'gbm', may not
>> be statically linked
>> Run-time dependency gbm found: YES 20.0.8
>> Dependency libpng found: YES 1.6.34 (cached)
>> Dependency libjpeg found: YES unknown (cached)
>> If we're building statically and we can't find a static
>> library then (a) we shouldn't print a WARNING and
>> (b) we shouldn't then conclude that we've found gdm.
>
> Hmmm, no clue what's wrong here, since I basically did declare it like
> all other libraries are declared, too (so this problem should have
> shown up somewhere else already?)... Paolo, do you have any ideas
> what's going on here?

In attempting to replicate I found all the dynamic libs blow up:

  Run-time dependency pixman-1 found: YES 0.40.0
  Library aio found: Y
  Run-time dependency zlib found: YES 1.2.1
  Run-time dependency liburing found: NO (tried p
  Run-time dependency libxml-2.0 found: YES 2.9.1
  Run-time dependency libnfs found: YES 4.0.0
  Run-time dependency appleframeworks found: NO (tried f
  Run-time dependency libseccomp found: YES 2.5.1
  Has header "cap-ng.h" : Y
  Library cap-ng found: Y
  WARNING: Static library 'xkbcommon' not found for dependency 'xkbcommon', may not be statically l
  Run-time dependency xkbcommon found: YES 1.0.3
  Library rt found: Y
  Run-time dependency libiscsi found: YES 1.19.0
  Run-time dependency libzstd found: YES 1.4.8
  WARNING: Static library 'virglrenderer' not found for dependency 'virglrenderer', may not be statically l
  Run-time dependency virglrenderer found: YES 0.8.2
  WARNING: Static library 'nghttp2' not found for dependency 'libcurl', may not be statically l
  WARNING: Static library 'rtmp' not found for dependency 'libcurl', may not be statically l
  WARNING: Static library 'psl' not found for dependency 'libcurl', may not be statically l
  WARNING: Static library 'gssapi_krb5' not found for dependency 'libcurl', may not be statically l
  WARNING: Static library 'krb5' not found for dependency 'libcurl', may not be statically l
  WARNING: Static library 'k5crypto' not found for dependency 'libcurl', may not be statically l
  WARNING: Static library 'lber' not found for dependency 'libcurl', may not be statically l
  WARNING: Static library 'ldap' not found for dependency 'libcurl', may not be statically l
  Run-time dependency libcurl found: YES 7.74.0
  WARNING: Static library 'udev' not found for dependency 'libudev', may not be statically l
  Run-time dependency libudev found: YES 2
  Library mpathpersist found: N
  Run-time dependency ncursesw found: YES 6.2.2
  Has header "brlapi.h" : Y
  Library brlapi found: Y
  ../../meson.build:680: WARNING: could not link brlapi, d
  sdl2-config found: N
  Run-time dependency sdl2 found: NO (tried pkgconfig and config-t
  Library rados found: N
  Has header "rbd/librbd.h" : Y
  Library rbd found: N
  WARNING: Static library 'gfapi' not found for dependency 'glusterfs-api', may not be statically l
  WARNING: Static library 'glusterfs' not found for dependency 'glusterfs-api', may not be statically l
  WARNING: Static library 'gfrpc' not found for dependency 'glusterfs-api', may not be statically l
  WARNING: Static library 'gfxdr' not found for dependency 'glusterfs-api', may not be statically l
  Run-time dependency glusterfs-api found: YES 7.9.2
  Has header "bzlib.h" : Y
  Library bz2 found: YES
  Has header "lzfse.h" : NO                                                              

So is this a general problem with static libs. BTW I didn't catch this
because I only build user with --static as I thought system --static was
flakey anyway.

>
>  Thomas


-- 
Alex Bennée


  reply	other threads:[~2021-09-03 16:38 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-02 12:48 [PULL 00/13] Testing, build system and misc patches Thomas Huth
2021-09-02 12:48 ` [PULL 01/13] docs: add definitions of terms for CI/testing Thomas Huth
2021-09-02 12:49 ` [PULL 02/13] libqtest: check for g_setenv() failure Thomas Huth
2021-09-02 12:49 ` [PULL 03/13] gitlab-ci: Merge "build-disabled" with "build-without-default-features" Thomas Huth
2021-09-02 12:49 ` [PULL 04/13] gitlab-ci: Remove superfluous "dnf install" statement Thomas Huth
2021-09-02 12:49 ` [PULL 05/13] gitlab-ci: Fix ..._RUNNER_AVAILABLE variables and document them Thomas Huth
2021-09-02 12:49 ` [PULL 06/13] gitlab-ci: Don't try to use the system libfdt in the debian job Thomas Huth
2021-09-02 12:49 ` [PULL 07/13] meson.build: Fix the check for a usable libfdt Thomas Huth
2021-09-02 12:49 ` [PULL 08/13] meson.build: Don't use internal libfdt if the user requested the system libfdt Thomas Huth
2021-09-02 12:49 ` [PULL 09/13] configure / meson: Move the GBM handling to meson.build Thomas Huth
2021-09-02 12:49 ` [PULL 10/13] scripts: Remove the "show-fixed-bugs.sh" file Thomas Huth
2021-09-02 12:49 ` [PULL 11/13] softmmu/vl: Add a "grab-mod" parameter to the -display sdl option Thomas Huth
2021-09-02 12:49 ` [PULL 12/13] softmmu/vl: Deprecate the old grab options Thomas Huth
2021-09-02 12:49 ` [PULL 13/13] softmmu/vl: Deprecate the -sdl and -curses option Thomas Huth
2021-09-03 13:22 ` [PULL 00/13] Testing, build system and misc patches Peter Maydell
2021-09-03 14:19   ` Thomas Huth
2021-09-03 16:35     ` Alex Bennée [this message]
2021-09-03 16:49       ` Peter Maydell
2021-09-06  9:51         ` Thomas Huth
2021-09-06 15:08           ` Paolo Bonzini
2021-09-06 15:14             ` Peter Maydell

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=87v93hpqdj.fsf@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.