java-hello-world example fails to snap on vivid: Operation not permitted: '/home/elopio/workspace/canonical/snapcraft/trunk/examples/java-hello-world/parts/local/install/sbin/mount.ntfs'

Bug #1511161 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Sergio Schvezov

Bug Description

When I tried to build the java-hello-world example on vivid, I got:

Failed doing pull for local: [Errno 1] Operation not permitted: '/home/elopio/workspace/canonical/snapcraft/trunk/examples/java-hello-world/parts/local/install/sbin/mount.ntfs'

To reproduce:
bzr branch lp:snapcraft
cd snapcraft/examples/java-hello-world
./../../bin/snapcraft assemble

DEPRECATED: Use "plugin" instead of "type"
DEPRECATED: plugin names ending in -project are deprecated. Using ant instead of ant-project
DEPRECATED: Use "plugin" instead of "type"
DEPRECATED: plugin names ending in -project are deprecated. Using make instead of make-project
Pulling wrapper
Building wrapper
make
make: Nothing to be done for 'all'.
make install DESTDIR=/home/elopio/workspace/canonical/snapcraft/trunk/examples/java-hello-world/parts/wrapper/install
install -d -m755 /home/elopio/workspace/canonical/snapcraft/trunk/examples/java-hello-world/parts/wrapper/install/bin/
install -m755 wrapper /home/elopio/workspace/canonical/snapcraft/trunk/examples/java-hello-world/parts/wrapper/install/bin/wrapper
Staging wrapper
Snapping wrapper
Pulling local
Hit http://security.ubuntu.com vivid-security InRelease
Hit http://archive.ubuntu.com vivid InRelease
Get:1 http://security.ubuntu.com vivid-security/main amd64 Packages [124 kB]
Hit http://archive.ubuntu.com vivid-updates InRelease
Get:2 http://security.ubuntu.com vivid-security/restricted amd64 Packages [10.4 kB]
Get:3 http://security.ubuntu.com vivid-security/universe amd64 Packages [58.0 kB]
Get:4 http://security.ubuntu.com vivid-security/multiverse amd64 Packages [5195 B]
Hit http://security.ubuntu.com vivid-security/main Translation-en
Hit http://security.ubuntu.com vivid-security/multiverse Translation-en
Hit http://security.ubuntu.com vivid-security/restricted Translation-en
Hit http://security.ubuntu.com vivid-security/universe Translation-en
Hit http://archive.ubuntu.com vivid/main amd64 Packages
Hit http://archive.ubuntu.com vivid/restricted amd64 Packages
Hit http://archive.ubuntu.com vivid/universe amd64 Packages
Hit http://archive.ubuntu.com vivid/multiverse amd64 Packages
Hit http://archive.ubuntu.com vivid/main Translation-en
Hit http://archive.ubuntu.com vivid/main Translation-eo
Hit http://archive.ubuntu.com vivid/multiverse Translation-en
Hit http://archive.ubuntu.com vivid/restricted Translation-en
Hit http://archive.ubuntu.com vivid/universe Translation-en
Hit http://archive.ubuntu.com vivid/universe Translation-eo
Hit http://archive.ubuntu.com vivid-updates/main amd64 Packages
Hit http://archive.ubuntu.com vivid-updates/restricted amd64 Packages
Hit http://archive.ubuntu.com vivid-updates/universe amd64 Packages
Hit http://archive.ubuntu.com vivid-updates/multiverse amd64 Packages
Hit http://archive.ubuntu.com vivid-updates/main Translation-en
Hit http://archive.ubuntu.com vivid-updates/multiverse Translation-en
Hit http://archive.ubuntu.com vivid-updates/restricted Translation-en
Hit http://archive.ubuntu.com vivid-updates/universe Translation-en
Fetched 198 kB in 6s (8317 kB/s)
Skipping blacklisted from manifest packages: ['adduser', 'apt', 'apt-utils', 'base-files', 'base-passwd', 'bash', 'bsdutils', 'coreutils', 'dash', 'debconf', 'debconf-i18n', 'debianutils', 'diffutils', 'dmsetup', 'dpkg', 'e2fslibs', 'e2fsprogs', 'file', 'findutils', 'gcc-4.9-base', 'gcc-5-base', 'gnupg', 'gpgv', 'grep', 'gzip', 'hostname', 'init', 'initscripts', 'insserv', 'libacl1', 'libapparmor1', 'libapt-inst1.5', 'libapt-pkg4.12', 'libattr1', 'libaudit-common', 'libaudit1', 'libblkid1', 'libbz2-1.0', 'libc-bin', 'libc6', 'libcap2', 'libcap2-bin', 'libcomerr2', 'libcryptsetup4', 'libdb5.3', 'libdebconfclient0', 'libdevmapper1.02.1', 'libgcc1', 'libgcrypt20', 'libgpg-error0', 'libgpm2', 'libkmod2', 'liblocale-gettext-perl', 'liblzma5', 'libmagic1', 'libmount1', 'libncurses5', 'libncursesw5', 'libpam-modules', 'libpam-modules-bin', 'libpam-runtime', 'libpam0g', 'libpcre3', 'libprocps3', 'libreadline6', 'libselinux1', 'libsemanage-common', 'libsemanage1', 'libsepol1', 'libslang2', 'libsmartcols1', 'libss2', 'libstdc++6', 'libsystemd0', 'libtext-charwidth-perl', 'libtext-iconv-perl', 'libtext-wrapi18n-perl', 'libtinfo5', 'libudev1', 'libusb-0.1-4', 'libustr-1.0-1', 'libuuid1', 'locales', 'login', 'lsb-base', 'makedev', 'manpages', 'manpages-dev', 'mawk', 'mount', 'multiarch-support', 'ncurses-base', 'ncurses-bin', 'passwd', 'perl-base', 'procps', 'readline-common', 'sed', 'sensible-utils', 'systemd', 'systemd-sysv', 'sysv-rc', 'sysvinit-utils', 'tar', 'tzdata', 'ubuntu-keyring', 'udev', 'util-linux', 'zlib1g']
Fetched 0 B in 0s (0 B/s)
Failed doing pull for local: [Errno 1] Operation not permitted: '/home/elopio/workspace/canonical/snapcraft/trunk/examples/java-hello-world/parts/local/install/sbin/mount.ntfs'

Related branches

Revision history for this message
Leo Arias (elopio) wrote :

I can't reproduce this bug in wily.

description: updated
Changed in snapcraft:
importance: Undecided → High
assignee: nobody → Sergio Schvezov (sergiusens)
milestone: none → 0.4
status: New → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Released in snapcraft 0.4

Changed in snapcraft:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.