Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Openoffice 2.0.4 and amd64 (solved)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
mkk
n00b
n00b


Joined: 10 Oct 2004
Posts: 56

PostPosted: Mon Oct 16, 2006 2:27 pm    Post subject: Reply with quote

reynolds531 wrote:


Afterward, I reinstalled sun-jdk-1.4, but java-config wouldn't recognize it as a generation-1 virtual machine and I had to keep blackdown. Anyone have any idea why that is?



Correct me if I'm wrong, but I thought sun-jdk did not support amd64 until 1.5 came out.
Back to top
View user's profile Send private message
reynolds531
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 260
Location: Rochester, NY

PostPosted: Mon Oct 16, 2006 2:42 pm    Post subject: Reply with quote

mkk wrote:
Correct me if I'm wrong, but I thought sun-jdk did not support amd64 until 1.5 came out.


Oops. Right you are. For some reason, I had sun-jdk-1.4 keyworded x86 in package.keywords (I'm new to amd64). Odd that java-check-environment didn't pick up on the problem. Thanks for solving the mystery.
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Mon Oct 16, 2006 6:43 pm    Post subject: Reply with quote

yeah, i had sun-jdk 1.4 and OO failed to compile, but blackdown-jdk worked ok.... i didnt know I could have upgraded sun-jdk... oh well. but yes why didnt the ebuild catch that, i will submit a bug
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
mattb0611
n00b
n00b


Joined: 07 Apr 2006
Posts: 18

PostPosted: Tue Oct 17, 2006 3:05 pm    Post subject: Reply with quote

I just finished compiling OOo on my AMD64 system. It took around 6 hours, but an emerge --sync ran during the middle of the compile. I'm running the latest Blackdown Java, and had no errors. It really does run much, much faster compared to openoffice-bin, and it looks a lot better, too. It's nice to have the KDE open/save/print dialogs.

I haven't thoroughly tested all the features, but assuming everything works, it appears to be completely worth the compile time.
Back to top
View user's profile Send private message
dark_glaive
Apprentice
Apprentice


Joined: 09 May 2004
Posts: 176
Location: Raleigh, NC

PostPosted: Tue Oct 17, 2006 6:33 pm    Post subject: Reply with quote

What I'd really like to see is an openoffice-bin package for AMD64 that is natively compiled. That's what I used back in my x86 days to avoid the long OpenOffice compilation times. Is there any reason openoffice-bin for amd64 shoud stay a 32-bit package?
_________________
RipOff, a CD Ripper for Linux
Back to top
View user's profile Send private message
pgolik
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2004
Posts: 125
Location: Warsaw, Poland

PostPosted: Tue Oct 17, 2006 7:57 pm    Post subject: Reply with quote

mattb0611 wrote:
It's nice to have the KDE open/save/print dialogs.

Do you really have the kdeprint full featured dialog? I compiled openoffice 2.0.4 with use=kde, I do have KDE open and save dialogs (which is already an improvement), but the print dialog is the same old openoffice dialog, only with KDE theming (buttons, fonts etc.). How did you get it to use kdeprint directly?
Back to top
View user's profile Send private message
mattb0611
n00b
n00b


Joined: 07 Apr 2006
Posts: 18

PostPosted: Wed Oct 18, 2006 2:53 am    Post subject: Reply with quote

pgolik wrote:
mattb0611 wrote:
It's nice to have the KDE open/save/print dialogs.

Do you really have the kdeprint full featured dialog? I compiled openoffice 2.0.4 with use=kde, I do have KDE open and save dialogs (which is already an improvement), but the print dialog is the same old openoffice dialog, only with KDE theming (buttons, fonts etc.). How did you get it to use kdeprint directly?


No, you are correct. The printer dialog is the same. I'll look into a way to use Kprinter with OOo. The spadmin application to configure OOo printers is supposed to be useful--like in firefox-bin, you can set the print command to be Kprinter.

Edit: I got it to work. It's similar to how you have to do it in firefox-bin. I got this from https://forums.gentoo.org/viewtopic-t-407829-highlight-openoffice+kprinter.html

Quote:
1) In a root terminal
Code:
/usr/lib/openoffice/program/spadmin

2) Click the "New Printer" button
3) Select the "Connect a PDF converter" radio button and then click "Next."
4) Select the "A specific driver, to adapt the format to another printer" radio button and click "Next."
5) Select "Generic Printer" and click "Next."
6) In the "Please enter a command line appropriate for this device" text box, type "kprinter" and click "Next."
7) In the "Please enter a name for the PDF connection" text box, type "KPrinter." Click Finish.

You will find a new printer called KPrinter in the "Installed Printers" dialogue. Unfortunately, it will have a PDF icon, but it works just fine... If you wish, highlight the new KPrinter and click "Default."


Note I did not use a root terminal, and got the same results.
Back to top
View user's profile Send private message
reynolds531
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 260
Location: Rochester, NY

PostPosted: Wed Oct 18, 2006 4:35 am    Post subject: Reply with quote

Great tip, mattb0611. I just tested it under gnome by installing gtklp and substituting "gtklp" for "kprinter" in your instructions. It seems to work fine. Gtklp gives a lot more options than the standard openoffice dialog.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Wed Oct 18, 2006 7:50 pm    Post subject: Reply with quote

has anybody seen this error with gcc-4.1.1-r1.

Code:
../unxlngx6.pro/slo/image.o: In function `SbiImage::Load(SvStream&, unsigned int&)':
image.cxx:(.text+0x7b9): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()'
image.cxx:(.text+0x7c3): undefined reference to `PCodeBuffConvertor<unsigned short, unsigned int>::convert()'
../unxlngx6.pro/slo/image.o: In function `SbiImage::Save(SvStream&, unsigned int)':
image.cxx:(.text+0x1674): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()'
image.cxx:(.text+0x167e): undefined reference to `PCodeBuffConvertor<unsigned int, unsigned short>::convert()'
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../unxlngx6.pro/lib/libsb680lx.so'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/basic/util
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openoffice-2.0.4.ebuild, line 271:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

Code:

$ emerge -pv --nocolor openoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
Package list for slot = 0
        ['ebuild', '/', 'app-office/openoffice-2.0.4', 'merge', '0']
[ebuild  N    ] app-office/openoffice-2.0.4  USE="cairo cups dbus firefox gnome gstreamer gtk java kde ldap pam -binfilter -branding -debug -eds -odk -sound -webdav" LINGUAS="en -af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 0 kB
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Wed Oct 18, 2006 8:46 pm    Post subject: Reply with quote

Can we see your emerge --info information?
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Wed Oct 18, 2006 9:27 pm    Post subject: Reply with quote

Code:
$ emerge --info
Portage 2.1.1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r4,
2.6.17-reiser4-r7 x86_64)
=================================================================
System uname: 2.6.17-reiser4-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Gentoo Base System version 1.12.5
Last Sync: Wed, 18 Oct 2006 15:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -msse2 -msse3 -fforce-addr -finline-functions -pipe
-fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -msse2 -msse3 -fforce-addr -finline-functions -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer nodoc parallel-fetch
sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/
http://gentoo.ccccom.com http://mirrors.tds.net/gentoo
ftp://mirrors.tds.net/gentoo ftp://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/mnt/soft-raid-vms/x64-pkgs"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aim alsa arts audiofile bash-completion berkdb
bitmap-fonts bzip2 cairo cdparanoia cdr cli composite cracklib crypt cscope css
cups curl dar64 dbus dga directfb divx djbfft dlloader dri dv dvb dvd dvdr
dvdread elibc_glibc emboss encode erandom esd evo exif expat ext-png ext-zlib
faac faad fam fame fbcon fbsplash ffmpeg firefox flac foomaticdb freetype fuse
gb gd gif gimp gimpprint glut gnome gnutls gphoto2 gpm gstreamer gtk gtk+ gtk2
hal hpn ieee1394 imagemagick imap imlib input_devices_evdev
input_devices_keyboard input_devices_mouse input_devices_vmmouse ipv6 isdnlog
java javascript jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility
kernel_linux kqemu lcms ldap leim libcaca linguas_en lm_sensors logitech-mouse
logrotate lzo lzw lzw-tiff mad matroska mjpeg mmap mmx2 mng mozsvg mp3 mp4 mpeg
mplayer msn multislot musicbrainz nautilus ncurses nocd nodrm nomalloccheck
nopie nossp nptl nptlonly nsplugin nut nvidia ogg openexr opengl oss pam pcre
pda pdf perl pic png ppds pppd pwdb python qt qt3 qt4 quicktime rdesktop
readline reflection rplay rtc samba sdl sensord server session slp smp sndfile
spell spl sse3 ssl stencil-buffer stroke svg sysfs tcl tcpd theora tiff tk
truetype truetype-fonts type1-fonts urandom usb userland_GNU userlocales v41
video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa
video_cards_vga video_cards_vmware vim vnc vorbis wmf wmp x264 xanim xcomposite
xft xine xinerama xml2 xmms xorg xpm xprint xv xvid xvmc yv12 zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Thu Oct 19, 2006 5:01 am    Post subject: Reply with quote

if anybody else hits the error I hit, you need to take the -finiline-functions out of your CFLAGS. It should not happen but the current scenario is that the some member functions are inlined and not generated as symbols in the object file and hence are not found when refrenced in other modules, which fail to link.

It compiles well after that. I was surprised to see that OO is no longer a day long compile beast.
Code:
$ genlop -t openoffice
 * app-office/openoffice

     Wed Oct 18 21:42:26 2006 >>> app-office/openoffice-2.0.4
       merge time: 1 hour, 45 minutes and 54 seconds.
add probably about an hour to that because of the build failure in the middle, which might have populated the ccache.
Back to top
View user's profile Send private message
wantilles
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2003
Posts: 136
Location: Athens - Greece

PostPosted: Thu Oct 19, 2006 1:13 pm    Post subject: Reply with quote

mkk wrote:
...to build with USE=java, but see my message above about needing to uninstall sun-jdk 1.5, in fact all I had on my system was Blackdown 1.4 during the compile. You can reinstall sun-jdk 1.5 after it compiles though.


Are you talking about blackdown-jre or blackdown-jdk?
Back to top
View user's profile Send private message
mkk
n00b
n00b


Joined: 10 Oct 2004
Posts: 56

PostPosted: Thu Oct 19, 2006 1:52 pm    Post subject: Reply with quote

wantilles wrote:


Are you talking about blackdown-jre or blackdown-jdk?


Blackdown-jdk... the jre is just a runtime environment, you need the jdk to build. And I guess there's somethng about 1.5 versions of jdk's that OOo doesn't like, so it needs to be a 1.4 version, and blackdown-jdk is the only amd64 capable jdk. And for whatever reason, even if you have your system (or user) java environment set to blackdown-jdk, the OOo make (or ebuild) will always find the sun-jdk and use that, so you need to uninstall it to prevent building against it. Perhaps it's possible to have the sun-jre on your system while building, but I've not tried that, all I had installed java-wise was blackdown-jdk-1.4.2.03-r2.

Like I said though, after you build you can reinstall whatever you want on your system, you can even set sun-jre or sun-jdk as your OOo java environment. Although I can't promise error-free operation... I've tried setting all the current blackdown and sun jre's as my OOo java environment and all set correctly, however in general use and testing I've stuck with blackdown.

As others have mentioned in this thread, you still get crashes when you try to create tables, queries, and forms in a MySQL JBDC database, but I've only tried it with blackdown as my OOo java environment. However I get the same error with MySQL ODBC (MyODBC), so I doubt it's a java issue.
Back to top
View user's profile Send private message
wantilles
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2003
Posts: 136
Location: Athens - Greece

PostPosted: Thu Oct 19, 2006 3:44 pm    Post subject: Reply with quote

It still doesn't compile.

Code:
emerge -pv --columns openoffice

These are the packages that would be merged, in order:

Calculating dependencies   ... done!
[ebuild  N    ] app-office/openoffice                                  [2.0.4]                        USE="cairo cups dbus eds firefox gnome gstreamer gtk java kde pam sound -binfilter -branding -debug -ldap -odk -webdav" LINGUAS="el en -af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 0 kB

Total size of downloads: 0 kB


Here is the error I get:

Code:
cppsetup.c:221: warning: return type defaults to ‘int’
dmake:  Error code 1, while making '../unxlngx6.pro/obj/cppsetup.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/soltools/mkdepend
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openoffice-2.0.4.ebuild, line 271:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="-target 1.4" COMPILER=""
and of course, the output of emerge --info


The only java-related stuff that I have installed are the following:

Code:
emerge -pv --columns blackdown-jdk "<virtual/jdk-1.5.0" "<virtual/jre-1.5.0"

These are the packages that would be merged, in order:

Calculating dependencies   ... done!
[ebuild   R   ] dev-java/blackdown-jdk                                 [1.4.2.03-r12]                 USE="doc -nsplugin" 0 kB
[ebuild   R   ] virtual/jdk                                            [1.4.2]                        0 kB
[ebuild   R   ] virtual/jre                                            [1.4.2]                        0 kB

Total size of downloads: 0 kB


Any ideas?
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Fri Oct 20, 2006 12:50 am    Post subject: Reply with quote

Man this is frustrating ... I can't figure out the java dependencies here: I first built app-office/openoffice-2.0.4 but without the java flag (i.e., -java), it worked fairly well but with issues in opening certain msword docs, and no help, etc. So I reenabled java USE flag, cleaned dev-java/sun-jdk-1.5.0.08 and masked it (together with ibm's version, can't download as I can't update old ibm username), so now have
Code:
java-config -L
The following VMs are available for generation-2:
1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2)      Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2]
but in trying to update world (and thus update oo) I get
Code:
# emerge -vupDN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild  N F  ] dev-java/jrockit-jdk-bin-1.5.0.06-r1  78,336 kB
[ebuild   R   ] app-office/openoffice-2.0.4  USE="cups dbus java* kde pam -binfilter -branding -cairo -debug -eds -firefox -gnome -gstreamer -gtk -ldap -odk -sound -webdav" LINGUAS="en* en_US* ja* zh_CN* zh_TW* -af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zu" 0 kB

Total size of downloads: 78,336 kB
So it would seem that a 1.5 jdk is necessary to build oo 2.0.4 from source on amd64, can anyone who knows this verify this dependency?
Back to top
View user's profile Send private message
mkk
n00b
n00b


Joined: 10 Oct 2004
Posts: 56

PostPosted: Fri Oct 20, 2006 3:04 am    Post subject: Reply with quote

rsa4046 wrote:
Man this is frustrating ... I can't figure out the java dependencies here: I first built app-office/openoffice-2.0.4 but without the java flag (i.e., -java), it worked fairly well but with issues in opening certain msword docs, and no help, etc. So I reenabled java USE flag, cleaned dev-java/sun-jdk-1.5.0.08 and masked it (together with ibm's version, can't download as I can't update old ibm username), so now have
Code:
java-config -L
The following VMs are available for generation-2:
1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2)      Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2]
but in trying to update world (and thus update oo) I get
Code:
# emerge -vupDN world

These are the packages that would be merged, in order:

Calculating world dependencies... done!
[ebuild  N F  ] dev-java/jrockit-jdk-bin-1.5.0.06-r1  78,336 kB
[ebuild   R   ] app-office/openoffice-2.0.4  USE="cups dbus java* kde pam -binfilter -branding -cairo -debug -eds -firefox -gnome -gstreamer -gtk -ldap -odk -sound -webdav" LINGUAS="en* en_US* ja* zh_CN* zh_TW* -af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zu" 0 kB

Total size of downloads: 78,336 kB
So it would seem that a 1.5 jdk is necessary to build oo 2.0.4 from source on amd64, can anyone who knows this verify this dependency?


Don't emerge world.... that WILL reinstall jdk 1.5 because it is a necessary app for world (and for the system too, which is why that gets listed first). Just "emerge openoffice -av" by itself (it will not require jdk 1.5) then do your emerge world after that to put the jdk back in.
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Fri Oct 20, 2006 3:16 am    Post subject: Reply with quote

Thanks mkk. Already got started, 1st emerging dev-java/jrockit-jdk-bin-1.5.0.06-r1, and then rebuilding app-office/openoffice-2.0.4 with the java USE flag. Halfway done
Code:
# genlop -c

 * app-office/openoffice-2.0.4

       current merge time: 2 hours, 19 minutes and 52 seconds.
       ETA: 2 hours, 28 minutes and 35 seconds.

Will see if it works.
Back to top
View user's profile Send private message
mkk
n00b
n00b


Joined: 10 Oct 2004
Posts: 56

PostPosted: Fri Oct 20, 2006 3:17 am    Post subject: Reply with quote

wantilles wrote:
It still doesn't compile.

Code:
emerge -pv --columns openoffice

These are the packages that would be merged, in order:

Calculating dependencies   ... done!
[ebuild  N    ] app-office/openoffice                                  [2.0.4]                        USE="cairo cups dbus eds firefox gnome gstreamer gtk java kde pam sound -binfilter -branding -debug -ldap -odk -webdav" LINGUAS="el en -af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 0 kB

Total size of downloads: 0 kB



Here is the error I get:

Code:
cppsetup.c:221: warning: return type defaults to ‘int’
dmake:  Error code 1, while making '../unxlngx6.pro/obj/cppsetup.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/soltools/mkdepend
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openoffice-2.0.4.ebuild, line 271:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="-target 1.4" COMPILER=""
and of course, the output of emerge --info


The only java-related stuff that I have installed are the following:

Code:
emerge -pv --columns blackdown-jdk "<virtual/jdk-1.5.0" "<virtual/jre-1.5.0"

These are the packages that would be merged, in order:

Calculating dependencies   ... done!
[ebuild   R   ] dev-java/blackdown-jdk                                 [1.4.2.03-r12]                 USE="doc -nsplugin" 0 kB
[ebuild   R   ] virtual/jdk                                            [1.4.2]                        0 kB
[ebuild   R   ] virtual/jre                                            [1.4.2]                        0 kB

Total size of downloads: 0 kB


Any ideas?


Here are my set USE flags, try mimicking them. Sometimes an unset USE flag creates errors (like amule with -gtk almost always fails).
Code:


[ebuild   R   ] app-office/openoffice-2.0.4  USE="binfilter branding cairo cups dbus firefox gnome gstreamer gtk java kde ldap odk pam sound webdav -debug -eds" LINGUAS="-af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en -en_GB -en_US -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zh_CN -zh_TW -zu" 0 kB


Also I do have nsplugins in Blackdown... but I doubt that's it. If resetting your USE flags to what I have doesn't work try posting more of the error code, it's hard for me to tell where that failed from what you posted. You also might want to post a bug report even if this does work.
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Fri Oct 20, 2006 3:32 am    Post subject: Reply with quote

The first emerge (with sun's 1.5.0.8 jdk installed) died at the same place as previous users' posts
Code:
echo ../../unxlngx6.pro/lib
../../unxlngx6.pro/lib
cp -p /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngx6.pro/bin/udkapi.rdb ../../unxlngx6.pro/lib/uno_types.rdb
regmerge ../../unxlngx6.pro/lib/uno_types.rdb / ../../unxlngx6.pro/bin/bridgetest.rdb
mkdir ../../unxlngx6.pro/misc/bridgetest/
cp -f /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngx6.pro/bin/types.rdb ../../unxlngx6.pro/misc/bridgetest/bootstrap.rdb
regcomp -register -r ../../unxlngx6.pro/misc/bridgetest/bootstrap.rdb -c javaloader.uno.so \
        -c javavm.uno.so -c uriproc.uno.so
register component 'javaloader.uno.so' in registry '../../unxlngx6.pro/misc/bridgetest/bootstrap.rdb' succesful!
register component 'javavm.uno.so' in registry '../../unxlngx6.pro/misc/bridgetest/bootstrap.rdb' succesful!
register component 'uriproc.uno.so' in registry '../../unxlngx6.pro/misc/bridgetest/bootstrap.rdb' succesful!
mkdir ../../unxlngx6.pro/lib/
mkdir: cannot create directory `../../unxlngx6.pro/lib/': File exists
cd ../../unxlngx6.pro/lib &&  regcomp -register -br uno_types.rdb -r uno_services.rdb\
        -c acceptor.uno.so \
        -c bridgefac.uno.so \
        -c connector.uno.so \
        -c remotebridge.uno.so \
        -c uuresolver.uno.so \
        -c bridgetest.uno.so \
        -c cppobj.uno.so \
        -c uriproc.uno.so \
        -c constructors.uno.so
register component 'acceptor.uno.so' in registry 'uno_services.rdb' succesful!
register component 'bridgefac.uno.so' in registry 'uno_services.rdb' succesful!
register component 'connector.uno.so' in registry 'uno_services.rdb' succesful!
register component 'remotebridge.uno.so' in registry 'uno_services.rdb' succesful!
register component 'uuresolver.uno.so' in registry 'uno_services.rdb' succesful!
register component 'bridgetest.uno.so' in registry 'uno_services.rdb' succesful!
register component 'cppobj.uno.so' in registry 'uno_services.rdb' succesful!
register component 'uriproc.uno.so' in registry 'uno_services.rdb' succesful!
register component 'constructors.uno.so' in registry 'uno_services.rdb' succesful!
regcomp -register -br ../../unxlngx6.pro/lib/uno_types.rdb -r ../../unxlngx6.pro/lib/uno_services.rdb \
        -c javaloader.uno.so -c javavm.uno.so
register component 'javaloader.uno.so' in registry '../../unxlngx6.pro/lib/uno_services.rdb' succesful!
register component 'javavm.uno.so' in registry '../../unxlngx6.pro/lib/uno_services.rdb' succesful!
regcomp -register  -br ../../unxlngx6.pro/misc/bridgetest/bootstrap.rdb -r ../../unxlngx6.pro/lib/uno_services.rdb -c \
        file:///var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/testtools/source/bridgetest/../../unxlngx6.pro/class/testComponent.jar \
        -env:URE_INTERNAL_JAVA_DIR=file:///var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngx6.pro/bin
using loader com.sun.star.loader.Java2
register component 'file:///var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/testtools/source/bridgetest/../../unxlngx6.pro/class/testComponent.jar' in registry '../../unxlngx6.pro/lib/uno_services.rdb' failed!
error (RuntimeException): JNI exception occurred
dmake:  Error code 1, while making '../../unxlngx6.pro/lib/uno_services.rdb'
dmake:  '../../unxlngx6.pro/lib/uno_services.rdb' removed.
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/testtools/source/bridgetest
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openoffice-2.0.4.ebuild, line 271:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

After I cleaned out sun-jdk, have
Code:
# java-config -L
The following VMs are available for generation-2:
1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
*)      Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2]
3)      WebLogic JRockit 1.5.0.06 [jrockit-jdk-bin-1.5]
I thought that sun's jdk was the problem, but from your post it seems not ...
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Fri Oct 20, 2006 6:52 am    Post subject: Reply with quote

rsa4046 wrote:
Code:

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="[b]/opt/sun-jdk-1.5.0.08[/b]"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
sun-jdk-1.5 is not really cleaned now, is it?
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Fri Oct 20, 2006 6:57 am    Post subject: Reply with quote

Quote:
sun-jdk-1.5 is not really cleaned now, is it?

This message
Code:
 !!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="[b]/opt/sun-jdk-1.5.0.08[/b]"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
was the message from the first emerge, using sun-jdk. In the current one (still building), it's gone.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Fri Oct 20, 2006 7:12 am    Post subject: Reply with quote

oops! missed that.
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Fri Oct 20, 2006 12:39 pm    Post subject: Reply with quote

No luck with jrockit-jdk-bin-1.5 either:
Code:
00002aaaaae8c000-00002aaaaaf62583  /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/solver/680/unxlngx6.pro/lib/libdb_java-4.2.so


"Main Thread" id=1 idx=0x2 tid=9134 lastJavaFrame=0x7fff363e2c68

Stack 0: start=0x7fff361ee000, end=0x7fff363ee000, guards=0x7fff361f3000 (ok), forbidden=0x7fff361f1000
Thread Stack Trace:
    at new_global_handle+96()@0x2b4474fd5f10
    at jniNewGlobalRef+164()@0x2b4474fd6464
    at jstr_create+959()@0x2b4474fc3393
    at hashpool_find_create+112()@0x2b4475016da5
    at get_or_create_jstring+368()@0x2b4474fc369e
    at spGetOrCreateJString+113()@0x2b4474fc3941
    at cdpGetJString+186()@0x2b4474fba489
    at cdpGetConstant+188()@0x2b4474fba2ca
    at cdpInitConstantValues+108()@0x2b4474fbacc1
    at clsInitializeInternalData+164()@0x2b4474fb6a07
    at initializeClass2+411()@0x2b4474ff6267
    at initializeClass+14()@0x2b4474ff66f4
    at generate_code+44()@0x2b4474fbfc51
    at get_runnable_codeinfo2+122()@0x2b4474fc005a
    at get_runnable_codeinfo+48()@0x2b4474fc014d
    at get_runnable_code+20()@0x2b4474fc019e
    at RJNI_jrockit_vm_RNI_generateVirtualCode+464()@0x2b4474fc0472
    -- Java stack --
    at jrockit/vm/RNI.generateVirtualCode(Ljava/lang/Object;JJ)J(Native Method)
    at java/lang/StackTraceElement.toString()Ljava/lang/String;(*:0)
    at java/lang/String.valueOf(Ljava/lang/Object;)Ljava/lang/String;(Unknown Source)
    at java/lang/StringBuilder.append(Ljava/lang/Object;)Ljava/lang/StringBuilder;(StringBuilder.java:116)
    at java/lang/Throwable.printStackTrace(Ljava/io/PrintStream;)V(Unknown Source)
    ^-- Holding lock: java/io/PrintStream@0x2b4476c8a080[thin lock]
    at java/lang/Throwable.printStackTrace()V(Unknown Source)
    at com/sun/star/help/HelpLinker.main([Ljava/lang/String;)V(HelpLinker.java:246)
    at jrockit/vm/RNI.c2java(JJJJ)V(Native Method)
    -- end of trace

Additional information is available in:
  /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/helpcontent2/util/sbasic/jrockit.9134.dump
No snapshot file (core dump) will be created because core dumps have been
disabled. To enable core dumping, try "ulimit -c unlimited"
before starting JRockit again.
If you see this dump, please open a support case with BEA and
supply as much information as you can on your system setup and
the program you were running. You can also search for solutions
to your problem at http://forums.bea.com in
the forum jrockit.developer.interest.general.
Extended, platform specific info:
libc release: 2.4-development
Elf headers:
libc       ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 000000000001d230 PHOFF: 0000000000000040 SHOFF: 000000000012fe18 EF: 0x0 HS: 64 PS: 56 PHN; 11 SS: 64 SHN: 68 STIDX: 67
libpthread ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 00000000000059e0 PHOFF: 0000000000000040 SHOFF: 0000000000012bf0 EF: 0x0 HS: 64 PS: 56 PHN; 10 SS: 64 SHN: 38 STIDX: 35
libjvm     ehdrs: EI: 7f454c46020101000000000000000000 ET: 3 EM: 62 V: 1 ENTRY: 000000000003be90 PHOFF: 0000000000000040 SHOFF: 000000000034f4f8 EF: 0x0 HS: 64 PS: 56 PHN; 3 SS: 64 SHN: 22 STIDX: 19
===== END DUMP ===============================================================


dmake:  Error code 134, while making '../../unxlngx6.pro/bin/sbasic_en-US.zip'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.4/work/ooo/build/OOO_2_0_4/helpcontent2/util/sbasic
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  openoffice-2.0.4.ebuild, line 271:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! When you file a bug report, please include the following information:
GENTOO_VM=jrockit-jdk-bin-1.5  CLASSPATH="" JAVA_HOME="/opt/jrockit-jdk-bin-1.5.0.06"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
so will clean jrockit-jdk-bin-1.5 and try again ...
Back to top
View user's profile Send private message
rsa4046
l33t
l33t


Joined: 07 Feb 2005
Posts: 660
Location: The Big H, a bit SSW

PostPosted: Sat Oct 21, 2006 2:32 am    Post subject: Reply with quote

Okay - success came, as mkk suggested above, by eliminating any 1.5 jdks, compiling openoffice
Code:
Calculating dependencies... done!
[ebuild   R   ] app-office/openoffice-2.0.4  USE="cups dbus java kde pam -binfilter -branding -cairo -debug -eds -firefox -gnome -gstreamer -gtk -ldap -odk -sound -webdav" LINGUAS="en en_US ja zh_CN zh_TW -af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en_GB -en_ZA -es -et -fa -fi -fr -gu_IN -he -hi_IN -hr -hu -it -km -ko -lt -mk -nb -nl -nn -nr -ns -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -st -sv -sw_TZ -th -tn -tr -ts -vi -xh -zu" 0 kB
and then emerging the jdk after the fact:
Code:
# java-config-2 -L
The following VMs are available for generation-2:
1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2)      Blackdown JRE 1.4.2.03 [blackdown-jre-1.4.2]
*)      WebLogic JRockit 1.5.0.06 [jrockit-jdk-bin-1.5]
oowriter2 appears to work well, although still with some minor non-fatal hiccups in loading ms word docs (I'm guessing because of probably because of proprietary mathtype objects, although I haven't verified this). It certainly looks nice, much more pleasant that the pre-compiled equivalent, at least with kde. Thanks to everyone for their advice--
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum