Hello! Have you tried compiling both with libmariadb-dev and libmariadbclient18-dev, does it fail with only with libmariadb-dev?
The libmariadb-dev is MariaDB Connector C/C++, an improved version of libmariadbclient18. Sometimes however the older version is better due to some rare API issues. 2016-12-12 1:02 GMT+02:00 Andreas Beckmann <a...@debian.org>: > Hi Otto, > > could you take a look at the mariadb-related FTBFS of rmysql on mips64el? > > > Thanks > > Andreas > > On 2016-12-11 21:29, Dirk Eddelbuettel wrote: >> >> On 11 December 2016 at 12:32, Andreas Beckmann wrote: >> | Source: rmysql >> | Version: 0.10.9-3 >> | Severity: serious >> | Justification: fails to build from source (but built successfully in the >> past) >> | >> | >> https://buildd.debian.org/status/fetch.php?pkg=rmysql&arch=mips64el&ver=0.10.9-3&stamp=1480467978 >> | >> | fakeroot debian/rules binary-arch >> | CDBS WARNING: simple-patchsys.mk is deprecated since 0.4.85 - please >> use source format 3.0 (quilt) instead >> | test -x debian/rules >> | dh_testroot >> | dh_prep >> | dh_installdirs -A >> | dh_installdirs: Compatibility levels before 9 are deprecated (level 7 in >> use) >> | mkdir -p "." >> | dh_installdirs usr/lib/R/site-library >> | dh_installdirs: Compatibility levels before 9 are deprecated (level 7 in >> use) >> | echo "R:Depends=r-base-core (>= 3.3.2-1), r-api-3" >> >> debian/r-cran-rmysql.substvars >> | if test -f /usr/bin/xvfb-run; then \ >> | xvfb-run -a \ >> | R CMD INSTALL -l >> /«PKGBUILDDIR»/debian/r-cran-rmysql/usr/lib/R/site-library --clean \ >> | . \ >> | "--built-timestamp=\"Thu, 10 Nov 2016 06:12:59 >> -0600\"" \ >> | ; \ >> | else \ >> | R CMD INSTALL -l >> /«PKGBUILDDIR»/debian/r-cran-rmysql/usr/lib/R/site-library \ >> | --clean . \ >> | "--built-timestamp=\"Thu, 10 Nov 2016 06:12:59 >> -0600\"" \ >> | ; \ >> | fi >> | * installing *source* package 'RMySQL' ... >> | ** package 'RMySQL' successfully unpacked and MD5 sums checked >> | ./configure: line 21: warning: command substitution: ignored null byte in >> input >> | ./configure: line 22: warning: command substitution: ignored null byte in >> input >> | Found mysql_config cflags and libs! >> | Using PKG_CFLAGS=-I/usr/include/mariadb -I/usr/include/mariadb/mysql -g >> -O2 >> -fdebug-prefix-map=/build/mariadb-connector-c-dopxmU/mariadb-connector-c-2.3.1=. >> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time >> -D_FORTIFY_SOURCE=2 -Wunused -Wno-uninitialized >> | -I/usr/include/mariadb -I/usr/include/mariadb/mysql -g -O2 >> -fdebug-prefix-map=/build/mariadb-connector-c-dopxmU/mariadb-connector-c-2.3.1=. >> -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time >> -D_FORTIFY_SOURCE=2 -Wunused -Wno-uninitialized >> | Using PKG_LIBS=-L/usr/lib/mips64el-linux-gnuabi64 -lmariadb >> | -L/usr/lib/mips64el-linux-gnuabi64 -lmariadb >> | ------------------------- ANTICONF ERROR --------------------------- >> | Configuration failed because libmysqlclient was not found. Try installing: >> | * deb: libmariadb-client-lgpl-dev (Debian, Ubuntu 16.04) >> | libmariadbclient-dev (Ubuntu 14.04) >> >> This is (small shell script 'anticonf') by the upstream author (who is a >> friend) failing. >> >> Did anything change with respect to mariadb libs on mips64el ? >> >> We currently use >> >> Build-Depends: debhelper (>= 7.0.0), cdbs, r-base-dev (>= 3.3.2), >> libmariadb-dev, r-cran-dbi (>= 0.4) >> >> and Debian testing resolves libmariadb-dev just fine. Same on mips64el? >> >> Dirk >> >> | * rpm: mariadb-devel | mysql-devel (Fedora, CentOS, RHEL) >> | * csw: mysql56_dev (Solaris) >> | * brew: mariadb-connector-c (OSX) >> | If libmysqlclient is already installed, check that 'pkg-config' is in your >> | PATH and PKG_CONFIG_PATH contains a libmysqlclient.pc file. If pkg-config >> | is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: >> | R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...' >> | -------------------------------------------------------------------- >> | ERROR: configuration failed for package 'RMySQL' >> | * removing >> '/«PKGBUILDDIR»/debian/r-cran-rmysql/usr/lib/R/site-library/RMySQL' >> | /usr/share/R/debian/r-cran.mk:98: recipe for target 'R_any_arch' failed >> | make: *** [R_any_arch] Error 1 >> | >> | >> | Andreas >> > -- Otto Kekäläinen https://keybase.io/ottok Seravo Oy and MariaDB Foundation