Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New Package: mariadb-connector-c-3.1.4
@ 2019-11-04 22:23 voidlinux-github
  2019-11-04 22:53 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-04 22:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

There is a new pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16122

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16122.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16122.patch --]
[-- Type: text/x-diff, Size: 1451 bytes --]

From 8a4eb8a4f31a0d8a6e4abea1bc0e4651203d7546 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Mon, 4 Nov 2019 23:22:29 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c/template | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..ae8f3ee7bdc 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1  
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..e0256e85e32
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,12 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+build_style=cmake
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB and MySQL databases."
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee

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

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
@ 2019-11-04 22:53 ` voidlinux-github
  2019-11-04 23:18 ` voidlinux-github
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-04 22:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16122

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16122.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16122.patch --]
[-- Type: text/x-diff, Size: 1446 bytes --]

From d5c85e74b9b48a0dbdb9388412e6b7121f493d47 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Mon, 4 Nov 2019 23:22:29 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c/template | 12 ++++++++++++
 2 files changed, 13 insertions(+)
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..ae8f3ee7bdc 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1  
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..16c345bec58
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,12 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+build_style=cmake
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee

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

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
  2019-11-04 22:53 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-04 23:18 ` voidlinux-github
  2019-11-04 23:20 ` voidlinux-github
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-04 23:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16122

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16122.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16122.patch --]
[-- Type: text/x-diff, Size: 1530 bytes --]

From ec255f02c3de8f0f65a66941222bc4912e6a1132 Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Mon, 4 Nov 2019 23:22:29 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c/template | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..ae8f3ee7bdc 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1  
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..9203db4aa46
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,17 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+archs="i686 x86_64 x86_64-musl"
+build_style=cmake
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee
+
+post_install() {
+	vlicense COPYING.LIB
+}

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

* Re: [PR PATCH] [Updated] New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
  2019-11-04 22:53 ` [PR PATCH] [Updated] " voidlinux-github
  2019-11-04 23:18 ` voidlinux-github
@ 2019-11-04 23:20 ` voidlinux-github
  2019-11-04 23:22 ` voidlinux-github
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-04 23:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 340 bytes --]

There is an updated pull request by schmidh against master on the void-packages repository

https://github.com/schmidh/void-packages mariadb-connector-c
https://github.com/void-linux/void-packages/pull/16122

New Package: mariadb-connector-c-3.1.4


A patch file from https://github.com/void-linux/void-packages/pull/16122.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-mariadb-connector-c-16122.patch --]
[-- Type: text/x-diff, Size: 1480 bytes --]

From d1dc5df6cf07602368caab72b9a3c48728d8ba8c Mon Sep 17 00:00:00 2001
From: "Hans-J. Schmid" <knock@myopendoor.de>
Date: Mon, 4 Nov 2019 23:22:29 +0100
Subject: [PATCH] New Package: mariadb-connector-c-3.1.4

---
 common/shlibs                        |  1 +
 srcpkgs/mariadb-connector-c/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/mariadb-connector-c/template

diff --git a/common/shlibs b/common/shlibs
index c958f39efba..ae8f3ee7bdc 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3664,3 +3664,4 @@ librte_metrics.so.1 dpdk-19.08_1
 librte_cryptodev.so.8 dpdk-19.08_1
 librte_rawdev.so.1 dpdk-19.08_1
 librte_kni.so.2 dpdk-19.08_1
+libmariadb.so.3 mariadb-connector-c-3.1.4_1  
diff --git a/srcpkgs/mariadb-connector-c/template b/srcpkgs/mariadb-connector-c/template
new file mode 100644
index 00000000000..680d2bc4c29
--- /dev/null
+++ b/srcpkgs/mariadb-connector-c/template
@@ -0,0 +1,13 @@
+# Template file for 'mariadb-connector-c'
+pkgname=mariadb-connector-c
+version=3.1.4
+revision=1
+archs="i686 x86_64 x86_64-musl"
+build_style=cmake
+makedepends="libressl-devel"
+short_desc="Connects applications developed in C/C++ to MariaDB/MySQL databases"
+maintainer="Hans-J. Schmid <knock@myopendoor.de>"
+license="LGPL-2.1-only"
+homepage="https://mariadb.org/"
+distfiles="https://github.com/MariaDB/mariadb-connector-c/archive/v${version}.tar.gz"
+checksum=73ef01817c300af99e2bc48b5fd60a9f273855d8e8e03549f01f40451ff440ee

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

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (2 preceding siblings ...)
  2019-11-04 23:20 ` voidlinux-github
@ 2019-11-04 23:22 ` voidlinux-github
  2019-11-04 23:43 ` voidlinux-github
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-04 23:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/pull/16122#issuecomment-549593034

Comment:
Got errors during cross-compilation:
https://travis-ci.org/void-linux/void-packages/builds/607384368?utm_source=github_status&utm_medium=notification

Don't know what it means.

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

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (3 preceding siblings ...)
  2019-11-04 23:22 ` voidlinux-github
@ 2019-11-04 23:43 ` voidlinux-github
  2019-11-04 23:46 ` [PR PATCH] [Closed]: " voidlinux-github
  2019-11-04 23:51 ` voidlinux-github
  6 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-04 23:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/pull/16122#issuecomment-549598063

Comment:
Should the package be called `mariadb-connector-c-devel`?

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

* Re: [PR PATCH] [Closed]: New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (4 preceding siblings ...)
  2019-11-04 23:43 ` voidlinux-github
@ 2019-11-04 23:46 ` voidlinux-github
  2019-11-04 23:51 ` voidlinux-github
  6 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-04 23:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 172 bytes --]

There's a closed pull request on the void-packages repository

New Package: mariadb-connector-c-3.1.4
https://github.com/void-linux/void-packages/pull/16122

Description:


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

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-04 22:23 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
                   ` (5 preceding siblings ...)
  2019-11-04 23:46 ` [PR PATCH] [Closed]: " voidlinux-github
@ 2019-11-04 23:51 ` voidlinux-github
  6 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-04 23:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 629 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/pull/16122#issuecomment-549599887

Comment:
For the cross errors add
```
build_helper="qemu"
```
to the template. It allows cmake to execute the test binary inside qemu.

> Should the package be called `mariadb-connector-c-devel`?

Split it into a `mariadb-connector-c` package with the library, probably also the plugins and the headers into a `mariadb-connector-c-devel`. The `/usr/bin/mariadb_config` is probably also for the devel but idk .
See https://github.com/void-linux/void-packages/blob/master/Manual.md#libs

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

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] " voidlinux-github
                   ` (2 preceding siblings ...)
  2019-11-05  2:08 ` voidlinux-github
@ 2019-11-05 18:39 ` voidlinux-github
  3 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-05 18:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

New comment by newbluemoon on void-packages repository

https://github.com/void-linux/void-packages/pull/16128#issuecomment-549960367

Comment:
The failure on musl targets is because the musl libc doesn’t have `ucontext.h`. See e.g. [here](https://www.openwall.com/lists/musl/2018/01/29/2) why.

In `include/ma_context.h` there is
```
#ifdef _WIN32
#define MY_CONTEXT_USE_WIN32_FIBERS 1
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__x86_64__) && !defined(__ILP32__)
#define MY_CONTEXT_USE_X86_64_GCC_ASM
#elif defined(__GNUC__) && __GNUC__ >= 3 && defined(__i386__)
#define MY_CONTEXT_USE_I386_GCC_ASM
#elif defined(HAVE_UCONTEXT_H)
#define MY_CONTEXT_USE_UCONTEXT
#else
#define MY_CONTEXT_DISABLE
#endif
```
So `mariadb-connector-c` uses its own asm code for x86_64. That’s why this target works. For ARM (and other targets) it falls back to the libc’s `ucontext.h`. The check for `ucontext.h` doesn’t fail because it is part of the cross-compiler packages (I don’t have enough insight to know why). But you just have to patch out that check so that the code follows the branch without ucontext, like e.g.:

```
pre_configure() {
	case "$XBPS_TARGET_MACHINE" in
		*-musl)	vsed -i -e "/CHECK_INCLUDE_FILES (ucontext.h HAVE_UCONTEXT_H)/d" \
			cmake/CheckIncludeFiles.cmake
	esac
}
```

and remove the line
`archs="x86_64 i686 x86_64-musl"`

Now it should be fine. :)

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

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] " voidlinux-github
  2019-11-05  0:30 ` voidlinux-github
  2019-11-05  1:46 ` voidlinux-github
@ 2019-11-05  2:08 ` voidlinux-github
  2019-11-05 18:39 ` voidlinux-github
  3 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-05  2:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/pull/16128#issuecomment-549631320

Comment:
Here is the link with the cross-compiler error messages:

https://travis-ci.org/void-linux/void-packages/builds/607412973?utm_source=github_status&utm_medium=notification

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

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] " voidlinux-github
  2019-11-05  0:30 ` voidlinux-github
@ 2019-11-05  1:46 ` voidlinux-github
  2019-11-05  2:08 ` voidlinux-github
  2019-11-05 18:39 ` voidlinux-github
  3 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-05  1:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 198 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/pull/16128#issuecomment-549626772

Comment:
Cross-compilation a bit better now. But not 100% success.

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

* Re: New Package: mariadb-connector-c-3.1.4
  2019-11-05  0:28 [PR PATCH] " voidlinux-github
@ 2019-11-05  0:30 ` voidlinux-github
  2019-11-05  1:46 ` voidlinux-github
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: voidlinux-github @ 2019-11-05  0:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

New comment by schmidh on void-packages repository

https://github.com/void-linux/void-packages/pull/16128#issuecomment-549609505

Comment:
`mariadb_config` belongs to development. It allows to query for includes, library paths, and so on.

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

end of thread, other threads:[~2019-11-05 18:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-04 22:23 [PR PATCH] New Package: mariadb-connector-c-3.1.4 voidlinux-github
2019-11-04 22:53 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-04 23:18 ` voidlinux-github
2019-11-04 23:20 ` voidlinux-github
2019-11-04 23:22 ` voidlinux-github
2019-11-04 23:43 ` voidlinux-github
2019-11-04 23:46 ` [PR PATCH] [Closed]: " voidlinux-github
2019-11-04 23:51 ` voidlinux-github
2019-11-05  0:28 [PR PATCH] " voidlinux-github
2019-11-05  0:30 ` voidlinux-github
2019-11-05  1:46 ` voidlinux-github
2019-11-05  2:08 ` voidlinux-github
2019-11-05 18:39 ` voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).