bootsplash-0.6-r3.ebuild fails with the following error: Calculating dependencies ...done! >>> emerge (1 of 1) media-gfx/bootsplash-0.6-r3 to / /usr/sbin/ebuild.sh: /usr/portage/media-gfx/bootsplash/bootsplash-0.6-r3.ebuild: line 123: syntax error: unexpected end of file !!! ERROR: media-gfx/bootsplash-0.6-r3 failed. !!! Function , Line 1238, Exitcode 1 !!! error sourcing ebuild This is due to a missing terminating '}' character at the end of the ebuild. Once replaced the ebuild fails again, this time with: >>> md5 src_uri ;-) bootsplash-0.6-r3.tar.bz2 >>> Unpacking source... >>> Unpacking bootsplash-0.6-r3.tar.bz2 to /var/tmp/portage/bootsplash-0.6-r3/work >>> Source unpacked. /usr/sbin/ebuild.sh: line 24: cd: /var/tmp/portage/bootsplash-0.6-r3/work/bootsplash-0.6-r3/utils/fbmtils/fbmngplay: No such file or directory make: *** No rule to make target `fbmngplay'. Stop. !!! ERROR: media-gfx/bootsplash-0.6-r3 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! (no error message) This error is due to the ebuild trying to access the fbmngplay component from utils/fbmtils/fbmngplay rather than the correct location which is utils/fbmngplay. Once this is corrected the ebuild builds correctly. Reproducible: Always Steps to Reproduce: 1.emerge bootsplash-0.6-r3 2. 3. Actual Results: bootsplash-0.6-r3.ebuild fails with the following error: Calculating dependencies ...done! >>> emerge (1 of 1) media-gfx/bootsplash-0.6-r3 to / /usr/sbin/ebuild.sh: /usr/portage/media-gfx/bootsplash/bootsplash-0.6-r3.ebuild: line 123: syntax error: unexpected end of file !!! ERROR: media-gfx/bootsplash-0.6-r3 failed. !!! Function , Line 1238, Exitcode 1 !!! error sourcing ebuild The following patch fixes the two errors in the ebuild: --- ./bootsplash-0.6-r3.ebuild 2004-01-14 20:43:17.000000000 +0000 +++ ./bootsplash-0.6-r4.ebuild 2004-01-14 20:43:58.000000000 +0000 @@ -21,7 +21,7 @@ # compile utils # the util builds but the rc scripts have not been modified # animated boot up require patches to the baselayout package - cd ${S}/utils/fbmtils/fbmngplay + cd ${S}/utils/fbmngplay emake fbmngplay || die cd ${S}/utils/fbtruetype @@ -119,4 +119,4 @@ einfo "framebuffer boot screens" einfo einfo "Ensure you make the appropriate changes to your grub.conf" - \ No newline at end of file +}
Created attachment 23808 [details, diff] Patch for bootsplash-0.6-r3.ebuild to fix two errors in the ebuild
TaD is on hiatus -- do we have anyone who can pick up bootsplash bugs? This is a dep of genkernel 3.x, so it's fairly important that someone who knows something about bootsplash pick this up soonish.
I'll work on it first thing tomorrow. I think I can take care of the other bootsplash bugs as well.
I've just checked bootsplash-0.6-r3 on cvs and it is fine ie: has a } at the end and the ${S}/utils/fbmngplay is correct (see http://www.gentoo.org/cgi-bin/viewcvs.cgi/media-gfx/bootsplash/bootsplash-0.6-r3.ebuild?rev=1.2&content-type=text/vnd.viewcvs-markup). Could you please try rsyncing from another mirror to see if maybe your local copy was corrupted.
I believe this is a rsync bug - a trailing newline at the end of the file after the last } in CVS could fix it permanently... not sure why it happens in the first place.
This is definitely a rsync issue. Could you tell us which rsync mirror were you using? (have a look at /var/log/emerge.log)
Sorry my emerge.log was deleted on friday. But I usually use the uk rsync mirror :)
Ok, I'm closing this as there does not seem to be anything more to fix or discuss.