Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55716 - plucker-1.8-r1 does not compile
Summary: plucker-1.8-r1 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-30 14:05 UTC by Niels Laukens
Modified: 2005-06-23 06:05 UTC (History)
5 users (show)

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


Attachments
non-unicode.diff (non-unicode.diff,666 bytes, patch)
2005-04-11 19:42 UTC, Rob Cakebread (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Niels Laukens 2004-06-30 14:05:16 UTC
just found out that plucker has it's ebuild now, so checked it out; it failes to compile already with the first file (see additional info for the complete log):

checkbox_message_dialog.h:82: error: invalid type `const char[2]' for default
   argument to `const wxString&'

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS=~x86 emerge plucker

Actual Results:  
failes to compile

Expected Results:  
compile

the compile gives:

=========SNIP============
make[1]: Entering directory
`/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/parser'
cd python ; make
make[2]: Entering directory
`/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/parser/python'
all done
make[2]: Leaving directory
`/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/parser/python'
make[1]: Leaving directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/parser'
cd tools ; make pluck_comics
make[1]: Entering directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/tools'
cd pluck-comics ; make
make[2]: Entering directory
`/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/tools/pluck-comics'
all done
make[2]: Leaving directory
`/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/tools/pluck-comics'
make[1]: Leaving directory `/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/tools'
make[1]: Entering directory
`/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/plucker_desktop'
g++ -O2 -mcpu=pentium4 -funroll-loops -pipe `wx-config --cflags` -c -o
checkbox_message_dialog.o checkbox_message_dialog.cpp
In file included from checkbox_message_dialog.cpp:64:
checkbox_message_dialog.h:82: error: invalid type `const char[2]' for default
   argument to `const wxString&'
make[1]: *** [checkbox_message_dialog.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/plucker-1.8-r1/work/plucker-1.8/plucker_desktop'
make: *** [plucker-desktop] Error 2

!!! ERROR: app-pda/plucker-1.8-r1 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! emake failed
=========SNIP============


emerge info:
=========SNIP============
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.5-gentoo-r1-bigbrother-7)
=================================================================
System uname: 2.6.5-gentoo-r1-bigbrother-7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/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="X aalib acpi aim alsa apm arts avi berkdb cdr crypt cups doc dvd dvdr
encode esd ethereal foomaticdb gdbm gif gpm gtk gtk2 icq imagemagick imap imlib
ipv6 jabber java jpeg kde ldap libg++ libwww mad maildir matroska mikmod mmx
motif mozilla mpeg msn ncurses nls nocardbus offensive oggvorbis opengl pam pda
pdflib perl png python qt quicktime readline samba sasl sdl slang spell sse ssl
svga tcltk tcpd tetex tiff truetype unicode usb wmf x86 xinerama xml2 xmms xv
yahoo zlib"
=========SNIP============
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-06-30 17:52:49 UTC
what version of wxGTK do you have?
Comment 2 Niels Laukens 2004-07-01 01:28:26 UTC
the latest stable:

# emerge -p wxGTK

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/wxGTK-2.4.2-r1
Comment 3 Niels Laukens 2004-07-26 08:51:45 UTC
can I help with anything more?
Comment 4 Shawn Kovalchick 2004-08-11 17:11:59 UTC
I'm getting the same error trying to compile this.  I have wxGTK version 2.4.2-r2 installed.
Comment 5 dynamotwain 2004-11-11 17:21:24 UTC
-r2 didn't work for me; however
I didn't have any problems with wxGTK 2.4.2-r3.
Comment 6 John Altstadt 2004-11-12 17:13:53 UTC
I just tried with wxGTK-2.4.2-r3 and it still fails for me with the same error message:

In file included from checkbox_message_dialog.cpp:64:
checkbox_message_dialog.h:82: error: invalid type `const char[2]' for default 
   argument to `const wxString&'

Were you perhaps using wxGTK-2.5.1-r1?
Comment 7 Joel Parker 2005-02-18 14:35:24 UTC
Same problem here with wxGTK-2.4.2-r2
Comment 8 Lupo Alberto 2005-03-02 12:46:29 UTC
Just re-emerge wxGTK without "unicode"-flag. It work for me. I hope for you too.
Comment 9 Abraham Smith 2005-04-11 18:27:33 UTC
okay... and if I would like unicode support in my wxGTK?
Comment 10 Rob Cakebread (RETIRED) gentoo-dev 2005-04-11 19:42:05 UTC
Created attachment 56051 [details, diff]
non-unicode.diff

This patch to plucker-1.8-r1.ebuild will force the ebuild to use the ansi
(non-unicode) version, so no re-emerging of wxGTK is necessary.
Comment 11 Aron Griffis (RETIRED) gentoo-dev 2005-06-23 06:05:30 UTC
This is now fixed in plucker-1.8-r1

I used Rob's need-wxwidgets fix, plus a sed to the Makefiles to call
$(WX_CONFIG) instead of wx-config

http://www.gentoo.org/cgi-bin/viewcvs.cgi/app-pda/plucker/plucker-1.8-r1.ebuild?r1=1.7&r2=1.8