buildroot/outputsupport/dependencies/dependencies.mk:21: target 'dependencies' does not exist
Quoted 65 lines
I?m trying to cross-compile MariaDB-connector-c-3.1.8 for use with MySQL 8.19. I?ve inherited this buildroot environment so I?m not an expert at all. I?m doing an out of tree build. In buildroot/packages/usi/MariaDB-connector-c directory are:
Config.in
configBR2_PACKAGE_MARIADB_CONNECTOR_C
bool "MariaDB Connector/C"
# depends onBR2_PACKAGE_OPENSSL
help
MariaDB Connector/C is used to connect applications developed in C/C++ to MariaDB and MySQL databases.The client library is LGPL licensed.
https://mariadb.com/kb/en/library/about-mariadb-connector-c/MariaDB-connector-c.mk
################################################################################
## mariadb-connector-c # #################################################################################MARIADB_CONNECTOR_C_VERSION = 2.3.7
MARIADB_CONNECTOR_C_VERSION= 3.1.8
MARIADB_CONNECTOR_C_SITE= https://downloads.mariadb.com/Connectors/c/connector-c-$(MARIADB_CONNECTOR_C_VERSION)MARIADB_CONNECTOR_C_SOURCE= mariadb-connector-c-$(MARIADB_CONNECTOR_C_VERSION)-src.tar.gzMARIADB_CONNECTOR_C_LICENSE= LGPL-2.0MARIADB_CONNECTOR_C_LICENSE_FILES= README COPYING.LIBMARIADB_CONNECTOR_C_INSTALL_STAGING= YES
MARIADB_CONNECTOR_C_DEPENDENCIES= \
# openssl \
# pthreadsMARIADB_CONNECTOR_C_CONF_OPTS += \ -DSTACK_DIRECTION=-1 \ -DCMAKE_CROSSCOMPILING=1 \ -DMYSQL_UNIX_ADDR=$(MYSQL_SOCKET) \ -DWITH_SSL=OPENSSL \ -DWITH_OPENSSL=ON\ -DENABLE_DTRACE=0 \ -DWITH_UNIT_TESTS=0$(eval $(cmake-package))
When I do a build, I get the following:
dfr at cmake:~/m9k/buildroot$ make -w --trace mariadb-connector-c-build
make: Entering directory '/home/dfr/m9k/buildroot' Makefile:84: target '_all' does not existumask 0022 && \ make -C /home/dfr/m9k/buildroot --no-print-directory \ mariadb-connector-c-build O=/home/dfr/m9k/buildroot/output
support/dependencies/dependencies.mk:21: target 'dependencies' does not exist MAKE="/usr/bin/make -j3" DL_TOOLS="bzcat gzip svn xzcat" \
/home/dfr/m9k/buildroot/support/dependencies/dependencies.sh
Makefile:81: update target 'mariadb-connector-c-build' due to:_all:
make: Leaving directory '/home/dfr/m9k/buildroot'
Quoted 5 lines
If I build
MARIADB_CONNECTOR_C_VERSION= 2.3.7, it worksIf anyone could give me any hints, I?d appreciate it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200519/990e4abf/attachment.html>
Hello,
Quoted 1 line · On Tue, 19 May 2020 22:36:23 -0400 Todd Sampson <[email protected]> wrote:
Quoted 1 line
I?m trying to cross-compile MariaDB-connector-c-3.1.8 for use with MySQL 8.19. I?ve inherited this buildroot environment so I?m not an expert at all. I?m doing an out of tree build. In buildroot/packages/usi/MariaDB-connector-c directory are:
Which version of Buildroot are you using ?
Quoted 15 lines
Quoted 15 lines
When I do a build, I get the following:
dfr at cmake:~/m9k/buildroot$ make -w --trace mariadb-connector-c-build
make: Entering directory '/home/dfr/m9k/buildroot' Makefile:84: target '_all' does not existumask 0022 && \ make -C /home/dfr/m9k/buildroot --no-print-directory \ mariadb-connector-c-build O=/home/dfr/m9k/buildroot/output
support/dependencies/dependencies.mk:21: target 'dependencies' does not exist MAKE="/usr/bin/make -j3" DL_TOOLS="bzcat gzip svn xzcat" \
/home/dfr/m9k/buildroot/support/dependencies/dependencies.sh
Makefile:81: update target 'mariadb-connector-c-build' due to:_all:
make: Leaving directory '/home/dfr/m9k/buildroot'
Quoted 3 lines
Quoted 3 lines
If I build
MARIADB_CONNECTOR_C_VERSION= 2.3.7, it worksIf anyone could give me any hints, I?d appreciate it!
Not clear what is happening here. The error log you have suggest that there is something fundamentally wrong in your Buildroot setup/installation, but the fact that your build works with MARIADB_CONNECTOR_C_VERSION = 2.3.7 invalidates that.
So let's take a step back:
* What is your Buildroot version ?
* Without your changes, when you do "make clean all", does it build successfully ?
* Then, when you do your changes, and rebuild just the mariadb-connector-c package (make mariadb-connector-c-dirclean all) what is the complete log ?
Note: you don't need to use make -w --trace, just "make" will give enough details.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com