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

Bug 410301

Summary: app-text/docbook-sgml-utils : errors in migration, please fix
Product: Gentoo/Alt Reporter: Benda Xu <heroxbd>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://overlays.gentoo.org/proj/alt/changeset/60418
Whiteboard:
Package list:
Runtime testing required: ---

Description Benda Xu gentoo-dev 2012-03-31 08:46:54 UTC
I have just whitelisted docbook-sgml-utils and keyworded {amd64,x86}-linux in gx86. The remaining keywords that existed in prefix tree were x86-freebsd and x86-macos. Please test and add back these keywords if you are with these prefixes.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-04-02 15:00:31 UTC
What diffs were there between prefix and gx86? If none, don't remove keywords.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-04-03 14:54:33 UTC
I've researched it more. On 03/31/2012 (see URL), you whitelisted docbook-sgml-utils. There are a few problems, we can use this bug to work it out.

1) Removed KEYWORDS on the migration, that shouldn't happen.
2) Dropped patches/eprefixify call(s). Why did they get dropped? Now docbook-sgml-utils is broken. The normal process is to prepare a diff and then submit it to the Gentoo maintainers.

I say that the package is broken because it now uses hardcoded paths (dropped prefix patch which fixed all of this), see below:

%% qlist docbook-sgml-utils|xargs grep -h /etc
>/etc/sgml</TT
>/etc/sgml</TT
>/etc/sgml</TT
>/etc/sgml/sgml-docbook.cat</TT
>/etc/sgml/sgml-docbook.cat</TT
  SGML_CONF="/etc/sgml/sgml.conf"
SGML_CATALOGS_DIR="/etc/sgml"
% qlist docbook-sgml-utils|xargs grep -h /usr
if [ -x /usr/bin/lynx ]
  CONVERT=/usr/bin/lynx
elif [ -x /usr/bin/links ]
  CONVERT=/usr/bin/links
elif [ -x /usr/bin/elinks ]
  CONVERT=/usr/bin/elinks
elif [ -x /usr/bin/w3m ]
  CONVERT=/usr/bin/w3m
>/usr/share/sgml</TT
>/usr/share/sgml/docbook/utils-0.6.14</TT
>/usr/share/sgml</TT
>/usr/share/sgml</TT
>/usr/share/sgml/docbook/utils-0.6.14/backends</TT
>/usr/share/sgml/docbook/utils-0.6.14/frontends</TT
>/usr/share/sgml/docbook/utils-0.6.14/helpers</TT
>/usr/share/sgml</TT
\040 \t\t\t\t (usually /home/jolexa/portage/linux-64/usr/share/sgml)\n\
SGML_BASE_DIR="/home/jolexa/portage/linux-64/usr/share/sgml"
        if [ -x /usr/bin/locale ]
          h=$(/usr/bin/locale LC_PAPER 2>/dev/null | head -n 1)
#!/home/jolexa/portage/linux-64/usr/bin/perl -w
$nsgmls = "/usr/bin/nsgmls";

Please take care, just because it emerges without errors, does NOT mean that you can disregard the diff(s) from prefix tree to gx86 tree.
Comment 3 Benda Xu gentoo-dev 2012-04-04 01:44:58 UTC
Sorry, it's my mistake. bug #410737 submitted.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-04-04 02:01:24 UTC
Ok, you could have used this bug for that ;) but no worries. Thanks.

*** This bug has been marked as a duplicate of bug 410737 ***