Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455400 - net-fs/netatalk-3.0.2-r1: Fails at install phase due to systemd related typos in ebuild.
Summary: net-fs/netatalk-3.0.2-r1: Fails at install phase due to systemd related typos...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-02-04 10:03 UTC by Norman Rieß
Modified: 2013-02-05 07:44 UTC (History)
4 users (show)

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 Norman Rieß 2013-02-04 10:03:26 UTC
Netatalk fails to install with following message.

sed: Read error in distrib/initscripts: Is a directory
 * ERROR: net-fs/netatalk-3.0.2-r1 failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_install
 *   environment, line 3604:  Called die
 * The specific snippet of code:
 *       sed -e "s|:SBINDIR:|${EPREFIX}/usr/sbin|g" distrib/initscripts service.systemd.tmpl > "${T}"/service.systemd || die;
 * 


Reproducible: Always

Steps to Reproduce:
1. Emerge netatalk
2.
3.
Actual Results:  
Fails to install.

Expected Results:  
Clean install.
Comment 1 Lukas Elsner 2013-02-04 13:15:38 UTC
confirm
Comment 2 Emery Hemingway 2013-02-04 18:11:28 UTC
--- netatalk-3.0.2-r1.ebuild	2013-02-04 02:25:58.000000000 -0600
+++ /tmp/netatalk-3.0.2-r1.ebuild	2013-02-04 12:11:04.645702882 -0600
@@ -104,9 +104,9 @@
 
 	sed \
 		-e "s|:SBINDIR:|${EPREFIX}/usr/sbin|g" \
-		distrib/initscripts service.systemd.tmpl \
+		distrib/initscripts/service.systemd.tmpl \
 		> "${T}"/service.systemd || die
-	systemd_newunit "${T}"/service.systemd ${P}.service
+	systemd_newunit "${T}"/service.systemd ${PN}.service
 }
 
 pkg_postinst() {
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-02-05 07:44:22 UTC
That was a bad one!

+*netatalk-3.0.2-r2 (05 Feb 2013)
+
+  05 Feb 2013; Justin Lecher <jlec@gentoo.org> -netatalk-3.0.2-r1.ebuild,
+  +netatalk-3.0.2-r2.ebuild:
+  Fix series of typoes, thanks Emery Hemingway for the patch, #455400
+