amazon-ecs-agent icon indicating copy to clipboard operation
amazon-ecs-agent copied to clipboard

Debian package

Open kixorz opened this issue 3 years ago • 0 comments

Summary

Debian packaging doesn't seem to work.

Description

Running make deb after a regular successful build producing a container image doesn't seem to work.

This is the error the step produces and fails on:

dpkg-source: error: cannot represent change to misc/pause-container/pause-image-tar-files/amazon-ecs-pause-amd64.tar: binary file contents changed
dpkg-source: error: add misc/pause-container/pause-image-tar-files/amazon-ecs-pause-amd64.tar in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: error: cannot represent change to misc/pause-container/pause-image-tar-files/amazon-ecs-pause-arm64.tar: binary file contents changed
dpkg-source: error: add misc/pause-container/pause-image-tar-files/amazon-ecs-pause-arm64.tar in debian/source/include-binaries if you want to store the modified binary in the debian tarball
dpkg-source: warning: executable mode 0775 of 'misc/volumes-test/docker-image' will not be represented in diff
dpkg-source: error: unrepresentable changes to source
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
make: *** [Makefile:463: .deb-done] Error 29

I have verified that the regular build produced a ./out/amazon-ecs-agent binary.

Expected Behavior

Running make deb should produce a Debian package.

Observed Behavior

Running make deb produces an error above.

kixorz avatar Oct 06 '22 21:10 kixorz