Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649312 - dev-db/mariadb-connector-c-3.0.3: invalid use of VERSION in input file
Summary: dev-db/mariadb-connector-c-3.0.3: invalid use of VERSION in input file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-02 00:50 UTC by Perfect Gentleman
Modified: 2018-03-02 02:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2018-03-02 00:50:39 UTC
[ 39%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_stmt.c.o
[ 40%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_loaddata.c.o
[ 41%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_stmt_codec.c.o
[ 43%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_string.c.o
[ 44%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_dtoa.c.o
/tmp/portage/dev-db/mariadb-connector-c-3.0.3/work/mariadb-connector-c-3.0.3-src/libmariadb/ma_dtoa.c: In function ‘dtoa’:
/tmp/portage/dev-db/mariadb-connector-c-3.0.3/work/mariadb-connector-c-3.0.3-src/libmariadb/ma_dtoa.c:1461:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
     leftright= 0;
     ~~~~~~~~~^~~
/tmp/portage/dev-db/mariadb-connector-c-3.0.3/work/mariadb-connector-c-3.0.3-src/libmariadb/ma_dtoa.c:1463:3: note: here
   case 4:
   ^~~~
/tmp/portage/dev-db/mariadb-connector-c-3.0.3/work/mariadb-connector-c-3.0.3-src/libmariadb/ma_dtoa.c:1469:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
     leftright= 0;
     ~~~~~~~~~^~~
/tmp/portage/dev-db/mariadb-connector-c-3.0.3/work/mariadb-connector-c-3.0.3-src/libmariadb/ma_dtoa.c:1471:3: note: here
   case 5:
   ^~~~
[ 45%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_client_plugin.c.o
[ 46%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_io.c.o
[ 47%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/secure/openssl.c.o
[ 48%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_dyncol.c.o
[ 49%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/mariadb_async.c.o
[ 50%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/ma_context.c.o
[ 50%] Built target mariadb_obj
Scanning dependencies of target libmariadb
Scanning dependencies of target mariadbclient
[ 51%] Linking C shared library libmariadb.so
[ 52%] Linking C static library libmariadbclient.a
[ 52%] Built target mariadbclient
Scanning dependencies of target t_aurora
Scanning dependencies of target dyncol
[ 53%] Building C object unittest/libmariadb/CMakeFiles/t_aurora.dir/t_aurora.c.o
[ 54%] Building C object unittest/libmariadb/CMakeFiles/dyncol.dir/dyncol.c.o
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: mariadbclient.def:1:9: invalid use of VERSION in input file
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: mariadbclient.def:254:9: invalid use of VERSION in input file
collect2: error: ld returned 1 exit status
make[2]: *** [libmariadb/CMakeFiles/libmariadb.dir/build.make:138: libmariadb/libmariadb.so.3] Error 1
make[1]: *** [CMakeFiles/Makefile2:182: libmariadb/CMakeFiles/libmariadb.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 55%] Linking C executable t_aurora
[ 55%] Built target t_aurora
[ 56%] Linking C executable dyncol
[ 56%] Built target dyncol
Comment 1 Brian Evans (RETIRED) gentoo-dev 2018-03-02 01:13:28 UTC
Please provide your 'emerge --info' output
Comment 2 Perfect Gentleman 2018-03-02 01:29:13 UTC
 ~ $ emerge --info
Portage 2.3.24 (python 3.6.4-final-0, default/linux/amd64/17.1/no-multilib, gcc-7.3.0, glibc-2.27-r1, 4.15.6-gentoo x86_64)
=================================================================
System uname: Linux-4.15.6-gentoo-x86_64-AMD_Turion-tm-_II_Neo_N54L_Dual-Core_Processor-with-gentoo-2.4.1
KiB Mem:     8132704 total,   3363812 free
KiB Swap:    7340028 total,   7340028 free
Timestamp of repository gentoo: Thu, 01 Mar 2018 23:07:30 +0000
Head commit of repository gentoo: 727db73253ae61dcbc3e1022fbd97502e5fc006c

Head commit of repository pg_overlay: 5d533cc3cc2711eb23a0610e97862f819df6542a

sh bash 4.4_p19
ld GNU gold (Gentoo 2.30 p1 2.30.0) 1.15
ccache version 3.4.1 [disabled]
app-shells/bash:          4.4_p19::gentoo
dev-lang/perl:            5.26.1-r2::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.6.4::gentoo
dev-util/ccache:          3.4.1::pg_overlay
dev-util/cmake:           3.10.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.16-r1::gentoo
sys-devel/binutils:       2.30::gentoo
sys-devel/gcc:            7.3.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r2::gentoo
sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: 1
    sync-git-clone-extra-opts: --single-branch --branch master

pg_overlay
    location: /usr/portage/overlay/pg_overlay
    sync-type: git
    sync-uri: https://github.com/perfect7gentleman/pg_overlay.git
    masters: gentoo
    priority: 5

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US ru ru_RU"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lz4"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="acl amd64 bash-completion bzip2 cli crypt custom-cflags cxx dri fastcgi ffmpeg gmp gzip iconv jit linguas_en linguas_en_US linguas_ru linguas_ru_RU lzma lzo modules ncurses nls nptl ogg openmp pam pch pcre readline seccomp smp ssl symlink szip threads unicode vorbis xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en en-US ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OP
Comment 3 Brian Evans (RETIRED) gentoo-dev 2018-03-02 01:52:25 UTC
(In reply to Perfect Gentleman from comment #2)
>  ~ $ emerge --info
> Portage 2.3.24 (python 3.6.4-final-0, default/linux/amd64/17.1/no-multilib,
> gcc-7.3.0, glibc-2.27-r1, 4.15.6-gentoo x86_64)
> =================================================================
> System uname:
> Linux-4.15.6-gentoo-x86_64-AMD_Turion-tm-_II_Neo_N54L_Dual-Core_Processor-
> with-gentoo-2.4.1
> KiB Mem:     8132704 total,   3363812 free
> KiB Swap:    7340028 total,   7340028 free
> Timestamp of repository gentoo: Thu, 01 Mar 2018 23:07:30 +0000
> Head commit of repository gentoo: 727db73253ae61dcbc3e1022fbd97502e5fc006c
> 
> Head commit of repository pg_overlay:
> 5d533cc3cc2711eb23a0610e97862f819df6542a
> 
> sh bash 4.4_p19
> ld GNU gold (Gentoo 2.30 p1 2.30.0) 1.15

Looks like I will have to ban gold on this package as well.  MariaDB doesn't work with gold.
Comment 4 Larry the Git Cow gentoo-dev 2018-03-02 02:10:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91946ca7a026ddd54f23d14f9954219e4898c386

commit 91946ca7a026ddd54f23d14f9954219e4898c386
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2018-03-02 02:09:47 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2018-03-02 02:10:27 +0000

    dev-db/mariadb-connector-c: Ban gold linker, it fails to compile
    
    Closes: https://bugs.gentoo.org/649312
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/mariadb-connector-c/mariadb-connector-c-3.0.3.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)