Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 8156] New: pkg-kconfig infra broken for *-update-{config, defconfig}
Date: Wed,  3 Jun 2015 01:05:21 +0000 (UTC)	[thread overview]
Message-ID: <bug-8156-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=8156

           Summary: pkg-kconfig infra broken for
                    *-update-{config,defconfig}
           Product: buildroot
           Version: 2015.05
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: thomas.petazzoni at free-electrons.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


The pkg-kconfig infrastructure seems to be broken in its implementation of the
*-update-{config,defconfig}, for example linux-update-config and
linux-update-defconfig.

Here is a scenario with the kernel that shows the problem:

 1/ Run "make menuconfig"

 2/ Use ARM, enable the Linux kernel, say version 4.0, and use omap2plus as the
defconfig.

 3/ Run "make linux-menuconfig", enable some random option.

 4/ Go back to "make menuconfig", and switch from using the omap2plus defconfig
to a custom config file, say "linux.config"

 5/ Now run "make linux-update-config"

The expected behavior is that Buildroot should copy
output/build/linux-4.0/.config to linux.config.

However, Buildroot tries to do the opposite: it tries to copy linux.config to
output/build/linux-4.0/.config:

thomas at skate:~/projets/buildroot (master)$ LANG=C make linux-update-config
/usr/bin/install -m 0644 linux.config
/home/thomas/projets/buildroot/output/build/linux-4.0/.config
/usr/bin/install: cannot stat 'linux.config': No such file or directory

This is probably a bug in the recent changes of the pkg-config infrastructure.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

             reply	other threads:[~2015-06-03  1:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-03  1:05 bugzilla at busybox.net [this message]
2015-06-03 18:02 ` [Buildroot] [Bug 8156] pkg-kconfig infra broken for *-update-{config, defconfig} bugzilla at busybox.net
2015-06-03 19:54 ` bugzilla at busybox.net
2015-06-04 15:10 ` bugzilla at busybox.net
2015-06-04 17:12 ` bugzilla at busybox.net
2015-06-04 17:30 ` bugzilla at busybox.net
2015-06-04 18:07 ` bugzilla at busybox.net
2015-06-04 21:21 ` bugzilla at busybox.net
2015-06-04 22:07 ` bugzilla at busybox.net
2015-06-04 22:08 ` bugzilla at busybox.net
2015-06-04 22:20 ` bugzilla at busybox.net
2015-06-04 22:37 ` bugzilla at busybox.net
2015-06-04 22:45 ` bugzilla at busybox.net
2015-06-06 10:09 ` bugzilla at busybox.net
2015-06-06 11:58 ` bugzilla at busybox.net
2015-07-07 15:46 ` 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-8156-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