[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#805818: ocamlgsl: Fails to build with GSL 2



Source: ocamlgsl
Version: 0.6.0-7
Severity: important
Tags: upstream

Dear Maintainer,

Your package fails to build with GSL 2:

 mlgsl_fit.c: In function 'ml_gsl_multifit_linear_svd':
 mlgsl_fit.c:154:35: warning: passing argument 2 of 'gsl_multifit_linear_svd' from incompatible pointer type [-Wincompatible-pointer-types]
      gsl_multifit_linear_svd(&m_x, &v_y, 
                                    ^
 In file included from mlgsl_fit.c:6:0:
 /usr/include/gsl/gsl_multifit.h:74:1: note: expected 'gsl_multifit_linear_workspace * {aka struct <anonymous> *}' but argument is of type 'gsl_vector * {aka struct <anonymous> *}'
  gsl_multifit_linear_svd (const gsl_matrix * X,
  ^
 mlgsl_fit.c:154:5: error: too many arguments to function 'gsl_multifit_linear_svd'
      gsl_multifit_linear_svd(&m_x, &v_y, 
      ^
 In file included from mlgsl_fit.c:6:0:
 /usr/include/gsl/gsl_multifit.h:74:1: note: declared here
  gsl_multifit_linear_svd (const gsl_matrix * X,
  ^

This needs to be fixed for the ongoing gsl transition (#804246).

The full build log is attached, as is a patch to update the build
dependencies for GSL 2 (changing libgsl0-dev to libgsl-dev).

Kind Regards,

Bas
I: using cowbuilder as pbuilder
dpkg-checkbuilddeps: Unmet build dependencies: libgsl-dev
W: Unmet build-dependency in source
dpkg-buildpackage: source package ocamlgsl
dpkg-buildpackage: source version 0.6.0-7.1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Bas Couwenberg <sebastic@debian.org>
 dpkg-source --before-build ocamlgsl-0.6.0
dpkg-checkbuilddeps: Unmet build dependencies: libgsl-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
dpkg-buildpackage: warning: this is currently a non-fatal warning with -S, but will probably become fatal in the future
 fakeroot debian/rules clean
/usr/share/cdbs/1/rules/dpatch.mk:33: CDBS WARNING:    dpatch.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead
test -x debian/rules
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make  -C . CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro"  -k clean
make[1]: Entering directory '/home/bas/tmp/debian/ocamlgsl-0.6.0'
make[1]: gsl-config: Command not found
make[1]: gsl-config: Command not found
make[1]: gsl-config: Command not found
make[1]: gsl-config: Command not found
rm -f *.cm* *.o *.o  *.so  *.a core* ocamlgsl  gsl_const.ml gsl_const.mli gsl_sf.ml gsl_sf.mli gsl_cdf.ml gsl_cdf.mli mlgsl_cdf.c do_cdf do_sf
make[1]: Leaving directory '/home/bas/tmp/debian/ocamlgsl-0.6.0'
rm -f debian/*.doc-base.apiref*
dh_ocamlclean
dh_clean 
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory '/home/bas/tmp/debian/ocamlgsl-0.6.0'
/usr/share/cdbs/1/rules/dpatch.mk:33: CDBS WARNING:    dpatch.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead
make[1]: Nothing to be done for 'reverse-config'.
make[1]: Leaving directory '/home/bas/tmp/debian/ocamlgsl-0.6.0'
dpatch deapply-all
match_gcc_4_2 not applied to ./ .
02_correct_examples not applied to ./ .
make_bytecode not applied to ./ .
rm -rf debian/patched
rm -f debian/stamp-patched
mv .depend.save .depend
mv: cannot stat '.depend.save': No such file or directory
debian/rules:46: recipe for target 'clean' failed
make: [clean] Error 1 (ignored)
 dpkg-source -b ocamlgsl-0.6.0
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building ocamlgsl using existing ocamlgsl_0.6.0.orig.tar.gz
dpkg-source: info: building ocamlgsl in ocamlgsl_0.6.0-7.1.diff.gz
dpkg-source: warning: executable mode 0755 of 'debian/patches/02_correct_examples.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/make_bytecode.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/match_gcc_4_2.dpatch' will not be represented in diff
dpkg-source: info: building ocamlgsl in ocamlgsl_0.6.0-7.1.dsc
 dpkg-genchanges -S >../ocamlgsl_0.6.0-7.1_source.changes
dpkg-genchanges: not including original source code in upload
 dpkg-source --after-build ocamlgsl-0.6.0
dpkg-buildpackage: source-only, diff-only upload (original source NOT included)
 -> Copying COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.4475 
  forking: cp -al /var/cache/pbuilder/base-sid+rebuild.cow /var/cache/pbuilder/build//cow.4475 
I: removed stale ilistfile /var/cache/pbuilder/build//cow.4475/.ilist
  forking: chroot /var/cache/pbuilder/build//cow.4475 cowdancer-ilistcreate /.ilist find . -xdev -path ./home -prune -o \( \( -type l -o -type f \) -a -links +1 -print0 \) | xargs -0 stat --format '%d %i ' 
 -> Invoking pbuilder
  forking: pbuilder build --debbuildopts  --debbuildopts  --buildplace /var/cache/pbuilder/build//cow.4475 --buildresult /var/cache/pbuilder/result/ --debbuildopts  --no-targz --internal-chrootexec chroot /var/cache/pbuilder/build//cow.4475 cow-shell /home/bas/tmp/debian/ocamlgsl_0.6.0-7.1.dsc 
I: Running in no-targz mode
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Sun Nov 22 20:14:57 CET 2015
I: pbuilder-time-stamp: 1448219697
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Installing the build-deps
W: no hooks of type D found -- ignoring
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, ocaml-nox (>= 3.10.0-9), ocaml-findlib (>= 1.1.2pl1-4), libgsl-dev, chrpath, gawk, camlp4 (>= 3.10.0), dh-ocaml (>= 0.9.1)
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 12439 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on cdbs (>= 0.4.23-1.1); however:
  Package cdbs is not installed.
 pbuilder-satisfydepends-dummy depends on debhelper (>= 5); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on dpatch; however:
  Package dpatch is not installed.
 pbuilder-satisfydepends-dummy depends on ocaml-nox (>= 3.10.0-9); however:
  Package ocaml-nox is not installed.
 pbuilder-satisfydepends-dummy depends on ocaml-findlib (>= 1.1.2pl1-4); however:
  Package ocaml-findlib is not installed.
 pbuilder-satisfydepends-dummy depends on libgsl-dev; however:
  Package libgsl-dev is not installed.
 pbuilder-satisfydepends-dummy depends on chrpath; however:
  Package chrpath is not installed.
 pbuilder-satisfydepends-dummy depends on gawk; however:
  Package gawk is not installed.
 pbuilder-satisfydepends-dummy depends on camlp4 (>= 3.10.0); however:
  Package camlp4 is not in
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0)
The following NEW packages will be installed:
  bsdmainutils{a} camlp4{a} cdbs{a} chrpath{a} debhelper{a} dh-ocaml{a} 
  dh-strip-nondeterminism{a} dpatch{a} file{a} gawk{a} gettext{a} 
  gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} 
  libcamlp4-ocaml-dev{a} libcroco3{a} libffi6{a} 
  libfile-stripnondeterminism-perl{a} libfindlib-ocaml{a} libglib2.0-0{a} 
  libgsl-dev{a} libgsl2{a} libicu55{a} libmagic1{a} libncurses5-dev{a} 
  libpipeline1{a} libsigsegv2{a} libtinfo-dev{a} libunistring0{a} 
  libxml2{a} man-db{a} ocaml-base-nox{a} ocaml-compiler-libs{a} 
  ocaml-findlib{a} ocaml-interp{a} ocaml-nox{a} po-debconf{a} 
The following packages are RECOMMENDED but will NOT be installed:
  autotools-dev curl fakeroot ledit libfindlib-ocaml-dev libglib2.0-data 
  libmail-sendmail-perl lynx-cur patchutils rlfe rlwrap shared-mime-info 
  wget xdg-user-dirs xml-core 
0 packages upgraded, 38 newly installed, 0 to remove and 0 not upgraded.
Need to get 33.1 MB/53.0 MB of archives. After unpacking 292 MB will be used.
Writing extended state information...
Get: 1 http://ftp.nl.debian.org/debian/ sid/main ocaml-base-nox amd64 4.02.3-5 [538 kB]
Get: 2 http://ftp.nl.debian.org/debian/ sid/main ocaml-compiler-libs amd64 4.02.3-5 [9626 kB]
Get: 3 http://ftp.nl.debian.org/debian/ sid/main ocaml-interp amd64 4.02.3-5 [360 kB]
Get: 4 http://ftp.nl.debian.org/debian/ sid/main ocaml-nox amd64 4.02.3-5 [5993 kB]
Get: 5 http://ftp.nl.debian.org/debian/ sid/main libcamlp4-ocaml-dev amd64 4.02.1+3-2 [12.5 MB]
Get: 6 http://ftp.nl.debian.org/debian/ sid/main camlp4 amd64 4.02.1+3-2 [3454 kB]
Get: 7 http://ftp.nl.debian.org/debian/ sid/main dpatch all 2.0.37 [89.4 kB]
Get: 8 http://ftp.nl.debian.org/debian/ sid/main libfindlib-ocaml amd64 1.5.5-2 [142 kB]
Get: 9 http://ftp.nl.debian.org/debian/ sid/main ocaml-findlib amd64 1.5.5-2 [267 kB]
Get: 10 http://ftp.nl.debian.org/debian/ sid/main dh-ocaml all 1.0.10 [83.7 kB]
Fetched 33.1 MB in 18s (1751 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package groff-base.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12439 files and directories currently installed.)
Preparing to unpack .../groff-base_1.22.3-4_amd64.deb ...
Unpacking groff-base (1.22.3-4) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_amd64.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package libpipeline1:amd64.
Preparing to unpack .../libpipeline1_1.4.1-1_amd64.deb ...
Unpacking libpipeline1:amd64 (1.4.1-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.5-1_amd64.deb ...
Unpacking man-db (2.7.5-1) ...
Selecting previously unselected package libsigsegv2:amd64.
Preparing to unpack .../libsigsegv2_2.10-4+b1_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.10-4+b1) ...
Setting up libsigsegv2:amd64 (2.10-4+b1) ...
Processing triggers for libc-bin (2.19-22) ...
Selecting previously unselected package gawk.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 13001 files and directories currently installed.)
Preparing to unpack .../gawk_1%3a4.1.1+dfsg-1_amd64.deb ...
Unpacking gawk (1:4.1.1+dfsg-1) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../libffi6_3.2.1-3_amd64.deb ...
Unpacking libffi6:amd64 (3.2.1-3) ...
Selecting previously unselected package libunistring0:amd64.
Preparing to unpack .../libunistring0_0.9.3-5.2+b1_amd64.deb ...
Unpacking libunistring0:amd64 (0.9.3-5.2+b1) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../libmagic1_1%3a5.25-2_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.25-2) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.25-2_amd64.deb ...
Unpacking file (1:5.25-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.6-1_amd64.deb ...
Unpacking gettext-base (0.19.6-1) ...
Selecting previously unselected package libicu55:amd64.
Preparing to unpack .../libicu55_55.1-6_amd64.deb ...
Unpacking libicu55:amd64 (55.1-6) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../libxml2_2.9.2+zdfsg1-4_amd64.deb ...
Unpacking libxml2:amd64 (2.9.2+zdfsg1-4) ...
Selecting previously unselected package ocaml-base-nox.
Preparing to unpack .../ocaml-base-nox_4.02.3-5_amd64.deb ...
Unpacking ocaml-base-nox (4.02.3-5) ...
Selecting previously unselected package libtinfo-dev:amd64.
Preparing to unpack .../libtinfo-dev_6.0+20151024-2_amd64.deb ...
Unpacking libtinfo-dev:amd64 (6.0+20151024-2) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_6.0+20151024-2_amd64.deb ...
Unpacking libncurses5-dev:amd64 (6.0+20151024-2) ...
Selecting previously unselected package ocaml-compiler-libs.
Preparing to unpack .../ocaml-compiler-libs_4.02.3-5_amd64.deb ...
Unpacking ocaml-compiler-libs (4.02.3-5) ...
Selecting previously unselected package ocaml-interp.
Preparing to unpack .../ocaml-interp_4.02.3-5_amd64.deb ...
Unpacking ocaml-interp (4.02.3-5) ...
Selecting previously unselected package ocaml-nox.
Preparing to unpack .../ocaml-nox_4.02.3-5_amd64.deb ...
Unpacking ocaml-nox (4.02.3-5) ...
Selecting previously unselected package libcamlp4-ocaml-dev.
Preparing to unpack .../libcamlp4-ocaml-dev_4.02.1+3-2_amd64.deb ...
Unpacking libcamlp4-ocaml-dev (4.02.1+3-2) ...
Selecting previously unselected package camlp4.
Preparing to unpack .../camlp4_4.02.1+3-2_amd64.deb ...
Unpacking camlp4 (4.02.1+3-2) ...
Selecting previously unselected package cdbs.
Preparing to unpack .../archives/cdbs_0.4.130_all.deb ...
Unpacking cdbs (0.4.130) ...
Selecting previously unselected package chrpath.
Preparing to unpack .../chrpath_0.16-1_amd64.deb ...
Unpacking chrpath (0.16-1) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../libglib2.0-0_2.46.2-1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.46.2-1) ...
Selecting previously unselected package libcroco3:amd64.
Preparing to unpack .../libcroco3_0.6.9-1_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.9-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.6-1_amd64.deb ...
Unpacking gettext (0.19.6-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.18_all.deb ...
Unpacking po-debconf (1.0.18) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../libarchive-zip-perl_1.53-1_all.deb ...
Unpacking libarchive-zip-perl (1.53-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../libfile-stripnondeterminism-perl_0.014-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.014-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../dh-strip-nondeterminism_0.014-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.014-1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20151117_all.deb ...
Unpacking debhelper (9.20151117) ...
Selecting previously unselected package dpatch.
Preparing to unpack .../archives/dpatch_2.0.37_all.deb ...
Unpacking dpatch (2.0.37) ...
Selecting previously unselected package libfindlib-ocaml.
Preparing to unpack .../libfindlib-ocaml_1.5.5-2_amd64.deb ...
Unpacking libfindlib-ocaml (1.5.5-2) ...
Selecting previously unselected package libgsl2:amd64.
Preparing to unpack .../libgsl2_2.1+dfsg-1_amd64.deb ...
Unpacking libgsl2:amd64 (2.1+dfsg-1) ...
Selecting previously unselected package libgsl-dev.
Preparing to unpack .../libgsl-dev_2.1+dfsg-1_amd64.deb ...
Unpacking libgsl-dev (2.1+dfsg-1) ...
Selecting previously unselected package ocaml-findlib.
Preparing to unpack .../ocaml-findlib_1.5.5-2_amd64.deb ...
Unpacking ocaml-findlib (1.5.5-2) ...
Selecting previously unselected package dh-ocaml.
Preparing to unpack .../dh-ocaml_1.0.10_all.deb ...
Unpacking dh-ocaml (1.0.10) ...
Processing triggers for libc-bin (2.19-22) ...
Setting up groff-base (1.22.3-4) ...
Setting up bsdmainutils (9.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libpipeline1:amd64 (1.4.1-1) ...
Setting up man-db (2.7.5-1) ...
Building database of manual pages ...
Setting up gawk (1:4.1.1+dfsg-1) ...
Setting up libffi6:amd64 (3.2.1-3) ...
Setting up libunistring0:amd64 (0.9.3-5.2+b1) ...
Setting up libmagic1:amd64 (1:5.25-2) ...
Setting up file (1:5.25-2) ...
Setting up gettext-base (0.19.6-1) ...
Setting up libicu55:amd64 (55.1-6) ...
Setting up libxml2:amd64 (2.9.2+zdfsg1-4) ...
Setting up ocaml-base-nox (4.02.3-5) ...
Setting up libtinfo-dev:amd64 (6.0+20151024-2) ...
Setting up libncurses5-dev:amd64 (6.0+20151024-2) ...
Setting up cdbs (0.4.130) ...
Setting up chrpath (0.16-1) ...
Setting up libglib2.0-0:amd64 (2.46.2-1) ...
No schema files found: doing nothing.
Setting up libcroco3:amd64 (0.6.9-1) ...
Setting up gettext (0.19.6-1) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.18) ...
Setting up libarchive-zip-perl (1.53-1) ...
Setting up libfile-stripnondeterminism-perl (0.014-1) ...
Setting up dpatch (2.0.37) ...
Setting up libfindlib-ocaml (1.5.5-2) ...
Setting up libgsl2:amd64 (2.1+dfsg-1) ...
Setting up libgsl-dev (2.1+dfsg-1) ...
Setting up ocaml-findlib (1.5.5-2) ...
Setting up dh-ocaml (1.0.10) ...
Setting up ocaml-compiler-libs (4.02.3-5) ...
Setting up ocaml-interp (4.02.3-5) ...
Setting up debhelper (9.20151117) ...
Setting up ocaml-nox (4.02.3-5) ...
Setting up libcamlp4-ocaml-dev (4.02.1+3-2) ...
Setting up camlp4 (4.02.1+3-2) ...
Setting up dh-strip-nondeterminism (0.014-1) ...
Processing triggers for libc-bin (2.19-22) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libfakeroot
The following NEW packages will be installed:
  fakeroot libfakeroot
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/129 kB of archives.
After this operation, 434 kB of additional disk space will be used.
Selecting previously unselected package libfakeroot:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16036 files and directories currently installed.)
Preparing to unpack .../libfakeroot_1.20.2-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.20.2-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20.2-1_amd64.deb ...
Unpacking fakeroot (1.20.2-1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libfakeroot:amd64 (1.20.2-1) ...
Setting up fakeroot (1.20.2-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
I: Copying back the cached apt archive contents
I: new cache content ocaml-compiler-libs_4.02.3-5_amd64.deb added
I: new cache content libcamlp4-ocaml-dev_4.02.1+3-2_amd64.deb added
I: new cache content ocaml-findlib_1.5.5-2_amd64.deb added
I: new cache content camlp4_4.02.1+3-2_amd64.deb added
I: new cache content dpatch_2.0.37_all.deb added
I: new cache content libfindlib-ocaml_1.5.5-2_amd64.deb added
I: new cache content dh-ocaml_1.0.10_all.deb added
I: new cache content ocaml-base-nox_4.02.3-5_amd64.deb added
I: new cache content ocaml-interp_4.02.3-5_amd64.deb added
I: new cache content ocaml-nox_4.02.3-5_amd64.deb added
I: Copying source file
I: copying [/home/bas/tmp/debian/ocamlgsl_0.6.0-7.1.dsc]
I: copying [/home/bas/tmp/debian/ocamlgsl_0.6.0.orig.tar.gz]
I: copying [/home/bas/tmp/debian/ocamlgsl_0.6.0-7.1.diff.gz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (ocamlgsl_0.6.0-7.1.dsc)
dpkg-source: info: extracting ocamlgsl in ocamlgsl-0.6.0
dpkg-source: info: unpacking ocamlgsl_0.6.0.orig.tar.gz
dpkg-source: info: applying ocamlgsl_0.6.0-7.1.diff.gz
I: Building the package
W: no hooks of type A found -- ignoring
I: Running cd tmp/buildd/*/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc  -rfakeroot
dpkg-buildpackage: source package ocamlgsl
dpkg-buildpackage: source version 0.6.0-7.1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by Bas Couwenberg <sebastic@debian.org>
 dpkg-source --before-build ocamlgsl-0.6.0
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
/usr/share/cdbs/1/rules/dpatch.mk:33: CDBS WARNING:    dpatch.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead
test -x debian/rules
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make  -C . CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro"  -k clean
make[1]: Entering directory '/tmp/buildd/ocamlgsl-0.6.0'
rm -f *.cm* *.o *.o  *.so  *.a core* ocamlgsl  gsl_const.ml gsl_const.mli gsl_sf.ml gsl_sf.mli gsl_cdf.ml gsl_cdf.mli mlgsl_cdf.c do_cdf do_sf
make[1]: Leaving directory '/tmp/buildd/ocamlgsl-0.6.0'
rm -f debian/*.doc-base.apiref*
dh_ocamlclean
dh_clean 
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory '/tmp/buildd/ocamlgsl-0.6.0'
/usr/share/cdbs/1/rules/dpatch.mk:33: CDBS WARNING:    dpatch.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead
make[1]: Nothing to be done for 'reverse-config'.
make[1]: Leaving directory '/tmp/buildd/ocamlgsl-0.6.0'
dpatch deapply-all
match_gcc_4_2 not applied to ./ .
02_correct_examples not applied to ./ .
make_bytecode not applied to ./ .
rm -rf debian/patched
rm -f debian/stamp-patched
mv .depend.save .depend
mv: cannot stat '.depend.save': No such file or directory
debian/rules:46: recipe for target 'clean' failed
make: [clean] Error 1 (ignored)
 dpkg-source -b ocamlgsl-0.6.0
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format '1.0'
dpkg-source: info: building ocamlgsl using existing ocamlgsl_0.6.0.orig.tar.gz
dpkg-source: info: building ocamlgsl in ocamlgsl_0.6.0-7.1.diff.gz
dpkg-source: warning: executable mode 0755 of 'debian/patches/02_correct_examples.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/make_bytecode.dpatch' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 'debian/patches/match_gcc_4_2.dpatch' will not be represented in diff
dpkg-source: info: building ocamlgsl in ocamlgsl_0.6.0-7.1.dsc
 debian/rules build
/usr/share/cdbs/1/rules/dpatch.mk:33: CDBS WARNING:    dpatch.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead
test -x debian/rules
mkdir -p "."
dh_ocamlinit
cp .depend .depend.save
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory '/tmp/buildd/ocamlgsl-0.6.0'
/usr/share/cdbs/1/rules/dpatch.mk:33: CDBS WARNING:    dpatch.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead
make[1]: Nothing to be done for 'reverse-config'.
make[1]: Leaving directory '/tmp/buildd/ocamlgsl-0.6.0'
dpatch apply-all
applying patch make_bytecode to ./ ... ok.
applying patch 02_correct_examples to ./ ... ok.
applying patch match_gcc_4_2 to ./ ... ok.
/usr/bin/make -f debian/rules update-config
make[1]: Entering directory '/tmp/buildd/ocamlgsl-0.6.0'
/usr/share/cdbs/1/rules/dpatch.mk:33: CDBS WARNING:    dpatch.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead
make[1]: Nothing to be done for 'update-config'.
make[1]: Leaving directory '/tmp/buildd/ocamlgsl-0.6.0'
touch debian/stamp-patched
/usr/bin/make  -C . CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CXXFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro"  all-opt
make[1]: Entering directory '/tmp/buildd/ocamlgsl-0.6.0'
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_error.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_ieee.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_math.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_complex.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_vector_float.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_vector_double.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_matrix_float.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_matrix_double.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_matrix_complex.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_matrix_complex_float.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_blas.c
In file included from mlgsl_blas.c:11:0:
mlgsl_blas.h: In function 'CBLAS_ORDER_val':
mlgsl_blas.h:5:29: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_ORDER_t CBLAS_ORDER_val(v)
                             ^
mlgsl_blas.h: In function 'CBLAS_TRANS_val':
mlgsl_blas.h:11:33: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_TRANSPOSE_t CBLAS_TRANS_val(v)
                                 ^
mlgsl_blas.h: In function 'CBLAS_UPLO_val':
mlgsl_blas.h:17:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_UPLO_t CBLAS_UPLO_val(v)
                            ^
mlgsl_blas.h: In function 'CBLAS_DIAG_val':
mlgsl_blas.h:23:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_DIAG_t CBLAS_DIAG_val(v)
                            ^
mlgsl_blas.h: In function 'CBLAS_SIDE_val':
mlgsl_blas.h:29:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_SIDE_t CBLAS_SIDE_val(v)
                            ^
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_blas_float.c
In file included from mlgsl_blas_float.c:11:0:
mlgsl_blas.h: In function 'CBLAS_ORDER_val':
mlgsl_blas.h:5:29: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_ORDER_t CBLAS_ORDER_val(v)
                             ^
mlgsl_blas.h: In function 'CBLAS_TRANS_val':
mlgsl_blas.h:11:33: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_TRANSPOSE_t CBLAS_TRANS_val(v)
                                 ^
mlgsl_blas.h: In function 'CBLAS_UPLO_val':
mlgsl_blas.h:17:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_UPLO_t CBLAS_UPLO_val(v)
                            ^
mlgsl_blas.h: In function 'CBLAS_DIAG_val':
mlgsl_blas.h:23:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_DIAG_t CBLAS_DIAG_val(v)
                            ^
mlgsl_blas.h: In function 'CBLAS_SIDE_val':
mlgsl_blas.h:29:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_SIDE_t CBLAS_SIDE_val(v)
                            ^
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_blas_complex.c
In file included from mlgsl_blas_complex.c:11:0:
mlgsl_blas.h: In function 'CBLAS_ORDER_val':
mlgsl_blas.h:5:29: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_ORDER_t CBLAS_ORDER_val(v)
                             ^
mlgsl_blas.h: In function 'CBLAS_TRANS_val':
mlgsl_blas.h:11:33: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_TRANSPOSE_t CBLAS_TRANS_val(v)
                                 ^
mlgsl_blas.h: In function 'CBLAS_UPLO_val':
mlgsl_blas.h:17:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_UPLO_t CBLAS_UPLO_val(v)
                            ^
mlgsl_blas.h: In function 'CBLAS_DIAG_val':
mlgsl_blas.h:23:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_DIAG_t CBLAS_DIAG_val(v)
                            ^
mlgsl_blas.h: In function 'CBLAS_SIDE_val':
mlgsl_blas.h:29:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_SIDE_t CBLAS_SIDE_val(v)
                            ^
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_blas_complex_float.c
In file included from mlgsl_blas_complex_float.c:13:0:
mlgsl_blas.h: In function 'CBLAS_ORDER_val':
mlgsl_blas.h:5:29: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_ORDER_t CBLAS_ORDER_val(v)
                             ^
mlgsl_blas.h: In function 'CBLAS_TRANS_val':
mlgsl_blas.h:11:33: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_TRANSPOSE_t CBLAS_TRANS_val(v)
                                 ^
mlgsl_blas.h: In function 'CBLAS_UPLO_val':
mlgsl_blas.h:17:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_UPLO_t CBLAS_UPLO_val(v)
                            ^
mlgsl_blas.h: In function 'CBLAS_DIAG_val':
mlgsl_blas.h:23:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_DIAG_t CBLAS_DIAG_val(v)
                            ^
mlgsl_blas.h: In function 'CBLAS_SIDE_val':
mlgsl_blas.h:29:28: warning: type of 'v' defaults to 'int' [-Wimplicit-int]
 static inline CBLAS_SIDE_t CBLAS_SIDE_val(v)
                            ^
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_fun.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_permut.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_sort.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_linalg.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_linalg_complex.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_eigen.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_poly.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_interp.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_rng.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_qrng.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_randist.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_integration.c
ocamlc -ccopt '-D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall ' -c mlgsl_fit.c
mlgsl_fit.c: In function 'ml_gsl_multifit_linear_svd':
mlgsl_fit.c:154:35: warning: passing argument 2 of 'gsl_multifit_linear_svd' from incompatible pointer type [-Wincompatible-pointer-types]
     gsl_multifit_linear_svd(&m_x, &v_y, 
                                   ^
In file included from mlgsl_fit.c:6:0:
/usr/include/gsl/gsl_multifit.h:74:1: note: expected 'gsl_multifit_linear_workspace * {aka struct <anonymous> *}' but argument is of type 'gsl_vector * {aka struct <anonymous> *}'
 gsl_multifit_linear_svd (const gsl_matrix * X,
 ^
mlgsl_fit.c:154:5: error: too many arguments to function 'gsl_multifit_linear_svd'
     gsl_multifit_linear_svd(&m_x, &v_y, 
     ^
In file included from mlgsl_fit.c:6:0:
/usr/include/gsl/gsl_multifit.h:74:1: note: declared here
 gsl_multifit_linear_svd (const gsl_matrix * X,
 ^
Makefile:240: recipe for target 'mlgsl_fit.o' failed
make[1]: *** [mlgsl_fit.o] Error 2
make[1]: Leaving directory '/tmp/buildd/ocamlgsl-0.6.0'
/usr/share/cdbs/1/class/makefile.mk:47: recipe for target 'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
W: no hooks of type C found -- ignoring
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.4475 
diff -u ocamlgsl-0.6.0/debian/control ocamlgsl-0.6.0/debian/control
--- ocamlgsl-0.6.0/debian/control
+++ ocamlgsl-0.6.0/debian/control
@@ -8,7 +8,7 @@
  dpatch, 
  ocaml-nox (>= 3.10.0-9), 
  ocaml-findlib (>= 1.1.2pl1-4), 
- libgsl0-dev, 
+ libgsl-dev, 
  chrpath, 
  gawk, 
  camlp4 (>= 3.10.0),
@@ -20,7 +20,7 @@
 
 Package: libocamlgsl-ocaml-dev
 Architecture: any
-Depends: ${shlibs:Depends}, ${ocaml:Depends}, libocamlgsl-ocaml (= ${binary:Version}), libgsl0-dev, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${ocaml:Depends}, libocamlgsl-ocaml (= ${binary:Version}), libgsl-dev, ${misc:Depends}
 Provides: ${ocaml:Provides}
 Description: GNU scientific library for OCaml
  This is an interface to GSL (GNU scientific library), for the
diff -u ocamlgsl-0.6.0/debian/changelog ocamlgsl-0.6.0/debian/changelog
--- ocamlgsl-0.6.0/debian/changelog
+++ ocamlgsl-0.6.0/debian/changelog
@@ -1,3 +1,10 @@
+ocamlgsl (0.6.0-7.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Update build dependencies for GSL 2, change libgsl0-dev to libgsl-dev.
+
+ -- Bas Couwenberg <sebastic@debian.org>  Sun, 22 Nov 2015 20:14:34 +0100
+
 ocamlgsl (0.6.0-7) unstable; urgency=low
 
   * Install libmlgsl.a on non-native architectures (Closes: #567060)

Reply to: