Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 1759] New: qt.mk stops build to prompts user
@ 2010-05-11 14:14 bugzilla at busybox.net
  2010-05-11 20:59 ` Thiago A. Corrêa
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-05-11 14:14 UTC (permalink / raw)
  To: buildroot

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

           Summary: qt.mk stops build to prompts user
           Product: buildroot
           Version: 2009.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: dave at thesmithfam.org
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


The qt.mk makefile causes the build to stall as it prompts users during the
configure step to ask them if they agree to the terms of the license. The
following patch answers the prompt automatically so the build doesn't stall
(this is also how the OpenWrt team does it):



Index: qt.mk
===================================================================
--- qt.mk    (revision 14)
+++ qt.mk    (working copy)
@@ -471,7 +471,7 @@
         PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \
         PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
         PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)"
\
-        ./configure \
+        echo -e 'o\nyes\n' | ./configure \
         $(if $(VERBOSE),-verbose,-silent) \
         -force-pkg-config \
         -embedded $(BR2_PACKAGE_QT_EMB_PLATFORM) \

-- 
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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 1759] New: qt.mk stops build to prompts user
  2010-05-11 14:14 [Buildroot] [Bug 1759] New: qt.mk stops build to prompts user bugzilla at busybox.net
@ 2010-05-11 20:59 ` Thiago A. Corrêa
  2010-05-21 12:37 ` [Buildroot] [Bug 1759] " bugzilla at busybox.net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Thiago A. Corrêa @ 2010-05-11 20:59 UTC (permalink / raw)
  To: buildroot

Hi,

On Tue, May 11, 2010 at 11:14 AM,  <bugzilla@busybox.net> wrote:
> - ? ? ? ?./configure \
> + ? ? ? ?echo -e 'o\nyes\n' | ./configure \
> ? ? ? ? $(if $(VERBOSE),-verbose,-silent) \
> ? ? ? ? -force-pkg-config \
> ? ? ? ? -embedded $(BR2_PACKAGE_QT_EMB_PLATFORM) \
>

I haven't been using Buildroot and all, but what happened to
--accept-license? AFAIK, it's still there in the latest Qt source
package, and it was in the .mk file back when it was called qte

Kind Regards,
    Thiago A. Correa

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 1759] qt.mk stops build to prompts user
  2010-05-11 14:14 [Buildroot] [Bug 1759] New: qt.mk stops build to prompts user bugzilla at busybox.net
  2010-05-11 20:59 ` Thiago A. Corrêa
@ 2010-05-21 12:37 ` bugzilla at busybox.net
  2010-05-21 13:29 ` bugzilla at busybox.net
  2010-05-21 21:23 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-05-21 12:37 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
We already have the BR2_PACKAGE_QT_LICENSE_APPROVED option that automatically
approves the license. Was this option set in your configuration ?

-- 
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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 1759] qt.mk stops build to prompts user
  2010-05-11 14:14 [Buildroot] [Bug 1759] New: qt.mk stops build to prompts user bugzilla at busybox.net
  2010-05-11 20:59 ` Thiago A. Corrêa
  2010-05-21 12:37 ` [Buildroot] [Bug 1759] " bugzilla at busybox.net
@ 2010-05-21 13:29 ` bugzilla at busybox.net
  2010-05-21 21:23 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-05-21 13:29 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Dave Smith <dave@thesmithfam.org>  ---
(In reply to comment #1)
> We already have the BR2_PACKAGE_QT_LICENSE_APPROVED option that automatically
> approves the license. Was this option set in your configuration ?

Thomas: My mistake. I didn't notice that option. Frankly, I didn't even think
to check it. That's a better way to handle it. Does menuconfig also allow you
to choose commercial vs. open source?

-- 
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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [Bug 1759] qt.mk stops build to prompts user
  2010-05-11 14:14 [Buildroot] [Bug 1759] New: qt.mk stops build to prompts user bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2010-05-21 13:29 ` bugzilla at busybox.net
@ 2010-05-21 21:23 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-05-21 21:23 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
No, menuconfig doesn't allow it. It used to provide the option of the
commercial license, but it got removed by commit
28eefec5bd12072a68035e9f900fe75a3644e946. See
http://git.buildroot.net/buildroot/commit/?id=28eefec5bd12072a68035e9f900fe75a3644e946.

As the bug isn't valid, I'm closing it. If you're interested by the commercial
option, don't hesitate to take the old patch, update it, check that it works,
and submit it again.

-- 
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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-21 21:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 14:14 [Buildroot] [Bug 1759] New: qt.mk stops build to prompts user bugzilla at busybox.net
2010-05-11 20:59 ` Thiago A. Corrêa
2010-05-21 12:37 ` [Buildroot] [Bug 1759] " bugzilla at busybox.net
2010-05-21 13:29 ` bugzilla at busybox.net
2010-05-21 21:23 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox