Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484298 - app-i18n/man-pages-de-1.3 - src_install(): po4a hangs
Summary: app-i18n/man-pages-de-1.3 - src_install(): po4a hangs
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markus Walter
URL: http://paludis.exherbo.org/trac/ticke...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-09 06:26 UTC by Christian Apeltauer
Modified: 2014-01-16 23:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of ps (ps.out,27.50 KB, text/plain)
2013-09-09 06:27 UTC, Christian Apeltauer
Details
output of cave info man-pages-de (info,11.17 KB, text/plain)
2013-09-09 06:27 UTC, Christian Apeltauer
Details
1378577530-install-app-i18n_man-pages-de-1.3:0::gentoo.out (1378577530-install-app-i18n_man-pages-de-1.3:0::gentoo.out,33.24 KB, text/plain)
2013-09-09 06:28 UTC, Christian Apeltauer
Details
temporary patch to make ebuild merge (file_484298.txt,438 bytes, patch)
2013-09-25 23:20 UTC, cmuelle8
Details | Diff
build log of po4a-0.45 (1383998976-install-app-text_po4a-0.45:0::gentoo.out,3.51 KB, application/octet-stream)
2013-11-09 20:55 UTC, Christian Apeltauer
Details
outputlog of cave resolve po4a -x -1 (resolve-po4a.log,2.90 KB, text/plain)
2014-01-15 08:18 UTC, Maxr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Apeltauer 2013-09-09 06:26:41 UTC
When installing app-i18n/man-pages-de-1.3.0 the installation process gets caught in an infinite loop during phase install triggered by po4a-translate (app-text/po4-0.42) . It always happens at the same location. CPU usage goes up to 100%, but memory stays reasonable.


Reproducible: Always
Comment 1 Christian Apeltauer 2013-09-09 06:27:03 UTC
Created attachment 358336 [details]
Output of ps
Comment 2 Christian Apeltauer 2013-09-09 06:27:22 UTC
Created attachment 358338 [details]
output of cave info man-pages-de
Comment 3 Christian Apeltauer 2013-09-09 06:28:47 UTC
Created attachment 358340 [details]
1378577530-install-app-i18n_man-pages-de-1.3:0::gentoo.out
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2013-09-22 13:50:24 UTC
Please test again with sys-apps/portage as PM.
Comment 5 cmuelle8 2013-09-25 21:02:36 UTC
(In reply to Manuel Rüger from comment #4)
> Please test again with sys-apps/portage as PM.

Same problem here.
Comment 6 cmuelle8 2013-09-25 23:20:39 UTC
Created attachment 359494 [details, diff]
temporary patch to make ebuild merge

Using the patch I was able to successfully mere the package with paludis being the PM.

"-k 0" option essentially means: take all unfinished translations, the default is to drop manpages with a translation completion below 80 percent.

Having applied "-k 0" let po4a pass a lot of source files, except groff and console_ioctl - which is why they are excluded explicitely in the patch.

Note:  This is no real solution, the issues needs further investigation.  I have not tried using portage.  I suspect an enoding issue / missing env vars or broken perl install being the root cause for this problem.


Greetings
Comment 7 Manuel Rüger (RETIRED) gentoo-dev 2013-09-26 00:14:34 UTC
Installs without any problems for me with portage-2.2.7 and sys-apps/man-pages-3.51 installed.
Comment 8 Markus Walter 2013-10-29 21:46:08 UTC
I cannot reproduce this either. Can you rerun with MAKEOPTS -j1 so we can single out an offender?
Comment 9 Christian Apeltauer 2013-11-09 20:55:47 UTC
Created attachment 362920 [details]
build log of po4a-0.45
Comment 10 Christian Apeltauer 2013-11-09 20:56:34 UTC
(In reply to Markus Oehme from comment #8)
> I cannot reproduce this either. Can you rerun with MAKEOPTS -j1 so we can
> single out an offender?

I tried to iinstall man-pages-de-0.45 again, but this time po4a itself hangs during installation (see above comment for the build log).
Comment 11 Markus Walter 2013-11-10 09:27:28 UTC
(In reply to Christian Apeltauer from comment #10)
> I tried to iinstall man-pages-de-0.45 again, but this time po4a itself hangs
> during installation (see above comment for the build log).

Unfortunately, the build log is not very informative (I tried the build with portage, which worked fine for me and produced a more verbose output). Maybe 'Module::Build was not found in configure_requires!' is a problem, but I don't have any experience with paludis, so that may be a red herring.

I've one more guess: maybe your perl-installation got whacky somehow. Maybe try remerging perl and using perl-cleaner.
Comment 12 Maxr 2014-01-14 08:26:33 UTC
Same Problems Here
Comment 13 Markus Walter 2014-01-14 17:32:48 UTC
(In reply to Maxr from comment #12)
> Same Problems Here

First some preliminaries:
* Do you use portage?
* Did you remerge perl and use perl-cleaner (just to be sure)?
* Did you test with latest po4a and man-pages-de?

Please provide a build log with MAKEOPTS="-j1". I'll then try to spot a difference to the working merge on this side.
Comment 14 Maxr 2014-01-15 07:53:28 UTC
Thank you for your 
(In reply to Markus Oehme from comment #13)
> (In reply to Maxr from comment #12)
> > Same Problems Here
> 
> First some preliminaries:
> * Do you use portage?
I use paludis/cave
> * Did you remerge perl and use perl-cleaner (just to be sure)?
yes, I have reinstalled perl and updated perl with  perl-cleaner -P paludis --all. However, I will do it again to make sure not wasting your time. 
> * Did you test with latest po4a and man-pages-de?
Sorry, I should say I have problem only with app-text/po4a-0.45,I don't need man-pages-de
> 
> Please provide a build log with MAKEOPTS="-j1". I'll then try to spot a
> difference to the working merge on this side.
Will test and update later.
Comment 15 Maxr 2014-01-15 08:18:21 UTC
Created attachment 367882 [details]
outputlog of cave resolve po4a -x -1

perl version : v5.16.3
command used :
1: cave resolve perl -1 -x
2: perl-cleaner -P paludis --all
3: cave resolve po4a -x -1 output log
Comment 16 Markus Walter 2014-01-16 14:48:00 UTC
I did some testing and this seems to be a paludis specific thing. I can reproduce the stall with paludis on my machine, while portage does fine on the same setup. I opened a ticket in the paludis bug tracker and will move the discussion there.