All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Fwd: buildroot/outputsupport/dependencies/dependencies.mk:21: target 'dependencies' does not exist
       [not found] <5ec45209.1c69fb81.c65a5.11fa@mx.google.com>
@ 2020-05-20  2:36 ` Todd Sampson
  2020-05-20 10:29   ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Todd Sampson @ 2020-05-20  2:36 UTC (permalink / raw)
  To: buildroot


> 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
> config BR2_PACKAGE_MARIADB_CONNECTOR_C
>        bool "MariaDB Connector/C"
>        # depends on BR2_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.gz
> MARIADB_CONNECTOR_C_LICENSE = LGPL-2.0
> MARIADB_CONNECTOR_C_LICENSE_FILES = README COPYING.LIB
> MARIADB_CONNECTOR_C_INSTALL_STAGING = YES
>  
>  
> MARIADB_CONNECTOR_C_DEPENDENCIES = \
> #     openssl \
> #     pthreads
>  
>  
> MARIADB_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 exist
> umask 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'
>  
>  
> If I build MARIADB_CONNECTOR_C_VERSION = 2.3.7, it works
>  
> If 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>

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

* [Buildroot] Fwd: buildroot/outputsupport/dependencies/dependencies.mk:21: target 'dependencies' does not exist
  2020-05-20  2:36 ` [Buildroot] Fwd: buildroot/outputsupport/dependencies/dependencies.mk:21: target 'dependencies' does not exist Todd Sampson
@ 2020-05-20 10:29   ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2020-05-20 10:29 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 19 May 2020 22:36:23 -0400
Todd Sampson <sampsonats@gmail.com> wrote:

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

> > 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 exist
> > umask 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'
> >  
> >  
> > If I build MARIADB_CONNECTOR_C_VERSION = 2.3.7, it works
> >  
> > If 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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2020-05-20 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <5ec45209.1c69fb81.c65a5.11fa@mx.google.com>
2020-05-20  2:36 ` [Buildroot] Fwd: buildroot/outputsupport/dependencies/dependencies.mk:21: target 'dependencies' does not exist Todd Sampson
2020-05-20 10:29   ` Thomas Petazzoni

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.