Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64553 - xprint-009 ebuild tries to exec file in /tmp
Summary: xprint-009 ebuild tries to exec file in /tmp
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-18 11:31 UTC by Rick Morra
Modified: 2004-09-22 10:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Morra 2004-09-18 11:31:33 UTC
`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)
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-22 06:04:16 UTC
use the xprint from xorg-x11, net-print/xprint will soon be removed
Comment 2 Rick Morra 2004-09-22 07:35:04 UTC
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.
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-22 07:40:35 UTC
good question, please open a new bug and assigne it to x11@gentoo.org
Comment 4 Rick Morra 2004-09-22 10:03:03 UTC
Submitted bug 64990. Thanks.