Comment 8 for bug 1633613

Revision history for this message
Horacio DurĂ¡n (hduran-8) wrote :

Not directly reproduceable anymore (It did use go 1.7.2 from my current go env)
The error I see is while trying to chown stuff, perhaps it was related to that? (I upgraded the machine since then so snapcraft version most likely changed too)

Setting up part 'caddy' with plugin 'go' and properties {'stage': [], 'go-importpath': 'github.com/mholt/caddy', 'source': 'https://github.com/mholt/caddy', 'source-type': 'git', 'snap': ['bin/caddy']}.
Preparing to pull caddy
Pulling caddy
Cloning into '/tmp/testsnapcraft/parts/caddy/src'...
remote: Counting objects: 9074, done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 9074 (delta 0), reused 0 (delta 0), pack-reused 9068
Receiving objects: 100% (9074/9074), 2.24 MiB | 142.00 KiB/s, done.
Resolving deltas: 100% (6000/6000), done.
Checking connectivity... done.
go get -t -d ./github.com/mholt/caddy/...
Preparing to build caddy
Building caddy
go install ./github.com/mholt/caddy/...
Staging caddy
Priming caddy
Getting dependencies for b'/tmp/testsnapcraft/prime/bin/caddy'
No libraries to exclude from this release
Unable to chown /tmp/testsnapcraft/prime/lib/x86_64-linux-gnu: [Errno 1] Operation not permitted: '/tmp/testsnapcraft/prime/lib/x86_64-linux-gnu'
Unable to chown /tmp/testsnapcraft/prime/lib/x86_64-linux-gnu: [Errno 1] Operation not permitted: '/tmp/testsnapcraft/prime/lib/x86_64-linux-gnu'
Unable to chown /tmp/testsnapcraft/prime/lib/x86_64-linux-gnu/libpthread.so.0: [Errno 1] Operation not permitted: '/tmp/testsnapcraft/prime/lib/x86_64-linux-gnu/libpthread.so.0'
Unable to chown /tmp/testsnapcraft/prime/lib/x86_64-linux-gnu: [Errno 1] Operation not permitted: '/tmp/testsnapcraft/prime/lib/x86_64-linux-gnu'
Unable to chown /tmp/testsnapcraft/prime/lib/x86_64-linux-gnu/libc.so.6: [Errno 1] Operation not permitted: '/tmp/testsnapcraft/prime/lib/x86_64-linux-gnu/libc.so.6'
Snapping 'caddy' -
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on caddy_0.9.3_amd64.snap, block size 131072.
[===============================================================/] 137/137 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
 compressed data, compressed metadata, compressed fragments, no xattrs
 duplicates are removed
Filesystem size 4625.56 Kbytes (4.52 Mbytes)
 27.12% of uncompressed filesystem size (17054.05 Kbytes)
Inode table size 514 bytes (0.50 Kbytes)
 59.63% of uncompressed inode table size (862 bytes)
Directory table size 214 bytes (0.21 Kbytes)
 97.72% of uncompressed directory table size (219 bytes)
Number of duplicate files found 0
Number of inodes 10
Number of files 5
Number of fragments 1
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 5
Number of ids (unique uids + gids) 1
Number of uids 1
 root (0)
Number of gids 1
 root (0)

Snapped caddy_0.9.3_amd64.snap