[MIR] lua-filesystem

Bug #1413402 reported by Stéphane Graber
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lua-filesystem (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

lua-filesystem is a dependency of the lua5 binding of LXC.
We'd like to turn on packages for that binding starting in vivid.

Availability: been in universe since at least feisty
Rationale: dependency of lua-lxc
Security: no open bugs in LP, no open bugs in Debian, actively maintained, no CVE, library only
Quality: been around for a while, in sync with Debian
Dependencies: all depends are in main
Standards: compliant
Maintenance: actively maintained in Debian

The ~ubuntu-lxc team is subscribed to bug mail for this package.

description: updated
Revision history for this message
Michael Terry (mterry) wrote :

Why don't the built packages build-depend on liblua5.2-0? It seems to use symbols from it:

dpkg-shlibdeps: warning: symbol lua_tolstring used by debian/lua-filesystem/usr/lib/x86_64-linux-gnu/liblua5.1-filesystem.so.0.0.0 found in none of the libraries

And many more similar warnings

Changed in lua-filesystem (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Terry (mterry) wrote :

(whoops, should have read: "depend" not "build-depend")

This may just be how lua does things, but I was expecting a run-time dependency.

Revision history for this message
Stéphane Graber (stgraber) wrote :

None of the .so.* link against liblua5.2-0 so I'm guessing it must have been shlibs being confused.

In any case, it doesn't make any sense adding a Depends against a library, that's what shlibs is for and if it's somehow wrong, then that needs fixing in dpkg, not in lua-filesystem.

In any case, anything using lua-filesystem will also depend on lua which in turns will bring the lib :)

Changed in lua-filesystem (Ubuntu):
status: Incomplete → New
Revision history for this message
Michael Terry (mterry) wrote :

But some symbols from liblua5.2-0 *are* used. Which is why shlibs is complaining. For example, lfs.c uses lua_setglobal, which is from liblua5.2-0. But it's not linked. Seems like we just might be missing a -llua5.2 flag.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Hmm, yeah, could be. I'll take a look tomorrow or at least file a Debian bug so that someone looks into that.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Hi,

So it looks like this is intentional per policy:

http://pkg-lua.alioth.debian.org/policy.html#ch-notesundef

Michael Terry (mterry)
Changed in lua-filesystem (Ubuntu):
status: New → Fix Committed
Changed in lua-filesystem (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.