Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201562 - x11-libs/wxGTK-2.6.4.0-r1 fails to configure properly with gettime
Summary: x11-libs/wxGTK-2.6.4.0-r1 fails to configure properly with gettime
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-07 06:54 UTC by Brian Nisonger
Modified: 2010-02-15 22:02 UTC (History)
0 users

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


Attachments
emerge --info =x11-libs/wxGTK-2.8.10.1-r5 (emerge.info,4.28 KB, text/plain)
2010-02-14 21:46 UTC, Niklas Heibel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Nisonger 2007-12-07 06:54:23 UTC
When compiling wxGTK 

Reproducible: Always

Steps to Reproduce:
1.emerge wxGTK
2.
3.

Actual Results:  
Failed config of gettime

Expected Results:  
compiled wxGTK

I was compiling it as part of emerge --deep --update --newuse world

The config fails to see the correct number of gettime variables on second configure  which then leads to crash.
Comment 1 Brian Nisonger 2007-12-07 06:59:39 UTC
Here is the second configure portion which leads to the eventual make error: 

checking whether gettimeofday takes two arguments... configure: WARNING: failed to determine number of gettimeofday() arguments
unknown
checking for socket... yes
checking what is the type of the third argument of getsockname... unknown
configure: WARNING: Couldn't find socklen_t synonym for this system
checking what is the type of the fifth argument of getsockopt... unknown
configure: WARNING: Couldn't find socklen_t synonym for this system
configure: WARNING: Protocol classes require sockets... disabled
configure: WARNING: HTTP filesystem require protocol classes... disabled
configure: WARNING: wxURL class requires wxProtocol... disabled
configure: WARNING: wxMetafile is not available on this system... disabled
configure: WARNING: wxWidgets IPC classes require sockets... disabled

Actual Error:

usr/include/sys/time.h: In function ‘wxLongLong wxGetLocalTimeMillis()’:
/usr/include/sys/time.h:74: error: too few arguments to function ‘int
gettimeofday(timeval*, timezone*)’
/var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r1/work/wxPython-src-2.6.4.0/src/common/stopwatch.cpp:284:
error: at this point in file
/var/tmp/portage/x11-libs/wxGTK-2.6.4.0-r1/work/wxPython-src-2.6.4.0/src/common/stopwatch.cpp:365:
warning: control reaches end of non-void function
make: *** [basedll_stopwatch.o] Error 1

emerge --info

Portage 2.1.4_rc7 (default-linux/x86/2006.1/desktop, gcc-4.2.2, glibc-2.6.1-r0,
2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm)
Timestamp of tree: Thu, 06 Dec 2007 10:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.4.4-r6
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.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
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe  -fomit-frame-pointer"
CHOST="i686-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/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=athlon-xp -pipe  -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
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/portage/local/layman/xeffects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri
dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer
gtk hal iconv ipv6 isdnlog jpeg kde ldap mad midi mikmod mp3 mpeg mudflap
ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre perl png ppds
pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl
tcpd truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml
xorg xv zlib" ALSA_CARDS="emu10k1" 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 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 i740 i810 imstt mach64 mga neomagic nsc nv
r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga
trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS






(In reply to comment #0)
> When compiling wxGTK 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1.emerge wxGTK
> 2.
> 3.
> 
> Actual Results:  
> Failed config of gettime
> 
> Expected Results:  
> compiled wxGTK
> 
> I was compiling it as part of emerge --deep --update --newuse world
> 
> The config fails to see the correct number of gettime variables on second
> configure  which then leads to crash.
> 

Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2008-01-28 15:42:37 UTC
Move stuff to new alias
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2008-01-31 10:34:52 UTC
Re-reassigning, sorry for the bugspam
Comment 4 Niklas Heibel 2010-02-14 21:46:20 UTC
Created attachment 219713 [details]
emerge --info =x11-libs/wxGTK-2.8.10.1-r5
Comment 5 Niklas Heibel 2010-02-14 22:02:27 UTC
Comment on attachment 219713 [details]
emerge --info =x11-libs/wxGTK-2.8.10.1-r5

sorry, add this to the wrong bug, see 305163
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2010-02-15 22:02:16 UTC
as for the original bug, please reopen if this still happens with an updated system.