构建 elibc 时如何设置通配符?
我正在尝试从源代码构建eglibc-2.11.2 包。无论愚蠢与否,我正在尝试将其反向移植到 Debian Lenny,主要是为了我可以构建其他需要它的东西,而不必将整个系统升级到稳定版本。 (这是否是一个好主意是读者的练习。)我正在使用 sid 的 Debianized 源代码。
当我执行 dpkg-buildpackage 时,包会构建,但在运行 dh-shlibdeps 时最终出现以下错误。
dh-shlibdeps: warning: can't parse dependency #PACKAGE# (>> 2.11)
dh-shlibdeps: error: invalid dependency got generated: #PACKAGE# (>> 2.11)
(我稍微解释了一下,因为不幸的是,在我的故障排除会话期间,错误消息已从我的屏幕缓冲区中滚出,这是一个很长的构建。)
当然,我很可能有一些其他包已过时。我从向后移植更新了 debhelper,所以它是版本 8.0,但这没有帮助。什么可以解决这个错误?
I am attempting to build the eglibc-2.11.2 package from source. Stupidly or not, I'm trying to backport it to Debian Lenny, mainly so I can build other things that require it without having to upgrade my whole system past stable. (Whether this is a good idea is an exercise for the reader.) I am using the Debianized source from sid.
When I execute dpkg-buildpackage, the package builds, but I eventually get the following error when it is running dh-shlibdeps.
dh-shlibdeps: warning: can't parse dependency #PACKAGE# (>> 2.11)
dh-shlibdeps: error: invalid dependency got generated: #PACKAGE# (>> 2.11)
(I'm slightly paraphrasing because, unfortunately, the error message has scrolled out of my screen
buffer during my troubleshooting session, and this is a long build.)
It is of course quite possible that I have some other package out of date. I updated debhelper from backports, so it is at version 8.0, but that didn't help. What would solve this error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从 1.15.0 开始,
#PACKAGE#
被dpkg-gensymbols
取代,它是dpkg-dev
的一部分。看起来 lenny 只有 1.14.29。将 dpkg/dpkg-dev 向后移植到 1.15.0 可能会解决这个特定问题。
#PACKAGE#
is substituted bydpkg-gensymbols
, part ofdpkg-dev
, as of 1.15.0. Looks like lenny only had 1.14.29.Backporting dpkg/dpkg-dev to 1.15.0 will probably resolve this particular issue.