Created attachment 369388 [details] emerge info The quake2-data-3.20.ebuild Dies with * dodoc: /run/media/michael/Quake2/Docs/* does not exist * doins: /run/media/michael/Quake2/setup/Data/baseq2/pak0.pak does not exist While I am unable to confirm this I believe portage simply dose not have any access to /dev/sr0 when it is mounted or auto-mounted as a normal user. It dose not matter if I let the emerge process try to find the CD or if I use the "export CD_ROOT=". I fails to find the required files. I was able to work around the problem by creating, as my user, the necessary directories on a drive partition and then copying the entire Game CD to the new location. Then the "export CD_ROOT=" worked and portage found the files and the ebuild completed as expected. This defeats the purpose of ebuilds? I have attempted to locate the exact cause of the problem. See the forum topic http://forums.gentoo.org/viewtopic.php?p=7483634#7483634 for in depth details. It appears that udisks, polkit and gvfs or some combination of these may set very restrictive policies on user mounts. It might be better to have IUSE="cdinstall" set in the ebuild giving folks the option of using the Interactive mode or copying the files manually. Maintance, updates and rebuilds would be a lot easier.
please attach the full build.log, and post the output of `mount`
Created attachment 382288 [details] quake2-data-3.20 build log
Output of mount # mount rootfs on / type rootfs (rw) /dev/sda3 on / type ext4 (rw,noatime,commit=0) devtmpfs on /dev type devtmpfs (rw,relatime,size=16418500k,nr_inodes=4104625,mode=755) proc on /proc type proc (rw,relatime) tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,size=3290512k,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime) /dev/sdb2 on /mnt/windows type ntfs (ro,umask=022) /dev/sdc1 on /home/backup type ext3 (rw,noatime,noexec,nosuid,nodev,commit=0,user) /dev/sdd1 on /home/shared type ext4 (rw,noatime,noexec,nosuid,nodev,commit=0,user) binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nodev,noexec,nosuid) /dev/sr0 on /media/Quake2 type iso9660 (ro,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks2) For kicks I inserted the Quake2 CD before running 'mount' I have changed the default udisks mount directory from /run/media/user?/some-directory/ to /media/some-directory, but it should not matter where it is mounted as long as the "export CD_ROOT=" is correct.