Your message dated Sat, 12 May 2012 15:41:34 +0000
with message-id <[email protected]>
and subject line Bug#671286: fixed in lua5.1 5.1.5-2
has caused the Debian Bug report #671286,
regarding LUA_CPATH_DEFAULT broken when not building with debhelper
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 [email protected]
immediately.)


-- 
671286: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671286
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lua5.1
Version: 5.1.4-6

Changeset 5.1.4-6)which introduced DEB_HOST_MULTIARCH for the LUA_CPATH_DEFAULT in luaconf.h, like so:
#define LUA_CDIR2 LUA_ROOT2 "lib/" DEB_HOST_MULTIARCH "/lua/5.1/"
...
#define LUA_CPATH_DEFAULT \
"./?.so;" LUA_CDIR"?.so;" LUA_CDIR2"?.so;" LUA_CDIR3"?.so;" LUA_CDIR"loadall.so"
#endif

The DEB_HOST_MULTIARCH is only set during the Debian build process, or manually through the preprocessor. Since Lua packages are built with debhelper, they include a well-formed LUA_CPATH_DEFAULT.

However, this change breaks the compilation of programs outside of debhelper which embed Lua and rely upon LUA_CPATH_DEFAULT:
error: expected ')' before 'DEB_HOST_MULTIARCH'

A workaround is to set DEB_HOST_MULTIARCH manually (using dpkg-architecture -qDEB_HOST_MULTIARCH), or construct ones own LUA_CPATH_DEFAULT.

Since liblua5.1-0dev is architecture-specific, perhaps the build process could insert the architecture into luaconf.h rather than depend on a definition set in the package build process?

This is still present in the 5.1.4 series, as well as 5.1.5-1

This bug was originally submitted to Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/lua5.1/+bug/977813



--- End Message ---
--- Begin Message ---
Source: lua5.1
Source-Version: 5.1.5-2

We believe that the bug you reported is fixed in the latest version of
lua5.1, which is due to be installed in the Debian FTP archive:

liblua5.1-0-dbg_5.1.5-2_amd64.deb
  to main/l/lua5.1/liblua5.1-0-dbg_5.1.5-2_amd64.deb
liblua5.1-0-dev_5.1.5-2_amd64.deb
  to main/l/lua5.1/liblua5.1-0-dev_5.1.5-2_amd64.deb
liblua5.1-0_5.1.5-2_amd64.deb
  to main/l/lua5.1/liblua5.1-0_5.1.5-2_amd64.deb
lua5.1-doc_5.1.5-2_all.deb
  to main/l/lua5.1/lua5.1-doc_5.1.5-2_all.deb
lua5.1_5.1.5-2.debian.tar.gz
  to main/l/lua5.1/lua5.1_5.1.5-2.debian.tar.gz
lua5.1_5.1.5-2.dsc
  to main/l/lua5.1/lua5.1_5.1.5-2.dsc
lua5.1_5.1.5-2_amd64.deb
  to main/l/lua5.1/lua5.1_5.1.5-2_amd64.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Enrico Tassi <[email protected]> (supplier of updated lua5.1 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 03 May 2012 14:34:16 +0200
Source: lua5.1
Binary: lua5.1-doc lua5.1 liblua5.1-0-dev liblua5.1-0 liblua5.1-0-dbg
Architecture: source all amd64
Version: 5.1.5-2
Distribution: unstable
Urgency: low
Maintainer: John V. Belmonte <[email protected]>
Changed-By: Enrico Tassi <[email protected]>
Description: 
 liblua5.1-0 - Shared library for the Lua interpreter version 5.1
 liblua5.1-0-dbg - Debug symbols for the Lua shared library interpreter
 liblua5.1-0-dev - Development files for the Lua language version 5.1
 lua5.1     - Simple, extensible, embeddable programming language
 lua5.1-doc - Documentation for the Lua language version 5.1
Closes: 671286
Changes: 
 lua5.1 (5.1.5-2) unstable; urgency=low
 .
   * Put in the pkg-config .pc file -DDEB_HOST_MULTIARCH so that including
     lua.h (and consequently luaconf.h) works fine even if one is not using
     debhelpers (Closes: #671286, LP: #977813)
Checksums-Sha1: 
 d63cf0d78857459e03c6a5c40c22c0acd22ee252 1458 lua5.1_5.1.5-2.dsc
 8d78423ebd5d132e4030e0313a41d52eb9de1bfb 13849 lua5.1_5.1.5-2.debian.tar.gz
 464b277e960ab5b238b9c6fbc365583671ab04ff 106396 lua5.1-doc_5.1.5-2_all.deb
 b51ae3ee50ac17d078256d15a6f8327510becfe5 153300 lua5.1_5.1.5-2_amd64.deb
 8d82787b5b8e23efc7a10ecae9646be16faa7a59 238588 
liblua5.1-0-dev_5.1.5-2_amd64.deb
 c23507873407402dc8c10e32cd512deb1fb77d5d 179614 liblua5.1-0_5.1.5-2_amd64.deb
 808e4917072d438f748967d1e199e7239fef5006 865992 
liblua5.1-0-dbg_5.1.5-2_amd64.deb
Checksums-Sha256: 
 615c2cfc246e70004c5d812442ae6b19f2af2c697f25a93a6a028acc129c8eaf 1458 
lua5.1_5.1.5-2.dsc
 9e4affea2184b23dee15bc34972f44eab9d2bf948482a5ed1451ddaa7cd27db2 13849 
lua5.1_5.1.5-2.debian.tar.gz
 8f2020033e5deee5953dfaf89a56e408b0f5d0dd8cdbb4e7711d06bcb3f8f54a 106396 
lua5.1-doc_5.1.5-2_all.deb
 f0cb2a35faeb174accd8c2c589649553a8e68552f8e3f26584de79c3df36105b 153300 
lua5.1_5.1.5-2_amd64.deb
 2523f8cf79796a784c9e9d35d1af445397b084982d6713e1e640cf403c6b4141 238588 
liblua5.1-0-dev_5.1.5-2_amd64.deb
 61664f9485e76d65aa50a578f8c4989c481b40b6b522099030943a4a4551760b 179614 
liblua5.1-0_5.1.5-2_amd64.deb
 9f06e91c208d120f8d2287336de51a0034969c8afae3d918ba9b887913ea5f89 865992 
liblua5.1-0-dbg_5.1.5-2_amd64.deb
Files: 
 bb9c244247d9f695e8c19ae40c91c2a9 1458 interpreters optional lua5.1_5.1.5-2.dsc
 48fdac0a255a39698fa9b9f8ba8a4ecb 13849 interpreters optional 
lua5.1_5.1.5-2.debian.tar.gz
 060f4a68705fa4be61dbf0885d0a0da8 106396 doc optional lua5.1-doc_5.1.5-2_all.deb
 b9a8c1d32f7a6a478bb626e2b2879f4e 153300 interpreters optional 
lua5.1_5.1.5-2_amd64.deb
 bbce37b0b5d5d8744409194f69edeb1d 238588 libdevel optional 
liblua5.1-0-dev_5.1.5-2_amd64.deb
 335ed666fe2077387664d07dde04d5be 179614 libs optional 
liblua5.1-0_5.1.5-2_amd64.deb
 3909795eb6922a02a9de4b24f58d4cab 865992 debug extra 
liblua5.1-0-dbg_5.1.5-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+ucEsACgkQ7kkcPgEj8vK64ACeJEo3LCZAnNJQEl8wdFrs3krO
GbgAoKFLPQCg9sZxA/RjRKFDKye9Hs1Z
=pMSq
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to