Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94681 - sys-apps/gawk-3.1.4-r4 breaks OpenSWAN-2.3.1
Summary: sys-apps/gawk-3.1.4-r4 breaks OpenSWAN-2.3.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Jay Pfeifer (RETIRED)
URL:
Whiteboard:
Keywords:
: 104556 104848 105070 105133 107249 108572 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-31 14:53 UTC by Christophe Saout
Modified: 2005-11-27 23:52 UTC (History)
8 users (show)

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


Attachments
Patch the ipsec files to work with gawk (ipsec.patches,5.27 KB, patch)
2005-09-11 15:26 UTC, Thomas Bullinger
Details | Diff
openswan-2.3.0-gawk-default.patch (openswan-2.3.0-gawk-default.patch,8.32 KB, patch)
2005-09-13 10:19 UTC, Alin Năstac (RETIRED)
Details | Diff
openswan-2.4.3-gawk-default.patch (openswan-2.4.3-gawk-default.patch,6.39 KB, patch)
2005-11-19 06:42 UTC, Alin Năstac (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Saout 2005-05-31 14:53:44 UTC
The newer gawk-3.1.4-r4 ebuild breaks OpenSWAN (the older gawk-3.1.4-r4 here
works fine).

In particular, OpenSWAN prints out tons of syntax errors and I tracked it down
to the following construct:

gentoo:/home/user > gawk '{ default[""] = ""; }'
gawk:   ^ syntax error

Older gawk ebuilds are fine and gawk doesn't complain.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r1 (default-linux/x86/2005.0,
gcc-3.4.3-20050110-hardenednopie, glibc-2.3.5-r0, 2.6.12-rc1-cs2 i686)
=================================================================
System uname: 2.6.12-rc1-cs2 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16-r1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa apache2 apm avi berkdb bitmap-fonts crypt cups curl
devmap droproot emboss encode fam foomaticdb fortran gd gdbm gif gnome gpm gtk
gtk2 guile hardened idn imagemagick imap imlib ipv6 java jpeg junit kerberos
ldap libg++ libgda libwww mad maildir mikmod mmx motif mp3 mpeg mysql ncurses
nls nptl odbc oggvorbis opengl oss pam pdflib perl pic png postgres python qt
quicktime readline samba sdl slang snmp spell sse ssl tcpd tetex tiff truetype
truetype-fonts type1-fonts usb x86 xinerama xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-05-31 15:12:34 UTC
Jay: Could you add the herd alias to metadata.xml, please? It does not match the
herd name.
Comment 2 SpanKY gentoo-dev 2005-05-31 15:37:59 UTC
it's because we enabled switch functionality in gawk recently ...

i imagine 'default' is a reserved label for use inside a switch statement
Comment 3 Christophe Saout 2005-07-25 04:45:26 UTC
The OpenSWAN 2.4.0 developer release has renamed the variables so as soon as the
final version is out it should work again.

I'm sticking with an older gawk ebuild for now.
Comment 4 SpanKY gentoo-dev 2005-08-03 13:08:34 UTC
ok, we'll throw this back at openswan dev then
Comment 5 SpanKY gentoo-dev 2005-09-03 13:02:05 UTC
*** Bug 104556 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2005-09-04 21:36:53 UTC
*** Bug 104848 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-09-06 15:10:52 UTC
*** Bug 105070 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2005-09-07 04:02:28 UTC
*** Bug 105133 has been marked as a duplicate of this bug. ***
Comment 9 Thomas Bullinger 2005-09-11 15:26:19 UTC
Created attachment 68200 [details, diff]
Patch the ipsec files to work with gawk

This is not a proper patch for the "files" section of openswan, but it works
after the packages is built and installed.
Comment 10 Alin Năstac (RETIRED) gentoo-dev 2005-09-13 10:19:02 UTC
Created attachment 68372 [details, diff]
openswan-2.3.0-gawk-default.patch

this patch is against openswan-2.3.0 source tree.

it was tested on x86, with sys-apps/gawk-3.1.4-r4
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2005-09-26 03:45:24 UTC
*** Bug 107249 has been marked as a duplicate of this bug. ***
Comment 12 SpanKY gentoo-dev 2005-10-09 02:15:36 UTC
*** Bug 108572 has been marked as a duplicate of this bug. ***
Comment 13 Greisberger Christophe 2005-11-17 07:27:21 UTC
Can you post the same patch for openswan-2.4.3? 
Thanks! 
Comment 14 Alin Năstac (RETIRED) gentoo-dev 2005-11-19 06:42:36 UTC
Created attachment 73178 [details, diff]
openswan-2.4.3-gawk-default.patch

This one is for openswan-2.4.3
Comment 15 Jay Pfeifer (RETIRED) gentoo-dev 2005-11-27 23:52:40 UTC
openswan-2.4.4 is now in portage and should be free from gawk this gawk issue.