[r-cran-yaml] 01/01: wip

Joost van Baal joostvb at moszumanska.debian.org
Wed Jan 6 20:24:32 UTC 2016


This is an automated email from the git hooks/post-receive script.

joostvb pushed a commit to branch master
in repository r-cran-yaml.

commit 6cdcc69c82b8cdc4e211e0dcc0d66f10c781bf23
Author: Joost van Baal-Ilić <joostvb at nusku.mdcc.cx>
Date:   Wed Jan 6 21:24:04 2016 +0100

    wip
---
 debian/changelog | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/control   |  2 +-
 2 files changed, 57 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2b13541..40230ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -107,6 +107,62 @@ diff -dur r-cran-yaml/src/yaml.h libyaml-0.1.6/include/yaml.h
 -------------------
 
 
+our r-ext.h has:
+
+#include "yaml.h"
+#include "yaml_private.h"
+
+should be
+
+#include <yaml.h>
+
+and, i guess
+
+#include "yaml_private.h"
+
+since libyaml-dev ships only /usr/include/yaml.h
+
+
+(sid)joostvb at nusku:~/gi...n/r-cran-yaml-2.1.13/src% ls
+api.c     emitter.c   loader.c  parser.c  r-ext.c  scanner.c  yaml.h
+dumper.c  implicit.c  Makevars  reader.c  r-ext.h  writer.c   yaml_private.h
+(sid)joostvb at nusku:~/gi...n/r-cran-yaml-2.1.13/src% rm api.c dumper.c emitter.c loader.c parser.c reader.c scanner.c writer.c 
+
+(sid)joostvb at nusku:~/gi...n/r-cran-yaml-2.1.13/src% rm yaml.h 
+(sid)joostvb at nusku:~/gi...n/r-cran-yaml-2.1.13/src% ls
+implicit.c  Makevars  r-ext.c  r-ext.h  yaml_private.h
+
+(sid)joostvb at nusku:~/gi...n/r-cran-yaml-2.1.13/src% vi r-ext.h 
+
+
+
+(sid)joostvb at nusku:~/git/r-cran/r-cran-yaml-2.1.13% fakeroot ./debian/rules binary
+
+                MAKEFLAGS="LDFLAGS=-Wl,-z,relro" R CMD INSTALL -l /home/joostvb/git/r-cran/r-cran-yaml-2.1.13/debian/r-cran-yaml/usr/lib/R/site-library         \
+                                --clean  .  \
+                                "--built-timestamp=\"Tue, 22 Dec 2015 13:35:23 +0100\""                \
+                                ;                               \
+        fi
+* installing *source* package ‘yaml’ ...
+files ‘src/api.c’, ‘src/dumper.c’, ‘src/emitter.c’, ‘src/loader.c’, ‘src/parser.c’, ‘src/reader.c’, ‘src/scanner.c’, ‘src/writer.c’, ‘src/yaml.h’ are missing
+file ‘src/r-ext.h’ has the wrong MD5 checksum
+** libs
+make[1]: Entering directory '/home/joostvb/git/r-cran/r-cran-yaml-2.1.13/src'
+gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I. -DNDEBUG     -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c implicit.c -o implicit.o
+gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -I. -DNDEBUG     -fpic  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g  -c r-ext.c -o r-ext.o
+gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-z,relro -o yaml.so implicit.o r-ext.o -L/usr/lib/R/lib -lR
+
+
+....
+
+
+** testing if installed package can be loaded
+Error in dyn.load(file, DLLpath = DLLpath, ...) : 
+  unable to load shared object '/home/joostvb/git/r-cran/r-cran-yaml-2.1.13/debian/r-cran-yaml/usr/lib/R/site-library/yaml/libs/yaml.so':
+  /home/joostvb/git/r-cran/r-cran-yaml-2.1.13/debian/r-cran-yaml/usr/lib/R/site-library/yaml/libs/yaml.so: undefined symbol: yaml_sequence_start_event_initialize
+Error: loading failed
+
+
 
  -- Joost van Baal-Ilić <joostvb at debian.org>  Wed, 23 Dec 2015 15:52:52 +0100
 
diff --git a/debian/control b/debian/control
index bc3aef3..3e8f68e 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: gnu-r
 Priority: optional
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Joost van Baal-Ilić <joostvb at debian.org>
-Build-Depends: debhelper (>= 9), r-base-dev, cdbs, dpkg-dev (>= 1.16.1~)
+Build-Depends: debhelper (>= 9), r-base-dev, cdbs, dpkg-dev (>= 1.16.1~), libyaml-dev
 Standards-Version: 3.9.6
 Homepage: https://cran.r-project.org/web/packages/yaml/
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/r-cran-yaml.git

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-yaml.git



More information about the debian-science-commits mailing list