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

Bug 443744

Summary: app-portage/gentoolkit -- euse displays a lot of error messages on Gentoo/FreeBSD
Product: Portage Development Reporter: Yuta SATOH <nigoro.dev>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sample patch for bin/euse

Description Yuta SATOH 2012-11-18 09:13:53 UTC
expr on FreeBSD does not support index.
In addition, the operation of sed is different.

Please fix these problems.


Reproducible: Always

Steps to Reproduce:
1. emerge gentoolkit
2. euse -E zfs
3.
Actual Results:  
# euse -E zfs
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
sed: 1: "/^#.*$/{d}
": extra characters at the end of d command
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
sed: 1: "/^#.*$/ {d}
": extra characters at the end of d command
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
expr: syntax error
Removing flag "-zfs" from make.conf
Adding flag "zfs" to make.conf
/etc/portage/make.conf was modified, a backup copy has been placed at /etc/portage/make.conf.euse_backup


Expected Results:  
# euse -E zfs
Removing flag "-zfs" from make.conf
Adding flag "zfs" to make.conf
/etc/portage/make.conf was modified, a backup copy has been placed at /etc/portage/make.conf.euse_backup
Comment 1 Yuta SATOH 2012-11-18 09:18:57 UTC
Created attachment 329796 [details, diff]
sample patch for bin/euse
Comment 2 Yuta SATOH 2018-02-12 12:47:20 UTC
This bug is too old. Please use app-portage/flaggie on Gentoo/FreeBSD.
If you want to fix euse, please feel free to reopen it.

Thanks.