Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 225763

Summary: kde-base/arts-3.5.9 fails to build with glibc-2.8
Product: Gentoo Linux Reporter: Rui Vilao <rpvilao>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: blocker CC: cpwp, piorekf, teidakankan
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 225459    

Description Rui Vilao 2008-06-10 15:20:47 UTC
Compilation stops because of a missing constant:

mcoputils.lo mcoputils.cc
mcoputils.cc: In function 'char* locate_mcop_dir()':
mcoputils.cc:80: error: 'PATH_MAX' was not declared in this scope
mcoputils.cc:97: error: 'kde_tmp_dir' was not declared in this scope
mcoputils.cc:106: error: 'user_tmp_dir' was not declared in this scope
mcoputils.cc: In function 'int build_link(const char*, const char*)':
mcoputils.cc:233: error: 'PATH_MAX' was not declared in this scope
mcoputils.cc:242: error: 'kde_tmp_dir' was not declared in this scope
mcoputils.cc:251: error: 'user_tmp_dir' was not declared in this scope
mcoputils.cc:327: error: 'tmp_buf' was not declared in this scope
mcoputils.cc: In static member function 'static std::string
Arts::MCOPUtils::createFilePath(std::string)':
mcoputils.cc:373: error: 'PATH_MAX' was not declared in this scope
mcoputils.cc:374: error: 'tmp_prefix' was not declared in this scope 

Reproducible: Always
Comment 1 Rui Vilao 2008-06-10 15:46:22 UTC
Portage 2.1.5.4 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 Intel(R) Core(TM)2 Duo CPU T8100 @ 2.10GHz
Timestamp of tree: Tue, 10 Jun 2008 11:01:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.3-r4, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo"
LDFLAGS=""
LINGUAS="pt en en_GB"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx X a52 aac aalib accessibility acl alsa apache apache2 arts avi berkdb bzip2 cdda cjk cli cracklib crypt cups daap divx4linux dri dts dvb dvd dvdr dvdread ffmpeg flac fortran freetype gd gdbm gnome gnutls gpm gtk iconv ipv6 isdnlog java kde libcaca libwww live midi mpeg mudflap mysql ncurses nls nptl nptlonly oggvorbis openmp pam pcre pdf perl pic png ppds pppd python qt readline reflection rtc samba session spl ssl svg svga tcpd unicode userlocales vcd win32codecs wxwindows x86 xine xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 	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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt en en_GB" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Timo Gurr (RETIRED) gentoo-dev 2008-06-11 22:41:17 UTC
Fixed in CVS in kde-base/arts-3.5.9, thanks for reporting.
Comment 3 Piotr 2008-06-12 21:02:26 UTC
If the problem is solved, could any one please attach a patch in here or just add it to portage?
Comment 4 Timo Gurr (RETIRED) gentoo-dev 2008-06-12 21:11:33 UTC
(In reply to comment #3)
> If the problem is solved, could any one please attach a patch in here or just
> add it to portage?

Actually that is just what has happened, see my comment above.
emerge --sync && emerge --oneshot kde-base/arts
Comment 5 Piotr 2008-06-12 21:46:46 UTC
Thanks and sorry.