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

Bug 470986

Summary: app-eselect/eselect-php-0.7.1: readlink: illegal option -- e
Product: Gentoo/Alt Reporter: Denis I. Polukarov <dipolukarov>
Component: FreeBSDAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bsd+disabled, eselect
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 552156    
Bug Blocks:    

Description Denis I. Polukarov 2013-05-22 10:38:07 UTC
Cannot switch to any slot.
# eselect php list cli
readlink: illegal option -- e
usage: readlink [-fn] [file ...]
  [1]   php5.4
#
Comment 1 Ulrich Müller gentoo-dev 2013-07-07 11:25:17 UTC
eselect modules shouldn't call "readlink" directly. There are path manipulation functions like canonicalise() available, exactly for the purpose of avoiding such portability issues:
<http://www.gentoo.org/proj/en/eselect/dev-guide.xml#path-manipulation>

Reassigning to package maintainers.
Comment 2 Michael Orlitzky gentoo-dev 2015-12-03 19:45:29 UTC
We have a proposed fix over in bug #552156 but I'm not a BSD user. Can you please give that patch a try and let us know if it works?
Comment 3 Michael Orlitzky gentoo-dev 2016-01-09 01:45:37 UTC
I believe this has been fixed and an ~arch version is in the tree (unmasked). If you still have problems, don't hesitate to reopen this bug!