`emerge xprint-009` failed on my system when it tried to exec a file in the /tmp directory. My system (and many others) have /tmp mounted with the noexec option as a security measure. Remounting /tmp with the exec option allows the ebuild to complete. Reproducible: Always Steps to Reproduce: 1.emerge xprint-009 2. 3. Actual Results: cd ./config/imake && make -f Makefile.ini BOOTSTRAPCFLAGS="" clean make[1]: Entering directory `/var/tmp/portage/xprint-009/work/xprint/src/xprint_main/xc/config/imake' rm -f ccimake imake.o imake rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log \#* rm -f -r Makefile.proto Makefile Makefile.dep bootstrap make[1]: Leaving directory `/var/tmp/portage/xprint-009/work/xprint/src/xprint_main/xc/config/imake' make Makefile.boot make[1]: Entering directory `/var/tmp/portage/xprint-009/work/xprint/src/xprint_main/xc' cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" make[2]: Entering directory `/var/tmp/portage/xprint-009/work/xprint/src/xprint_main/xc/config/imake' making imake with BOOTSTRAPCFLAGS= in config/imake cc -o ccimake -O -I../../include -I../../imports/x11/include/X11 ccimake.c cc -c -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c cc -o imake imake.o imake.o(.text+0xeab): In function `get_libc_version': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' imake.o(.text+0x75): In function `main': : warning: the use of `mktemp' is dangerous, better use `mkstemp' make[2]: Leaving directory `/var/tmp/portage/xprint-009/work/xprint/src/xprint_main/xc/config/imake' rm -f ./config/makedepend/Makefile.proto ./config/imake/imake -I./config/cf -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend sh: line 1: /tmp/file5iZOE3: Permission denied make[1]: *** [config/makedepend/Makefile.proto] Aborted make[1]: *** Deleting file `config/makedepend/Makefile.proto' make[1]: Leaving directory `/var/tmp/portage/xprint-009/work/xprint/src/xprint_main/xc' make: *** [World] Error 2 !!! ERROR: net-print/xprint-009 failed. !!! Function src_compile, Line 21, Exitcode 2 !!! (no error message)
use the xprint from xorg-x11, net-print/xprint will soon be removed
How do I use the xprint from xorg-x11? The executable '/usr/X11R6/bin/Xprt' exists on my system, but there is no script in '/etc/init.d' and no manpage or documentation on xprint (even though xorg-x11 was emerged with "USE=doc"). I am completely new to xprint; I was hoping to use it to solve some printing problems with mozilla-firefox.
good question, please open a new bug and assigne it to x11@gentoo.org
Submitted bug 64990. Thanks.