[MIR] lua-filesystem

Bug #1413402 reported by Stéphane Graber on 2015-01-21
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lua-filesystem (Ubuntu)
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
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
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.

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
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.

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.

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) on 2015-03-10
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  Edit
Everyone can see this information.

Other bug subscribers