Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215194 - app-office/openoffice-2.4.0 compile fails - 'curl_easy_strerror' was not declared in this scope
Summary: app-office/openoffice-2.4.0 compile fails - 'curl_easy_strerror' was not decl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-28 14:31 UTC by Thomas Stein
Modified: 2008-04-01 10:22 UTC (History)
1 user (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 Thomas Stein 2008-03-28 14:31:07 UTC
Making: ../../../unxlngx6.pro/slo/download.obj
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/extensions/source/update/check/download.cxx: In function 'bool curl_run(const rtl::OUString&, OutData&, const rtl::OString&, sal_Int32)':
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/extensions/source/update/check/download.cxx:329: error: 'curl_easy_strerror' was not declared in this scope
dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/download.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/extensions/source/update/check
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-2.4.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5413:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.4.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-2.4.0/temp/environment'.

emerge --info:

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.24 x86_64)
=================================================================
System uname: 2.6.24 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
Timestamp of tree: Thu, 27 Mar 2008 09:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/voip /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb cli cracklib crypt cups dri fortran gdbm iconv isdnlog midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg zlib" ALSA_CARDS="ice1724" 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" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" MISDN_CARDS="hfcmulti hfcpci" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always
Comment 1 Hanno Zysik (geki) 2008-03-28 15:12:30 UTC
time to raise curl dep.
http://curl.haxx.se/libcurl/c/curl_easy_strerror.html

"AVAILABILITY

This function was added in libcurl 7.12.0"
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-28 15:23:46 UTC
(In reply to comment #1)
> time to raise curl dep.
> http://curl.haxx.se/libcurl/c/curl_easy_strerror.html
> 
> "AVAILABILITY
> 
> This function was added in libcurl 7.12.0"
> 

@Thomas: could you please check if you indeed have an outdated curl?
Comment 3 Thomas Stein 2008-03-28 15:48:13 UTC
Oh dear. :-)

[ebuild     U ] net-misc/curl-7.17.1 [7.11.0]

Upgrading right now.
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-28 21:56:16 UTC
(In reply to comment #3)
> Oh dear. :-)
> 
> [ebuild     U ] net-misc/curl-7.17.1 [7.11.0]
> 
> Upgrading right now.
> 

I've raised the dependency now, thanks Hanno for pointing this out!

Closing
Comment 5 Nick 2008-04-01 09:54:01 UTC
Hi,
I have a very similar failure, just not with curl (my system is pretty up2date).


----------------------CUT--------------------------------
# emerge openoffice

....
=============
Building module sal
=============
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/sal/inc
-------------
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/sal/typesconfig
-------------
mkdir ../unxlngx6.pro/inc/sal
mkdir: cannot create directory `../unxlngx6.pro/inc/sal': File exists
../unxlngx6.pro/bin/typesconfig ../unxlngx6.pro/inc/sal/typesizes.h
dmake:  Error code 139, while making '../unxlngx6.pro/inc/sal/typesizes.h'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/sal/typesconfig
make: *** [stamp/build] Error 1

----------------------/CUT--------------------------------



# emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.25-rc7 x86_64)
=================================================================
System uname: 2.6.25-rc7 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Tue, 01 Apr 2008 00:32:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona"
DISTDIR="/usr/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="distlocks metadata-transfer nodoc parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="uk_UA.utf8"
LC_ALL="uk_UA.utf8"
LINGUAS="uk ru"
MAKEOPTS="-j3"
PKGDIR="/usr/packages"
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/over_portage/layman/voip /usr/over_portage/layman/gnash-cvs /usr/over_portage/layman/mozilla /usr/over_portage /root/wd/portage-ggergely-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi agg aiglx aio alsa amd64 amr ao apache2 asf audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cli cracklib crypt curl cygnal dba dbus dga divx dmx dri dts dv dvb dvd dvdnav dvdr dvdread enca encode esd exif extensions fam fastbuild fat fbsplash ffmpeg firefox flac ftp gd gdbm gif glib glitz glut gmedia gmp gnutls gpac gphoto2 gpm graphviz gstreamer gtk h323 hal history howl-compat i8x0 icecast iconv icq imagemagick imap inifile inotify ipf-transparent iproute2 isdnlog jingle jpeg jsapi kde kdeenablefinal konqueror lame lcms ldirectord libsamplerate live lzo mad management maps mbrola mdnsresponder-compat memlimit mhash midi mmap mmx mmxext mng modplug mozdevelop moznomail mp2 mp3 mp4 mpeg mpeg4 mplayer mpm-prefork mudflap musepack mysql nas ncurses network networkmanager nfs nls nptl nptlonly nsplugin ntfs ogg openal opengl openmp pam passwordsave pch pcre pdf pdo perl png portaudio pppd pulseaudio python qt3 qt3support qt4 quicktime rdesktop readline realmedia reflection reiserfs rtc sdl server session slang smp sms sockets sound sox speex spell spl sqlite3 srt sse sse2 ssl startup-notification subversion svg sysfs tcpd texteffect theora threads tiff tk truetype unicode usb utempter v4l v4l2 vcd vim-syntax visualization vm-switch vorbis wifi wmf wmp x264 xcomposite xforms xine xml xml2 xmlrpc xorg xulrunner xv xvid xvmc zeroconf zip zlib zvbi" 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="uk ru" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Nick 2008-04-01 09:55:47 UTC
In fact I can _always_ recreate the problem _and_ on other just the same (mostly) system.
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2008-04-01 10:19:30 UTC
(In reply to comment #5)
> Hi,
> I have a very similar failure, just not with curl (my system is pretty
> up2date).
> 

Besides that your build failure is not even remotely similar to the original report, there's an open bug about your issue:

https://bugs.gentoo.org/show_bug.cgi?id=215060
Comment 8 Nick 2008-04-01 10:22:37 UTC
Great thanks Andreas :)
I didn't checked the bugzilla properly.