Summary: | app-office/openoffice-3.2.1-r1: fails to build while working with bmp files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Waters <awaters> |
Component: | New packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs+gentoo, daniele.boffi, h.wallnoefer, lmiphay, manuavazquez, stefan-r-bz, tommy |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrew Waters
2010-11-16 10:50:54 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? 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. I seem to have the same problem.revdep-rebuild shows nothing. Should I post emerge --info and stuff? 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. 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? 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 :) 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. (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 (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. 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. (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* ) I seem to have imagemagick with png and openoffice still fails. (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 # 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. (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. 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. 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 ~ # (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 ... 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. 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... "emerge --unmerge imagemagick; emerge openoffice" works. No trying with imagemagick again. 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? Ok, everything works as expected with imagemagick and its la files. Openoffice builds, with and without nsplugin. 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. 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. 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... 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]? (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. 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? (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. Do we have any update on this bug? 5 months and the imagemagick[png] issue is still present. (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 Could someone please update the Summary to reflect the nature of this bug report, i.e. to be less generic? This is so fixed with new lo build system. So for 100% on 3.4.2.3 and later. |