Skip to contentSkip to conversation

New: qt.mk stops build to prompts user

Buildroot bugzilla at busybox.net 2 participants 5 messages May 11, 2010 – May 21, 2010

lore
Share & tools
lore
#0 lore raw

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):

qt.mk (working copy) renamed from qt.mk (revision 14) +1 -1
Index: qt.mk
===================================================================
@@ -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) \
Signature · 3 lines
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.
#1 lore raw

Hi,

Quoted 6 lines · On Tue, May 11, 2010 at 11:14 AM, <[email protected]> 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

#2 lore raw

[Buildroot] [Bug 1759] qt.mk stops build to prompts user

In reply to bugzilla at busybox.net

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

--- Comment #1 from Thomas Petazzoni <[email protected]> --- We already have the BR2_PACKAGE_QT_LICENSE_APPROVED option that automatically approves the license. Was this option set in your configuration ?

Signature · 3 lines
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.
#3 lore raw

[Buildroot] [Bug 1759] qt.mk stops build to prompts user

In reply to bugzilla at busybox.net

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

--- Comment #2 from Dave Smith <[email protected]> --- (In reply to comment #1)

Quoted 2 lines

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?

Signature · 3 lines
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.
#4 lore raw

[Buildroot] [Bug 1759] qt.mk stops build to prompts user

In reply to bugzilla at busybox.net

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

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Thomas Petazzoni <[email protected]> --- 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.

Signature · 3 lines
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.