Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52199 - openswan won't unemerge
Summary: openswan won't unemerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-27 10:13 UTC by Bjarke Istrup Pedersen (RETIRED)
Modified: 2004-05-29 13:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (openswan-2.1.1.ebuild,3.02 KB, text/plain)
2004-05-29 04:51 UTC, Bjarke Istrup Pedersen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-05-27 10:13:49 UTC
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"
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2004-05-27 17:05:27 UTC
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
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-27 17:10:27 UTC
portage issue, my bad
Comment 3 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-05-27 22:01:00 UTC
Well, what is the error? I tried commenting out the line (it is an einfo line), that did not work.
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2004-05-28 15:56:49 UTC
It's probably an eclass called from within the ebuild...
Comment 5 Jay Pfeifer (RETIRED) gentoo-dev 2004-05-28 23:33:48 UTC
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
Comment 6 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-05-29 04:51:58 UTC
Created attachment 32241 [details]
ebuild

Here is the ebuild from /var/db/pkg
Comment 7 Jay Pfeifer (RETIRED) gentoo-dev 2004-05-29 08:04:13 UTC
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
Comment 8 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2004-05-29 13:36:58 UTC
thanks, that did the trick :)