Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77559 - darcs fails to compile at WhatsNew.lhs:123 with wxwindows enabled
Summary: darcs fails to compile at WhatsNew.lhs:123 with wxwindows enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andres Loeh (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-11 10:26 UTC by Charles Duffy
Modified: 2005-01-17 05:50 UTC (History)
0 users

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 Charles Duffy 2005-01-11 10:26:46 UTC
WhatsNew.lhs:123:
    Couldn't match `Attr w Size' against `t -> t1'
        Expected type: Attr w Size
        Inferred type: t -> t1
    Probable cause: `size' is applied to too many arguments in the call
        (size 10 10)
    In the second argument of `(:=)', namely `size 10 10'
make: *** [WhatsNew.o] Error 1

This only happens when compiling with the wxwindows USE flag enabled.

Reproducible: Always
Steps to Reproduce:
1. Add wxwindows to USE flags
2. emerge darcs



Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, 
glibc-2.3.4.20040808-r1, 2.6.8.1-co-0.6.2-pre7 i686) 
================================================================= 
System uname: 2.6.8.1-co-0.6.2-pre7 i686 AMD Athlon(tm) 64 Processor 2800+ 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r5,sys-devel/autoconf-2.13 
Automake: 
sys-devel/automake-1.6.3,sys-devel/automake-1.7.9,sys-devel/automake-1.8.5-r1,sys-devel/automake-1.8.5-r2,sys-devel/automake-1.4_p6,sys-devel/automake-1.9.3 
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -mmmx -mfpmath=sse -msse -msse2 -m3dnow -O3 -pipe" 
CHOST="i586-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -mmmx -mfpmath=sse -msse -msse2 -m3dnow -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dnow X acl afs apache2 arts audiofile bash-completion berkdb 
bitmap-fonts bonobo bzip2 crypt cups curl emacs esd fam firebird flac fortran 
gdbm gif gnome gnutls gstreamer gtk gtk2 gtkhtml guile imlib ipv6 java 
javascript jpeg junit kde kerberos libclamav libwww mad maildir mikmod mmx 
mozilla mozsvg mpeg ncurses nptl nptlonly oggvorbis pam pcre pdflib perl pic 
png postgres python qt readline samba sdl slang speex spell sqlite ssl tcltk 
tcpd tetex tiff truetype wxwindows xml xml2 xmms zlib"
Comment 1 Andres Loeh (RETIRED) gentoo-dev 2005-01-17 05:50:51 UTC
The wxwindows interface of darcs is currently unmaintained, which lead me
to disable wxwindows in current ebuilds of darcs already. Furthermore,
wxwindows has incompatibly changed its interface, which causes this error
for the versions of darcs where wxwindows building was still enabled.

I've done three things:
* removed darcs 0.9.20 from the tree
* removed wxwindows from darcs 0.9.23
* marked darcs 1.0.1 stable on x86

I hope this fixes the problem.

Thanks for the report,

  ks