Your message dated Mon, 07 Apr 2014 15:58:22 +0000
with message-id <e1wxbwe-0006hu...@franck.debian.org>
and subject line Bug#742869: fixed in lua-posix 31-1
has caused the Debian Bug report #742869,
regarding lua-posix: fails to build with LDoc 1.4
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
742869: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742869
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: lua-posix
Version: 29-7
Severity: serious
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch trusty
lua-posix fails to build with LDoc 1.4:
ldoc .
/«PKGBUILDDIR»/lposix.c:2787: internal LDoc error
/usr/share/lua/5.1/ldoc/tools.lua:184: attempt to call method 'match' (a nil
value)
stack traceback:
/usr/share/lua/5.1/ldoc/tools.lua:184: in function
'extract_identifier'
/usr/share/lua/5.1/ldoc/parse.lua:376: in function
</usr/share/lua/5.1/ldoc/parse.lua:246>
[C]: in function 'xpcall'
/usr/share/lua/5.1/ldoc/parse.lua:246: in function 'parse_file'
/usr/share/lua/5.1/ldoc/parse.lua:402: in function 'file'
/usr/bin/ldoc:403: in function 'process_file'
/usr/bin/ldoc:489: in main chunk
[C]: ?
reading configuration from config.ld
make[1]: *** [override_dh_auto_build] Error 255
Here's the upstream discussion:
https://github.com/stevedonovan/LDoc/issues/125
Looking through the git history at around the relevant time, two patches
seem clearly relevant. I backported these and lua-posix now builds
fine. Here you go:
* Backport a couple of ldoc fixes from upstream.
diff -Nru lua-posix-29/debian/patches/add-missing-ldoc-function-tag.patch
lua-posix-29/debian/patches/add-missing-ldoc-function-tag.patch
--- lua-posix-29/debian/patches/add-missing-ldoc-function-tag.patch
1970-01-01 01:00:00.000000000 +0100
+++ lua-posix-29/debian/patches/add-missing-ldoc-function-tag.patch
2014-03-28 11:06:37.000000000 +0000
@@ -0,0 +1,21 @@
+From: "Gary V. Vaughan" <g...@gnu.org>
+Date: Thu, 12 Dec 2013 09:17:09 +1300
+Subject: [PATCH] doc: add missing LDoc function tag.
+
+* ext/posix/posix.c (strptime): Add missing @function tag.
+
+Signed-off-by: Gary V. Vaughan <g...@gnu.org>
+Origin: backport,
https://github.com/luaposix/luaposix/commit/6640275b2e860521b8ae458b8f1c4ebaf53d7f27
+
+Index: b/lposix.c
+===================================================================
+--- a/lposix.c
++++ b/lposix.c
+@@ -2901,6 +2901,7 @@
+
+ /***
+ Parse a date string.
++@function strptime
+ @see strptime(3)
+ @string s
+ @string format same as for `strftime`
diff -Nru lua-posix-29/debian/patches/fix-ldoc-custom-see-handler.patch
lua-posix-29/debian/patches/fix-ldoc-custom-see-handler.patch
--- lua-posix-29/debian/patches/fix-ldoc-custom-see-handler.patch
1970-01-01 01:00:00.000000000 +0100
+++ lua-posix-29/debian/patches/fix-ldoc-custom-see-handler.patch
2014-03-28 11:05:08.000000000 +0000
@@ -0,0 +1,29 @@
+From: "Gary V. Vaughan" <g...@gnu.org>
+Date: Thu, 12 Dec 2013 09:15:12 +1300
+Subject: [PATCH] doc: fix LDoc manual page custom_see_handler pattern.
+
+* ext/posix/config.ld (custom_see_handler): Add a missing closing
+`%)`.
+(upat): Pull the format string up per LDoc documentation.
+
+Signed-off-by: Gary V. Vaughan <g...@gnu.org>
+Origin: backport,
https://github.com/luaposix/luaposix/commit/1bcb12c59dcfb830ffb9b8db7305720c83cb17ac
+
+Index: b/config.ld
+===================================================================
+--- a/config.ld
++++ b/config.ld
+@@ -7,9 +7,10 @@
+ tparam_alias 'int'
+ tparam_alias 'bool'
+
+-custom_see_handler('^([%w_]+)%((%d)$',function(name,section)
+- local url =
("http://www.kernel.org/doc/man-pages/online/pages/man%s/%s.%s.html";):format(section,name,section)
+- local name = name .. '(' ..section..')'
++local upat =
"http://www.kernel.org/doc/man-pages/online/pages/man%s/%s.%s.html";
++custom_see_handler('^([%w_]+)%((%d)%)$',function(name,section)
++ local url = upat:format(section,name,section)
++ local name = name .. '(' .. section .. ')'
+ return name, url
+ end)
+
diff -Nru lua-posix-29/debian/patches/series lua-posix-29/debian/patches/series
--- lua-posix-29/debian/patches/series 2014-01-21 19:58:48.000000000 +0000
+++ lua-posix-29/debian/patches/series 2014-03-28 11:05:40.000000000 +0000
@@ -1,2 +1,4 @@
0001-Fix-build-on-hurd-i386.patch
0002-Fix-compilation-on-kfreebsd.patch
+fix-ldoc-custom-see-handler.patch
+add-missing-ldoc-function-tag.patch
Thanks,
--
Colin Watson [cjwat...@ubuntu.com]
--- End Message ---
--- Begin Message ---
Source: lua-posix
Source-Version: 31-1
We believe that the bug you reported is fixed in the latest version of
lua-posix, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 742...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Enrico Tassi <gareuselesi...@debian.org> (supplier of updated lua-posix package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 07 Apr 2014 09:45:48 +0200
Source: lua-posix
Binary: lua-posix lua-posix-dev lua-curses lua-curses-dev
Architecture: source amd64
Version: 31-1
Distribution: unstable
Urgency: medium
Maintainer: Enrico Tassi <gareuselesi...@debian.org>
Changed-By: Enrico Tassi <gareuselesi...@debian.org>
Description:
lua-curses - curses library for the Lua language
lua-curses-dev - curses development files for the Lua language
lua-posix - posix library for the Lua language
lua-posix-dev - posix development files for the Lua language
Closes: 742869 742870
Changes:
lua-posix (31-1) unstable; urgency=medium
.
* New upstream release
* Fix compilation with lua-doc >= 1.4 (Closes: #742869), thanks Colin Watson
* Use autoreconf (Closes: #742870), thanks Colin Watson
* Drop patch 0002-Fix-compilation-on-kfreebsd.patch (sort of applied
upstream)
Checksums-Sha1:
46394b1cd003753320e999547d08258b702e4cc2 2047 lua-posix_31-1.dsc
4e7e622e091ac63eafced52020ccbb7658721416 526275 lua-posix_31.orig.tar.gz
ef495f2951118f4861c6d693f7afe322302ae554 5900 lua-posix_31-1.debian.tar.xz
04d6850d206c1ad4ee4e1be8330f013634fc935e 60220 lua-posix_31-1_amd64.deb
7470692b8d246ccee09205f3e8e62c566f2f0908 70398 lua-posix-dev_31-1_amd64.deb
a987044262de2db36a4ea1086cc0c8103886f099 46168 lua-curses_31-1_amd64.deb
decad6e98e85652d1fc2d26dc96bee3a4e6195b7 52372 lua-curses-dev_31-1_amd64.deb
Checksums-Sha256:
2988263a8e2b7ee88c31166b6ddcd7926ccbcf2d8b03c943a15fe74f1c1c2f36 2047
lua-posix_31-1.dsc
e3000e93aa48d1e04eab328255ea71ae62dd03ae7258e9985ccd0c53085d6725 526275
lua-posix_31.orig.tar.gz
0443adebcce929bc39b60c2eddadbf7e92ff03e12253c861ddf1e5ee7f86cf0d 5900
lua-posix_31-1.debian.tar.xz
5e287cc76cc6662d8b6523cd40a934e3e4c0d7e69458b67aae6b392b1d99837f 60220
lua-posix_31-1_amd64.deb
f6b5d729a78818588616c4bc10f56439b7b42b114676f6e3cea47337b1582e54 70398
lua-posix-dev_31-1_amd64.deb
664c48613a193612b669af4272112b23cc1027b88c34cb07e5527c973c157a45 46168
lua-curses_31-1_amd64.deb
bc9f967e4910f734117a443e92cfcff97301f276856d065a4721af868c766bd3 52372
lua-curses-dev_31-1_amd64.deb
Files:
46ce5940632a1ee0af2454206317cf5d 2047 interpreters optional lua-posix_31-1.dsc
b026e47806db2bbfaf59947f9cac1461 526275 interpreters optional
lua-posix_31.orig.tar.gz
e1acf91a9ad2578eb463cab86584954d 5900 interpreters optional
lua-posix_31-1.debian.tar.xz
bd374e33dd83df84843eb159ee9b600a 60220 interpreters optional
lua-posix_31-1_amd64.deb
bd8baa2e590a3939b09f7625120b348c 70398 libdevel optional
lua-posix-dev_31-1_amd64.deb
162e6251dbbd2dd3d4175483bea741cf 46168 libdevel optional
lua-curses_31-1_amd64.deb
167138c67eac820ede0cb29461d17557 52372 libdevel optional
lua-curses-dev_31-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJTQsKHAAoJECUFM8yim3ZPm9wP/jcboBaVuHg0PCJjLalKz+X/
sjdaozgX5cXppyHQzcx172iZh0Abl5Fa/9LpJ6tSkgGIUNVkaHzfDd9HR5Q6Uqj4
ZU9TBL9dzmX0VGcPe3kKC+nLNNp5CP2/IUgYMlN/euy7jK1mSgTM1ccJGv9Af8yd
CeKyKHIKeNyTAx9qyREAXZLmHyLYCIwurN8yLIwEstgXzLOiz4ZV4f6J+trtr7iX
FVlwuulFyr/zvO/mGaBgvR7qviVU6/0YJ31s3d4xtUL1Jn56eQDCY74oVpWUgf49
CX+q98rDt2FSiiN6bDKUDi/gD4cOXStn983H9nsyuBmojxiUXN6tNtt2WXjvwysJ
cHIBmegAm/avfHBeSbnIR48kh1/GdlLw6jldpLyPJjlGfHfqP67uoDHFeFIxtxsF
2F3aRBKyEsB+uXfznPuOQcgcQkEzKW0uu06V8kXx8EzB/6x5f08zB9h6yWx3GaxA
bMWERSDEaVndWCpMj/COJnkkFxseXopPH8OsuGZNUUkFov/WKwSQwueSCS8BR+Pi
FRZa4CuC8KEOYktHmQlVeQYNA8L1BGiVpjZ7RQck3upsV2Wc6YizJ5ooZbHQAag2
3BgnC0LUNGgIxv4+TT6GbQAIVtUWOAWcaGFHXVWCLsam+eV8qypCnv3dpDc8y9nZ
rdsDazbNUIOFpywqZasK
=j1gF
-----END PGP SIGNATURE-----
--- End Message ---