Hey,

I have also tried the build steps for the docker stuff:

1. *git clone https://github.com/ansible/ansible.git*
2.* cd ansible*
3. *docker build -t ansible-deb-builder -f packaging/debian/Dockerfile .*
4. *docker run --privileged -e DEB_DIST='xenial' -v $(pwd):/ansible 
ansible-deb-builder*


Resulting in another error:

...(retrieving lots of stuff, some fails)
*I: Retrieving zlib1g 1:1.2.8.dfsg-2ubuntu4*
*I: Validating zlib1g 1:1.2.8.dfsg-2ubuntu4*
*E: Couldn't download packages: debianutils diffutils dpkg dpkg-dev 
e2fslibs e2fsprogs findutils g++ g++-5 gnupg gpgv grep gzip initscripts 
libacl1 libatomic1 libdpkg-perl libgcc1 libgcrypt20 libgdbm3 libisl15 
liblsan0 liblz4-1 libmpx0 libncurses5 libncursesw5 libperl5.22 libquadmath0 
libsemanage-common login make makedev mawk ncurses-bin perl sensible-utils 
systemd sysv-rc tzdata util-linux*
*E: debootstrap failed*
*W: Aborting with an error*
*I: cleaning the build env *
*I: removing directory /var/cache/pbuilder/build/369 and its subdirectories*
*W: /root/.pbuilderrc does not exist*
*I: Current time: Fri Mar  9 13:53:36 UTC 2018*
*I: pbuilder-time-stamp: 1520603616*
*I: Building the build Environment*
*I: extracting base tarball [/var/cache/pbuilder/xenial-amd64-base.tgz]*

*gzip: stdin: unexpected end of file*
*tar: Child returned status 1*
*tar: Error is not recoverable: exiting now*
*E: failed to extract /var/cache/pbuilder/xenial-amd64-base.tgz to 
/var/cache/pbuilder/build/3546*
*W: /root/.pbuilderrc does not exist*
*I: using fakeroot in build.*
*I: pbuilder: network access will be disabled during build*
*I: Current time: Fri Mar  9 13:53:36 UTC 2018*
*I: pbuilder-time-stamp: 1520603616*
*I: Building the build Environment*
*I: extracting base tarball [/var/cache/pbuilder/xenial-amd64-base.tgz]*

*gzip: stdin: unexpected end of file*
*tar: Child returned status 1*
*tar: Error is not recoverable: exiting now*
*E: failed to extract /var/cache/pbuilder/xenial-amd64-base.tgz to 
/var/cache/pbuilder/build/3563*
*Makefile:288: recipe for target 'deb' failed*
*make: *** [deb] Error 1*


What can I do? Should I reinstall my OS?


Am Freitag, 9. März 2018 10:19:50 UTC+1 schrieb Keltik85:
>
> Hey Thanks. Now here comes yet another stupid question.
>
>
> Thanks to your hint to the file *packaging/debian/control *I have found 
> the *README.md* file in the same folder.
>
> I have proceded like its written there:
>
>
> 1.* apt-get install asciidoc cdbs debootstrap devscripts make pbuilder 
> python-setuptools*
> 2. *git clone https://github.com/ansible/ansible.git 
> <https://github.com/ansible/ansible.git>*
> 3. *cd ansible*
> 4.* sudo su*
> 5. *DEB_DIST='xenial trusty precise' make deb*
>
>
> Now I get this error:
>
> *...*
> *dpkg-source: info: building ansible in 
> ansible_2.6.0-100.git201802270732.60a24bb.devel~precise.dsc*
> * dpkg-genchanges -S 
> >../ansible_2.6.0-100.git201802270732.60a24bb.devel~precise_source.changes*
> *dpkg-genchanges: including full source code in upload*
> * dpkg-source -I --after-build ansible-2.6.0*
> *dpkg-buildpackage: source-only upload: Debian-native package*
> *Now running lintian...*
> *warning: the authors of lintian do not recommend running it with root 
> privileges!*
> *W: ansible source: native-package-with-dash-version*
> *E: ansible source: source-is-missing docs/docsite/_static/jquery.js line 
> length is 517 characters (>512)*
> *E: ansible source: source-is-missing docs/docsite/_static/underscore.js 
> line length is 530 characters (>512)*
> *E: ansible source: source-is-missing 
> docs/docsite/_themes/sphinx_rtd_theme/static/js/modernizr.min.js*
> *E: ansible source: source-is-missing 
> docs/docsite/_themes/sphinx_rtd_theme/static/js/theme.js line length is 
> 4287 characters (>512)*
> *W: ansible source: debian-revision-not-well-formed 
> 2.6.0-100.git201802270732.60a24bb.devel~precise*
> *W: ansible source: binary-nmu-debian-revision-in-source 
> 2.6.0-100.git201802270732.60a24bb.devel~precise*
> *W: ansible source: ancient-standards-version 3.9.3 (current is 3.9.7)*
> *Finished running lintian.*
> *#############################################*
> *Ansible DEB artifacts:*
>
> *deb-build/xenial/ansible_2.6.0-100.git201802270732.60a24bb.devel~xenial_source.changes*
>
> *deb-build/trusty/ansible_2.6.0-100.git201802270732.60a24bb.devel~trusty_source.changes*
>
> *deb-build/precise/ansible_2.6.0-100.git201802270732.60a24bb.devel~precise_source.changes*
> *#############################################*
> *W: /root/.pbuilderrc does not exist*
> *I: Distribution is xenial.*
> *I: Current time: Fri Mar  9 10:12:12 CET 2018*
> *I: pbuilder-time-stamp: 1520586732*
> *I: Building the build environment*
> *I: running debootstrap*
> */usr/sbin/debootstrap*
> *I: Retrieving InRelease *
> *I: Checking Release signature*
> *E: Release signed by unknown key (key id 87BB07B4C99E40E1)*
> *E: debootstrap failed*
> *W: Aborting with an error*
> *I: cleaning the build env *
> *I: removing directory /var/cache/pbuilder/build/17513 and its 
> subdirectories*
> *W: /root/.pbuilderrc does not exist*
> *I: Current time: Fri Mar  9 10:12:12 CET 2018*
> *I: pbuilder-time-stamp: 1520586732*
> *I: Building the build Environment*
> *I: extracting base tarball [/var/cache/pbuilder/xenial-amd64-base.tgz]*
>
> *gzip: stdin: unexpected end of file*
> *tar: Child returned status 1*
> *tar: Error is not recoverable: exiting now*
> *E: failed to extract /var/cache/pbuilder/xenial-amd64-base.tgz to 
> /var/cache/pbuilder/build/17588*
> *W: /root/.pbuilderrc does not exist*
> *I: using fakeroot in build.*
> *I: pbuilder: network access will be disabled during build*
> *I: Current time: Fri Mar  9 10:12:12 CET 2018*
> *I: pbuilder-time-stamp: 1520586732*
> *I: Building the build Environment*
> *I: extracting base tarball [/var/cache/pbuilder/xenial-amd64-base.tgz]*
>
> *gzip: stdin: unexpected end of file*
> *tar: Child returned status 1*
> *tar: Error is not recoverable: exiting now*
> *E: failed to extract /var/cache/pbuilder/xenial-amd64-base.tgz to 
> /var/cache/pbuilder/build/17605*
> *W: /root/.pbuilderrc does not exist*
> *I: Distribution is trusty.*
> *I: Current time: Fri Mar  9 10:12:12 CET 2018*
> *I: pbuilder-time-stamp: 1520586732*
> *I: Building the build environment*
> *I: running debootstrap*
> */usr/sbin/debootstrap*
> *I: Retrieving InRelease *
> *I: Checking Release signature*
> *E: Release signed by unknown key (key id 87BB07B4C99E40E1)*
> *E: debootstrap failed*
> *W: Aborting with an error*
> *I: cleaning the build env *
> *I: removing directory /var/cache/pbuilder/build/17625 and its 
> subdirectories*
> *W: /root/.pbuilderrc does not exist*
> *I: Current time: Fri Mar  9 10:12:12 CET 2018*
> *I: pbuilder-time-stamp: 1520586732*
> *I: Building the build Environment*
> *I: extracting base tarball [/var/cache/pbuilder/trusty-amd64-base.tgz]*
>
> *gzip: stdin: unexpected end of file*
> *tar: Child returned status 1*
> *tar: Error is not recoverable: exiting now*
> *E: failed to extract /var/cache/pbuilder/trusty-amd64-base.tgz to 
> /var/cache/pbuilder/build/17701*
> *W: /root/.pbuilderrc does not exist*
> *I: using fakeroot in build.*
> *I: pbuilder: network access will be disabled during build*
> *I: Current time: Fri Mar  9 10:12:12 CET 2018*
> *I: pbuilder-time-stamp: 1520586732*
> *I: Building the build Environment*
> *I: extracting base tarball [/var/cache/pbuilder/trusty-amd64-base.tgz]*
>
> *gzip: stdin: unexpected end of file*
> *tar: Child returned status 1*
> *tar: Error is not recoverable: exiting now*
> *E: failed to extract /var/cache/pbuilder/trusty-amd64-base.tgz to 
> /var/cache/pbuilder/build/17718*
> *W: /root/.pbuilderrc does not exist*
> *I: Distribution is precise.*
> *I: Current time: Fri Mar  9 10:12:12 CET 2018*
> *I: pbuilder-time-stamp: 1520586732*
> *I: Building the build environment*
> *I: running debootstrap*
> */usr/sbin/debootstrap*
> *I: Retrieving InRelease *
> *I: Checking Release signature*
> *E: Release signed by unknown key (key id 87BB07B4C99E40E1)*
> *E: debootstrap failed*
> *W: Aborting with an error*
> *I: cleaning the build env *
> *I: removing directory /var/cache/pbuilder/build/17738 and its 
> subdirectories*
> *W: /root/.pbuilderrc does not exist*
> *I: Current time: Fri Mar  9 10:12:12 CET 2018*
> *I: pbuilder-time-stamp: 1520586732*
> *I: Building the build Environment*
> *I: extracting base tarball [/var/cache/pbuilder/precise-amd64-base.tgz]*
>
> *gzip: stdin: unexpected end of file*
> *tar: Child returned status 1*
> *tar: Error is not recoverable: exiting now*
> *E: failed to extract /var/cache/pbuilder/precise-amd64-base.tgz to 
> /var/cache/pbuilder/build/17814*
> *W: /root/.pbuilderrc does not exist*
> *I: using fakeroot in build.*
> *I: pbuilder: network access will be disabled during build*
> *I: Current time: Fri Mar  9 10:12:12 CET 2018*
> *I: pbuilder-time-stamp: 1520586732*
> *I: Building the build Environment*
> *I: extracting base tarball [/var/cache/pbuilder/precise-amd64-base.tgz]*
>
> *gzip: stdin: unexpected end of file*
> *tar: Child returned status 1*
> *tar: Error is not recoverable: exiting now*
> *E: failed to extract /var/cache/pbuilder/precise-amd64-base.tgz to 
> /var/cache/pbuilder/build/17831*
> *Makefile:288: recipe for target 'deb' failed*
> *make: *** [deb] Error 1*
>
>
> I know I am repeating myself, but sorry for the stupid question and i am 
> looking forward to any replies that help me.
>
> Am Donnerstag, 8. März 2018 19:57:34 UTC+1 schrieb Kai Stian Olstad:
>>
>> On Thursday, 8 March 2018 16.14.18 CET Keltik85 wrote: 
>> > first thanks for your answer and sorry again for the next stupid 
>> question. 
>> > 
>> > Ok I installed this stuff here: 
>> > 
>> > *sudo apt-get install -y asciidoc libxslt1-dev docbook-xsl xsltproc 
>> > libxml2-utils devscripts* 
>>
>> You need to check the line Build-Depends: in file 
>> packaging/debian/control and install the requirement listed there. 
>>
>>
>> -- 
>> Kai Stian Olstad 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to