First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 216205
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: OpenOffice Team <openoffice@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexey Charkov <alchark@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
openoffice-2.4.0-gcc-4.3.0-fix.patch fix compilation with gcc-4.3.0 patch Bert Karwatzki 2008-04-06 12:35 0000 532 bytes Details | Diff
openoffice-2.4.0-r1.ebuild fix compilation with gcc-4.3.0 text/plain Bert Karwatzki 2008-04-06 12:38 0000 11.95 KB Details
openoffice-2.4.0-r1.ebuild Fixed ebuild. text/plain Bert Karwatzki 2008-04-06 15:56 0000 11.91 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 216205 depends on: Show dependency tree
Show dependency graph
Bug 216205 blocks: 198121
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-04 15:57 0000
Building openoffice-2.4.0 fails with the following error:

/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/registry/tools/checksingleton.cxx:
In member function 'sal_Bool Options::initOptions(int, char**, sal_Bool)':      
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/registry/tools/checksingleton.cxx:301:
error: 'strdup' was not declared in this scope                    
dmake:  Error code 1, while making '../unxlngx6.pro/obj/checksingleton.obj'     
---* tg_merge.mk *---                                                           

ERROR: Error 65280 occurred while making
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/registry/tools 

With GCC 4.2.3 compilation went fine (except for a memory issue described in
215291) 

Reproducible: Always

Steps to Reproduce:
1. emerge =sys-devel/gcc-4.3.0
2. emerge -e world # needed to apply out-of-tree patches to cdrdao, libwpd,
recode, id3lib and boost provided in respective gcc-4.3 porting bugreports
3. emerge =app-office/openoffice-2.4.0




Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.3.0, glibc-2.7-r2,
2.6.24-gentoo-r4-alchark-u3s x86_64)                                            
=================================================================               
System uname: 2.6.24-gentoo-r4-alchark-u3s x86_64 Intel(R) Core(TM)2 Duo CPU
T7500 @ 2.20GHz                                                                 
Timestamp of tree: Thu, 03 Apr 2008 23:03:01 +0000                              
app-shells/bash:     3.2_p33                                                    
dev-java/java-config: 1.3.7, 2.1.5                                              
dev-lang/python:     2.5.1-r5                                                   
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.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"                                                  
CBUILD="x86_64-pc-linux-gnu"                                                    
CFLAGS="-O2 -march=core2 -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/kde/svn/env /usr/kde/svn/share/config
/usr/kde/svn/shutdown /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/texmf/web2c
/etc/udev/rules.d"                         
CXXFLAGS="-O2 -march=core2 -pipe"                                               
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict
unmerge-orphans userfetch"                                                      
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles
http://distfiles.gentoo.org"   
LANG="ru_RU.UTF-8"                                                              
LC_ALL="ru_RU.UTF-8"                                                            
LINGUAS="ru en"                                                                 
MAKEOPTS="-j4"                                                                  
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/kde
/usr/portage/local/layman/gcc-porting /usr/portage/local"                       
SYNC="rsync://mirror.yandex.ru/gentoo-portage"                                  
USE="X a52 aac acl acpi alsa amd64 amr amrnb amrwb archive avahi
bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr chm cli
cracklib crypt cups curl dbus dhcp djvu dri dts dvd dvdr dvdread emboss encode
evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif gimp
gnutls gpm gs gstreamer gtk hal htmlhandbook iconv id3tag ieee1394 imagemagick
ipv6 ipw3945 isdnlog javascript jingle jpeg kde kerberos lame latex lcms ldap
libnotify lzo mad matroska midi mikmod mmx mng mp3 mp4 mpeg mudflap multilib
musepack ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp
oscar pam pcre pdf perl png ppds ppp pppd python qt-copy qt3 qt3support qt4
quicktime rar readline reflection samba scanner sdl session smp spell spl sse
sse2 ssl ssse3 startup-notification svg symlink taglib tcpd tetex theora tiff
truetype unicode usb v4l v4l2 vnc vorbis wifi wmf x264 xcomposite xine xml xorg
xv xvid xvmc zeroconf zip 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"
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 evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Carsten Lohrke 2008-04-04 23:13:39 0000 -------

*** This bug has been marked as a duplicate of bug 215291 ***

------- Comment #2 From Alexey Charkov 2008-04-06 10:38:01 0000 -------
It is not a duplicate of bug 215291, as it concerns a completely different
issue. Bug 215291 occurs with gcc-4.2.3, while this one occurs with gcc-4.3.0.
Here, I could not even get to the point where bug 215291 occurs, as the error
message concerning 'strdup' being undefined appears way earlier.

------- Comment #3 From Bert Karwatzki 2008-04-06 12:35:09 0000 -------
Created an attachment (id=148857) [edit]
fix compilation with gcc-4.3.0

------- Comment #4 From Bert Karwatzki 2008-04-06 12:38:47 0000 -------
Created an attachment (id=148860) [edit]
fix compilation with gcc-4.3.0

A patch fixing this problem is already present in the ooo-build-2.4.0.5.tar.gz,
the only Problem is, it's not applied. Above patch and ebuild should solve
this.

------- Comment #5 From Bert Karwatzki 2008-04-06 15:56:01 0000 -------
Created an attachment (id=148875) [edit]
Fixed ebuild.

The first ebuild didn't install anything.

------- Comment #6 From Alexey Charkov 2008-04-06 19:05:21 0000 -------
I confirm that the package merges (and runs) successfully on my system with the
patch and ebuild provided. Thank you, Bert!

------- Comment #7 From Andreas Proschofsky 2008-04-15 11:08:05 0000 -------
I've just updated the openoffice-2.4 ebuild to include the gcc4.3-patches, so
this should be fixed

First Last Prev Next    No search results available      Search page      Enter new bug