Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211853 - net-misc/strongswan-4.1.9: It assumes presence of /etc in DESTDIR
Summary: net-misc/strongswan-4.1.9: It assumes presence of /etc in DESTDIR
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lars Weiler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 23:33 UTC by Maciej Piechotka
Modified: 2008-03-30 09:54 UTC (History)
1 user (show)

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 Maciej Piechotka 2008-02-28 23:33:17 UTC
test -e "/var/tmp/portage/net-misc/strongswan-4.1.9/image/etc/ipsec.conf" || /usr/bin/install -c ipsec.conf /var/tmp/portage/net-misc/strongswan-4.1.9/image/etc/ipsec.conf
/usr/bin/install: cannot create regular file `/var/tmp/portage/net-misc/strongswan-4.1.9/image/etc/ipsec.conf': No such file or directory
make[3]: *** [install-exec-local] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-misc/strongswan-4.1.9/work/strongswan-4.1.9/src/starter'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-misc/strongswan-4.1.9/work/strongswan-4.1.9/src/starter'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-misc/strongswan-4.1.9/work/strongswan-4.1.9/src'
make: *** [install-recursive] Error 1


Reproducible: Always




Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r1, 2.6.24-zen3 i686)
=================================================================
System uname: 2.6.24-zen3 i686 Intel(R) Celeron(R) M processor 1.50GHz
Timestamp of tree: Thu, 28 Feb 2008 03:00:04 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -mfpmath=sse -pipe -momit-leaf-frame-pointer -ggdb -w -ftree-vectorize -ftree-loop-optimize"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--add-needed -Wl,--as-needed"
LINGUAS="en_GB en_US pl"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/gnome /usr/portage/local/layman/custom-kernels /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa applet attr avahi avalon bash-completion berkdb bitmap-fonts bittorrent boo browseplugin bzip2 cairo calendar caps cddb cdparanoia cdr cli context cracklib crypt cups curl curlwrappers d daap dbus deskbar devhelp disk-partition djvu dri dvd dvdnav dvdr dvdread eclipse eds emacs emboss encode esd evo evolution exif expat extra fam ffmpeg flac flash fortran fuse galago gcj gconf gd gdbm gdl gedit gif gimp glut gmail gmp gnome gnutls gpm gsf gstreamer gtk guile hal iconv idle imap inotify ipod iproute2 ipv6 isdnlog jabber java java5 jpeg jpeg2k jython kerberos keyring laptop latex libburn libffi libgda libnotify libsexy logrotate lucene mad madwifi maildir mhash midi mikmod mmap mmx mono mozilla mp3 mpeg mudflap mule musicbrainz nautilus ncurses network networkmanager nls nntp no-old-linux nptl nptlonly nsplugin ntpl ogg oggvorbis openal opengl openmp pam pango pbm pcmcia pcre pdf perl png policykit pop postgres pppd pulseaudio python qt3support quicktime readline reflection regex reiserfs resolvconf rhino ruby samba sbcl scanner sdl session soap sourceview spell spl sqlite sqlite3 sse sse2 ssh ssl subversion svg symlink syslog tcpd tetex theora threads threadsafe tiff timidity totem tracker trayicon truetype truetype-fonts type1-fonts unicode usb vim vorbis vte wifi wxwindows x86 xattr xcb xforms xhtml xml xml2 xorg xsl xulrunner xv zeroconf zlib" ALSA_CARDS="atiixp" ALSA_PCM_PLUGINS="null empty dmix dshare" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="panasonic" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US pl" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Norbert Marx 2008-02-29 23:44:23 UTC
This is a problem in the original sources. Please check for the install patch (ipsec-install-4.1.9.patch) is applied like in the following output:

>>> Emerging (1 of 1) net-misc/strongswan-4.1.11 to /
 * strongswan-4.1.11.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...    [ ok ]
 * checking ebuild checksums ;-) ...                            [ ok ]
 * checking auxfile checksums ;-) ...                           [ ok ]
 * checking miscfile checksums ;-) ...                          [ ok ]
 * checking strongswan-4.1.11.tar.bz2 ;-) ...                   [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.24-gentoo-r2/build
 * Found sources for kernel version:
 *     2.6.24-gentoo-r2
 * Linux kernel is version 2.6.24-gentoo-r2
 * This ebuild will set strongswan-4.1.11 to use 2.6 native IPsec (KAME).
>>> Unpacking source...
>>> Unpacking strongswan-4.1.11.tar.bz2 to /var/tmp/portage/net-misc/strongswan-4.1.11/work
 * Applying ipsec-install-4.1.11.patch ...          [ ok ]
>>> Source unpacked.
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2008-03-30 09:54:03 UTC
Fixed with strongswan-4.1.11