Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 710806

Summary: app-crypt/md4sum-0.02.03-r2 : sed: -e expression #1, char 77: unknown option to s
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 685160    
Attachments: emerge-info.txt
app-crypt:md4sum-0.02.03-r2:20200225-000510.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-25 18:43:08 UTC
 * Applying md4sum-fix-out-of-bounds-write.diff ...
 [ ok ]
sed: -e expression #1, char 77: unknown option to `s'
 * ERROR: app-crypt/md4sum-0.02.03-r2::gentoo failed (prepare phase):
 *   (no error message)
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200218-201111

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 24 Feb 2020 22:41:05 +0000

emerge -qpvO app-crypt/md4sum
[ebuild  N    ] app-crypt/md4sum-0.02.03-r2
Comment 1 Toralf Förster gentoo-dev 2020-02-25 18:43:10 UTC
Created attachment 615756 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-25 18:43:13 UTC
Created attachment 615758 [details]
app-crypt:md4sum-0.02.03-r2:20200225-000510.log
Comment 3 Toralf Förster gentoo-dev 2020-02-25 18:43:16 UTC
Created attachment 615760 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-25 18:43:18 UTC
Created attachment 615762 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-25 18:43:21 UTC
Created attachment 615764 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-25 18:43:24 UTC
Created attachment 615766 [details]
temp.tbz2
Comment 7 Hanno Böck gentoo-dev 2020-04-30 08:31:14 UTC
This seems to be due to a : in your CFLAGS which we use in the sed.
I'm going to change this to a ";" which should be a maximally "unlikely-to-be-in-CFLAGS" character.
Comment 8 Larry the Git Cow gentoo-dev 2020-04-30 08:34:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c9b4f108fea55858387d5b87fbc2cd5e1481911

commit 0c9b4f108fea55858387d5b87fbc2cd5e1481911
Author:     Hanno Böck <hanno@gentoo.org>
AuthorDate: 2020-04-30 08:33:39 +0000
Commit:     Hanno Böck <hanno@gentoo.org>
CommitDate: 2020-04-30 08:33:39 +0000

    app-crypt/md4sum: Use safer sed delimiter
    
    Closes: https://bugs.gentoo.org/710806
    Signed-off-by: Hanno Böck <hanno@gentoo.org>
    Package-Manager: Portage-2.3.99, Repoman-2.3.22

 app-crypt/md4sum/md4sum-0.02.03-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)