Summary: | app-office/openoffice-3.2.0 build fail: sysui, helpcontent2 modules fail | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Peloquin <markus> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs, gent_bz, howard_b_golden, mike, orzel, realnc |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info =openoffice-3.2.0 |
Description
Markus Peloquin
2010-02-21 17:32:51 UTC
Also, this. I feel bad attaching the entire .3 MB file so I will link to it. http://pages.cs.wisc.edu/~markus/misc/openoffice-2.3.0-build.log.gz (gz=>bz2) http://pages.cs.wisc.edu/~markus/misc/openoffice-2.3.0-build.log.bz2 whoops I'm getting the same error. In my build log, I found this: /usr/bin/perl checksize.pl Checking:../unxlngi6.pro/ Error: ../unxlngi6.pro/misc/sysui/dummy/localize.sdf 0 Bytes! Error: 1 damaged files encountered dmake: Error code 1, while making '../unxlngi6.pro/misc/checksize.done' I found this about the problem above: http://lists.freedesktop.org/archives/ooo-build/2009-December/000434.html Basically it says to use --with-lang="" when building for en-US. That was set to --with-lang="en-US en-US" during my build. My LINGUAS make.conf variable is set to "en en_US". Looking at the ebuild, it appears that if LINGUAS is set to just "en" it is stripped out properly, so I'm now trying the following workaround: LINGUAS="en" emerge openoffice This built successfully for me: LINGUAS="en" emerge openoffice That's a problem with having "en_US" set in LINGUAS, will take a look at it soon, if you don't want to wait just build with LINGUAS="" emerge openoffice instead (In reply to comment #5) > That's a problem with having "en_US" set in LINGUAS, will take a look at it > soon, if you don't want to wait just build with LINGUAS="" emerge openoffice > instead Virtually everyone has en_US in LINGUAS. OpenOffice should be masked in Portage until this is fixed. (In reply to comment #6) > (In reply to comment #5) > > That's a problem with having "en_US" set in LINGUAS, will take a look at it > > soon, if you don't want to wait just build with LINGUAS="" emerge openoffice > > instead > > Virtually everyone has en_US in LINGUAS. OpenOffice should be masked in > Portage until this is fixed. > Which data are you basing your statement on? In my experience most people who use en_US have no LINGUAS set at all. (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > That's a problem with having "en_US" set in LINGUAS, will take a look at it > > > soon, if you don't want to wait just build with LINGUAS="" emerge openoffice > > > instead > > > > Virtually everyone has en_US in LINGUAS. OpenOffice should be masked in > > Portage until this is fixed. > > > > Which data are you basing your statement on? In my experience most people who > use en_US have no LINGUAS set at all. My experience differs. Most attached "emerge --info"s in bug reports I came across always have en_US in there. Also, when following the Gentoo installation guide, you are told to put your languages in there. So even English-only people end up with LINGUAS="en en_US"; that's their language and therefore that's the correct setting for LINGUAS. Anyway, it was put in ~arch to test it and we did, now we know it's broken, so it should be masked to save people a 4 hours compilation that will result in an annoying error. (In reply to comment #8) > Anyway, it was put in ~arch to test it and we did, now we know it's broken, so > it should be masked to save people a 4 hours compilation that will result in an > annoying error. And by doing that forcing everyone else (including those with LINGUAS="en" btw) to build OOo 3.1.1, nice logic ;-) Anyway: I think the time is better spent in solving the actual problem (which is caused by an upstream change in handling languages) so I've put a quick workaround for LINGUAS="en_US" and LINGUAS="en en_US" in the ebuild now. Leaving this open until we have a proper fix. I've resynced today and now I get another error. (I've resynced today at about 14:00. You updated the ebuild yesterday night, so I guess I do have the updated ebuild.) Entering /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/sysui/util /usr/bin/perl checksize.pl Checking:../unxlngx6.pro/ Error: ../unxlngx6.pro/misc/sysui/dummy/localize.sdf 0 Bytes! Error: 1 damaged files encountered dmake: Error code 1, while making '../unxlngx6.pro/misc/checksize.done' ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/sysui/util rmdir /var/tmp/portage/app-office/openoffice-3.2.0/temp/a3uhbUYXtO @Nikos: Hmmm, that actually looks like exactly the same error... Could you please post the LINGUAS you are building OOo with? Is it only "en en_US" or do you build for more languages? (In reply to comment #11) > @Nikos: Hmmm, that actually looks like exactly the same error... It's not the same error. I was getting an error before about 3 modules that could not be built. Now I only get the one I posted. > Could you please post the LINGUAS you are building OOo with? Is it only "en > en_US" or do you build for more languages? I'm attaching the output of "emerge --info =openoffice-3.2.0". Created attachment 220853 [details]
emerge --info =openoffice-3.2.0
Just look at the actual error output: Error: ../unxlngx6.pro/misc/sysui/dummy/localize.sdf 0 Bytes! it's the same. Anyway the solution for your problem is easy: Just write "en en_US" instead of "en_US en" in your LINGUAS. Yeah that's a bit crazy, but until a better solution is here (which I have locally but just need to test with more combinations to make sure) we have to special case that stuff... Sorry for the inconvenience. (In reply to comment #14) > Just look at the actual error output: > > Error: ../unxlngx6.pro/misc/sysui/dummy/localize.sdf 0 Bytes! > > it's the same. Anyway the solution for your problem is easy: Just write "en > en_US" instead of "en_US en" in your LINGUAS. I must admit I didn't think of that ;P I'm fine with removing LINGUAS altogether from my make.conf. "en_US en" is there just because I was under the impression it's actually needed (per Gentoo installation instructions.) (In reply to comment #15) > (In reply to comment #14) > > I must admit I didn't think of that ;P > > I'm fine with removing LINGUAS altogether from my make.conf. "en_US en" is > there just because I was under the impression it's actually needed (per Gentoo > installation instructions.) > LINGUAS might be necessary for other packages, so better to leave them there. Anyway: Your case should be fine now, pushed a fix for that in portage The emerge now finished correctly, so I can confirm it's working here with LINGUAS="en en_US". I'm having a similar problem: 2 module(s): sysui toolkit need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /media/ext2/t/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/toolkit/uiconfig/layout ERROR: error 65280 occurred while making /media/ext2/t/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/sysui/util In build.log, I see this: Entering /media/ext2/t/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/toolkit/uiconfig/layout Compiling: toolkit/source/controls/unocontrolbase.cxx echo '#empty' | cat - > localize.sdf rm -f *-localize.sdf mkdir "../../unxlngx6.pro/lib" mkdir: cannot create directory `../../unxlngx6.pro/lib': File exists cp "message-box.xml" "../../unxlngx6.pro/lib" : && LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/media/ext2/t/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngx6.pro/lib /media/ext2/t/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngx6.pro/bin/tralay -m localize.sdf -o "../../unxlngx6.pro/lib" -l en-US -l -GB -l el "message-box.xml" Option needs an argument: -l, found: -GB Usage: tralay [OPTION]... XML-FILE Options: -h,--help show this help -l,--language=LANG process this language -m,--merge=DATABASE.SDF translation database Examples: tralay -l en-US -o localize.sdf zoom.xml # Extract tralay -m localize.sdf -l de -l nl -o out zoom.xml # Merge/translate dmake: Error code 2, while making '../../unxlngx6.pro/misc/message-box.xml.dep' ============= Building module ucb and for sysui: Entering /media/ext2/t/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/sysui/desktop/util Compiling 10 source files to /media/ext2/t/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/xmerge/unxlngx6.pro/class/pocketword Entering /media/ext2/t/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/sysui/util /usr/bin/perl checksize.pl Checking:../unxlngx6.pro/ Error: ../unxlngx6.pro/misc/sysui/dummy/localize.sdf 0 Bytes! Error: 1 damaged files encountered dmake: Error code 1, while making '../unxlngx6.pro/misc/checksize.done' emerge -vp openoffice These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-office/openoffice-3.2.0 USE="bash-completion cups dbus gtk java opengl pam templates%* (-aqua) -binfilter -debug -eds -gnome -gstreamer -kde (-kdeenablefinal) -ldap -mono -nsplugin -odk" LINGUAS="el en en_GB en_US -af -ar -as_IN -be_BY -bg -bn -br -brx -bs -ca -cs -cy -da -de -dgo -dz -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi_IN -hr -hu -id -it -ja -ka -kk -km -kn_IN -ko -kok -ks -ku -lt -mai -mk -ml_IN -mn -mni -mr_IN -nb -ne -nl -nn -nr -ns -oc -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sa_IN -sat -sd -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Confirming comment #18. Build breaks with LINGUAS="en_GB". # genlop -r | tail -2 rsync'ed at >>> Thu Feb 25 10:40:03 2010 # emerge -vp openoffice These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-office/openoffice-3.2.0 USE="bash-completion binfilter cups dbus gstreamer gtk java mono nsplugin opengl pam (-aqua) -debug -eds -gnome -kde (-kdeenablefinal) -ldap -odk -templates%" LINGUAS="en_GB -af -ar -as_IN -be_BY -bg -bn -br -brx -bs -ca -cs -cy -da -de -dgo -dz -el -en -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi_IN -hr -hu -id -it -ja -ka -kk -km -kn_IN -ko -kok -ks -ku -lt -mai -mk -ml_IN -mn -mni -mr_IN -nb -ne -nl -nn -nr -ns -oc -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sa_IN -sat -sd -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB Please resync, this should be fixed now. I've put a proper fix for this in portage a few hours ago (or at least: I hope that it is a proper fix ;-) ) (In reply to comment #20) > Please resync, this should be fixed now. I've put a proper fix for this in > portage a few hours ago (or at least: I hope that it is a proper fix ;-) ) Looking at ViewCVS of the tree, I see that you made updates approximately 50 minutes ago. My previous attempt was with the previous ebuilds. Now, what I did was to checkout directly from cvs the whole openoffice/ dir and try to build again. It failed again with the same error message. Sorry - still fails for me. # genlop -r | tail -2 rsync'ed at >>> Thu Feb 25 22:56:32 2010 (timezone is GMT) Quick copy/paste of errors:- Entering /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/toolkit/uiconfig/layout Compiling: toolkit/source/awt/asynccallback.cxx Making: controls.lib echo '#empty' | cat - > localize.sdf rm -f *-localize.sdf mkdir "../../unxlngx6.pro/lib" mkdir: cannot create directory `../../unxlngx6.pro/lib': File exists cp "message-box.xml" "../../unxlngx6.pro/lib" : && LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngx6.pro/lib /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/solver/320/unxlngx6.pro/bin/tralay -m localize.sdf -o "../../unxlngx6.pro/lib" -l en-US -l -GB "message-box.xml" Compiling: toolkit/source/layout/vcl/wbutton.cxx Option needs an argument: -l, found: -GB Usage: tralay [OPTION]... XML-FILE Options: -h,--help show this help -l,--language=LANG process this language -m,--merge=DATABASE.SDF translation database Examples: tralay -l en-US -o localize.sdf zoom.xml # Extract tralay -m localize.sdf -l de -l nl -o out zoom.xml # Merge/translate dmake: Error code 2, while making '../../unxlngx6.pro/misc/message-box.xml.dep' === and === Entering /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/javaunohelper/com/sun/star/lib/uno/helper Checking:../unxlngx6.pro/ Error: ../unxlngx6.pro/misc/sysui/dummy/localize.sdf 0 Bytes! Error: 1 damaged files encountered dmake: Error code 1, while making '../unxlngx6.pro/misc/checksize.done' Now it tells me that the 'basic' module failed to build: Entering /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/ basic/source/runtime Compiling: basic/source/runtime/basrdll.cxx Compiling: basic/source/runtime/inputbox.cxx Compiling: basic/source/comp/dim.cxx Compiling: basic/source/runtime/runtime.cxx /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/basic/sou rce/comp/dim.cxx: In member function 'void SbiParser::Attribute()': /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/basic/sou rce/comp/dim.cxx:963: warning: declaration of 'aSym' shadows a member of 'this' Compiling: basic/source/comp/exprtree.cxx Compiling: basic/source/basmgr/basicmanagerrepository.cxx In file included from /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/basic/source/runtime/runtime.cxx:49: ../inc/errobject.hxx:4:34: error: ooo/vba/XErrObject.hpp: No such file or directory Compiling: basic/source/comp/exprnode.cxx In file included from /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/basic/source/runtime/runtime.cxx:49: ../inc/errobject.hxx:9: error: 'ooo' was not declared in this scope ../inc/errobject.hxx:9: error: template argument 1 is invalid ../inc/errobject.hxx:14: error: 'ooo' was not declared in this scope ../inc/errobject.hxx:14: error: template argument 1 is invalid /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/basic/source/runtime/runtime.cxx: In member function 'void SbiRuntime::Error(SbError)': /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/basic/source/runtime/runtime.cxx:853: error: base operand of '->' is not a pointer /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/basic/source/runtime/runtime.cxx:854: error: base operand of '->' is not a pointer /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/basic/source/runtime/runtime.cxx:858: error: base operand of '->' is not a pointer dmake: Error code 1, while making '../../unxlngx6.pro/slo/runtime.obj' Same problem here with: LINGUAS="en_GB en" (In reply to comment #24) > Same problem here with: > LINGUAS="en_GB en" > No matter how hard you try, there is always one case you forget about ;-) By fixing all the other LINGUAS I unintentionally broke en_GB and en_ZA... Anyway: Fixed now, so finally closing this bug I have the error mentioned in comment 23 - that is ../inc/errobject.hxx:4:34: error: ooo/vba/XErrObject.hpp: No such file or directory I see this error when compiling with LINGUAS="en en_GB en_AU". The error does not occur when compiling with LINGUAS="en". |