Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345743 - app-office/openoffice-3.2.1-r1: fails to build while working with bmp files
Summary: app-office/openoffice-3.2.1-r1: fails to build while working with bmp files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 10:50 UTC by Andrew Waters
Modified: 2011-08-04 17:57 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Waters 2010-11-16 10:50:54 UTC
Final failure:

1 module(s):
        desktop
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/desktop/zipintro

The actual problem looks like:

Entering /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/extensions/source/bibliography
cp -f /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/ooo_custom_images/dev_nologo/introabout/intro.png ../unxlngx6.pro/misc/ooo_custom_images/dev_nologo/introabout/intro.png
Making:    dev_nologo_intro.zip
rebuilding zipfiles
------------------------------
        zip warning: ../unxlngx6.pro/bin/dev_nologo_intro.zip not found or empty
  adding: intro.png (deflated 14%)
  adding: about.png (deflated 1%)
Compiling: extensions/unxlngx6/misc/bib_dflt_version.c
Compiling: extensions/source/bibliography/formcontrolcontainer.cxx
Compiling: desktop/source/migration/services/extensionmigration.cxx
cp -f /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/ooo_custom_images/nologo/introabout/intro.png ../unxlngx6.pro/misc/ooo_custom_images/nologo/introabout/intro.png
Making:    nologo_intro.zip
rebuilding zipfiles
------------------------------
        zip warning: ../unxlngx6.pro/bin/nologo_intro.zip not found or empty
  adding: intro.png (deflated 16%)
  adding: about.png (deflated 1%)
dmake:  Error: -- `../unxlngx6.pro/misc/default_images/introabout/intro.bmp' not found, and can't be made

This happens with IcedTea6 1.9.1 and Sun JDK 1.6.0.22.

emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_820_@_1.73GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 16 Nov 2010 06:15:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.4
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ http://gentoo.tiscali.nl/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/mozilla"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 apm bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups cxx dbus dri dts dvd dvdr eds encode evo exif fam ffmpeg firefox flac fortran gdbm gif gimp gpm gstreamer gtk iconv icu ieee1394 imagemagick ipv6 java java6 jpeg jpeg2k kerberos kvm lcms ldap libnotify mad mikmod mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib nas ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qemu qt4 quicktime rdesktop readline samba sasl sdl session spell sse sse2 ssl startup-notification subversion svg sysfs tcpd threads tiff truetype udev unicode usb vnc vorbis wavpack x264 xcb xcomposite xine xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv
[ebuild     U ] app-office/openoffice-3.2.1-r1 [3.2.0] USE="bash-completion cups dbus eds gstreamer gtk java ldap nsplugin opengl pam (-aqua) -binfilter -debug -gnome -kde (-kdeenablefinal) -odk -templates (-mono%)" LINGUAS="-af -ar -as_IN -be_BY -bg -bn -br -brx -bs -ca -cs -cy -da -de -dgo -dz -el -en -en_GB -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" 


Reproducible: Always

Steps to Reproduce:
1. emerge -auDN openoffice
2.
3.

Actual Results:  
Fails to build

Expected Results:  
Successful build
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2010-11-16 15:56:51 UTC
This usually signals that something else is broken on your system, did you run a revdep-rebuild recently (especially regarding tar, gzip, bzip) and is your system up-to-date?
Comment 2 Andrew Waters 2010-11-16 17:19:34 UTC
Yes - I have run revdep-rebuild recently. It says everything is consistent.

The system is up to date; the only package listed for updating by 'emerge -auDN world' is openoffice.
Comment 3 Philipp Riegger 2010-11-17 16:46:17 UTC
I seem to have the same problem.revdep-rebuild shows nothing. Should I post emerge --info and stuff?
Comment 4 Thomas Sachau gentoo-dev 2010-11-17 17:55:47 UTC
I have the same issue with a testing amd64 system, also up-to-date, except tar, which i have to keep at 1.23-r2 for now.

So the issue should not be any outdated packages.
Comment 5 Stefan Richter 2010-11-21 09:53:41 UTC
Same here.  From the build log:
[...]
Entering /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/desktop/zipintro
/bin/bash: DLLPOSTFIX: command not found
cp -f /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/ooo_custom_images/dev/introabout/intro.png ../unxlngx6.pro/misc/ooo_custom_images/dev/introabout/intro.png
cp -f /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/default_images/introabout/about.png ../unxlngx6.pro/misc/default_images/introabout/about.png
Compiling: desktop/source/deployment/gui/dp_gui_dialog2.cxx
Compiling: vbahelper/source/vbahelper/vbacommandbarcontrols.cxx
Making:    dev_intro.zip
rebuilding zipfiles
------------------------------ 
	zip warning: ../unxlngx6.pro/bin/dev_intro.zip not found or empty
  adding: intro.png (deflated 11%)
  adding: about.png (deflated 1%)
cp -f /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/ooo_custom_images/dev_nologo/introabout/intro.png ../unxlngx6.pro/misc/ooo_custom_images/dev_nologo/introabout/intro.png
Making:    dev_nologo_intro.zip
rebuilding zipfiles
------------------------------ 
Compiling: vbahelper/source/msforms/vbalabel.cxx
	zip warning: ../unxlngx6.pro/bin/dev_nologo_intro.zip not found or empty
  adding: intro.pngCompiling: desktop/source/pagein/pagein.c
[...]
[...many lines later...]
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/desktop/zipintro


So, does "/bin/bash: DLLPOSTFIX: command not found" have anything to do with it?
Comment 6 manu 2010-11-23 11:39:02 UTC
compiling with -nsplugin did the trick for me. Not sure what nsplugin is used for in openoffice...so I guess I can live without it :)
Comment 7 Daniele Boffi 2010-11-23 17:56:23 UTC
I am managing two amd64 boxes: on the first one compilation was OK, while on the second one I hit this bug.
I include the following informations which can possibly help in fixing it.

1. The first box is a server which has been running continuously for a while (current uptime is 550 days). Besides kernel and udev is updated to stable amd64, CFLAGS="-O3 -march=k8 -pipe", MAKEOPTS="-j3, active use flags for openoffice are "binfilter cups gnome gstreamer gtk java kde opengl".

2. The second box is a new laptop, almost fresh installation, updated to stable amd64, CFLAGS="-march=core2 -mtune=generic -O2 -pipe", MAKEOPTS="-j3", use flags "binfilter cups gnome java kde opengl pam"

I tried to match the use flags of the second box with the first one with no success. I also tried to reduce MAKEOPTS to "-j1" and to play a little with the CFLAGS: no way.
Comment 8 Pasquale Colicchio 2010-11-25 15:02:43 UTC
(In reply to comment #6)
> compiling with -nsplugin did the trick for me. Not sure what nsplugin is used
> for in openoffice...so I guess I can live without it :)
> 

Same here. Compiling with -nsplugin seems to be a workaround
Comment 9 Stefan Richter 2010-11-25 19:46:28 UTC
(In reply to comment #8)
> (In reply to comment #6)
> > compiling with -nsplugin did the trick for me. Not sure what nsplugin is used
> > for in openoffice...so I guess I can live without it :)
> > 
> 
> Same here. Compiling with -nsplugin seems to be a workaround
> 

No, it is not.  The bug occurs with -nsplugin too.
Comment 10 Hannes Wallnöfer 2010-11-27 16:29:19 UTC
Hello, I may have found the solution... 

I took a look at the build.log:

Lines containing Intro.bmp:

convert: missing an image filename `/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/default_images/introabout/intro.bmp' @ error/convert.c/ConvertImageCommand/2970.

echo LASTTIME_INTRO_BITMAPS= > ../../unxlngx6.pro/misc/intro_bmp_names.mk

---

intro.png apears too:

Config: (...) --without-writer2latex --with-intro-bitmaps="/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/ooo_custom_images/nologo/introabout/intro.png"   '--with-distro=Gentoo' '--with-arch=amd64' '--with-srcdir=/var/tmp/por
tage/app-office/openoffice-3.2.1-r1/distdir' '--with-lang=en-US de' '--with-num-
cpus=1' (...)  
[A very long line, i did not want to post the hole line]

convert: no decode delegate for this image format `/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/default_images/introabout/intro.png' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/default_images/introabout/intro.bmp' @ error/convert.c/ConvertImageCommand/2970.


I noticed, in the above line, the intro.bmp appears after the intro.png. There are the two error messages. I am no expert or computer scientist but i think the error messages mean this:

constitute.c could not read the image

convert.c got wrong parameters  (and therefor could not create intro.bmp??)

I could open intro.png with gimp without any problems.
Therfore i think that a converter tool, Openoffice is depending on, has a wrong set of use flags...

Does anyone now a way to list all needed dependencies for a package? Once i tried emerge -Dpv openoffice, but only Openoffice and its useflags where shown, not the packages Openoffice is depending on and their useflags too.

Anyway, both errors are from a tool called convert.

"emerge -pv convert" lead to nothing...

this did the trick:

equery belongs convert
[ Searching for file(s) convert in *... ]
media-gfx/imagemagick-6.6.2.5 (/usr/bin/convert)

after that:

emerge -pv imagemagick 

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

Calculating dependencies       ... done!
[ebuild     U ] media-gfx/imagemagick-6.6.5.6 [6.6.2.5] USE="X bzip2 corefonts%* cxx openmp perl zlib -autotrace -djvu -fftw -fontconfig -fpx -graphviz -gs -hdri -jbig -jpeg -jpeg2k -lcms -lqr -openexr -png -q32 -q8 -raw -static-libs -svg -tiff -truetype -wmf -xml" VIDEO_CARDS="nvidia" 0 kB

Surprise: png is not activated.

I tried this:
USE="png" emerge imagemagick openoffice

and it worked...

Kan anyone confirm this? Why did it work for some of you by disabeling nsplugin?

A final question to you Andrew Waters. Your emerge --info shows that you have png activated, what about imagemagick?

If this really was the problem and if I understood the hole ebuild stuff right, then emerge should complain if png is not activated for imagemagick? I have no experience with ebuilds, unfortunatly.
Comment 11 Paul Healy 2010-11-27 16:48:09 UTC
(In reply to comment #0)

> dmake:  Error: -- `../unxlngx6.pro/misc/default_images/introabout/intro.bmp'
> not found, and can't be made

The build creates this bmp on-the-fly if:

1. the 'convert' program from imagemagick is 'found' (see
ooo/bin/install-artwork)

2. and imagemagick has been built with USE="png"

It fails if imagemagick is installed with USE="-png". 

The build will also succeed if imagemagick is not installed.

Something like this possibly:

--- openoffice-3.2.1-r1.ebuild  2010-11-17 15:05:26.000000000 +0000
+++ openoffice-3.2.1-r2.ebuild  2010-11-27 16:29:17.101389040 +0000
@@ -11,7 +11,7 @@

 inherit autotools bash-completion check-reqs db-use eutils fdo-mime
flag-o-matic java-pkg-opt-2 kde4-base multilib python toolchain-funcs

-IUSE="binfilter cups dbus debug eds gnome gstreamer gtk kde ldap nsplugin odk
opengl pam templates"
+IUSE="binfilter bmp cups dbus debug eds gnome gstreamer gtk kde ldap nsplugin
odk opengl pam templates"

 MY_PV=3.2.1.6
 PATCHLEVEL=OOO320
@@ -132,6 +132,7 @@
        >=net-misc/curl-7.12
        sys-libs/zlib
        sys-apps/coreutils
+       bmp? ( media-gfx/imagemagick[png] )
        pam? ( sys-libs/pam
                sys-apps/shadow[pam] )
        java? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* )
Comment 12 Philipp Riegger 2010-11-27 18:03:40 UTC
I seem to have imagemagick with png and openoffice still fails.
Comment 13 Paul Healy 2010-11-27 19:01:41 UTC
(In reply to comment #12)
> I seem to have imagemagick with png and openoffice still fails.

What does this show for you?

# equery uses imagemagick |grep '+'
+X
+bzip2
+corefonts
+cxx
+jpeg
+openmp
+perl
+png
+truetype
+video_cards_nvidia
+zlib
#



Comment 14 Stefan Richter 2010-11-27 19:33:51 UTC
Re comment 10, comment 11:

Here, imagemagick had png off.  I now tried

    USE="png" emerge -av imagemagick openoffice

and this works for me indeed.
Comment 15 Andreas Proschofsky (RETIRED) gentoo-dev 2010-11-27 20:00:27 UTC
(In reply to comment #12)
> I seem to have imagemagick with png and openoffice still fails.
> 

Are you even sure you have the EXACT same problem as reported in the first bug? Cause a lot of commenters (those solving it by using -nsplugin) definitely have not.
Comment 16 Thomas Sachau gentoo-dev 2010-11-27 21:56:16 UTC
Installing imagemagick with USE=png solves the issue for me too.

So you will either need an unconditional dependency on that or some conditional dependency, where the disabled USE flag disables the convert.

Thanks to the user from comment 10 for looking into it and finding it out.
Comment 17 Philipp Riegger 2010-11-28 00:26:16 UTC
My last try ([ebuild     U ] app-office/openoffice-3.2.1-r1 [3.2.1] USE="cups dbus gnome gstreamer gtk java opengl pam ..." LINGUAS="en ...") failed like this:

1 module(s): 
        desktop
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/desktop/zipintro

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from desktop"

rmdir /var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/JuZx2SDdBy
make: *** [stamp/build] Error 1



I get the same "actual problem" mentioned in comment 1:

Entering /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/desktop/zipintro
cp -f /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/ooo_custom_images/dev/introabout/intro.png ../unxlngx6.pro/misc/ooo_custom_images/dev/introabout/intro.png
cp -f /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/default_images/introabout/about.png ../unxlngx6.pro/misc/default_images/introabout/about.png
Making:    dev_intro.zip
rebuilding zipfiles
------------------------------ 
        zip warning: ../unxlngx6.pro/bin/dev_intro.zip not found or empty
  adding: intro.png (deflated 11%)
  adding: about.png (deflated 1%)
Compiling: desktop/source/migration/services/cexportsoo3.cxx
cp -f /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/ooo_custom_images/dev_nologo/introabout/intro.png ../unxlngx6.pro/misc/ooo_custom_images/dev_nologo/introabout/intro.png
Making:    dev_nologo_intro.zip
rebuilding zipfiles
------------------------------ 
        zip warning: ../unxlngx6.pro/bin/dev_nologo_intro.zip not found or empty
  adding: intro.png (deflated 14%)
  adding: about.png (deflated 1%)
cp -f /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/ooo_custom_images/nologo/introabout/intro.png ../unxlngx6.pro/misc/ooo_custom_images/nologo/introabout/intro.png
Making:    nologo_intro.zip
rebuilding zipfiles
------------------------------ 
        zip warning: ../unxlngx6.pro/bin/nologo_intro.zip not found or empty
  adding: intro.png (deflated 16%)
  adding: about.png (deflated 1%)
dmake:  Error: -- `../unxlngx6.pro/misc/default_images/introabout/intro.bmp' not found, and can't be made
=============



jesper ~ # emerge -pv openoffice

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

Calculating dependencies... done!
[ebuild     U ] app-office/openoffice-3.2.1-r1 [3.2.1] USE="(-aqua) -bash-completion -binfilter cups dbus -debug -eds gnome gstreamer gtk java -kde (-kdeenablefinal) -ldap -nsplugin* -odk opengl pam -templates" LINGUAS="-af -ar -as_IN -be_BY -bg -bn -br -brx -bs -ca -cs -cy -da -de -dgo -dz -el en -en_GB -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

Total: 1 package (1 upgrade), Size of downloads: 0 kB
jesper ~ # emerge --info
Portage 2.2.0_alpha5 (hardened/linux/amd64, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r3-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-2.0.1
Timestamp of tree: Sat, 27 Nov 2010 16:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.5
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo jesper_local x11 java-overlay java-experimental xen sugar sunrise gnome mozilla nx science mysql hardened-dev mpd openrc perl-experimental wacfg tante stoile_overlay flameeyes-overlay lisp
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA googleearth AdobeFlash-10 AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/mnt/space/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --alphabetical --binpkg-respect-use y --load-average=5 --with-bdeps y"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://gentoo.inode.at/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="*.la"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j4 -l5 -s"
PKGDIR="/mnt/space/gentoo/packages/jesper"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /mnt/space/gentoo/layman/x11 /mnt/space/gentoo/layman/java-overlay /mnt/space/gentoo/layman/java-experimental /mnt/space/gentoo/layman/xen /mnt/space/gentoo/layman/sugar /mnt/space/gentoo/layman/sunrise /mnt/space/gentoo/layman/gnome /mnt/space/gentoo/layman/mozilla /mnt/space/gentoo/layman/nx /mnt/space/gentoo/layman/science /mnt/space/gentoo/layman/mysql /mnt/space/gentoo/layman/hardened-development /mnt/space/gentoo/layman/mpd /mnt/space/gentoo/layman/openrc /mnt/space/gentoo/layman/perl-experimental /mnt/space/gentoo/layman/wacfg /mnt/space/gentoo/layman/tante /mnt/space/gentoo/layman/stoile /mnt/space/gentoo/layman/flameeyes-overlay /mnt/space/gentoo/layman/lisp"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 apm audiofile avahi berkdb branding bzip2 cairo caps cli consolekit cracklib crypt cups curl cxx dbus dri dts dvb dvd encode exif fam ffmpeg flac gd gdbm gif gimp gnome gnome-keyring gnuplot gphoto2 graphviz gstreamer gtk hardened iconv idn imagemagick imap ipv6 jpeg justify lame latex lcms libnotify lua lzo mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib musepack nautilus ncurses nls nntp nptl nptlonly offensive ogg openal opengl openmp pam pcre pdf perl pic png policykit pppd python quicktime readline sdl session smp spell sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg sysfs syslog taglib tcpd theora threads tiff truetype unicode urandom usb vcd vim-syntax vorbis wmf x264 xattr xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="casio casio_qv" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-2" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

jesper ~ # 




Furthermore, I think the original reporter never replied to any "fix" so far.

What I did so far:
1) Tried to update openoffice with nsplugin
2) Tried it with -nsplugin
3) Checked that imagemagick is installed and has png enabled:

jesper ~ # emerge -pv imagemagick

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

Calculating dependencies... done!
[ebuild   R   ] media-gfx/imagemagick-6.6.5.6  USE="X -autotrace bzip2 corefonts cxx -djvu -fftw -fontconfig -fpx graphviz gs -hdri -jbig jpeg -jpeg2k lcms -lqr -openexr openmp perl png -q32 -q8 -raw -static-libs svg tiff truetype wmf xml zlib" VIDEO_CARDS="(-nvidia)" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
jesper ~ # 


Comment 18 Paul Healy 2010-11-28 09:35:28 UTC
(In reply to comment #17)
> 3) Checked that imagemagick is installed and has png enabled:

Check its still ok:

# equery belongs `which convert`
[ Searching for file(s) /usr/bin/convert in *... ]
media-gfx/imagemagick-6.6.5.6 (/usr/bin/convert)
# qcheck imagemagick
Checking media-gfx/imagemagick-6.6.5.6 ...
  * 1370 out of 1370 files are good
#

What does your build.log say after 'do artwork tweaks ...'

e.g.
...
touch stamp/prebuild
/local/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/bin/install-artwork ./src /local/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19
do artwork tweaks ...
convert: no decode delegate for this image format `/local/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/default_images/introabout/intro.png' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `/local/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/default_images/introabout/intro.bmp' @ error/convert.c/ConvertImageCommand/2949.
/local/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/src /local/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo
/local/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo
touch stamp/artwork.install
...
Comment 19 Philipp Riegger 2010-11-28 10:21:26 UTC
jesper ~ # equery belongs `which convert`
 * Searching for /usr/bin/convert ... 
media-gfx/imagemagick-6.6.5.6 (/usr/bin/convert)
jesper ~ # qcheck imagemagick
Checking media-gfx/imagemagick-6.6.5.6 ...
  * 1267 out of 1267 files are good
jesper ~ # 


From build.log:

do artwork tweaks ...
convert: no decode delegate for this image format `/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/default_images/introabout/intro.png
' @ error/constitute.c/ReadImage/532.
convert: missing an image filename `/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/default_images/introabout/intro.bmp' @ error/conve
rt.c/ConvertImageCommand/2949.
Comment 20 Hannes Wallnöfer 2010-11-28 11:20:19 UTC
Maybe there is something wrong with convert anyway... To test convert i downloaded this Image from wikipedia:

http://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png

In the directory where I saved the file I executed the command:

convert PNG_transparency_demonstration_1.png PNG_transparency_demonstration_1.bmp

after that the .bmp file was created without errors or any output, maybe you want to try this to.

If this fails, i suggest that you try recompiling imagemagick. If I am not wrong, the command in comment 13 suggest by Paul Healy "equery uses imagemagick |grep '+'" Shows you if png is applied to the installed package or not.

if I execute "equery uses imagemagick" there appears the line:

U I
(..)
+ + png                : Adds support for libpng (PNG images)
(..)

after changing the png USE-flag in /etc/portage/package.use:
U I
(..)
- + png                : Adds support for libpng (PNG images)
(..)

I think the 'U' stands for Useflag (- unset ; + set) and the 'I' for Installed (- feature not installed ; + feature installed). So probably after an emerge of a package, U and I should be the same. Please correct me if I am wrong...
Comment 21 Philipp Riegger 2010-11-28 12:17:37 UTC
"emerge --unmerge imagemagick; emerge openoffice" works. No trying with imagemagick again.
Comment 22 Philipp Riegger 2010-11-28 12:34:37 UTC
Looks like imagemagick needs la files to run. Never had this problem before and I use INSTALL_MASK="*.la" since some time. One final openoffice rebuild and this should work.

One question: What happens if there is no "convert"? Is some functionality missing? What does the build system do? Would it be possible to prevent the openoffice build system from searching for/finding convert so that bugs like this are never triggert?
Comment 23 Philipp Riegger 2010-11-28 20:35:47 UTC
Ok, everything works as expected with imagemagick and its la files. Openoffice builds, with and without nsplugin.
Comment 24 Daniele Boffi 2010-11-29 17:37:02 UTC
I can confirm that adding USE=png to imagemagick allows a complete compilation of openoffice on my box # 2 (see my Comment # 7). Indeed my box # 1 already had this use flag and that was the reason for the different behavior.
Comment 25 Hannes Wallnöfer 2010-12-01 10:12:41 UTC
Okay then,

the Problem seems to be solved, Andrew Waters can you confirm this?

What may the next step be? I think there are tons of users out there syncing every couple of days and updating OO hoping the problem has been solved.

Can, or already has someone change the ebuild in a way that solvs the problem? I think the solution provided by Paul Healy sounds good:

--- openoffice-3.2.1-r1.ebuild  2010-11-17 15:05:26.000000000 +0000
+++ openoffice-3.2.1-r2.ebuild  2010-11-27 16:29:17.101389040 +0000
@@ -11,7 +11,7 @@

 inherit autotools bash-completion check-reqs db-use eutils fdo-mime
flag-o-matic java-pkg-opt-2 kde4-base multilib python toolchain-funcs

-IUSE="binfilter cups dbus debug eds gnome gstreamer gtk kde ldap nsplugin odk
opengl pam templates"
+IUSE="binfilter bmp cups dbus debug eds gnome gstreamer gtk kde ldap nsplugin
odk opengl pam templates"

 MY_PV=3.2.1.6
 PATCHLEVEL=OOO320
@@ -132,6 +132,7 @@
        >=net-misc/curl-7.12
        sys-libs/zlib
        sys-apps/coreutils
+       bmp? ( media-gfx/imagemagick[png] )
        pam? ( sys-libs/pam
                sys-apps/shadow[pam] )
        java? ( || ( =virtual/jdk-1.6* =virtual/jdk-1.5* )



If convert does not add any other features to OO, then the best thing would be if OO checks for the useflag and just uses the other mechanism it would use when imagemagick is not installed at all.
Right now I i would stick to the fist solution, its faster and easier.




Comment 26 Andreas Proschofsky (RETIRED) gentoo-dev 2010-12-01 12:31:10 UTC
I don't quite get how the proposed solution would solve anything. Cause: What happens if you have USE="-bmp -png" but imagemagick still installed? Same error again...
Comment 27 Philipp Riegger 2010-12-01 13:00:04 UTC
Yes, this doesn't make sense at all. Would something like

|| ( !media-gfx/imagemagick media-gfx/imagemagick[png] )

work? What about media-gfx/graphicsmagick[imagemagick,-png]?
Comment 28 Paul Healy 2010-12-01 13:06:23 UTC
(In reply to comment #26)
>  What happens if you have USE="-bmp -png" but imagemagick still installed?  

Better alright to add imagemagick[png] to DEPEND if imagemagick is found:

[ -f /usr/bin/convert ] && DEPEND="S{DEPEND} media-gfx/imagemagick[png]"

Since this is the check that install-artwork uses, I think its valid.
Comment 29 Kolan Sh. 2010-12-23 01:18:11 UTC
Hello!
I'm not shure, whether the error of compilation reproduced on my PC correlates with this bug...
But the same error 65280...
openoffice-3.2.1-r1
==================================================================
dmake:  Error code 1, while making '../../unxlngx6.pro/slb/dbushared.lib'
dmake:  Error code 1, while making '../../unxlngx6.pro/slb/pdffilter.lib'
dmake:  Error code 5, while making '../../unxlngx6.pro/slb/xforms.lib'
dmake:  Error code 1, while making '../../unxlngx6.pro/slb/filter.lib'
dmake:  Error code 1, while making '../../../unxlngx6.pro/slb/debugservices_ooxml.lib'
dmake:  Error code 2, while making '../../../unxlngx6.pro/slb/debugservices_doctok.lib'
...
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/writerfilter/source/filter
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/filter/source/pdf
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/dbaccess/source/shared
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/forms/source/xforms
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/writerfilter/unocomponent/debugservices/doctok
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/writerfilter/unocomponent/debugservices/ooxml
==================================================================
It has been solved by
mv /var/tmp/ccache /var/tmp/ccache.bkp.
Similar on absurdity, but I haven't overclock my system and all work stable.
CFLAGS="-march=amdfam10 -O2 -pipe -msse4a -ftracer -mfpmath=sse -fomit-frame-pointer"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
At the moment of record of these options ccache it was pure also options didn't change.
Only linguas_ru USE-flag enabled. All other flags is off.

May be the problem in the ccache?
Comment 30 Hannes Wallnöfer 2010-12-23 09:51:12 UTC
(In reply to comment #29)
> Hello!
> I'm not shure, whether the error of compilation reproduced on my PC correlates
> with this bug...
> But the same error 65280...
> openoffice-3.2.1-r1
> ==================================================================
> dmake:  Error code 1, while making '../../unxlngx6.pro/slb/dbushared.lib'
> dmake:  Error code 1, while making '../../unxlngx6.pro/slb/pdffilter.lib'
> dmake:  Error code 5, while making '../../unxlngx6.pro/slb/xforms.lib'
> dmake:  Error code 1, while making '../../unxlngx6.pro/slb/filter.lib'
> dmake:  Error code 1, while making
> '../../../unxlngx6.pro/slb/debugservices_ooxml.lib'
> dmake:  Error code 2, while making
> '../../../unxlngx6.pro/slb/debugservices_doctok.lib'
> ...
> ERROR: error 65280 occurred while making
> /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/writerfilter/source/filter
> ERROR: error 65280 occurred while making
> /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/filter/source/pdf
> ERROR: error 65280 occurred while making
> /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/dbaccess/source/shared
> ERROR: error 65280 occurred while making
> /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/forms/source/xforms
> ERROR: error 65280 occurred while making
> /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/writerfilter/unocomponent/debugservices/doctok
> ERROR: error 65280 occurred while making
> /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/writerfilter/unocomponent/debugservices/ooxml
> ==================================================================
> It has been solved by
> mv /var/tmp/ccache /var/tmp/ccache.bkp.
> Similar on absurdity, but I haven't overclock my system and all work stable.
> CFLAGS="-march=amdfam10 -O2 -pipe -msse4a -ftracer -mfpmath=sse
> -fomit-frame-pointer"
> LDFLAGS="-Wl,-O1 -Wl,--as-needed"
> At the moment of record of these options ccache it was pure also options didn't
> change.
> Only linguas_ru USE-flag enabled. All other flags is off.
> 
> May be the problem in the ccache?
> 

Hello

I disabled ccache and distcc and the build still failed... therefore it may not be correlated to this bug, but I am just guessing :).

I think the error number indicates that the build failed for some reasons. The problem causing this error may probably vary.
Comment 31 Patrick 2011-04-24 20:48:40 UTC
Do we have any update on this bug? 5 months and the imagemagick[png] issue is still present.
Comment 32 Andreas Proschofsky (RETIRED) gentoo-dev 2011-04-25 06:53:53 UTC
(In reply to comment #31)
> Do we have any update on this bug? 5 months and the imagemagick[png] issue is
> still present.

Use libreoffice instead, openoffice is outdated nowadays
Comment 33 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-16 16:18:44 UTC
Could someone please update the Summary to reflect the nature of this bug report, i.e. to be less generic?
Comment 34 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-04 17:57:53 UTC
This is so fixed with new lo build system. So for 100% on 3.4.2.3 and later.