Bug 121818 - app-pda/plucker removal request (was: needs updating for wxGTK-2.6)
|
Bug#:
121818
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P1
|
|
Resolution: FIXED
|
Assigned To: wxwidgets@gentoo.org
|
Reported By: nesaro@gmail.com
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: app-pda/plucker removal request (was: needs updating for wxGTK-2.6)
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-02-06 05:26 0000
|
When I try to emerge plucker with my current FLAGS, I get this error message:
...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/plucker-1.8-r1/work/plucker-1.8 ...
!!! set-wxconfig: Error: Can't find normal or debug version:
!!! set-wxconfig: /usr/bin/wxgtk2-2.4-config not found
!!! set-wxconfig: /usr/bin/wxgtk2d-2.4-config not found
!!! You need to emerge wxGTK with gtk2 in your USE
There are only two wx-config in my system:
/usr/bin/wx-config -> /usr/lib64/wx/config/gtk2-ansi-release-2.6
/usr/bin/wx-config-2.6
which have the same md5
2928d1da138c56c6716c30a141a025a1 /usr/bin/wx-config
2928d1da138c56c6716c30a141a025a1 /usr/bin/wx-config-2.6
I emerge wxGTK with gtk2, with no results, so ...
$equery u wxGTK
....
[ Found these USE variables for x11-libs/wxGTK-2.6.2-r1 ]
U I
+ + X : Adds support for X11
- - debug : Tells configure and the makefiles to build for debugging.
Effects vary across packages, but generally it will at least add -g to CFLAGS.
Remember to set FEATURES=nostrip too
- - doc : Adds extra documentation (API, Javadoc, etc)
- - gnome : Adds GNOME support
- - joystick : Add support for joysticks in all packages
- - odbc : Adds ODBC Support (Open DataBase Connectivity)
+ + opengl : Adds support for OpenGL
+ + sdl : Adds support for Simple Direct Layer (media library)
- - unicode : Adds support for Unicode
As you can see, there is no gtk2 flag. My next step was to add an entry in
/etc/portage/package.use enabling gnome flag for wxGTK, but it didn't work.
Finally, I disabled plucker's gtk FLAG (package.use) and then the compilation
was succesful.
---------------------
emerge info
Portage 2.1_pre4-r1 (default-linux/amd64/2005.0/no-multilib, gcc-3.4.5,
glibc-2.3.6-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre15
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5-r2, 2.4.2-r1
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1-r1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -ffast-math -pipe -O3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -ffast-math -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://linuv.uv.es/mirror/gentoo/"
LC_ALL="es_ES"
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X alsa bitmap-fonts cid crypt dvd fortran gif gtk imlib ipv6 jpeg
mp3 mpeg ncurses nls opengl pam pdflib perl png python qt readline sdl spell
ssl truetype-fonts type1-fonts usb userlocales xcomposite xv zlib elibc_glibc
kernel_linux linguas_es userland_GNU"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, PORTDIR_OVERLAY
Yeah, wxGTK-2.6.2-r1 doesn't have gtk2 use flag... Also, according to the
ChangeLog this was intended to check for ansi version of wxGTK, which is there.
Why does it check for 2.4 version goes beyond me.
This is the same problem as bug# 123323
Do the following:
# emerge --unmerge wxGTK && emerge plucker
This assumes that you're running x11-libs/wxGTK-2.6.2-r1.
if plucker works with wxGTK-2.6, it needs to set WX_GTK_VER="2.6" and depend on
=wxGTK-2.6*. otherwise it needs to depend on =wxGTK-2.4*.
basically 2.6 and 2.4 install their bins in different places
(/usr/lib/wx/config and /usr/bin respectively), and the eclass defaults to the
2.4 location. if you have wxGTK-2.6 installed it'll satisfy the depends, but
since the eclass will look in /usr/bin for the executables it dies when it
can't find them.
i filed bug #138940 for the misleading error messages.
agriffis/pda folks - ping; please either fix or remove this package.
please remove it. it won't build against wxGTK-2.6 and we're removing 2.4 very
soon.
i686-pc-linux-gnu-g++ -O2 -ggdb -march=prescott -fomit-frame-pointer -fno-ident
-pipe `/usr/lib/wx/config/gtk2-ansi-release-2.6 --cflags` -c -o
exclusion_listctrl.o exclusion_listctrl.cpp
exclusion_listctrl.cpp:90: error: invalid static_cast from type 'void
(exclusion_listctrl::*)()' to type 'void (wxEvtHandler::*)(wxListEvent&)'
exclusion_listctrl.cpp:94: error: invalid static_cast from type 'void
(exclusion_listctrl::*)()' to type 'void (wxEvtHandler::*)(wxCommandEvent&)'
exclusion_listctrl.cpp:95: error: invalid static_cast from type 'void
(exclusion_listctrl::*)()' to type 'void (wxEvtHandler::*)(wxCommandEvent&)'
exclusion_listctrl.cpp:96: error: invalid static_cast from type 'void
(exclusion_listctrl::*)()' to type 'void (wxEvtHandler::*)(wxCommandEvent&)'
exclusion_listctrl.cpp: In member function 'void
exclusion_listctrl::set_column_widths()':
exclusion_listctrl.cpp:178: warning: 'GetSystemMetric' is deprecated (declared
at /usr/include/wx-2.6/wx/settings.h:205)
make[1]: *** [exclusion_listctrl.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-pda/plucker-1.8-r1/work/plucker-1.8/plucker_desktop'
make: *** [plucker-desktop] Error 2
!!! ERROR: app-pda/plucker-1.8-r1 failed.
(In reply to comment #5)
> please remove it. it won't build against wxGTK-2.6 and we're removing 2.4 very
> soon.
The package now depends on wx-GTK2.4 and compiles correctly but only if wx-GTK
was compiled with USE=-unicode.
I think previously the ebuild would catch this condition and print a message to
the user, now I had wx-GTK compiled with USE=unicode and it did not complained
until compilation failed.
USE=-unicode emerge --oneshot =x11-libs/wxGTK-2.4.2-r4 solved the problem
Masked for removal May 29, 2007.
I was planning to work on patching it to work with 2.6, but better for me if
that hasn't have to be done.
Pluckers CVS has some work towards having it work good with wxGTK-2.6 and the
problems seem trivial that need to be patched to make it work.
If someone really wants this package to stay alive in portage, please tell and
I'll try to have a look at some point.
(In reply to comment #10)
> I was planning to work on patching it to work with 2.6, but better for me if
> that hasn't have to be done.
> Pluckers CVS has some work towards having it work good with wxGTK-2.6 and the
> problems seem trivial that need to be patched to make it work.
> If someone really wants this package to stay alive in portage, please tell and
> I'll try to have a look at some point.
>
AFAIK plucker is a console app and a front-end.
If front-end is not working with wxgtk 2.6. Will you delete console app?
i also think it's worth the trouble to keep it. i'll update the mask comment.
This is a very nice app that I use often, please don't delete it. It shouldn't
be masked either, maybe just remove the gui option and just build the cli
version until the gui version has been fixed?
I also use plucker a lot, but only from the commandline, so if it would be
possible to keep plucker in the tree, I'd be very thankful.
Created an attachment (id=126493) [details]
my longish emerge --info
I tried to install this with USE="-gtk" to get just the cmdline tools to use
with lpilot-plucker (since sunrise , which is suggested as an alternative by
#8, is not in portage).
but:
"...
make[1]: Leaving directory
`/var/tmp/portage/app-pda/plucker-1.8-r1/work/plucker-1.8/tools/explode'
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY
---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-pda_-_plucker-1.8-r1-23840.log"
mkdir: /usr/share/jython/cachedir/packages
mkdir: /usr/share/jython/cachedir
open_wr: /usr/share/jython/Lib/site$py.class
open_wr: /usr/share/jython/Lib/javaos$py.class
--------------------------------------------------------------------------------
"
created emerge --info as attachment, since it is rather longish...
Re-reassigning, sorry for the bugspam
# Ryan Hill <dirtyepic@gentoo.org> (29 Apr 2007)
# Has a hard dependency on wxGTK-2.4 (bug #121818)
# Masked until we can update it for 2.6.
app-pda/plucker
Masked for over 2 years, adding treecleaners..
just kill it now, no need to wait.