Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46599 - cups fails to build due to bug in ebuild script
Summary: cups fails to build due to bug in ebuild script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-02 06:58 UTC by Friedhelm Hinrichs
Modified: 2004-04-26 02:57 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 Friedhelm Hinrichs 2004-04-02 06:58:50 UTC
When I try to emerge cups I get an error about an error in the ebuild script.

Reproducible: Always
Steps to Reproduce:
1. emerge cups
Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 1) net-print/cups-1.1.20 to /
/usr/sbin/ebuild.sh: /usr/portage/net-print/cups/cups-1.1.20.ebuild: line 117:
unexpected EOF while looking for matching `''
/usr/sbin/ebuild.sh: /usr/portage/net-print/cups/cups-1.1.20.ebuild: line 122:
syntax error: unexpected end of file
 
!!! ERROR: net-print/cups-1.1.20 failed.
!!! Function , Line 1291, Exitcode 1
!!! error sourcing ebuild


Expected Results:  
correct build without errors

The ebuild file contains the following line (around line 23):


DEPEND="${DEP}
	>=s"${DEPys-devel/autoconf-2.58"


the second line is corrupted. The extra  >>>"$DEP<<<  should better be romoved
again as it was in the previous version. The extra quote sign lets bash/sh eat
up almost everything until line 117, where it complains the error. That is
almost 100 lines later, wow.

Here the corrected lines (only the second line changed):


DEPEND="${DEP}
	>=sys-devel/autoconf-2.58"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-02 10:05:49 UTC
the ebuild is correct here, try to rsync again
Comment 2 Friedhelm Hinrichs 2004-04-03 01:06:17 UTC
I synced just a few minutes ago with the same result. Syncing is always done from rsync16.de.gentoo.org, as they provide some additional packages, like vdr.
Comment 3 Friedhelm Hinrichs 2004-04-03 01:08:35 UTC
Sorry, the function above does not belong to this. It was a copy & paste error.
Comment 4 Friedhelm Hinrichs 2004-04-03 01:12:13 UTC
Forget the last comment. My Buzilla display was garbled with output from another bug report.
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-08 03:44:15 UTC
so does it still fail?
Comment 6 Friedhelm Hinrichs 2004-04-15 23:58:27 UTC
Sorry for the late answer. I have been in holidays.

The bug is fixed with cups version 1.1.20-r1.

The cause for this bug seems to be the same as in bug 46600, I reported the same day. The mirroring process seems to have some problems or people at the mirroring site are changing files. This shouldn't happen. Especially the checksum and size information should be checked when files are transmitted.
Comment 7 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-26 02:57:19 UTC
ok