【问题标题】:What expects lintian when it returns missing-dependency-on-libc when building a debian package在构建 debian 包时,当它返回 missing-dependency-on-libc 时 lintian 的期望是什么
【发布时间】:2015-04-13 17:56:27
【问题描述】:

当我尝试使用 debuild -i -us -uc -b 构建我的 vala 应用程序时,包已构建,但 lintian 抱怨我的控制文件缺少对 libc 的依赖:

E: <my app>: missing-dependency-on-libc needed by <path to my binary>

我的依赖部分应该添加什么?

Source: <my_app>
Section: x11
Priority: optional
Maintainer: <me>
Build-Depends: cmake (>= 2.8),
               debhelper (>= 9),
               libgee-0.8-dev,
               libglib2.0-dev,
               valac (>= 0.22)
Standards-Version: 3.9.5
Homepage: <my_website>

【问题讨论】:

  • 你能把control文件的二进制包部分放在一起吗?

标签: unix debian packaging vala


【解决方案1】:

作为@apmasell,问题来自我在问题中包含的部分。

忘记加了

Depends: ${misc:Depends}, ${shlibs:Depends}

到我的二进制包。

【讨论】:

  • lintian.debian.org/tags/missing-dependency-on-libc.html 解释了基本原理:“所有共享库和编译的二进制文件必须通过 dpkg-shlibdeps 运行以找出它们链接的任何库(通常通过 dh_shlibdeps debhelper 命令) . 包含这些文件的包必须依赖debian/control 中的${shlibs:Depends} 才能获得这些库的正确包依赖关系。"
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2020-10-18
  • 2011-08-12
  • 2016-02-08
相关资源
最近更新 更多