From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 10331] New: kmsxx, host installation fails with BR2_SHARED_STATIC_LIBS=y
Date: Mon, 25 Sep 2017 13:57:50 +0000 [thread overview]
Message-ID: <bug-10331-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=10331
Bug ID: 10331
Summary: kmsxx, host installation fails with
BR2_SHARED_STATIC_LIBS=y
Product: buildroot
Version: 2017.08
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: frederic.mathieu at dualis.com
CC: buildroot at uclibc.org
Target Milestone: ---
Hi
kmsxx makefile try to install host static library, but no exists.
>>> kmsxx cb0786049f960f2bd383617151b01318e02e9ff9 Installing to staging directory
/usr/bin/install -D -m 0755
/home/dev01/data/projects/buildroot-2017.08_X86_64/output/build/kmsxx-cb0786049f960f2bd383617151b01318e02e9ff9/lib/libkms++.so
/home/dev01/data/toolchain/2017.08_X86_64/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libkms++.so
/usr/bin/install -D -m 0755
/home/dev01/data/projects/buildroot-2017.08_X86_64/output/build/kmsxx-cb0786049f960f2bd383617151b01318e02e9ff9/lib/libkms++.a
/home/dev01/data/toolchain/2017.08_X86_64/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libkms++.a
/usr/bin/install: cannot stat
'/home/dev01/data/projects/buildroot-2017.08_X86_64/output/build/kmsxx-cb0786049f960f2bd383617151b01318e02e9ff9/lib/libkms++.a':
No such file or directory
package/pkg-generic.mk:266: recipe for target
'/home/dev01/data/projects/buildroot-2017.08_X86_64/output/build/kmsxx-cb0786049f960f2bd383617151b01318e02e9ff9/.stamp_staging_installed'
failed
make[1]: ***
[/home/dev01/data/projects/buildroot-2017.08_X86_64/output/build/kmsxx-cb0786049f960f2bd383617151b01318e02e9ff9/.stamp_staging_installed]
Error 1
Makefile:79: recipe for target '_all' failed
make: *** [_all] Error 2
Installation works if i comment these lines in makefile kmsxx.mk :
define KMSXX_INSTALL_STAGING_CMDS
$(foreach l,$(KMSXX_LIBS),\
$(if $(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),
$(INSTALL) -D -m 0755 $(@D)/lib/lib$(l).so \
$(STAGING_DIR)/usr/lib/lib$(l).so)
# $(if $(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),
# $(INSTALL) -D -m 0755 $(@D)/lib/lib$(l).a \
# $(STAGING_DIR)/usr/lib/lib$(l).a)
mkdir -p $(STAGING_DIR)/usr/include/$(l)
cp -dpfr $(@D)/$(l)/inc/$(l)/* $(STAGING_DIR)/usr/include/$(l)/
)
endef
founds on version 2017.08, 2017.05.x
regards
Frederic MATHIEU
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2017-09-25 13:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-25 13:57 bugzilla at busybox.net [this message]
2018-01-10 21:21 ` [Buildroot] [Bug 10331] kmsxx, host installation fails with BR2_SHARED_STATIC_LIBS=y bugzilla at busybox.net
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=bug-10331-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/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.