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

Bug 672732

Summary: app-portage/gentoolkit: euse -i readline error portage.exception.InvalidAtom: >=dev-libs/libpcre
Product: Portage Development Reporter: D'juan McDonald (domhnall) <flopwiki>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
neofetch digest

Description D'juan McDonald (domhnall) 2018-12-08 00:56:54 UTC
Created attachment 557302 [details]
emerge --info

Using 'euse -i readline' with gentoolkit version [I]0.4.2-r1  on see:attachment produces following result.

--begin--

global use flags (searching: readline)
************************************************************
[+  D   ] readline - Enable support for libreadline, a GNU line-editing library that almost everyone wants

local use flags (searching: readline)
************************************************************
[+  D   ] readline
    app-emulation/x48: Enables support for libreadline
        [+  ] 0.6.4-r1 [gentoo]

[+  D   ] readline
    dev-lang/ruby: Use the sys-libs/readline library to provide the 
    readline extension, used for instance by the irb tool. This flag is 
    meaningful only if the libedit USE flag is disabled. If neither 
    libedit nor readline USE flags are enabled, the readline extension 
    will not be built (and irb will lose line editing functionality).
        [+ B] (2.3) 2.3.7 [gentoo]
        [+ B] (2.3) 2.3.8 [gentoo]
              (2.4) 2.4.5 [gentoo]
              (2.5) 2.5.3 [gentoo]

[+  D   ] readline
    dev-libs/libpcre: Add support for command line editing to pcretest, 
    through sys-libs/readline.
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/usr/lib64/python3.6/site-packages/portage/dep/__init__.py", line 2021, in match_to_list
    if x not in matches and match_from_list(x, pkgs):
  File "/usr/lib64/python3.6/site-packages/portage/dep/__init__.py", line 2124, in match_from_list
    mydep = Atom(mydep, allow_wildcard=True, allow_repo=True)
  File "/usr/lib64/python3.6/site-packages/portage/dep/__init__.py", line 1253, in __init__
    raise InvalidAtom(self)
portage.exception.InvalidAtom: >=dev-libs/libpcre
        [+ B] (3) 8.41-r1 [gentoo]
Traceback (most recent call last):
  File "<string>", line 3, in <module>
  File "/usr/lib64/python3.6/site-packages/portage/dep/__init__.py", line 2021, in match_to_list
    if x not in matches and match_from_list(x, pkgs):
  File "/usr/lib64/python3.6/site-packages/portage/dep/__init__.py", line 2124, in match_from_list
    mydep = Atom(mydep, allow_wildcard=True, allow_repo=True)
  File "/usr/lib64/python3.6/site-packages/portage/dep/__init__.py", line 1253, in __init__
    raise InvalidAtom(self)
portage.exception.InvalidAtom: >=dev-libs/libpcre
        [+ B] (3) 8.42 [gentoo]

[+  D   ] readline
    dev-libs/libpcre2: Add support for command line editing to pcretest, 
    through sys-libs/readline.
        [+ B] 10.30 [gentoo]
        [+ B] 10.31 [gentoo]
        [+ B] 10.32 [gentoo]

[+  D   ] readline
    games-strategy/liquidwar6: Enable interactive script shell for hacking
        [+  ] 0.4.3681-r1 [gentoo]

[+  D   ] readline
    net-misc/quagga: Enable support for sys-libs/readline to provide the 
    Quagga Virtual Terminal Interface Shell (vtysh)
        [+ B] 1.2.4 [gentoo]

[+  D   ] readline
    sci-mathematics/isabelle: Use readline (rlwrap) for the isabelle tty 
    line editor
        [+  ] (0/2016.1) 2016.1 [gentoo]

--end--
Comment 1 D'juan McDonald (domhnall) 2018-12-08 00:59:06 UTC
Created attachment 557304 [details]
neofetch digest
Comment 2 D'juan McDonald (domhnall) 2018-12-08 01:00:00 UTC
please disregard neofetch digest
Comment 3 D'juan McDonald (domhnall) 2018-12-08 01:01:49 UTC
 
         -/oyddmdhs+:.                domhnall@emerge-lab 
     -odNMMMMMMMMNNmhy+-`             ------------------- 
   -yNMMMMMMMMMMMNNNmmdhy+-           OS: Gentoo/Linux x86_64 
 `omMMMMMMMMMMMMNmdmmmmddhhy/`        Host: MacBook3,1 1.0 
 omMMMMMMMMMMMNhhyyyohmdddhhhdo`      Kernel: 4.14.83-gentoo 
.ydMMMMMMMMMMdhs++so/smdddhhhhdm+`    Uptime: 38 mins 
 oyhdmNMMMMMMMNdyooydmddddhhhhyhNd.   Packages: 656 (emerge) 
  :oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh   Shell: bash 4.4.12 
    .:+sydNMMMMMNNNmmmdddhhhhhhmMmy   Resolution: 1280x800 
       /mMMMMMMNNNmmmdddhhhhhmMNhs:   DE: Xfce 
    `oNMMMMMMMNNNmmmddddhhdmMNhs+`    WM: Xfwm4 
  `sNMMMMMMMMNNNmmmdddddmNMmhs/.      WM Theme: Default 
 /NMMMMMMMMNNNNmmmdddmNMNdso:`        Theme: Xfce-stellar [GTK2], Adwaita [GTK3] 
+MMMMMMMNNNNNmmmmdmNMNdso/-           Icons: Adwaita [GTK2/3] 
yMMNNNNNNNmmmmmNNMmhs+/-`             Terminal: xfce4-terminal 
/hMMNNNNNNNNMNdhs++/-`                Terminal Font: Monospace 13 
`/ohdmmddhys+++/:.`                   CPU: Intel Core 2 Duo T7500 (2) @ 1.224GHz 
  `-//////:--.                        GPU: Intel Mobile GM965/GL960 
                                      Memory: 691MiB / 1973MiB
Comment 4 D'juan McDonald (domhnall) 2019-01-17 04:50:38 UTC
After commenting out  >=dev-libs/libpcre from /etc/portage/package.use file, the error is gone. 

--
emerge-lab ~ # euse -i readline
global use flags (searching: readline)
************************************************************
[+  D   ] readline - Enable support for libreadline, a GNU line-editing library that almost everyone wants

local use flags (searching: readline)
************************************************************
[+  D   ] readline
    app-emulation/x48: Enables support for libreadline
        [+  ] 0.6.4-r1 [gentoo]

[+  D   ] readline
    dev-lang/ruby: Use the sys-libs/readline library to provide the 
    readline extension, used for instance by the irb tool. This flag is 
    meaningful only if the libedit USE flag is disabled. If neither 
    libedit nor readline USE flags are enabled, the readline extension 
    will not be built (and irb will lose line editing functionality).
        [+ B] (2.3) 2.3.8-r1 [gentoo]
              (2.4) 2.4.5 [gentoo]
              (2.4) 2.4.5-r1 [gentoo]
              (2.5) 2.5.3 [gentoo]
              (2.6) 2.6.0-r1 [gentoo]

[+  D   ] readline
    dev-libs/libpcre: Add support for command line editing to pcretest, 
    through sys-libs/readline.
        [+ B] (3) 8.41-r1 [gentoo]
        [+ B] (3) 8.42 [gentoo]

[+  D   ] readline
    dev-libs/libpcre2: Add support for command line editing to pcretest, 
    through sys-libs/readline.
        [+ B] 10.30 [gentoo]
        [+ B] 10.31 [gentoo]
        [+ B] 10.32 [gentoo]

[+  D   ] readline
    games-strategy/liquidwar6: Enable interactive script shell for hacking
        [+  ] 0.4.3681-r1 [gentoo]

[+  D   ] readline
    net-misc/quagga: Enable support for sys-libs/readline to provide the 
    Quagga Virtual Terminal Interface Shell (vtysh)
        [+ B] 1.2.4 [gentoo]

[+  D   ] readline
    sci-mathematics/isabelle: Use readline (rlwrap) for the isabelle tty 
    line editor
        [+  ] (0/2016.1) 2016.1 [gentoo]

--

User error I suppose.