Package: swig2.0
Version: 2.0.4-5
Severity: serious
Justification: makes other packages fail to build from source

SWIG-generated Lua bindings run into errors when built against Lua 5.2
because they call lua_strlen, which Lua's headers now make available
only with LUA_COMPAT_ALL defined.  (The recommended equivalent appears
to be lua_rawlen, which is however new in 5.2, so SWIG's output
probably shouldn't use it unconditionally.)  Could you please arrange
for SWIG-generated Lua bindings to #define LUA_COMPAT_ALL before
including any standard Lua headers?

Thanks!

(This bug affects shogun, which I was trying to rebuild locally to
pick up the HDF5 dependency fix from #657949 / #658281 / #658307.)

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages swig2.0 depends on:
ii  libc6       2.13-27
ii  libgcc1     1:4.7.0-3
ii  libpcre3    1:8.30-4
ii  libstdc++6  4.7.0-3
ii  zlib1g      1:1.2.6.dfsg-2

swig2.0 recommends no packages.

Versions of packages swig2.0 suggests:
pn  swig2.0-doc       2.0.4-5
pn  swig2.0-examples  <none>

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to