Bug#847750: rmysql: FTBFS on mips64el

2017-01-20 Thread Andreas Beckmann
Followup-For: Bug #847750
Control: found -1 2.3.2-1

looks like the rmysql ftbfs is still reproducible:

https://buildd.debian.org/status/fetch.php?pkg=rmysql=mips64el=0.10.9-3=1484967330=0

...
Setting up libmariadb-dev (2.3.2-1) ...
...
** 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-aMVwTe/mariadb-connector-c-2.3.2=.
 -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-aMVwTe/mariadb-connector-c-2.3.2=.
 -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:
...

I didn't check on the porterbox, yet, but the "ignored null byte in input"
seems to indicate that the maridb-config script still prints trailing junk.


Andreas



Bug#847750: rmysql: FTBFS on mips64el

2017-01-09 Thread Dejan Latinovic
Control: reassign -1  libmariadb-dev 2.3.1-1

Hi,
This issue is caused by garbage output form mariadb_config.
The issue was reported and the fix has been proposed:
https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no=850142

I will merge these two bugs.

Dejan



Processed: Re: Bug#847750: rmysql: FTBFS on mips64el

2017-01-09 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1  libmariadb-dev 2.3.1-1
Bug #847750 [src:rmysql] rmysql: FTBFS on mips64el
Bug reassigned from package 'src:rmysql' to 'libmariadb-dev'.
No longer marked as found in versions rmysql/0.10.9-3.
Ignoring request to alter fixed versions of bug #847750 to the same values 
previously set
Bug #847750 [libmariadb-dev] rmysql: FTBFS on mips64el
Marked as found in versions mariadb-connector-c/2.3.1-1.

-- 
847750: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=847750
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#847750: rmysql: FTBFS on mips64el

2017-01-03 Thread Otto Kekäläinen
2016-12-19 1:19 GMT+02:00 Dirk Eddelbuettel :
>
> On 19 December 2016 at 00:05, Andreas Beckmann wrote:
> | I just tried rmysql on the porterbox eller. B-D cannot be installed in
> | sid due to a dpkg-maintscript-helper bug, but stretch works fine.
> | I could build the package in stretch without issues, so I requested a
> | give-back for rmysql (with a dep-wait on a yet-to-be-released fixed dpkg).
>
> Thank you both -- I agree that the giveback should be sufficient.
>
> Dirk

I can see that rmysql still has not entered Debian Stretch/testing,
which maybe is the reason mariadb-connector-c has not either:
https://tracker.debian.org/pkg/rmysql
https://tracker.debian.org/pkg/mariadb-connector-c



Bug#847750: rmysql: FTBFS on mips64el

2016-12-28 Thread Dirk Eddelbuettel

On 23 December 2016 at 16:29, Radovan Birdic wrote:
| Hi,
| 
| I tried to build rmysql package on my local machine (mips64el) and got the 
same error.
| When I manually execute this command in chroot, error does not occur:
| 
| echo "#include " |  gcc -std=gnu99  -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 -E -xc - >/dev/null 2>&1
| 
| But running debian/rules binary-arch the error still appears.

The bug is closed as far as I am concerned. 0.10-3 has been uploaded, it used

  Source: rmysql
  Section: gnu-r
  Priority: optional
  Maintainer: Dirk Eddelbuettel 
  Build-Depends: debhelper (>= 7.0.0), cdbs, r-base-dev (>= 3.3.2), 
libmariadb-dev, r-cran-dbi (>= 0.4)
  Standards-Version: 3.9.8
  Homepage: http://stat.bell-labs.com/RS-DBI
  
  Package: r-cran-rmysql
  Architecture: any
  Depends: ${shlibs:Depends}, ${R:Depends}, r-cran-dbi (>= 0.4)
  Description: GNU R package providing a DBI-compliant interface to MySQL
   The package implements access to MySQL databases via the DBI interface of R.

and a give-back was supposed to fix this.

Dirk


-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org



Bug#847750: rmysql: FTBFS on mips64el

2016-12-23 Thread Radovan Birdic
Hi,

I tried to build rmysql package on my local machine (mips64el) and got the same 
error.
When I manually execute this command in chroot, error does not occur:

echo "#include " |  gcc -std=gnu99  -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 -E -xc - >/dev/null 2>&1

But running debian/rules binary-arch the error still appears.


Regards,
Radovan


Bug#847750: rmysql: FTBFS on mips64el

2016-12-18 Thread Dirk Eddelbuettel

On 19 December 2016 at 00:05, Andreas Beckmann wrote:
| I just tried rmysql on the porterbox eller. B-D cannot be installed in
| sid due to a dpkg-maintscript-helper bug, but stretch works fine.
| I could build the package in stretch without issues, so I requested a
| give-back for rmysql (with a dep-wait on a yet-to-be-released fixed dpkg).

Thank you both -- I agree that the giveback should be sufficient.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org



Bug#847750: rmysql: FTBFS on mips64el

2016-12-18 Thread Andreas Beckmann
I just tried rmysql on the porterbox eller. B-D cannot be installed in
sid due to a dpkg-maintscript-helper bug, but stretch works fine.
I could build the package in stretch without issues, so I requested a
give-back for rmysql (with a dep-wait on a yet-to-be-released fixed dpkg).


Andreas



Bug#847750: rmysql: FTBFS on mips64el

2016-12-18 Thread Otto Kekäläinen
2016-12-17 18:05 GMT+02:00 Dirk Eddelbuettel :
> I never heard back from you.
>
> What do you suggest we do to overcome the fact that mips64el does not seem to
> have maria-db ?

According to
https://buildd.debian.org/status/package.php?p=mariadb-connector-c
and
https://buildd.debian.org/status/package.php?p=mariadb-10.0
bot libmariadb-dev and libmariadbclient-dev built OK and are available
on mips64el.

I am farily confident that either would work. At the moment I don't
have time to test build rmysql due to lack of time, but I did ping the
upstream author of MariadB Connector C to take a look at your build
error message.



Bug#847750: rmysql: FTBFS on mips64el

2016-12-17 Thread Andreas Beckmann
before I start wasting time by repeating something already tested:

has anyone tried building that package on a porterbox and debug this issue?


Andreas



Bug#847750: rmysql: FTBFS on mips64el

2016-12-17 Thread Dirk Eddelbuettel

Otto,

On 12 December 2016 at 15:18, Dirk Eddelbuettel wrote:
| 
| Hi Otto,
| 
| On 12 December 2016 at 23:02, Otto Kekäläinen wrote:
| | 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.
| 
| See
| 
|   https://buildd.debian.org/status/package.php?p=rmysql=unstable
| 
| It works "everywhere" but mips64el and alpha.
| 
| Also note that I was asked in #843842 -- by you ;-) -- to switch to the very
| libmariadb-dev which seems to work "everywhere" but on mips64el and alpha.
| 
| So I think I'd rather not go back to explictly enumerating versions.  So is
| libmariadb-dev not the generally recommended "dev wrapper" ?


I never heard back from you.

What do you suggest we do to overcome the fact that mips64el does not seem to
have maria-db ?

Dirk
| 
| Dirk
| 
| | 
| | 
| | 2016-12-12 1:02 GMT+02:00 Andreas Beckmann :
| | > 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=mips64el=0.10.9-3=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, 

Bug#847750: rmysql: FTBFS on mips64el

2016-12-12 Thread Dirk Eddelbuettel

Hi Otto,

On 12 December 2016 at 23:02, Otto Kekäläinen wrote:
| 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.

See

  https://buildd.debian.org/status/package.php?p=rmysql=unstable

It works "everywhere" but mips64el and alpha.

Also note that I was asked in #843842 -- by you ;-) -- to switch to the very
libmariadb-dev which seems to work "everywhere" but on mips64el and alpha.

So I think I'd rather not go back to explictly enumerating versions.  So is
libmariadb-dev not the generally recommended "dev wrapper" ?

Dirk

| 
| 
| 2016-12-12 1:02 GMT+02:00 Andreas Beckmann :
| > 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=mips64el=0.10.9-3=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=...'
| 

Bug#847750: rmysql: FTBFS on mips64el

2016-12-12 Thread Otto Kekäläinen
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 :
> 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=mips64el=0.10.9-3=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



Bug#847750: rmysql: FTBFS on mips64el

2016-12-11 Thread Andreas Beckmann
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=mips64el=0.10.9-3=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
> 



Bug#847750: rmysql: FTBFS on mips64el

2016-12-11 Thread Dirk Eddelbuettel

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=mips64el=0.10.9-3=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_installdirsusr/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

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org



Bug#847750: rmysql: FTBFS on mips64el

2016-12-11 Thread Andreas Beckmann
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=mips64el=0.10.9-3=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)
 * 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