Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62929 - shorewall-1.4.10b.ebuild: line 41: syntax error: unexpected end of file
Summary: shorewall-1.4.10b.ebuild: line 41: syntax error: unexpected end of file
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-05 08:49 UTC by Ian Brandt
Modified: 2004-09-05 12:17 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 Ian Brandt 2004-09-05 08:49:21 UTC
>>> Unmerging in: 5 4 3 2 1 /usr/sbin/ebuild.sh: /var/db/pkg/net-firewall/shorewall-1.4.10b/shorewall-1.4.10b.ebuild: line 39: unexpected EOF while looking for matching `"'
/usr/sbin/ebuild.sh: /var/db/pkg/net-firewall/shorewall-1.4.10b/shorewall-1.4.10b.ebuild: line 41: syntax error: unexpected end of file

!!! ERROR: net-firewall/shorewall-1.4.10b failed.
!!! Function , Line 1299, Exitcode 1
!!! error sourcing ebuild

!!! FAILED prerm: 1

>>> Unmerging net-firewall/shorewall-1.4.10b...
No package files given... Grabbing a set.


Reproducible: Always
Steps to Reproduce:
Comment 1 Ian Brandt 2004-09-05 08:50:48 UTC
Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.4.25_pre7-gss-r2)
=================================================================
System uname: 2.4.25_pre7-gss-r2 i686 AMD Athlon(tm) MP 1600+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-mp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-mp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib apache2 berkdb cjk crypt dga foomaticdb gd gdbm gif gpm gtk gtk2 imlib innodb java jikes jpeg jpg kde leim libg++ libwww mad mmx motif mozilla mule mysql ncurses nls opengl pam pdflib perl png postgres postgresql python qt qtmt readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype wmf x86 xml xml2 xv zlib"
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-09-05 10:57:12 UTC
This is a bug from a long time ago that I see popping up occasionally. If you can, try to edit /var/db/pkg/net-firewall/shorewall-1.4.10b/shorewall-1.4.10b.ebuild using your favorite text editor and look for some symbol in the place of where some quotation marks should be. If that doesn't work, backup that file and you can TRY this:

# cp /usr/portage/net-firewall/shorewall/shorewall-1.4.10f.ebuild /var/db/pkg/net-firewall/shorewall-1.4.10b/shorewall-1.4.10b.ebuild

though I've never tried the later method.
Comment 3 Jon Hood (RETIRED) gentoo-dev 2004-09-05 12:01:41 UTC
This happened to a few ebuilds a long time ago in portage from a bad rsync mirror (I think). The solution is to open up /var/db/pkg/net-firewall/shorewall-1.4.10b/shorewall-1.4.10b.ebuild in your text editor and change the (^A) symbols in there to quotation marks ("). Everything should work fine after that.
Comment 4 Ian Brandt 2004-09-05 12:17:38 UTC
That did it.  Thanks!