Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664574 - app-emulation/containers-storage-0_pre20180730 : drivers/.../btrfs.go:8:10: fatal error: btrfs/ioctl.h: No such file or directory
Summary: app-emulation/containers-storage-0_pre20180730 : drivers/.../btrfs.go:8:10: f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-25 13:34 UTC by Toralf Förster
Modified: 2018-08-26 00:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.61 KB, text/plain)
2018-08-25 13:34 UTC, Toralf Förster
Details
app-emulation:containers-storage-0_pre20180730:20180825-115543.log (app-emulation:containers-storage-0_pre20180730:20180825-115543.log,14.08 KB, text/plain)
2018-08-25 13:34 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,191.51 KB, text/plain)
2018-08-25 13:34 UTC, Toralf Förster
Details
environment (environment,20.18 KB, text/plain)
2018-08-25 13:34 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.86 KB, application/x-bzip)
2018-08-25 13:34 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-08-25 13:34:26 UTC
go: disabling cache (/root/cache/go-build) due to initialization failure: mkdir /root/cache: permission denied
# github.com/containers/storage/drivers/btrfs
drivers/btrfs/btrfs.go:8:10: fatal error: btrfs/ioctl.h: No such file or directory
 #include <btrfs/ioctl.h>
          ^~~~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20180819-105812

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-emulation/containers-storage
[ebuild  N    ] app-emulation/containers-storage-0_pre20180730  USE="-ostree -test"
Comment 1 Toralf Förster gentoo-dev 2018-08-25 13:34:29 UTC
Created attachment 544980 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-25 13:34:33 UTC
Created attachment 544982 [details]
app-emulation:containers-storage-0_pre20180730:20180825-115543.log
Comment 3 Toralf Förster gentoo-dev 2018-08-25 13:34:35 UTC
Created attachment 544984 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-08-25 13:34:39 UTC
Created attachment 544986 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-08-25 13:34:42 UTC
Created attachment 544988 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-25 13:35:56 UTC
BTW is there a sandbox issue too?

>> mkdir /root/cache: permission denied
Comment 7 Larry the Git Cow gentoo-dev 2018-08-26 00:06:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c541f97435478b52bc632eeddd8c8911811cc838

commit c541f97435478b52bc632eeddd8c8911811cc838
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2018-08-25 23:42:07 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2018-08-26 00:06:42 +0000

    app-emulation/containers-storage: add btrfs dep (bug 664574)
    
    Add btrfs USE flag, and also a device-mapper USE flag.
    Use GOCACHE=off to hopefully avoid the reported /root/cache
    sandbox violation.
    
    Reported-by: Toralf Förster <toralf@gentoo.org>
    Closes: https://bugs.gentoo.org/664574
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 .../containers-storage-0_pre20180730.ebuild        | 28 +++++++++++++++-------
 app-emulation/containers-storage/metadata.xml      |  8 +++++++
 2 files changed, 28 insertions(+), 8 deletions(-)
Comment 8 Zac Medico gentoo-dev 2018-08-26 00:07:52 UTC
(In reply to Toralf Förster from comment #6)
> BTW is there a sandbox issue too?
> 
> >> mkdir /root/cache: permission denied

I was not able to reproduce this, but I've added a GOCACHE=off setting the hopefully solves it.