Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 25604
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Ahlberg (RETIRED) <aliz@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Steven Elling <ellingsw+20942@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
tcp-wrappers-7.6-r4.ebuild.patch Patch for tcp-wrappers-7.6-r4.ebuild patch Steven Elling 2003-07-30 20:18 0000 945 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 25604 depends on: Show dependency tree
Bug 25604 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-07-30 20:16 0000
If the -j option is added to MAKEOPTS without an argument, the build of
tcp-wrappers 
will fail with the error "No rule to make target cflags, needed by `tcpd.o`." 
This will 
probably effect most versions of tcp-wrappers but this is being reported for
7.6-r4. 

I also noticed the following error during the unpack phase: 
"/usr/sbin/ebuild.sh: line 32: Makefile: Permission denied" 

Reproducible: Always
Steps to Reproduce:
1. Add '-j' to MAKEOPTS without an argument. 
2. emerge tcp-wrappers 
Actual Results:  
setup 
unpack 
>>> Unpacking source... 
>>> Unpacking tcp_wrappers_7.6.tar.gz to /var/tmp/portage/tcp-wrappers-7.6-r4/work 
>>> Unpacking tcp-wrappers-7.6-r4-gentoo.tar.bz2 to 
/var/tmp/portage/tcp-wrappers-7.6-r4/work 
 * Applying tcp_wrappers_7.6-ipv6-1.6.diff... [ ok ] 
 * Applying tcp_wrappers_7.6-stdc.diff... [ ok ] 
 * Applying tcp_wrappers_7.6.diff... [ ok ] 
/usr/sbin/ebuild.sh: line 32: Makefile: Permission denied 
>>> Source unpacked. 
compile 
make[1]: Entering directory 
`/var/tmp/portage/tcp-wrappers-7.6-r4/work/tcp_wrappers_7.6' 
make[1]: *** No rule to make target `cflags', needed by `tcpd.o'.  Stop. 
make[1]: *** Waiting for unfinished jobs.... 
make[1]: *** Waiting for unfinished jobs.... 
make[1]: Leaving directory 
`/var/tmp/portage/tcp-wrappers-7.6-r4/work/tcp_wrappers_7.6' 
make: *** [linux] Error 2 

!!! ERROR: sys-apps/tcp-wrappers-7.6-r4 failed. 
!!! Function src_compile, Line 40, Exitcode 2 
!!! (no error message) 

Expected Results:  
The ebuild should be able to modify the Makefile and build / install
tcp-wrappers without 
errors. 

I've made changes to the ebuild to correct the "Makefile: Permission denied"
error and to 
allow the ebuild to work with the '-j' option in MAKEOPTS.  I have created a
patch againts 
'tcp-wrappers-7.6-r4.ebuild'.

------- Comment #1 From Steven Elling 2003-07-30 20:18:17 0000 -------
Created an attachment (id=15260) [details]
Patch for tcp-wrappers-7.6-r4.ebuild

------- Comment #2 From SpanKY 2003-07-30 20:29:24 0000 -------
(1) disable usersandbox/userpriv and try again 
(2) post `emerge info` 

------- Comment #3 From Steven Elling 2003-07-30 21:02:06 0000 -------
(1) disable usersandbox/userpriv and try again 
 
Disabling usersandbox/userpriv for one package is not acceptable to me and not needed in 
this case.  There is an easy fix as indicated in my patch (chmod ug+w Makefile). 
 
IMHO, all packages should build no matter what FEATURES are enabled. 
 
(2) post `emerge info` 
 
Irrelivant except for usersandbox/userpriv but here you go anyway: 
 
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 Mobile Pentium II 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/local/share/data/pub/linux/gentoo/distfiles" 
PKGDIR="/usr/local/share/data/pub/linux/gentoo/packages/pentium2" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="/usr/local/share/data/pub/linux/gentoo/portage" 
USE="x86 oss apm avi crypt foomaticdb gif jpeg libg++ libwww mad mmx mpeg ncurses 
pdflib png spell truetype xml2 xv zlib gdbm berkdb slang readline arts tcltk java X sdl gpm 
tcpd pam ssl perl python esd imlib oggvorbis qt kde motif opengl -3dnow cups dvd -encode 
fbcon -gnome gphoto2 gtk -mikmod -nls -quicktime svga threads -xmms pcmcia samba" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer" 
CXXFLAGS="-march=pentium2 -mmmx -O2 -pipe -fomit-frame-pointer" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j" 
AUTOCLEAN="yes" 
SYNC="rsync://my.network.server.hidden.name/gentoo-portage" 
FEATURES="ccache distcc userpriv sandbox" 

------- Comment #4 From Daniel Ahlberg (RETIRED) 2003-08-04 17:11:01 0000 -------
This should be fixed in tcp-wrappers-7.6-r6. If not, please reopen this bug.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug