Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 418051 - =games-strategy/wargus-2.2.6-r1 does not compile with FEATURES="sandbox"
Summary: =games-strategy/wargus-2.2.6-r1 does not compile with FEATURES="sandbox"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL: https://www.xiph.org/paranoia/trouble...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-28 20:50 UTC by Julian Ospald
Modified: 2012-06-01 20:22 UTC (History)
0 users

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


Attachments
wargus-2.2.6-r1.ebuild.diff (wargus-2.2.6-r1.ebuild.diff,1.54 KB, patch)
2012-05-28 20:50 UTC, Julian Ospald
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2012-05-28 20:50:30 UTC
Created attachment 313439 [details, diff]
wargus-2.2.6-r1.ebuild.diff

cdparanoia needs write access on /dev/sr* to send commands to the drive

##########
[...]
Found CD-ROM device: /dev/sr0
cdparanoia III release 10.2 (September 11, 2008)

Using cdda library version: 10.2
Using paranoia library version: 10.2
Checking /dev/sr0 for cdrom...
	Testing /dev/sr0 for SCSI/MMC interface
ACCESS DENIED  open_wr:      /dev/sr0
		Could not access device /dev/sr0 to test for SG_IO support: Permission denied
		no SG_IO support for device: /dev/sr0
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sga exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
Error trying to open /dev/sgb exclusively (No such file or directory). retrying in 1 second.
		generic device: /dev/sg2
		ioctl device: /dev/sr0
ACCESS DENIED  open_wr:      /dev/sg2
		Could not open generic SCSI device /dev/sg2: Permission denied
	Testing /dev/sr0 for cooked ioctl() interface
		/dev/sr0 is not a cooked ioctl CDROM.
Done.
>>> Completed installing wargus-2.2.6-r1 into /var/tmp/portage/games-strategy/wargus-2.2.6-r1/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-19179.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /dev/sr0
A: /dev/sr0
R: /dev/sr0
C: cdparanoia -d /dev/sr0 -v -Q 

F: open_wr
S: deny
P: /dev/sg2
A: /dev/sg2
R: /dev/sg2
C: cdparanoia -d /dev/sr0 -v -Q 
--------------------------------------------------------------------------------
##########


proposal: move the wartool-lines from src_install to pkg_config and let the user run emerge --config manually.
Revbump not needed imo, because the user cannot install it at all with FEATURES="sandbox".
Comment 1 Julian Ospald 2012-06-01 20:22:30 UTC
+*wargus-2.2.6-r2 (01 Jun 2012)
+
+  01 Jun 2012; Julian Ospald <hasufell@gentoo.org> -wargus-2.2.6-r1.ebuild,
+  +wargus-2.2.6-r2.ebuild, +files/wargus-2.2.6-underlinking.patch:
+  revbump, fix underlinking, split wargus-data and fix sandbox violation wrt
+  #418051 and #419143

+*wargus-data-0 (01 Jun 2012)
+
+  01 Jun 2012; Julian Ospald <hasufell@gentoo.org> +wargus-data-0.ebuild,
+  +metadata.xml:
+  initial import, split from games-strategy/wargus