From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 12321] New: host-generic-package: PKG_DL_OPTS not used for host package
Date: Mon, 18 Nov 2019 15:44:13 +0000 [thread overview]
Message-ID: <bug-12321-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=12321
Bug ID: 12321
Summary: host-generic-package: PKG_DL_OPTS not used for host
package
Product: buildroot
Version: 2019.02.7
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: porto.rio at gmx.net
CC: buildroot at uclibc.org
Target Milestone: ---
Hi,
I have a custom .mk file with some PKG_DL_OPTS defined (username and password
for wget download). The .mk file contains the classical rules for target and
host package:
$(eval $(generic-package))
$(eval $(host-generic-package))
When I trigger a download of the host package first (e.g. make host-PKG-source)
I detected that PKG_DL_OPTS is not passed to the dl-wrapper script that
buildroot uses to download the src. I explicitly have to define a
HOST_PKG_DL_OPTS = $(PKG_DL_OPTS) in my .mk file for the download to be
successful for the host package.
I've looked into the sources and I found the following comment in
pkg-generic.mk which seems to be related to this question:
[...]
# Define default values for various package-related variables, if not
# already defined. For some variables (version, source, site and
# subdir), if they are undefined, we try to see if a variable without
# the HOST_ prefix is defined. If so, we use such a variable, so that
# this information has only to be specified once, for both the
# target and host packages of a given .mk file.
[...]
Maybe some handling similar to the other variables has to be added for _DL_OPTS
(i.e. if HOST_PKG_DL_OPTS is undefined set it to the value of PKG_DL_OPTS)?
Kind regards,
Matthias
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2019-11-18 15:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-18 15:44 bugzilla at busybox.net [this message]
2019-11-18 16:09 ` [Buildroot] [Bug 12321] host-generic-package: PKG_DL_OPTS not used for host package bugzilla at busybox.net
2019-11-18 16:10 ` bugzilla at busybox.net
2019-11-19 7:55 ` bugzilla at busybox.net
2019-11-28 18:56 ` bugzilla at busybox.net
2020-05-19 21:40 ` 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-12321-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox