Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376393 - app-portage/gentoolkit-0.3.0.4 missing parentheses in euse
Summary: app-portage/gentoolkit-0.3.0.4 missing parentheses in euse
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2011-07-25 18:37 UTC by eipi
Modified: 2011-07-28 03:05 UTC (History)
0 users

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 eipi 2011-07-25 18:37:01 UTC
Version of euse:

(chroot) livecd / # equery b /usr/bin/euse
 * Searching for /usr/bin/euse ... 
app-portage/gentoolkit-0.3.0.4 (/usr/bin/euse)


# euse -i device-mapper
global use flags (searching: device-mapper)
************************************************************
no matching entries found

local use flags (searching: device-mapper)
************************************************************
[-      ] device-mapper
    sys-block/parted: Enable sys-fs/device-mapper support in parted
  File "<string>", line 3
    print(' '.join(dep.match_to_list('sys-block/parted-2.3',sys.stdin.read().split()))
                                                                                     ^
SyntaxError: invalid syntax
        [-  ] 2.3 [gentoo]
  File "<string>", line 3
    print(' '.join(dep.match_to_list('sys-block/parted-2.3-r1',sys.stdin.read().split()))
                                                                                        ^
SyntaxError: invalid syntax
        [-  ] 2.3-r1 [gentoo]
  File "<string>", line 3
    print(' '.join(dep.match_to_list('sys-block/parted-2.3-r2',sys.stdin.read().split()))
                                   

Modify line 511 in /usr/bin/euse so it looks like that:

print(' '.join(dep.match_to_list('$5-$6',sys.stdin.read().split())))"))

And then it goes:
 # euse -i device-mapper
global use flags (searching: device-mapper)
************************************************************
no matching entries found

local use flags (searching: device-mapper)
************************************************************
[-      ] device-mapper
    sys-block/parted: Enable sys-fs/device-mapper support in parted
        [+P ] 2.3 [gentoo]
        [-  ] 2.3-r1 [gentoo]
        [-  ] 2.3-r2 [gentoo]
        [-  ] 2.4 [gentoo]
        [-  ] 3.0 [gentoo]

[-      ] device-mapper
    sys-boot/grub: Enable support for sys-fs/device-mapper
              0.92-r1 [gentoo]
              0.94-r1 [gentoo]
              0.96-r1 [gentoo]
              0.96-r2 [gentoo]
              0.96-r3 [gentoo]
              0.97 [gentoo]
              0.97-r2 [gentoo]
              0.97-r3 [gentoo]
              0.97-r4 [gentoo]
              0.97-r5 [gentoo]
              0.97-r6 [gentoo]
              0.97-r8 [gentoo]
              0.97-r9 [gentoo]
              0.97-r10 [gentoo]
              1.98 [gentoo]
              1.99_rc1 [gentoo]
        [-  ] 9999 [gentoo]

[-      ] device-mapper
    sys-boot/lilo: Enable support for sys-fs/device-mapper
        [-  ] 22.8-r2 [gentoo]
        [-  ] 23.2-r1 [gentoo]
        [-  ] 23.2-r2 [gentoo]

#

Regards.


Reproducible: Always
Comment 2 Paul Varner (RETIRED) gentoo-dev 2011-07-28 03:05:37 UTC
The fix is in gentoolkit-0.3.0.4-r1.