* [gentoo-user] error in gconf ebuild?
@ 2005-07-20 13:24 Jorge Almeida
2005-07-20 13:36 ` Mike Williams
0 siblings, 1 reply; 5+ messages in thread
From: Jorge Almeida @ 2005-07-20 13:24 UTC (permalink / raw
To: gentoo-user
I'm trying to unmerege gconf.
gnome-base/gconf
selected: 1.0.8-r3 2.2.0
protected: none
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 gnome-base/gconf-1.0.8-r3...
No package files given... Grabbing a set.
/usr/lib/portage/bin/ebuild.sh:
/var/db/pkg/gnome-base/gconf-1.0.8-r3/gconf-1.0.8-r3.ebuild:
line 34: unexpected EOF while looking for matching `"'
/usr/lib/portage/bin/ebuild.sh:
/var/db/pkg/gnome-base/gconf-1.0.8-r3/gconf-1.0.8-r3.ebuild:
line 71: syntax error: unexpected end of file
!!! ERROR: gnome-base/gconf-1.0.8-r3 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT
this status message.
!!! FAILED prerm: 1
I emerge sync'ed just a few moments before...
--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] error in gconf ebuild?
2005-07-20 13:24 [gentoo-user] error in gconf ebuild? Jorge Almeida
@ 2005-07-20 13:36 ` Mike Williams
2005-07-20 14:59 ` Holly Bostick
0 siblings, 1 reply; 5+ messages in thread
From: Mike Williams @ 2005-07-20 13:36 UTC (permalink / raw
To: gentoo-user
On Wednesday 20 July 2005 14:24, Jorge Almeida wrote:
> /usr/lib/portage/bin/ebuild.sh:
> /var/db/pkg/gnome-base/gconf-1.0.8-r3/gconf-1.0.8-r3.ebuild:
> line 34: unexpected EOF while looking for matching `"'
> /usr/lib/portage/bin/ebuild.sh:
> /var/db/pkg/gnome-base/gconf-1.0.8-r3/gconf-1.0.8-r3.ebuild:
> line 71: syntax error: unexpected end of file
Look at the path.
Look at the file and fix the "error", shouldn't be hard to spot.
No-one really knows how, why, or when this happens, but many people have had
this problem before.
--
Mike Williams
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] error in gconf ebuild?
2005-07-20 13:36 ` Mike Williams
@ 2005-07-20 14:59 ` Holly Bostick
2005-07-20 15:08 ` Mike Williams
0 siblings, 1 reply; 5+ messages in thread
From: Holly Bostick @ 2005-07-20 14:59 UTC (permalink / raw
To: gentoo-user
Mike Williams schreef:
> On Wednesday 20 July 2005 14:24, Jorge Almeida wrote:
>
>> /usr/lib/portage/bin/ebuild.sh:
>> /var/db/pkg/gnome-base/gconf-1.0.8-r3/gconf-1.0.8-r3.ebuild:
>> line 34: unexpected EOF while looking for matching `"'
>> /usr/lib/portage/bin/ebuild.sh:
>> /var/db/pkg/gnome-base/gconf-1.0.8-r3/gconf-1.0.8-r3.ebuild:
>> line 71: syntax error: unexpected end of file
>
>
> Look at the path.
> Look at the file and fix the "error", shouldn't be hard to spot.
>
> No-one really knows how, why, or when this happens, but many people have had
> this problem before.
>
As far as I know, "unexpected End Of File" generally means that a hard
return exists somewhere it shouldn't (a hard return is often interpreted
as the EOF).
In this case, however, it looks like somebody forgot to close their
quotes on line 34, and the file came to an end before Portage was able
to find the closing quote to complete whatever function was begun on
that line. Portage read through all the lines after the quotes were
opened, looking for the closing quote, and came to the perfectly
legitimate EOF on line 71 before finding it (because it's not there),
and so thinks that the EOF is 'unexpected' (because a function was not
completed with the closing quotes, thus was still open when the file ended).
So the likely solution is to look at line 34 and figure out where the
closing quote is supposed to be and add it, then try again (you might
have to re-digest the ebuild first).
HTH,
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] error in gconf ebuild?
2005-07-20 14:59 ` Holly Bostick
@ 2005-07-20 15:08 ` Mike Williams
2005-07-20 16:17 ` Jorge Almeida
0 siblings, 1 reply; 5+ messages in thread
From: Mike Williams @ 2005-07-20 15:08 UTC (permalink / raw
To: gentoo-user
On Wednesday 20 July 2005 15:59, Holly Bostick wrote:
> In this case, however, it looks like somebody forgot to close their
> quotes on line 34
[snip]
> So the likely solution is to look at line 34 and figure out where the
> closing quote is supposed to be and add it, then try again (you might
> have to re-digest the ebuild first).
Holly, the file portage was complaining about was the copy kept
in /var/db/pkg, along with the contents, environment info, etc.
It's the classic "bug" in portage where a " gets replaced with ^A or EOF.
--
Mike Williams
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] error in gconf ebuild?
2005-07-20 15:08 ` Mike Williams
@ 2005-07-20 16:17 ` Jorge Almeida
0 siblings, 0 replies; 5+ messages in thread
From: Jorge Almeida @ 2005-07-20 16:17 UTC (permalink / raw
To: gentoo-user
On Wed, 20 Jul 2005, Mike Williams wrote:
>
> It's the classic "bug" in portage where a " gets replaced with ^A or EOF.
>
Yes, there was a ^A. Unfortunately, I already deleted the directory in
/var/db/pkg, thus probably leaving my system with a multitude of orphan
files...
A pity that a "classic" bug keeps crawling.
Thanks for the reply.
--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-20 16:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-20 13:24 [gentoo-user] error in gconf ebuild? Jorge Almeida
2005-07-20 13:36 ` Mike Williams
2005-07-20 14:59 ` Holly Bostick
2005-07-20 15:08 ` Mike Williams
2005-07-20 16:17 ` Jorge Almeida
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox