Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629496 - media-sound/lilypond-2.19.* sed fail in src_prepare()
Summary: media-sound/lilypond-2.19.* sed fail in src_prepare()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-31 19:42 UTC by Francesco Riosa
Modified: 2017-11-30 14:46 UTC (History)
5 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 Francesco Riosa 2017-08-31 19:42:16 UTC
Gentoo usually use ":" as a separator in sed



 * Package:    media-sound/lilypond-2.19.64
 * Repository: gentoo
 * Maintainer: radhermit@gentoo.org karl.j.linden@gmail.com,scheme@gentoo.org,proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 userland_GNU
 * FEATURES:   compressdebug preserve-libs sandbox splitdebug test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking lilypond-2.19.64.tar.gz to /var/tmp/portage/media-sound/lilypond-2.19.64/work
>>> Source unpacked in /var/tmp/portage/media-sound/lilypond-2.19.64/work
>>> Preparing source in /var/tmp/portage/media-sound/lilypond-2.19.64/work/lilypond-2.19.64 ...
sed: -e expression #1, char 14: unknown option to `s'
 * ERROR: media-sound/lilypond-2.19.64::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 115:  Called src_prepare
 *   environment, line 2543:  Called die
 * The specific snippet of code:
 *       sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die;
 * 
 * If you need support, post the output of `emerge --info '=media-sound/lilypond-2.19.64::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/lilypond-2.19.64::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/media-sound/lilypond-2.19.64:20170831-192221.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/lilypond-2.19.64/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/lilypond-2.19.64/work/lilypond-2.19.64'
 * S: '/var/tmp/portage/media-sound/lilypond-2.19.64/work/lilypond-2.19.64'
/var/log/portage/build/media-sound/lilypond-2.19.64:20170831-192221.log.gz lines 1-25/25 (END)
Comment 1 Francesco Riosa 2017-08-31 19:48:26 UTC
probably triggered by 

AR="/usr/bin/gcc-ar"

in make.conf
Comment 2 Larry the Git Cow gentoo-dev 2017-11-30 14:46:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fc37c742ee8b73a1ac9fc35671e58c35ecc03ba

commit 8fc37c742ee8b73a1ac9fc35671e58c35ecc03ba
Author:     Karl Linden <karl.j.linden@gmail.com>
AuthorDate: 2017-11-26 18:51:36 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2017-11-30 14:46:00 +0000

    media-sound/lilypond: fix sed invocation.
    
    Closes: https://bugs.gentoo.org/629496
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-sound/lilypond/lilypond-2.18.2-r3.ebuild | 4 ++--
 media-sound/lilypond/lilypond-2.19.80.ebuild   | 2 +-
 media-sound/lilypond/lilypond-9999.ebuild      | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)