Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415759 - net-analyzer/sguil-server-0.8.0 fails while "preparing source" with sed error
Summary: net-analyzer/sguil-server-0.8.0 fails while "preparing source" with sed error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-13 16:16 UTC by Willard Dawson
Modified: 2012-05-15 14:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,5.54 KB, text/plain)
2012-05-13 16:16 UTC, Willard Dawson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2012-05-13 16:16:01 UTC
Created attachment 311637 [details]
emerge --info

The error output is short enough for it to stand in place of a description:

# emerge --keep-going -uDN net-analyzer/sguil-server      
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-analyzer/sguil-server-0.8.0
 * sguil-server-0.8.0.tar.gz RMD160 SHA1 SHA256 size ;-) ...             [ ok ]
>>> Unpacking source...
>>> Unpacking sguil-server-0.8.0.tar.gz to /var/tmp/portage/net-analyzer/sguil-server-0.8.0/work
>>> Source unpacked in /var/tmp/portage/net-analyzer/sguil-server-0.8.0/work
>>> Preparing source in /var/tmp/portage/net-analyzer/sguil-server-0.8.0/work/sguil-0.8.0 ...
sed: can't read sguild: No such file or directory
 * ERROR: net-analyzer/sguil-server-0.8.0 failed (prepare phase):
 *   sed failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_prepare
 *   environment, line 2061:  Called die
 * The specific snippet of code:
 *       sed -i sguild -e 's:set VERSION "SGUIL-0.6.0":set VERSION "SGUIL-0.6.0p1":' || die "sed failed"
 * 
 * If you need support, post the output of 'emerge --info =net-analyzer/sguil-server-0.8.0',
 * the complete build log and the output of 'emerge -pqv =net-analyzer/sguil-server-0.8.0'.
 * The complete build log is located at '/var/tmp/portage/net-analyzer/sguil-server-0.8.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/sguil-server-0.8.0/temp/environment'.
 * S: '/var/tmp/portage/net-analyzer/sguil-server-0.8.0/work/sguil-0.8.0'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-15 14:38:32 UTC
Ah yes. Fixing it right now.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-15 14:39:50 UTC
Fixed in CVS. Thanks for reporting.

--- sguil-server-0.8.0.ebuild   30 Apr 2012 15:25:17 -0000      1.1
+++ sguil-server-0.8.0.ebuild   15 May 2012 14:38:59 -0000
@@ -40,7 +40,7 @@
                -e 's:/sguild_data/archive:/var/lib/sguil/archive:g' \
                -e 's:/usr/lib/sguild:/usr/'$(get_libdir)'/sguild:g' \
                || die "sed failed"
-       sed -i sguild \
+       sed -i server/sguild \
                -e 's:set VERSION "SGUIL-0.6.0":set VERSION "SGUIL-0.6.0p1":' \
                || die "sed failed"
 }