Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19208 - can't emerge shorewall-1.4.1a
Summary: can't emerge shorewall-1.4.1a
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-12 11:43 UTC by Dietrich Heise
Modified: 2003-04-21 18:30 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 Dietrich Heise 2003-04-12 11:43:57 UTC
>>> emerge (1 of 1) net-firewall/shorewall-1.4.1a to /
>>> md5 ;-) shorewall-1.4.1a.tgz
>>> Unpacking source...
>>> Unpacking shorewall-1.4.1a.tgz to /var/tmp/portage/shorewall-1.4.1a/work
>>> Source unpacked.

>>> Install shorewall-1.4.1a into /var/tmp/portage/shorewall-1.4.1a/image/
category net-firewall
Installing Shorewall Version 1.4.1a

Shorewall control program installed in
/var/tmp/portage/shorewall-1.4.1a/image//sbin/shorewall
install: cannot create regular file
`/var/tmp/portage/shorewall-1.4.1a/image//etc/rc.d/init.d/shorewall': No such
file or directory

ERROR: Failed to install -o root -g root -m 0544 init.sh
/var/tmp/portage/shorewall-1.4.1a/image//etc/rc.d/init.d/shorewall

!!! ERROR: net-firewall/shorewall-1.4.1a failed.
!!! Function src_install, Line 22, Exitcode 1
!!! (no error message)

didi root # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) XP 1800+
GENTOO_MIRRORS=" http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/
http://ftp.easynet.nl/mirror/gentoo// ftp://ftp.easynet.nl/mirror/gentoo//
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config /opt/quake3/cpma/server.cfg"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 apm avi crypt cups encode jpeg libg++ mikmod mpeg ncurses nls pdflib
png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang
readline arts tetex aalib bonobo svga tcltk mysql gpm tcpd pam esd imlib
oggvorbis qt opengl mozilla gphoto2 snmp cdr -java ncures X alsa -motif kde
3dnow sdl perl python guile ruby libwww ssl gtk mmx ogg vorbis oss gif gnome gpg gd"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
FEATURES="sandbox ccache"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-14 14:49:08 UTC
just added 1.4.2

i don'T know why it want's to install to /etc/rc.d/init.d instead of /etc/init.d
Comment 2 Dietrich Heise 2003-04-15 07:04:43 UTC
same as above,

but I looked in the ebuild, if you change:

src_install () {
    dodir /etc/init.d /var/state
    PREFIX=${D} ./install.sh || die

to:

src_install () {
    dodir /etc/init.d /var/state
    PREFIX=${D} ./install.sh /etc/init.d || die

all will work, look in the install.sh file line 35! ;)
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-04-15 07:15:39 UTC
i don't know what you are using, but it's not gentoo as base distro

there's no /etc/rc.d, only /etc/init.d
Comment 4 Dietrich Heise 2003-04-15 07:41:23 UTC
you are right there is only a:
/etc/init.d in gentoo to install the shorewall start/stop scripts there
one line in the ebuild must changed to:

PREFIX=${D} ./install.sh /etc/init.d || die

it is now:
PREFIX=${D} ./install.sh || die
with this the shorewall try to install to /etc/rc.d/init.d what is not
good for gentoo ;)

I hope you understand me ;)
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-04-20 15:49:02 UTC
closing with comment #3
Comment 6 Dietrich Heise 2003-04-21 13:52:20 UTC
I know, why my shorewall try to install in /etc/rc.d/init.d

the win4lin ebuild create the /etc/rc.d/ and links the files from there to /etc/init.d !

but I don't know if the bug is know in win4lin or in shorewall, but all who has installed win4lin before shorewall will have the same problems!
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-04-21 14:02:13 UTC
not a distcc/ccache problem

i'll fix this asap
Comment 8 Martin Holzer (RETIRED) gentoo-dev 2003-04-21 18:30:42 UTC
fixed in cvs