[MIR] lua-filesystem
| 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 : | #2 |
(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 : | #3 |
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 : | #4 |
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 : | #5 |
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 : | #6 |
Hi,
So it looks like this is intentional per policy:
| Changed in lua-filesystem (Ubuntu): | |
| status: | New → Fix Committed |
| Changed in lua-filesystem (Ubuntu): | |
| status: | Fix Committed → Fix Released |


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