Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192750 - app-office/openoffice-2.2.1 doesn't build with curl >=7.17.0
Summary: app-office/openoffice-2.2.1 doesn't build with curl >=7.17.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-16 23:14 UTC by Brandon Mintern
Modified: 2007-09-18 07:08 UTC (History)
0 users

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


Attachments
Complete (gzip'ed) build log (build.log.gz,413.78 KB, application/x-gzip)
2007-09-16 23:30 UTC, Brandon Mintern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Mintern 2007-09-16 23:14:37 UTC
While building openoffice (necessary for me because I need the Python uno bindings), it fails with

/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/ucb/source/ucp/ftp/ftpcontent.cxx:603: error: 'CURLE_FTP_USER_PASSWORD_INCORRECT' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/ucb/source/ucp/ftp/ftpcontent.cxx:604: error: 'CURLE_BAD_PASSWORD_ENTERED' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/ucb/source/ucp/ftp/ftpcontent.cxx:607: error: 'CURLE_FTP_ACCESS_DENIED' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/ucb/source/ucp/ftp/ftpcontent.cxx:609: error: 'CURLE_FTP_QUOTE_ERROR' was not declared in this scope
dmake:  Error code 1, while making '../../..//var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/ucb/source/ucp/ftp/ftpcontent.cxx:603: error: 'CURLE_FTP_USER_PASSWORD_INCORRECT' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/ucb/source/ucp/ftp/ftpcontent.cxx:604: error: 'CURLE_BAD_PASSWORD_ENTERED' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/ucb/source/ucp/ftp/ftpcontent.cxx:607: error: 'CURLE_FTP_ACCESS_DENIED' was not declared in this scope
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/ucb/source/ucp/ftp/ftpcontent.cxx:609: error: 'CURLE_FTP_QUOTE_ERROR' was not declared in this scope
dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/ftpcontent.obj'unxlngx6.pro/slo/ftpcontent.obj'

I have tried enabling various USE flags (such as webdav), with no effect (although before I enabled "java", I had an entirely different error). I already have curl-7.17.0-r1 installed, and I tried installing the pycurl ebuild to see if that helped (taking shots in the dark here), but it didn't.

Reproducible: Always

Steps to Reproduce:
1. emerge openoffice
Actual Results:  
Build failed

Expected Results:  
Successful installation of openoffice (and especially the Python uno stuff)

# emerge --info
Portage 2.1.3.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Sun, 16 Sep 2007 09:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-ggdb -march=k8 -O2 -pipe"
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/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-ggdb -march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 amr ansi arts avahi bash-completion bitmap-fonts cairo caps cddb cdr cli cpudetection cracklib crypt cups dbus djvu dri dvd dvdnav dvdr dvdread emacs emboss emerald encode evo fam fftw firefox flac fortran gdbm gif glitz gnome gpm gprof gstreamer gtk hal iconv ipv6 isdnlog jpeg kerberos lcms mad midi mikmod mmx mozbranding mozdevelop mp3 mpeg mudflap mule ncurses new-login nls nogksu nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl png pppd qt3support quicktime readline reflection sdl session sndfile spl sse sse2 ssl svg symlink tcpd theora threads tiff tk truetype truetype-fonts type1-fonts unicode vorbis xanim xemacs xft xml xorg xprint xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# emerge -pv openoffice
[ebuild  N    ] app-office/openoffice-2.2.1  USE="cairo cups dbus firefox gnome gstreamer gtk java pam -binfilter -branding -debug -eds -kde -ldap -mono -odk -seamonkey -sound -webdav" LINGUAS="en -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB
Comment 1 Brandon Mintern 2007-09-16 23:30:50 UTC
Created attachment 131101 [details]
Complete (gzip'ed) build log

Oh, in my original submission, I neglected to include:

GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="." JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""

as reported by the openoffice emerge. Strangely enough:
# eselect java-vm list
Available Java Virtual Machines:
  [1]   blackdown-jdk-1.4.2 
  [2]   sun-jdk-1.5  system-vm

blackdown is not my selected VM. I don't know if that has anything to do with this bug or not...
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-17 03:43:25 UTC
Problem here is the most recent curl, which breaks OOo, there is a patch in upstream ooo-build, will try to integrate it soonish
Comment 3 Brandon Mintern 2007-09-17 08:52:30 UTC
Oh, thanks for the tip, and for changing my frivolous bug report to a helpful one :-). I hadn't realized that I still had curl in my package.keywords from when I installed curlftpfs several months ago.

After removing curl from package.keywords and reinstalling it, OOo compiled fine.  Thanks again!
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2007-09-18 07:08:24 UTC
There is a new release in the tree which solves the build problem with newer curl releases, closing this