Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289524 - dev-perl/PortageXS incorrectly parses for KEYWORD with mixed Kernel and Userland arch
Summary: dev-perl/PortageXS incorrectly parses for KEYWORD with mixed Kernel and Userl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL: https://github.com/gentoo-perl/Portag...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2009-10-17 21:41 UTC by Ian Leonard
Modified: 2021-06-06 17:22 UTC (History)
1 user (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 Ian Leonard 2009-10-17 21:41:29 UTC
My system uses a 64-bit kernel (ppc64) and a 32-bit userland (ppc). When using autounmask, it tries to unmask with the ~ppc64 keyword instead of ~ppc. It's using PortageXS to determine what architecture is being used, which is returning ppc64.

Sample of autounmask's work:
autounmask version 0.27 (using PortageXS-0.02.09 and portage-2.1.6.13)

 * Using repositories:
     /usr/portage
     /usr/local/portage

 * Using package.keywords file: /etc/portage/package.keywords/autounmask-kdebase-startkde
 * Using package.unmask file: /etc/portage/package.unmask/autounmask-kdebase-startkde
 * Using package.use file: /etc/portage/package.use/autounmask-kdebase-startkde

 * Unmasking kde-base/kdebase-startkde-4.3.1 and its dependencies.. this might take a while...

 * Added '=kde-base/libknotificationitem-4.3.2 ~ppc64' to /etc/portage/package.keywords/autounmask-kdebase-startkde


Looking at PortageXS it appears to pull the variables out of the first line of emerge --info and assume the keyword from it.

That line from my system:
Portage 2.1.6.13 (default/linux/powerpc/ppc64/2008.0/32bit-userland, gcc-4.4.1, glibc-2.9_p20081201-r3, 2.6.31-oneoff-r3 ppc64)



Reproducible: Always
Comment 1 Christian Hartmann (RETIRED) gentoo-dev 2009-10-19 09:12:54 UTC
Which profile do you use?
Comment 2 Christian Hartmann (RETIRED) gentoo-dev 2009-10-19 09:14:12 UTC
Blerg. Overlooked that you already told me.
Comment 3 Ian Leonard 2009-11-26 22:19:35 UTC
My previous profile was deprecated. The new profile is:

default/linux/powerpc/ppc64/10.0/32bit-userland

if that's still important.
Comment 4 Larry the Git Cow gentoo-dev 2021-06-06 17:22:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5678f9452dff2c54da4a50cad1ff81ce097fddf

commit b5678f9452dff2c54da4a50cad1ff81ce097fddf
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-06-06 17:21:57 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-06-06 17:21:57 +0000

    dev-perl/PortageXS: Remove last-rited pkg
    
    Closes: https://github.com/gentoo/gentoo/pull/21103
    Closes: https://bugs.gentoo.org/264680
    Closes: https://bugs.gentoo.org/289524
    Closes: https://bugs.gentoo.org/332611
    Closes: https://bugs.gentoo.org/473394
    Closes: https://bugs.gentoo.org/613114
    Closes: https://bugs.gentoo.org/625536
    Closes: https://bugs.gentoo.org/671244
    Closes: https://bugs.gentoo.org/688238
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-perl/PortageXS/Manifest                        |   2 -
 dev-perl/PortageXS/PortageXS-0.02.10-r4.ebuild     |  54 ------
 dev-perl/PortageXS/PortageXS-0.2.10-r5.ebuild      |  60 -------
 dev-perl/PortageXS/PortageXS-0.2.12-r1.ebuild      |  63 -------
 .../files/0.02.12/PortageXS-0.02.12-prefix.patch   | 198 ---------------------
 .../files/PortageXS-0.02.10-portage_path_fix.patch |  86 ---------
 .../PortageXS/files/PortageXS-0.02.10-prefix.patch | 137 --------------
 dev-perl/PortageXS/metadata.xml                    |  17 --
 profiles/package.mask                              |  11 --
 9 files changed, 628 deletions(-)