Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270484 - openoffice-3.1.0 fails to build with gcc-4.4.0 and glibc-2.10.1
Summary: openoffice-3.1.0 fails to build with gcc-4.4.0 and glibc-2.10.1
Status: RESOLVED DUPLICATE of bug 270263
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 20:01 UTC by Petr Polezhaev
Modified: 2009-05-19 20:05 UTC (History)
0 users

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


Attachments
app-office/openoffice-3.1.0 build.log (build.log,857.66 KB, text/plain)
2009-05-19 20:05 UTC, Petr Polezhaev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Polezhaev 2009-05-19 20:01:26 UTC
Openoffice-3.1.0 fails to build soltools module due to 'getline' from stdio.h redifinition. It could be related to coding rules strictification into gcc-4.4.0 or due some changes into glibc.

Anyway, it have been failing even before glibc-2.10.1 merge.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
In file included from cppsetup.c:30:
def.h:157: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here


Portage 2.2_rc33 (default/linux/amd64/2008.0/desktop, gcc-4.4.0, glibc-2.10.1-r0, 2.6.29-gentoo-r3-nord-0.9 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r3-nord-0.9-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.0
Timestamp of tree: Mon, 18 May 2009 22:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.7
dev-lang/python:     2.6.2
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=native -mfpmath=sse -floop-interchange -floop-strip-mine -floop-block"
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/config /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 /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=native -mtune=native -mfpmath=sse -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.corbina.ru/pub/Linux/gentoo/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,--sort-common -Wl,-O1 -Wl,--hash-style=gnu"
LINGUAS="ru"
MAKEOPTS="-j4"
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="/usr/local/portage/layman/nouveau /usr/local/portage/layman/kde-testing /usr/local/enlightenment-niifaq /usr/local/portage-niifaq"
SYNC="rsync://rsync.niifaq.ru/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups custom-cflags custom-cxxflags custom-optimization dbus dri dvd dvdr dvdread emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xulrunner xv 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 mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sebastian Luther (few) 2009-05-19 20:03:39 UTC

*** This bug has been marked as a duplicate of bug 270263 ***
Comment 2 Petr Polezhaev 2009-05-19 20:05:14 UTC
Created attachment 191835 [details]
app-office/openoffice-3.1.0 build.log

Made with MAKEOPTS="-j1"