Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388859 - app-office/libreoffice-3.3.4: emerge stops asking what file to patch
Summary: app-office/libreoffice-3.3.4: emerge stops asking what file to patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-29 15:10 UTC by Andrey Grozin
Modified: 2011-11-10 21:09 UTC (History)
1 user (show)

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


Attachments
build log (app-office:libreoffice-3.3.4:20111030-104014.log,348.55 KB, text/plain)
2011-10-30 11:14 UTC, Andrey Grozin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2011-10-29 15:10:41 UTC
libreoffice-3.3.4-poppler-0.18.0.diff: testing...< /var/tmp/portage/app-office/libreoffice-3.3.4/work/libreoffice-build-3.3.4.1/patches/dev300/../hotfixes/libreoffice-3.3.4-poppler-0.18.0.diff patch  --fuzz=0  -l -p0  -d /var/tmp/portage/app-office/libreoffice-3.3.4/work/libreoffice-build-3.3.4.1/build/libreoffice-3.3.4.1 --dry-run 
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
|+++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
--------------------------
file to patch:

Reproducible: Always
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-30 08:12:03 UTC
This is weird, when i try this on my system it won't fail...
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-30 08:12:24 UTC
Can it be difference between patch 2.59 and patch 2.61?
Comment 3 Andrey Grozin gentoo-dev 2011-10-30 10:07:38 UTC
Well, /var/tmp/portage/app-office/libreoffice-3.3.4/work/libreoffice-build-3.3.4.1/patches/hotfixes/libreoffice-3.3.4-poppler-0.18.0.diff says

--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx

but

eeepc libreoffice-3.3.4 # pwd
/var/tmp/portage/app-office/libreoffice-3.3.4
eeepc libreoffice-3.3.4 # find -name 'pdfioutdev*'
eeepc libreoffice-3.3.4 #

Or do I misunderstand something?
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-30 10:20:11 UTC
orion work #  find -name 'pdfioutdev*'
./libreoffice-build-3.3.4.1/build/libreoffice-3.3.4.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
./libreoffice-build-3.3.4.1/build/libreoffice-3.3.4.1/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
./libreoffice-build-3.3.4.1/build/libreoffice-3.3.4.1/sdext/unxlngx6.pro/obj/pdfioutdev_gpl.o
./libreoffice-build-3.3.4.1/build/libreoffice-3.3.4.1/sdext/unxlngx6.pro/obj/pdfioutdev_gpl.obj
orion work # pwd
/var/tmp/portage/app-office/libreoffice-3.3.4/work
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-30 10:20:35 UTC
It probably screwed some unpacking :/
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-30 10:23:10 UTC
Most of the unpack phase happen in src_compile, do you run with multiple jobs instead of -j1?
Comment 7 Andrey Grozin gentoo-dev 2011-10-30 10:30:03 UTC
(In reply to comment #6)
> Most of the unpack phase happen in src_compile, do you run with multiple jobs
> instead of -j1?
Yes, I use -j2

In /var/tmp/portage/app-office/libreoffice-3.3.4/work/libreoffice-build-3.3.4.1/build/libreoffice-3.3.4.1 I have no directory sdext.

I'll try -j1 and report back
Comment 8 Andrey Grozin gentoo-dev 2011-10-30 10:47:21 UTC
With -j1 emerge stops at the same point. There is no directory sdext in
/var/tmp/portage/app-office/libreoffice-3.3.4/work/libreoffice-build-3.3.4.1/build/libreoffice-3.3.4.1
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-30 10:52:59 UTC
Could you post full build log? Maybe there is some unpack error that is handled as non-fatal.

I have no idea how lo-build repo works as I started working on botstrap from the starters (the build approach 3.4 and later use).
Comment 10 Andrey Grozin gentoo-dev 2011-10-30 11:14:27 UTC
Created attachment 291209 [details]
build log

After the input prompt

File to patch:

I pressed ctrl-c
Comment 11 Javier 2011-11-08 12:45:44 UTC
I don't know if it helps but I had the same problem and disappeared after I set the java USE flag that I had forgotten to set.
Comment 12 Andrey Grozin gentoo-dev 2011-11-09 04:03:52 UTC
(In reply to comment #11)
> I don't know if it helps but I had the same problem and disappeared after I set
> the java USE flag that I had forgotten to set.
Yes. I've just successfully emerged libreoffice[java] on another (more powerfull) computer. I just wanted something minimal on my poor little eeepc, so I omitted USE flags which seemed not absolutely necessary.

So, the question is: can one emerge libreoffice[-java]? Or should we remove the java USE flag, and make all java dependences hard?
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-09 08:05:43 UTC
Nah just update to 3.4 that one should work fine & dandy.

Since now I know what is going on I am going to figure out how to patch around it during next days.
Comment 14 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-10 21:09:30 UTC
Fixed in main tree, i am as confused as you are, but see the commit message :)