Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu 15.04 #633

Open
Carlosgrr opened this issue Apr 3, 2015 · 11 comments
Open

Ubuntu 15.04 #633

Carlosgrr opened this issue Apr 3, 2015 · 11 comments
Labels

Comments

@Carlosgrr
Copy link

Trying to install from Ubuntu 15.04 the ./configure adds a ppa with "vivid" dist, which is inexistent, perhaps you should add a way to bypass this...

To bypass this I changed the /etc/apt/sources.list.d/ from vivid to devel and changed the ./configure inside the scripts/deb/configure commenting the line that add again the ppa, which allowed me to run ./configure successfuly

@Carlosgrr
Copy link
Author

Running make the output gives an error, here are the last lines of it:

Processing debian/ocaml-core-kernel-dev/usr/lib/ocaml/core_kernel/core_kernel.cmxa

Execute ocamlobjinfo debian/ocaml-core-kernel-dev/usr/lib/ocaml/core_kernel/core_kernel.cmxa

ocaml-core-kernel-dev depends on libsexplib-camlp4-dev/libsexplib-camlp4 v111.25.00-1 through Sexplib
ocaml-core-kernel-dev depends on ocaml-nox/ocaml-base-nox v4.01.0-4ubuntu1 through String
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Bin_prot
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Pa_ounit_lib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Variantslib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit OUnitConf
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Bin_prot
W: ocaml-core-kernel-dev doesn't resolve dependency on unit OUnitPropList
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Pa_bench_lib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit OUnitLogger
W: ocaml-core-kernel-dev doesn't resolve dependency on unit OUnitUtils
W: ocaml-core-kernel-dev doesn't resolve dependency on unit OUnitTest
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Fieldslib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Variantslib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit OUnitShared
W: ocaml-core-kernel-dev doesn't resolve dependency on unit OUnit
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Typerep_lib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Pa_bench_lib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit OUnit2
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Pa_test_lib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Typerep_lib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Pa_ounit_lib
W: ocaml-core-kernel-dev doesn't resolve dependency on unit Pa_test_lib
    (grep -s -v ocaml:Depends debian/ocaml-core-kernel-dev.substvars; echo ocaml:Depends=libsexplib-camlp4-xruj0) > debian/ocaml-core-kernel-dev.substvars.new
    mv debian/ocaml-core-kernel-dev.substvars.new debian/ocaml-core-kernel-dev.substvars
    (grep -s -v ocaml:Depends debian/ocaml-core-kernel-dev.substvars; echo "ocaml:Depends=libsexplib-camlp4-xruj0, ocaml-base-nox-4.01.0") > debian/ocaml-core-kernel-dev.substvars.new
    mv debian/ocaml-core-kernel-dev.substvars.new debian/ocaml-core-kernel-dev.substvars
   dh_gencontrol
    echo misc:Depends= >> debian/ocaml-core-kernel.substvars
    dpkg-gencontrol -pocaml-core-kernel -ldebian/changelog -Tdebian/ocaml-core-kernel.substvars -Pdebian/ocaml-core-kernel
dpkg-gencontrol: warning: Provides field of package ocaml-core-kernel: unknown substitution variable ${ocaml:Provides}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
    chmod 644 debian/ocaml-core-kernel/DEBIAN/control
    chown 0:0 debian/ocaml-core-kernel/DEBIAN/control
    echo misc:Depends= >> debian/ocaml-core-kernel-dev.substvars
    dpkg-gencontrol -pocaml-core-kernel-dev -ldebian/changelog -Tdebian/ocaml-core-kernel-dev.substvars -Pdebian/ocaml-core-kernel-dev
dpkg-gencontrol: warning: Depends field of package ocaml-core-kernel-dev: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: Provides field of package ocaml-core-kernel-dev: unknown substitution variable ${ocaml:Provides}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
    chmod 644 debian/ocaml-core-kernel-dev/DEBIAN/control
    chown 0:0 debian/ocaml-core-kernel-dev/DEBIAN/control
   dh_md5sums
    (cd debian/ocaml-core-kernel >/dev/null ; find . -type f  ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
    chmod 644 debian/ocaml-core-kernel/DEBIAN/md5sums
    chown 0:0 debian/ocaml-core-kernel/DEBIAN/md5sums
    (cd debian/ocaml-core-kernel-dev >/dev/null ; find . -type f  ! -regex './DEBIAN/.*' -printf '%P\0' | LC_ALL=C sort -z | xargs -r0 md5sum > DEBIAN/md5sums) >/dev/null
    chmod 644 debian/ocaml-core-kernel-dev/DEBIAN/md5sums
    chown 0:0 debian/ocaml-core-kernel-dev/DEBIAN/md5sums
   dh_builddeb
    dpkg-deb --build debian/ocaml-core-kernel ..
dpkg-deb: building package `ocaml-core-kernel' in `../ocaml-core-kernel_111.28.00-1_amd64.deb'.
    dpkg-deb --build debian/ocaml-core-kernel-dev ..
dpkg-deb: building package `ocaml-core-kernel-dev' in `../ocaml-core-kernel-dev_111.28.00-1_amd64.deb'.
 dpkg-genchanges  >../ocaml-core-kernel_111.28.00-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build ocaml-core-kernel-111.28.00
dpkg-buildpackage: full upload (original source is included)
W: no hooks of type B found -- ignoring
I: Copying back the cached apt archive contents
I: unmounting /opt/buildroot/SRPMS filesystem
I: unmounting /opt/buildroot/RPMS filesystem
I: unmounting dev/pts filesystem
W: Could not unmount dev/pts: umount: /var/cache/pbuilder/build/cow.5380/dev/pts: not mounted
W: Ignored error in unmount
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: Current time: Fri Apr  3 12:56:28 BRT 2015
I: pbuilder-time-stamp: 1428076588
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.5380 
[UPDATEREPO] RPMS/ocaml-core-kernel_111.28.00-1_amd64.deb
[COWBUILDER] RPMS/ocaml-core_111.28.00-1_amd64.deb
 -> Copying COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.12605 
  forking: cp -al /var/cache/pbuilder/base.cow /var/cache/pbuilder/build//cow.12605 
I: removed stale ilistfile /var/cache/pbuilder/build//cow.12605/.ilist
  forking: chroot /var/cache/pbuilder/build//cow.12605 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 --configfile pbuilder/pbuilderrc --buildplace /var/cache/pbuilder/build//cow.12605 --buildresult RPMS --debbuildopts  --no-targz --internal-chrootexec chroot /var/cache/pbuilder/build//cow.12605 cow-shell /opt/buildroot/SRPMS/ocaml-core_111.28.00-1.dsc 
W: /root/.pbuilderrc does not exist
I: Running in no-targz mode
I: using fakeroot in build.
I: Current time: Fri Apr  3 12:56:30 BRT 2015
I: pbuilder-time-stamp: 1428076590
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /opt/buildroot/RPMS
I: Mounting /opt/buildroot/SRPMS
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Installing the build-deps
I: user script /var/cache/pbuilder/build/cow.12605/tmp/hooks/D05deps starting
Ign file: ./ InRelease
Ign file: ./ InRelease
Ign file: ./ Release.gpg
Ign file: ./ Release.gpg                                                        
Ign file: ./ Release                                                            
Ign file: ./ Release                                                            
Ign file: ./ Translation-en                                                     
Ign http://br.archive.ubuntu.com vivid InRelease                                                    
Hit http://br.archive.ubuntu.com vivid Release.gpg                              
Hit http://br.archive.ubuntu.com vivid Release
Ign http://xenbits.xenproject.org ./ InRelease
Hit http://br.archive.ubuntu.com vivid/universe amd64 Packages
Hit http://br.archive.ubuntu.com vivid/main amd64 Packages
Hit http://br.archive.ubuntu.com vivid/main Translation-en
Hit http://br.archive.ubuntu.com vivid/universe Translation-en
Ign http://xenbits.xenproject.org ./ Release.gpg
Ign http://xenbits.xenproject.org ./ Release
Ign http://xenbits.xenproject.org ./ Packages/DiffIndex
Ign http://xenbits.xenproject.org ./ Translation-en
Hit http://xenbits.xenproject.org ./ Packages
Reading package lists... Done
I: user script /var/cache/pbuilder/build/cow.12605/tmp/hooks/D05deps finished
I: user script /var/cache/pbuilder/build/cow.12605/tmp/hooks/D10mandb starting
I: Preseed man-db/auto-update to false
I: user script /var/cache/pbuilder/build/cow.12605/tmp/hooks/D10mandb finished
I: user script /var/cache/pbuilder/build/cow.12605/tmp/hooks/D15nofsync starting
I: Stop apt from calling fsync for each package
I: user script /var/cache/pbuilder/build/cow.12605/tmp/hooks/D15nofsync finished
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  ncurses-doc ocaml-findlib-wizard ocaml-doc tuareg-mode ocaml-mode
Recommended packages:
  ledit readline-editor
The following NEW packages will be installed:
  camlp4 camlp4-extra chrpath libfindlib-ocaml libfindlib-ocaml-dev libncurses5-dev libounit-ocaml libsexplib-camlp4 libsexplib-camlp4-dev libtinfo-dev libtype-conv-camlp4-dev ocaml-base-nox ocaml-bin-prot
  ocaml-bin-prot-dev ocaml-comparelib ocaml-comparelib-dev ocaml-compiler-libs ocaml-core-kernel ocaml-core-kernel-dev ocaml-enumerate ocaml-enumerate-dev ocaml-fieldslib ocaml-fieldslib-dev ocaml-findlib
  ocaml-herelib ocaml-herelib-dev ocaml-interp ocaml-native-compilers ocaml-nox ocaml-pa-bench ocaml-pa-bench-dev ocaml-pa-ounit ocaml-pa-ounit-dev ocaml-pa-pipebang ocaml-pa-pipebang-dev ocaml-pa-test
  ocaml-pa-test-dev ocaml-typerep ocaml-typerep-dev ocaml-variantslib ocaml-variantslib-dev
0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/40.1 MB of archives.
After this operation, 289 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libounit-ocaml libsexplib-camlp4 libtype-conv-camlp4-dev libsexplib-camlp4-dev ocaml-bin-prot ocaml-bin-prot-dev ocaml-comparelib ocaml-comparelib-dev ocaml-core-kernel ocaml-core-kernel-dev ocaml-enumerate
  ocaml-enumerate-dev ocaml-fieldslib ocaml-fieldslib-dev ocaml-herelib ocaml-herelib-dev ocaml-pa-bench ocaml-pa-bench-dev ocaml-pa-ounit ocaml-pa-ounit-dev ocaml-pa-pipebang ocaml-pa-pipebang-dev
  ocaml-pa-test ocaml-pa-test-dev ocaml-typerep ocaml-typerep-dev ocaml-variantslib ocaml-variantslib-dev
Extracting templates from packages: 100%
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (2: No such file or directory)
Selecting previously unselected package ocaml-base-nox.
(Reading database ... 13935 files and directories currently installed.)
Preparing to unpack .../ocaml-base-nox_4.01.0-4ubuntu1_amd64.deb ...
Unpacking ocaml-base-nox (4.01.0-4ubuntu1) ...
Selecting previously unselected package libtinfo-dev:amd64.
Preparing to unpack .../libtinfo-dev_5.9+20140712-2ubuntu2_amd64.deb ...
Unpacking libtinfo-dev:amd64 (5.9+20140712-2ubuntu2) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../libncurses5-dev_5.9+20140712-2ubuntu2_amd64.deb ...
Unpacking libncurses5-dev:amd64 (5.9+20140712-2ubuntu2) ...
Selecting previously unselected package ocaml-compiler-libs.
Preparing to unpack .../ocaml-compiler-libs_4.01.0-4ubuntu1_amd64.deb ...
Unpacking ocaml-compiler-libs (4.01.0-4ubuntu1) ...
Selecting previously unselected package ocaml-interp.
Preparing to unpack .../ocaml-interp_4.01.0-4ubuntu1_amd64.deb ...
Unpacking ocaml-interp (4.01.0-4ubuntu1) ...
Selecting previously unselected package ocaml-nox.
Preparing to unpack .../ocaml-nox_4.01.0-4ubuntu1_amd64.deb ...
Unpacking ocaml-nox (4.01.0-4ubuntu1) ...
Selecting previously unselected package camlp4.
Preparing to unpack .../camlp4_4.01.0-4ubuntu1_amd64.deb ...
Unpacking camlp4 (4.01.0-4ubuntu1) ...
Selecting previously unselected package camlp4-extra.
Preparing to unpack .../camlp4-extra_4.01.0-4ubuntu1_amd64.deb ...
Unpacking camlp4-extra (4.01.0-4ubuntu1) ...
Selecting previously unselected package chrpath.
Preparing to unpack .../chrpath_0.16-1_amd64.deb ...
Unpacking chrpath (0.16-1) ...
Selecting previously unselected package libfindlib-ocaml.
Preparing to unpack .../libfindlib-ocaml_1.4.1-1_amd64.deb ...
Unpacking libfindlib-ocaml (1.4.1-1) ...
Selecting previously unselected package libfindlib-ocaml-dev.
Preparing to unpack .../libfindlib-ocaml-dev_1.4.1-1_amd64.deb ...
Unpacking libfindlib-ocaml-dev (1.4.1-1) ...
Selecting previously unselected package libounit-ocaml.
Preparing to unpack .../libounit-ocaml_2.0.0-1_amd64.deb ...
Unpacking libounit-ocaml (2.0.0-1) ...
Selecting previously unselected package libsexplib-camlp4.
Preparing to unpack .../libsexplib-camlp4_111.25.00-1_amd64.deb ...
Unpacking libsexplib-camlp4 (111.25.00-1) ...
Selecting previously unselected package libtype-conv-camlp4-dev.
Preparing to unpack .../libtype-conv-camlp4-dev_111.13.00-1_amd64.deb ...
Unpacking libtype-conv-camlp4-dev (111.13.00-1) ...
Selecting previously unselected package libsexplib-camlp4-dev.
Preparing to unpack .../libsexplib-camlp4-dev_111.25.00-1_amd64.deb ...
Unpacking libsexplib-camlp4-dev (111.25.00-1) ...
Selecting previously unselected package ocaml-bin-prot.
Preparing to unpack .../ocaml-bin-prot_111.03.00-1_amd64.deb ...
Unpacking ocaml-bin-prot (111.03.00-1) ...
Selecting previously unselected package ocaml-bin-prot-dev.
Preparing to unpack .../ocaml-bin-prot-dev_111.03.00-1_amd64.deb ...
Unpacking ocaml-bin-prot-dev (111.03.00-1) ...
Selecting previously unselected package ocaml-comparelib.
Preparing to unpack .../ocaml-comparelib_109.60.00-1_amd64.deb ...
Unpacking ocaml-comparelib (109.60.00-1) ...
Selecting previously unselected package ocaml-comparelib-dev.
Preparing to unpack .../ocaml-comparelib-dev_109.60.00-1_amd64.deb ...
Unpacking ocaml-comparelib-dev (109.60.00-1) ...
Selecting previously unselected package ocaml-core-kernel.
Preparing to unpack .../ocaml-core-kernel_111.28.00-1_amd64.deb ...
Unpacking ocaml-core-kernel (111.28.00-1) ...
Selecting previously unselected package ocaml-core-kernel-dev.
Preparing to unpack .../ocaml-core-kernel-dev_111.28.00-1_amd64.deb ...
Unpacking ocaml-core-kernel-dev (111.28.00-1) ...
Selecting previously unselected package ocaml-enumerate.
Preparing to unpack .../ocaml-enumerate_111.08.00-1_amd64.deb ...
Unpacking ocaml-enumerate (111.08.00-1) ...
Selecting previously unselected package ocaml-enumerate-dev.
Preparing to unpack .../ocaml-enumerate-dev_111.08.00-1_amd64.deb ...
Unpacking ocaml-enumerate-dev (111.08.00-1) ...
Selecting previously unselected package ocaml-fieldslib.
Preparing to unpack .../ocaml-fieldslib_109.20.00-1_amd64.deb ...
Unpacking ocaml-fieldslib (109.20.00-1) ...
Selecting previously unselected package ocaml-fieldslib-dev.
Preparing to unpack .../ocaml-fieldslib-dev_109.20.00-1_amd64.deb ...
Unpacking ocaml-fieldslib-dev (109.20.00-1) ...
Selecting previously unselected package ocaml-findlib.
Preparing to unpack .../ocaml-findlib_1.4.1-1_amd64.deb ...
Unpacking ocaml-findlib (1.4.1-1) ...
Selecting previously unselected package ocaml-herelib.
Preparing to unpack .../ocaml-herelib_109.35.02-1_amd64.deb ...
Unpacking ocaml-herelib (109.35.02-1) ...
Selecting previously unselected package ocaml-herelib-dev.
Preparing to unpack .../ocaml-herelib-dev_109.35.02-1_amd64.deb ...
Unpacking ocaml-herelib-dev (109.35.02-1) ...
Selecting previously unselected package ocaml-native-compilers.
Preparing to unpack .../ocaml-native-compilers_4.01.0-4ubuntu1_amd64.deb ...
Unpacking ocaml-native-compilers (4.01.0-4ubuntu1) ...
Selecting previously unselected package ocaml-pa-bench.
Preparing to unpack .../ocaml-pa-bench_111.28.00-1_amd64.deb ...
Unpacking ocaml-pa-bench (111.28.00-1) ...
Selecting previously unselected package ocaml-pa-bench-dev.
Preparing to unpack .../ocaml-pa-bench-dev_111.28.00-1_amd64.deb ...
Unpacking ocaml-pa-bench-dev (111.28.00-1) ...
Selecting previously unselected package ocaml-pa-ounit.
Preparing to unpack .../ocaml-pa-ounit_111.28.00-1_amd64.deb ...
Unpacking ocaml-pa-ounit (111.28.00-1) ...
Selecting previously unselected package ocaml-pa-ounit-dev.
Preparing to unpack .../ocaml-pa-ounit-dev_111.28.00-1_amd64.deb ...
Unpacking ocaml-pa-ounit-dev (111.28.00-1) ...
Selecting previously unselected package ocaml-pa-pipebang.
Preparing to unpack .../ocaml-pa-pipebang_110.01.00-1_amd64.deb ...
Unpacking ocaml-pa-pipebang (110.01.00-1) ...
Selecting previously unselected package ocaml-pa-pipebang-dev.
Preparing to unpack .../ocaml-pa-pipebang-dev_110.01.00-1_amd64.deb ...
Unpacking ocaml-pa-pipebang-dev (110.01.00-1) ...
Selecting previously unselected package ocaml-pa-test.
Preparing to unpack .../ocaml-pa-test_111.08.00-1_amd64.deb ...
Unpacking ocaml-pa-test (111.08.00-1) ...
Selecting previously unselected package ocaml-pa-test-dev.
Preparing to unpack .../ocaml-pa-test-dev_111.08.00-1_amd64.deb ...
Unpacking ocaml-pa-test-dev (111.08.00-1) ...
Selecting previously unselected package ocaml-typerep.
Preparing to unpack .../ocaml-typerep_111.17.00-1_amd64.deb ...
Unpacking ocaml-typerep (111.17.00-1) ...
Selecting previously unselected package ocaml-typerep-dev.
Preparing to unpack .../ocaml-typerep-dev_111.17.00-1_amd64.deb ...
Unpacking ocaml-typerep-dev (111.17.00-1) ...
Selecting previously unselected package ocaml-variantslib.
Preparing to unpack .../ocaml-variantslib_109.15.02-1_amd64.deb ...
Unpacking ocaml-variantslib (109.15.02-1) ...
Selecting previously unselected package ocaml-variantslib-dev.
Preparing to unpack .../ocaml-variantslib-dev_109.15.02-1_amd64.deb ...
Unpacking ocaml-variantslib-dev (109.15.02-1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up ocaml-base-nox (4.01.0-4ubuntu1) ...
Setting up libtinfo-dev:amd64 (5.9+20140712-2ubuntu2) ...
Setting up libncurses5-dev:amd64 (5.9+20140712-2ubuntu2) ...
Setting up chrpath (0.16-1) ...
Setting up libfindlib-ocaml (1.4.1-1) ...
Setting up libounit-ocaml (2.0.0-1) ...
Setting up libsexplib-camlp4 (111.25.00-1) ...
Setting up ocaml-bin-prot (111.03.00-1) ...
Setting up ocaml-bin-prot-dev (111.03.00-1) ...
Setting up ocaml-comparelib (109.60.00-1) ...
Setting up ocaml-comparelib-dev (109.60.00-1) ...
Setting up ocaml-core-kernel (111.28.00-1) ...
Setting up ocaml-core-kernel-dev (111.28.00-1) ...
Setting up ocaml-enumerate (111.08.00-1) ...
Setting up ocaml-fieldslib (109.20.00-1) ...
Setting up ocaml-findlib (1.4.1-1) ...
Setting up ocaml-herelib (109.35.02-1) ...
Setting up ocaml-herelib-dev (109.35.02-1) ...
Setting up ocaml-pa-bench (111.28.00-1) ...
Setting up ocaml-pa-bench-dev (111.28.00-1) ...
Setting up ocaml-pa-ounit (111.28.00-1) ...
Setting up ocaml-pa-ounit-dev (111.28.00-1) ...
Setting up ocaml-pa-pipebang (110.01.00-1) ...
Setting up ocaml-pa-pipebang-dev (110.01.00-1) ...
Setting up ocaml-pa-test (111.08.00-1) ...
Setting up ocaml-pa-test-dev (111.08.00-1) ...
Setting up ocaml-typerep (111.17.00-1) ...
Setting up ocaml-variantslib (109.15.02-1) ...
Setting up ocaml-variantslib-dev (109.15.02-1) ...
Setting up ocaml-compiler-libs (4.01.0-4ubuntu1) ...
Setting up ocaml-interp (4.01.0-4ubuntu1) ...
Setting up ocaml-nox (4.01.0-4ubuntu1) ...
Setting up camlp4 (4.01.0-4ubuntu1) ...
Setting up camlp4-extra (4.01.0-4ubuntu1) ...
Setting up libfindlib-ocaml-dev (1.4.1-1) ...
Setting up libtype-conv-camlp4-dev (111.13.00-1) ...
Setting up libsexplib-camlp4-dev (111.25.00-1) ...
Setting up ocaml-enumerate-dev (111.08.00-1) ...
Setting up ocaml-fieldslib-dev (109.20.00-1) ...
Setting up ocaml-native-compilers (4.01.0-4ubuntu1) ...
Setting up ocaml-typerep-dev (111.17.00-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
apt-utils is already the newest version.
bsdmainutils is already the newest version.
debhelper is already the newest version.
dh-apparmor is already the newest version.
dh-ocaml is already the newest version.
fakeroot is already the newest version.
file is already the newest version.
gettext is already the newest version.
gettext-base is already the newest version.
groff-base is already the newest version.
intltool-debian is already the newest version.
man-db is already the newest version.
python is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying back the cached apt archive contents
I: Copying source file
I: copying [/opt/buildroot/SRPMS/ocaml-core_111.28.00-1.dsc]
I: copying [/opt/buildroot/SRPMS/ocaml-core_111.28.00.orig.tar.gz]
I: copying [/opt/buildroot/SRPMS/ocaml-core_111.28.00-1.debian.tar.xz]
I: Extracting source
dpkg-source: warning: extracting unsigned source package (ocaml-core_111.28.00-1.dsc)
dpkg-source: info: extracting ocaml-core in ocaml-core-111.28.00
dpkg-source: info: unpacking ocaml-core_111.28.00.orig.tar.gz
dpkg-source: info: unpacking ocaml-core_111.28.00-1.debian.tar.xz
dpkg-source: info: applying debian-changes-111.28.00-1
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 ocaml-core
dpkg-buildpackage: source version 111.28.00-1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by David Scott <[email protected]>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build ocaml-core-111.28.00
 fakeroot debian/rules clean
dh clean --with ocaml --with python2
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/tmp/buildd/ocaml-core-111.28.00'
debian/clean.sh
rm -rf PM_BUILD_ROOT
make[1]: Leaving directory '/tmp/buildd/ocaml-core-111.28.00'
   dh_ocamlclean
    rm -f ocamlinit-stamp debian/ocaml-core-dev.install debian/ocaml-core.install
   dh_clean
    rm -f debian/ocaml-core.substvars
    rm -f debian/ocaml-core.*.debhelper
    rm -rf debian/ocaml-core/
    rm -f debian/ocaml-core-dev.substvars
    rm -f debian/ocaml-core-dev.*.debhelper
    rm -rf debian/ocaml-core-dev/
    rm -f debian/*.debhelper.log
    rm -f debian/files
    find .  \( \( \
        \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS \) -prune -o -type f -a \
            \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
         -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
         -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
         -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
        \) -exec rm -f {} + \) -o \
        \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \)
    rm -f *-stamp
 dpkg-source -b ocaml-core-111.28.00
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building ocaml-core using existing ./ocaml-core_111.28.00.orig.tar.gz
dpkg-source: info: building ocaml-core in ocaml-core_111.28.00-1.debian.tar.xz
dpkg-source: info: building ocaml-core in ocaml-core_111.28.00-1.dsc
 debian/rules build
dh build --with ocaml --with python2
   dh_testdir
   dh_ocamlinit
    sed  -e 's%@OCamlABI@%4.01.0%g' -e 's%@OCamlStdlibDir@%/usr/lib/ocaml%g' -e 's%@OCamlDllDir@%/usr/lib/ocaml/stublibs%g' -e 's/^OPT: //' -e '/^BYTE: /d' -e 's/^DYN: //' debian/ocaml-core-dev.install.in > debian/ocaml-core-dev.install
    sed  -e 's%@OCamlABI@%4.01.0%g' -e 's%@OCamlStdlibDir@%/usr/lib/ocaml%g' -e 's%@OCamlDllDir@%/usr/lib/ocaml/stublibs%g' -e 's/^OPT: //' -e '/^BYTE: /d' -e 's/^DYN: //' debian/ocaml-core.install.in > debian/ocaml-core.install
    touch ocamlinit-stamp
   debian/rules override_dh_auto_build
make[1]: Entering directory '/tmp/buildd/ocaml-core-111.28.00'
debian/build.sh

Configuration: 
ocamlfind: ........................................... /usr/bin/ocamlfind
ocamlc: .............................................. /usr/bin/ocamlc.opt
ocamlopt: ............................................ /usr/bin/ocamlopt.opt
ocamlbuild: .......................................... /usr/bin/ocamlbuild
Package name: ........................................ core
Package version: ..................................... 111.28.00
os_type: ............................................. Unix
system: .............................................. linux
architecture: ........................................ amd64
ccomp_type: .......................................... cc
ocaml_version: ....................................... 4.01.0
standard_library_default: ............................ /usr/lib/ocaml
standard_library: .................................... /usr/lib/ocaml
standard_runtime: .................................... /usr/bin/ocamlrun
bytecomp_c_compiler: ................................. gcc -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC
native_c_compiler: ................................... gcc -D_FILE_OFFSET_BITS=64 -D_REENTRANT
model: ............................................... default
ext_obj: ............................................. .o
ext_asm: ............................................. .s
ext_lib: ............................................. .a
ext_dll: ............................................. .so
default_executable_name: ............................. a.out
systhread_supported: ................................. true
Install architecture-independent files dir: .......... /usr
Install architecture-dependent files in dir: ......... /usr
User executables: .................................... /usr/bin
System admin executables: ............................ /usr/sbin
Program executables: ................................. /usr/lib
Read-only single-machine data: ....................... $prefix/etc
Modifiable architecture-independent data: ............ /usr/com
Modifiable single-machine data: ...................... /var
Object code libraries: ............................... /usr/lib
Read-only arch-independent data root: ................ $prefix/share
Read-only architecture-independent data: ............. /usr/share
Info documentation: .................................. $datarootdir/info
Locale-dependent data: ............................... $datarootdir/locale
Man documentation: ................................... /usr/share/man
Documentation root: .................................. $datarootdir/doc/$pkg_name
HTML documentation: .................................. $docdir
DVI documentation: ................................... $docdir
PDF documentation: ................................... $docdir
PS documentation: .................................... $docdir
Prepend a path when installing package: .............. /tmp/buildd/ocaml-core-111.28.00/debian/tmp
findlib_version: ..................................... 1.4.1
is_native: ........................................... true
suffix_program: ...................................... 
Remove a file.: ...................................... rm -f
Remove a directory.: ................................. rm -rf
Turn ocaml debug flag on: ............................ true
Turn ocaml profile flag on: .......................... false
Compiler support generation of .cmxs.: ............... true
OCamlbuild additional flags: ......................... 
Enable linux specific extensions: .................... true
Enable POSIX timers: ................................. true
Linux RT Library: .................................... true
Create documentations: ............................... true
Compile tests executable and library and run them: ... false
camlp4o: ............................................. /usr/bin/camlp4o
pkg_bigarray: ........................................ /usr/lib/ocaml
pkg_bin_prot: ........................................ /usr/lib/ocaml/bin_prot
pkg_bin_prot_syntax: ................................. /usr/lib/ocaml/bin_prot
pkg_comparelib_syntax: ............................... /usr/lib/ocaml/comparelib
pkg_core_kernel: ..................................... /usr/lib/ocaml/core_kernel
pkg_enumerate_syntax: ................................ /usr/lib/ocaml/enumerate
pkg_fieldslib: ....................................... /usr/lib/ocaml/fieldslib
pkg_fieldslib_syntax: ................................ /usr/lib/ocaml/fieldslib
pkg_herelib: ......................................... /usr/lib/ocaml/herelib
pkg_herelib_syntax: .................................. /usr/lib/ocaml/herelib
pkg_pa_bench: ........................................ /usr/lib/ocaml/pa_bench
pkg_pa_bench_syntax: ................................. /usr/lib/ocaml/pa_bench
pkg_pa_ounit: ........................................ /usr/lib/ocaml/pa_ounit
pkg_pa_ounit_syntax: ................................. /usr/lib/ocaml/pa_ounit
pkg_pa_pipebang: ..................................... /usr/lib/ocaml/pa_pipebang
pkg_pa_test: ......................................... /usr/lib/ocaml/pa_test
pkg_pa_test_syntax: .................................. /usr/lib/ocaml/pa_test
pkg_sexplib: ......................................... /usr/lib/ocaml/sexplib
pkg_sexplib_syntax: .................................. /usr/lib/ocaml/sexplib
pkg_sexplib_unix: .................................... /usr/lib/ocaml/sexplib_unix
pkg_unix: ............................................ /usr/lib/ocaml
pkg_variantslib: ..................................... /usr/lib/ocaml/variantslib
pkg_variantslib_syntax: .............................. /usr/lib/ocaml/variantslib
pkg_threads: ......................................... /usr/lib/ocaml
pkg_compiler_libs: ................................... /usr/lib/ocaml/compiler-libs

W: Cannot find source file matching module 'core' in library core
Finished, 1 target (0 cached) in 00:00:00.
+ /usr/bin/ocamlfind ocamlc -I lib -package core_kernel -c lib/unix_stubs.c
lib/unix_stubs.c: In function 'core_stat_aux_64':
lib/unix_stubs.c:446:59: error: 'struct stat64' has no member named 'st_atimensec'
     atime = caml_copy_double((double) buf->st_atime + (buf->st_atimensec / 1000000000.0f));
                                                           ^
lib/unix_stubs.c:447:59: error: 'struct stat64' has no member named 'st_mtimensec'
     mtime = caml_copy_double((double) buf->st_mtime + (buf->st_mtimensec / 1000000000.0f));
                                                           ^
lib/unix_stubs.c:448:59: error: 'struct stat64' has no member named 'st_ctimensec'
     ctime = caml_copy_double((double) buf->st_ctime + (buf->st_ctimensec / 1000000000.0f));
                                                           ^
Command exited with code 2.
Compilation unsuccessful after building 25 targets (0 cached) in 00:00:01.
E: Failure("Command ''/usr/bin/ocamlbuild' lib/libcore_stubs.a lib/dllcore_stubs.so lib/core.cma lib/core.cmxa lib/core.a lib/core.cmxs top/core_top.cma top/core_top.cmxa top/core_top.a top/core_top.cmxs -use-ocamlfind -tag debug' terminated with error code 10")
debian/rules:18: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory '/tmp/buildd/ocaml-core-111.28.00'
debian/rules:11: recipe for target 'build' failed
make: *** [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 /opt/buildroot/SRPMS filesystem
I: unmounting /opt/buildroot/RPMS filesystem
I: unmounting dev/pts filesystem
W: Could not unmount dev/pts: umount: /var/cache/pbuilder/build/cow.12605/dev/pts: not mounted
W: Ignored error in unmount
I: unmounting run/shm filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.12605 
Makefile:69: recipe for target 'RPMS/ocaml-core_111.28.00-1_amd64.deb' failed
make: *** [RPMS/ocaml-core_111.28.00-1_amd64.deb] Error 1

@euanh
Copy link
Contributor

euanh commented Apr 7, 2015

@jonludlam

@Carlosgrr
Copy link
Author

@jonludlam ???? Are you saying I should see his repo? Or are you calling him?

@euanh
Copy link
Contributor

euanh commented Apr 8, 2015

@Carlosgrr: Your problem is that we don't have Planex binary packages for Ubuntu vivid. @jonludlam runs a PPA which is currently the source for Ubuntu packages, so I've asked him to start building vivid packages.

@jonludlam
Copy link
Collaborator

A vivid repo for planex would be nice, but I don't think that'll happen until vivid gets released. @Carlosgrr has already shown that this can be worked around. The problem appears to be that core isn't compiling on vivid. Might be worth trying to see if opam can install core on vivid?

@Carlosgrr
Copy link
Author

If by core you mean XAPI, which is what I am trying to install, in this blog: https://opam.ocaml.org/blog/opam-in-xenserver/, Dave Scott (@djs55) shows how it is done to compile XAPI using OPAM. BUT I am stuck with another problem:

root@xen:/# opam install xapi
The following actions will be performed:
 - install   xenctrl.0.9.26                        [required by xapi]
 - install   xapi-libs-transitional.0.9.6          [required by xapi]
 - install   xapi-rrdd-plugin.0.6.0                [required by xapi]
 - install   xapi.1.9.56
=== 4 to install ===
Do you want to continue ? [Y/n] y

=-=- Synchronizing package archives -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

=-=- Installing packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Building xenctrl.0.9.26:
  ./configure
  make
  make install BINDIR=/root/.opam/4.01.0/bin
[ERROR] The compilation of xenctrl.0.9.26 failed.
Removing xenctrl.0.9.26.
  make uninstall


#=== ERROR while installing xenctrl.0.9.26 ====================================#
# opam-version 1.2.0
# os           linux
# command      make
# path         /root/.opam/4.01.0/build/xenctrl.0.9.26
# compiler     4.01.0
# exit-code    2
# env-file     /root/.opam/4.01.0/build/xenctrl.0.9.26/xenctrl-13875-d2d111.env
# stdout-file  /root/.opam/4.01.0/build/xenctrl.0.9.26/xenctrl-13875-d2d111.out
# stderr-file  /root/.opam/4.01.0/build/xenctrl.0.9.26/xenctrl-13875-d2d111.err
### stdout ###
# ...[truncated]
#  static int sched_credit_params_val (libxl_ctx *ctx, libxl_sched_credit_params *c_val, value v)
#             ^
# xenlight/xenlight_stubs.c:2927:12: warning: ‘domain_remus_info_val’ defined but not used [-Wunused-function]
#  static int domain_remus_info_val (libxl_ctx *ctx, libxl_domain_remus_info *c_val, value v)
#             ^
# xenlight/xenlight_stubs.c:3005:12: warning: ‘event_val’ defined but not used [-Wunused-function]
#  static int event_val (libxl_ctx *ctx, libxl_event *c_val, value v)
#             ^
# Command exited with code 2.
# Makefile:27: recipe for target 'build' failed
### stderr ###
# E: Failure("Command ''/root/.opam/4.01.0/bin/ocamlbuild' lib/libxenctrl_stubs.a lib/dllxenctrl_stubs.so lib/xenctrl.cma lib/xenctrl.cmxa lib/xenctrl.a lib/xenctrl.cmxs xenlight/libxenlight_stubs.a xenlight/dllxenlight_stubs.so xenlight/xenlight.cma xenlight/xenlight.cmxa xenlight/xenlight.a xenlight/xenlight.cmxs xenlight/libxentoollog_stubs.a xenlight/dllxentoollog_stubs.so xenlight/xentoollog.cm...[truncated]
# make: *** [build] Error 1


=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following failed
 - install   xenctrl.0.9.26
Due to the errors, the following have been cancelled
 - install   xapi-libs-transitional.0.9.6
 - install   xapi-rrdd-plugin.0.6.0
 - install   xapi.1.9.56

Going by hand to the folder /root/.opam/4.01.0/build/xenctrl.0.9.26/ and running ./configure, the output is:

root@xen:~/.opam/4.01.0/build/xenctrl.0.9.26# ./configure
Looking for xenctrl.h: ok
Looking for libxl_physinfo.outstanding_pages: ok
Looking for xen-4.5: ok
Looking for xc_domain_save generation_id: missing
Looking for HVM_PARAM_VIRIDIAN: ok

From the page https://github.com/xapi-project/opam-repo-dev, there is another update on how to compile using OPAM, with another xenctrl (0.9.28), but with the same problem overall.

Any other Ideas how to proceed? Or do you mean that I should run the opam to install another package, not the XAPI?

@euanh
Copy link
Contributor

euanh commented Apr 9, 2015

No, I think @jonludlam is referring to the ocaml-core package, which seems to be the package failing to build in the output you posted above:

Makefile:69: recipe for target 'RPMS/ocaml-core_111.28.00-1_amd64.deb' failed
make: *** [RPMS/ocaml-core_111.28.00-1_amd64.deb] Error 1

It might be that we are building an older version, and the current version in opam works.

@Carlosgrr
Copy link
Author

Running opam list -a don't have ocaml-core, is CORE what you intend to say or another package? How should I install it to test?

After installing, any other command that should be run to continue the buildroot "make", bypassing this package?

Any tuto on how to do those procedures?

@jonludlam
Copy link
Collaborator

ocaml-core is the name of the RPM/debian package - the name in opam is just 'core'

Try: 'opam install core'

and see if that works.

@Carlosgrr
Copy link
Author

opam install core worked, but after installing core, what should I do?

@jonludlam
Copy link
Collaborator

OK, that implies that the latest version of core works on 15.04. We should update the version in buildroot.

@euanh euanh added the deb label Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants