불행하게도 debhelper에는 재귀적 종속성이 있습니다.
설치하려고 하면 apt-get source --compile debhelper
다음과 같이 표시됩니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'debootstrap' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/d-i/debootstrap.git
Skipping already downloaded file 'debootstrap_1.0.59ubuntu0.2.dsc'
Skipping already downloaded file 'debootstrap_1.0.59ubuntu0.2.tar.xz'
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in debootstrap-1.0.59ubuntu0.2
dpkg-buildpackage: source package debootstrap
dpkg-buildpackage: source version 1.0.59ubuntu0.2
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by Adam Conrad <[email protected]>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build debootstrap-1.0.59ubuntu0.2
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 9)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
Build command 'cd debootstrap-1.0.59ubuntu0.2 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
그런 다음 이렇게 하면 다음과 같이 apt-get source --compile po4a
표시됩니다.
Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'po4a' packaging is maintained in the 'Svn' version control system at:
svn://svn.debian.org/svn/po4a/trunk
Skipping already downloaded file 'po4a_0.45-1.dsc'
Skipping already downloaded file 'po4a_0.45.orig.tar.gz'
Skipping already downloaded file 'po4a_0.45-1.debian.tar.gz'
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in po4a-0.45
dpkg-buildpackage: source package po4a
dpkg-buildpackage: source version 0.45-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Denis Barbier <[email protected]>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build po4a-0.45
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 8) docbook-xml docbook-xsl xsltproc libterm-readkey-perl libunicode-linebreak-perl sp docbook libsgmls-perl texlive-binaries
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
Build command 'cd po4a-0.45 && dpkg-buildpackage -b -uc' failed.
E: Child process failed
debhelper를 제외한 다른 모든 패키지를 컴파일할 수 있습니다. 왜냐하면 po4a가 필요하고 debhelper 등이 필요하기 때문입니다.
편집: 그런데, 나는 가지고 있다아니요스도사용권.
답변1
debhelper
NLS 없이 빌드하는 것이 가능합니다 po4a
. 이는 필수가 아닙니다.https://bugs.debian.org/709557더 알아보기. 소스 코드가 있으면 다음을 debhelper
실행할 수 있습니다.
USE_NLS=no dpkg-buildpackage -d -b -uc
설치 가능하게 되면 .deb
이를 사용하여 빌드한 po4a
다음 debhelper
NLS로 다시 빌드할 수 있습니다.
이는 debhelper
패키지이므로 Architecture: all
새 아키텍처에 맞게 다시 빌드할 필요가 없으므로 다음에서 사용되지 않습니다.노력을 지도하다.