Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121183 - g-cpan -i IPTables::IPv4 fails
Summary: g-cpan -i IPTables::IPv4 fails
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard: g-cpan
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-01 07:45 UTC by Christoph Bussenius
Modified: 2006-04-14 08:49 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 Christoph Bussenius 2006-02-01 07:45:38 UTC
I tried to install the Perl module IPTables::IPv4 with g-cpan.
It failed with the following errors:

Installing modules in /usr/lib/IPTables-IPv4:
install -d -m 755 /usr/lib/IPTables-IPv4
ACCESS DENIED  mkdir:     /usr/lib/IPTables-IPv4
install: cannot create directory `/usr/lib/IPTables-IPv4': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/var/tmp/portage/IPTables-IPv4-0.98/work/IPTables-IPv4-0.98/modules'
make: *** [install] Error 2

!!! ERROR: perl-gcpan/IPTables-IPv4-0.98 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_install
  ebuild.sh, line 1037:   Called src_install
  ebuild.sh, line 1609:   Called perl-module_src_install



I used g-cpan-0.13.02.

# emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15 i686)
=================================================================
System uname: 2.6.15 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.0_pre15
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=pentium-m -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -fomit-frame-pointer -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://opaque/pub/gentoo ftp://ftp.leo.org/mirrors/gentoo ftp://ftp.uni-erlangen.de/mirrors/gentoo"
LC_ALL="en_US.ISO8859-1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa arts asf audiofile avi avifile bash-completion berkdb bitmap-fonts browserplugin bzip2 caps cdr crypt cscope cups curl dga dhcp dio directfb dri dvb dvd dvdr dvdread emboss encode esd examples fbcon firefox foomaticdb ftp gdbm ggi gif gmp gpm gs gstreamer gtk gtk2 icq imagemagick imap imlib ipv6 jabber jpeg libcaca libg++ libwww live logrotate lzo mad maildir mbox mikmod mime mmx mmxext motif mozsvg mp3 mpeg msn nas ncurses netboot nsplugin offensive ogg oggvorbis opengl oss pam pdflib perl png pop posix qt quicktime readline real rtc ruby sdl smime sockets socks5 sox speex spell sqlite sse sse2 ssl svga tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales vidix vim-with-x vorbis wifi win32codecs wmf xanim xine xinerama xml2 xmms xpm xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2006-04-14 08:49:36 UTC
Unfortunately, this will have to be a case of can't fix. The problem looks to be a bad makefile upstream (doesn't except PREFIX or DESTDIR based on your results), and there isn't much we can do in g-cpan to patch a file on the fly for that. Sorry,

~mcummings