

























I've updated the PKGBUILD to get rid of the debhelper make dependency. I've changed the package() step to get around the /usr/sbin symlink problem. Now all executables will be installed into /usr/bin. I've added an optional dependency to qemu, because you'll need that installed if you want to use qemubuilder. I've changed the arch= variable to the correct value, as well.
I found a few bugs in the PKGBUILD: 1. arch line wrong: arch=('i686 x86_64') should read arch=('i686' 'x86_64') otherwise the package will fail to build on x86_64 machines. 2. missing makedeps, cowdancer needs debhelper during build, makepkg will fail in the package() step otherwise. makedepends=('debhelper') 3. installs executables in /usr/sbin , which is symlinked to /usr/bin these days, so I guess a PKGBUILD should not install files there. The Arch Packaging Standards on the wiki leave room for interpretation though, because they only forbid /sbin explicitly, but do not mention /usr/sbin Unfortunately, I cannot think of an easy way to make debhelper install all executables to /usr/bin without patching the upstream tarball. 4. optional dependency on qemu On Debian systems, the cowdancer src package creates three binary packages: - cowbuilder - cowdancer - qemubuilder quembuilder obviously won't work without having qemu installed. Regards
Updated, because it was out of date
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Failed to build current version - configure error. Culprit seems to be
LDFLAGSmodification insidebuild()- it strips,--as-needed, leaving bare-Wl, which is not recognized bygcc.