Just updated openswan, this is the result of the cleaning of the old version it tries to do: net-misc/openswan selected: 2.1.1 protected: 2.1.2 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging net-misc/openswan-2.1.1... No package files given... Grabbing a set. /usr/sbin/ebuild.sh: /var/db/pkg/net-misc/openswan-2.1.1/openswan-2.1.1.ebuild: line 69: syntax error near unexpected token `(' /usr/sbin/ebuild.sh: /var/db/pkg/net-misc/openswan-2.1.1/openswan-2.1.1.ebuild: line 69: ` einfo "This ebuild will set ${P} to use 2.6 native IPsec (KAME)."' !!! ERROR: net-misc/openswan-2.1.1 failed. !!! Function , Line 1291, Exitcode 1 !!! error sourcing ebuild !!! FAILED prerm: 1 Reproducible: Always Steps to Reproduce: 1. emerge =openswan-2.1.1 2. enable AUTOCLEAN if it is disabled 3. emerge =openswan-2.1.2 Expected Results: Version 2.1.1 should have been removed :) Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.15 distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -mmmx -msse -mfpmath=sse,387 -Os -pipe -fomit-frame- pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share /config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acpi apm berkdb crypt foomaticdb gif innodb ipv6 java jpeg libwww mad mmx mysql ncurses nls nptl pam perl png python ruby samba sasl slang snmp socks5 sse ssl tcpd tiff x86 xml xml2 zlib"
this is not an openswan issue. something happened on line 69 of the ebuild stored in your /var/bd/pkg/ directory. edit /var/db/pkg/net-misc/openswan-2.1.1/openswan-2.1.1.ebuild fix the error on line 69 and retry. Jay
portage issue, my bad
Well, what is the error? I tried commenting out the line (it is an einfo line), that did not work.
It's probably an eclass called from within the ebuild...
Attach your /var/db/pkg/net-misc/openswan-2.1.1/openswan-2.1.1.ebuild to this bug. Not pasted as text, as an attachment so we can look @ it as is. Jay
Created attachment 32241 [details] ebuild Here is the ebuild from /var/db/pkg
The problem is line 16. Somehow the end of the line (right after iproute2) is a ^A and not a quote ("). Use vi or something and remote the ^A and replace it with a " That will solve your issue. Jay
thanks, that did the trick :)