The GNU autoconf "configure" script for media-video/dvdstyler-1.5.1 attempts to detect the "growisofs" program, provided by dvd+rw-tools, by executing it. However, growisofs is installed with execute permission only for root and the 'cdrw' group. Therefore, when emerged with sandbox user privileges, the configure script fails with the following message, even though /usr/bin/growisofs exists:
checking for dvdauthor... /usr/bin/dvdauthor
checking for mplex... /usr/bin/mplex
checking for jpegtopnm... /usr/bin/jpegtopnm
checking for mpgtx... /usr/bin/mpgtx
checking for mkisofs... /usr/bin/mkisofs
checking for growisofs... no
DVDStyler requires growisofs (dvd+rw-tools).
Please check that growisofs is in path.
A workaround is to temporarily change /usr/bin/growisofs to mode 755, emerge dvdstyler, then change /usr/bin/growisfs back to 750. I think that emerging with FEATURES=-usersandbox might do it too, but I did not try this.
You only get such messed up permissions when you use k3bsetup or similar stuff... Don't do it.
$ ls -la /usr/bin/growisofs
-rwxr-xr-x 1 root root 83696 2007-08-20 09:47 /usr/bin/growisofs