All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 2371] New: QT MYSQL Module does not build
@ 2010-08-09  8:15 bugzilla at busybox.net
  2010-08-10 15:44 ` [Buildroot] [Bug 2371] " bugzilla at busybox.net
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-09  8:15 UTC (permalink / raw)
  To: buildroot

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

           Summary: QT MYSQL Module does not build
           Product: buildroot
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: paul at pauljones.id.au
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


This is the output I get when trying to build QT for ARM with the mysql module
enabled.

InterBase auto-detection... ()
gmake[1]: Entering directory
`/media/dev/buildroot-arm/output/build/qt-everywhere-opensource-src-4.6.2/config.tests/unix/ibase'
compiling ibase.cpp
ibase.cpp:42:19: error: ibase.h: No such file or directory
gmake[1]: *** [ibase.o] Error 1
gmake[1]: Leaving directory
`/media/dev/buildroot-arm/output/build/qt-everywhere-opensource-src-4.6.2/config.tests/unix/ibase'
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
gmake[1]: Entering directory
`/media/dev/buildroot-arm/output/build/qt-everywhere-opensource-src-4.6.2/config.tests/unix/mysql_r'
compiling ../mysql/mysql.cpp
linking mysql_r
/usr/lib64/mysql/libmysqlclient_r.so: file not recognized: File format not
recognized
collect2: ld returned 1 exit status
gmake[1]: *** [mysql_r] Error 1
gmake[1]: Leaving directory
`/media/dev/buildroot-arm/output/build/qt-everywhere-opensource-src-4.6.2/config.tests/unix/mysql_r'
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
gmake[1]: Entering directory
`/media/dev/buildroot-arm/output/build/qt-everywhere-opensource-src-4.6.2/config.tests/unix/mysql'
compiling mysql.cpp
linking mysql
/usr/lib64/mysql/libmysqlclient.so: file not recognized: File format not
recognized
collect2: ld returned 1 exit status
gmake[1]: *** [mysql] Error 1
gmake[1]: Leaving directory
`/media/dev/buildroot-arm/output/build/qt-everywhere-opensource-src-4.6.2/config.tests/unix/mysql'
MySQL (thread-unsafe) disabled.
MySQL support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
make: ***
[/media/dev/buildroot-arm/output/build/qt-everywhere-opensource-src-4.6.2/.configured]
Error 101

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
@ 2010-08-10 15:44 ` bugzilla at busybox.net
  2010-08-10 22:47 ` bugzilla at busybox.net
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-10 15:44 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Which version of Buildroot are you using ?

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
  2010-08-10 15:44 ` [Buildroot] [Bug 2371] " bugzilla at busybox.net
@ 2010-08-10 22:47 ` bugzilla at busybox.net
  2010-08-11  9:04 ` bugzilla at busybox.net
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-10 22:47 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Paul Jones <paul.jones@iwtech.com.au>  ---
Latest Git version

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
  2010-08-10 15:44 ` [Buildroot] [Bug 2371] " bugzilla at busybox.net
  2010-08-10 22:47 ` bugzilla at busybox.net
@ 2010-08-11  9:04 ` bugzilla at busybox.net
  2010-08-12 11:37 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-11  9:04 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Ok, strange, when MySQL is enabled we give Qt a set of custom CFLAGS/LDFLAGS so
it shouldn't be looking at the host versions.

What distro are you using ? Which MySQL-related packages are installed on your
host ? (here on my Ubuntu system, the libmysqlclient.so file is not in the same
directory as you).

Can you turn on the -v switch for Qt configure step ? I.e, something like:

diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index baf6539..8ab70ac 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -503,7 +503,7 @@ endif
                PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
               
PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)" \
                ./configure \
-               $(if $(VERBOSE),-verbose,-silent) \
+               -verbose \
                -force-pkg-config \
                -embedded $(BR2_PACKAGE_QT_EMB_PLATFORM) \
                $(QT_QCONFIG_COMMAND) \

-- 
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 related	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2010-08-11  9:04 ` bugzilla at busybox.net
@ 2010-08-12 11:37 ` bugzilla at busybox.net
  2010-08-13 10:21 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-12 11:37 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from Paul Jones <paul@pauljones.id.au>  ---
The output from before was with the -v option enabled.

I just tried compiling on another near identical machine also running Gentoo
and I didn't get the error, so I assume it must just be something amiss on this
machine. I'll keep looking, everything else compiles fine.

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2010-08-12 11:37 ` bugzilla at busybox.net
@ 2010-08-13 10:21 ` bugzilla at busybox.net
  2010-08-13 14:21 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-13 10:21 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from Paul Jones <paul@pauljones.id.au>  ---
I had the MYSQL server installed on the host, uninstalling that fixed the
problem. I also had it installed on the other computer but it still worked.
Seems like a path search order issue or something?

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2010-08-13 10:21 ` bugzilla at busybox.net
@ 2010-08-13 14:21 ` bugzilla at busybox.net
  2010-08-22  5:42 ` [Buildroot] [Bug 2371] QT MYSQL Module does not build when MySQL installed on the host bugzilla at busybox.net
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-13 14:21 UTC (permalink / raw)
  To: buildroot

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

--- Comment #6 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Ok. However, even if MySQL is installed on the host, we should be able to work
properly. The Qt configure output is not verbose enough to understand what's
going on, we'd need the full link command line. Could you have a look at Qt
./configure and config.tests/unix/compile.test to see how more information
could be shown ?

For the record, on which distro (and version) and with which packages installed
exactly the problem was happening ?

Thanks!

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build when MySQL installed on the host
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2010-08-13 14:21 ` bugzilla at busybox.net
@ 2010-08-22  5:42 ` bugzilla at busybox.net
  2010-08-22  5:43 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-22  5:42 UTC (permalink / raw)
  To: buildroot

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|QT MYSQL Module does not    |QT MYSQL Module does not
                   |build                       |build when MySQL installed
                   |                            |on the host

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build when MySQL installed on the host
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2010-08-22  5:42 ` [Buildroot] [Bug 2371] QT MYSQL Module does not build when MySQL installed on the host bugzilla at busybox.net
@ 2010-08-22  5:43 ` bugzilla at busybox.net
  2010-08-22 10:13 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-22  5:43 UTC (permalink / raw)
  To: buildroot

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

--- Comment #7 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Paul, could you provide some details about which distro, version and install
set of packages was causing problems ? I'd like to reproduce the problem here.
Thanks!

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build when MySQL installed on the host
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2010-08-22  5:43 ` bugzilla at busybox.net
@ 2010-08-22 10:13 ` bugzilla at busybox.net
  2010-12-22 13:07 ` bugzilla at busybox.net
  2010-12-22 21:10 ` bugzilla at busybox.net
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-08-22 10:13 UTC (permalink / raw)
  To: buildroot

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

--- Comment #8 from Paul Jones <paul@pauljones.id.au>  ---
Sorry for the delay.

Distro is Gentoo on x86_64 with mysql server + client installed.
Buildroot is latest git, using both internal or external crosstool-ng uClibc
toolchain (one at a time though...)
Problem occurs with QTe version 4.6.2 and 4.6.3

This is the output from config.tests/mysql

peejay at desktop
/media/dev/buildroot-arm/output/build/qt-everywhere-opensource-src-4.6.3/config.tests/unix/mysql
$ make -n
echo compiling mysql.cpp &&
/media/dev/buildroot-arm/output/staging/usr/bin/arm-unknown-linux-uclibcgnueabi-g++
--sysroot=/media/dev/buildroot-arm/output/staging -c -pipe -O2 -mtune=arm920t
-march=armv4t -mabi=aapcs-linux -msoft-float -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-I/media/dev/buildroot-arm/output/staging/usr/include
-I/media/dev/buildroot-arm/output/staging/include -O2 -Wall -W 
-I../../../mkspecs/qws/linux-arm-g++ -I. -I/usr/include/mysql
-I/media/dev/buildroot-arm/output/staging/usr/include/mysql -o mysql.o
mysql.cpp
echo linking mysql &&
/media/dev/buildroot-arm/output/staging/usr/bin/arm-unknown-linux-uclibcgnueabi-g++
--sysroot=/media/dev/buildroot-arm/output/staging
-L/media/dev/buildroot-arm/output/staging/lib
-L/media/dev/buildroot-arm/output/staging/usr/lib -Wl,-O1 -o mysql mysql.o    
-L/usr/lib64/mysql -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto
-L/media/dev/buildroot-arm/output/staging/usr/lib/mysql -lmysqlclient 
peejay at desktop
/media/dev/buildroot-arm/output/build/qt-everywhere-opensource-src-4.6.3/config.tests/unix/mysql
$ make
compiling mysql.cpp
linking mysql
/usr/lib64/mysql/libmysqlclient.so: file not recognized: File format not
recognized
collect2: ld returned 1 exit status
make: *** [mysql] Error 1

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build when MySQL installed on the host
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
                   ` (8 preceding siblings ...)
  2010-08-22 10:13 ` bugzilla at busybox.net
@ 2010-12-22 13:07 ` bugzilla at busybox.net
  2010-12-22 21:10 ` bugzilla at busybox.net
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-12-22 13:07 UTC (permalink / raw)
  To: buildroot

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at buildroot.uclibc |thomas.petazzoni at free-elect
                   |.org                        |rons.com

--- Comment #9 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Fix sent to the Buildroot list.

-- 
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] 12+ messages in thread

* [Buildroot] [Bug 2371] QT MYSQL Module does not build when MySQL installed on the host
  2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
                   ` (9 preceding siblings ...)
  2010-12-22 13:07 ` bugzilla at busybox.net
@ 2010-12-22 21:10 ` bugzilla at busybox.net
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2010-12-22 21:10 UTC (permalink / raw)
  To: buildroot

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

Peter Korsgaard <jacmet@uclibc.org> changed:

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

--- Comment #10 from Peter Korsgaard <jacmet@uclibc.org>  ---
Fixed by Thomas in git, thanks.

-- 
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] 12+ messages in thread

end of thread, other threads:[~2010-12-22 21:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-09  8:15 [Buildroot] [Bug 2371] New: QT MYSQL Module does not build bugzilla at busybox.net
2010-08-10 15:44 ` [Buildroot] [Bug 2371] " bugzilla at busybox.net
2010-08-10 22:47 ` bugzilla at busybox.net
2010-08-11  9:04 ` bugzilla at busybox.net
2010-08-12 11:37 ` bugzilla at busybox.net
2010-08-13 10:21 ` bugzilla at busybox.net
2010-08-13 14:21 ` bugzilla at busybox.net
2010-08-22  5:42 ` [Buildroot] [Bug 2371] QT MYSQL Module does not build when MySQL installed on the host bugzilla at busybox.net
2010-08-22  5:43 ` bugzilla at busybox.net
2010-08-22 10:13 ` bugzilla at busybox.net
2010-12-22 13:07 ` bugzilla at busybox.net
2010-12-22 21:10 ` bugzilla at busybox.net

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.