Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 470986 - app-eselect/eselect-php-0.7.1: readlink: illegal option -- e
Summary: app-eselect/eselect-php-0.7.1: readlink: illegal option -- e
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on: 552156
Blocks:
  Show dependency tree
 
Reported: 2013-05-22 10:38 UTC by Denis I. Polukarov
Modified: 2016-01-09 01:45 UTC (History)
2 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 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!