First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 121818
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo wxWidgets Herd <wxwidgets@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nestor Arocha <nesaro@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info my longish emerge --info text/plain Christian Harms 2007-07-30 23:06 0000 9.31 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 121818 depends on: Show dependency tree
Bug 121818 blocks: 65531 145032
Votes: 20    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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

------- Comment #1 From Jakub Moc (RETIRED) 2006-02-06 05:42:01 0000 -------
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. 

------- Comment #2 From Guy 2006-03-18 14:18:24 0000 -------
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.

------- Comment #3 From Ryan Hill 2006-07-02 19:05:09 0000 -------
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.

------- Comment #4 From Jakub Moc (RETIRED) 2006-11-18 03:29:24 0000 -------
agriffis/pda folks - ping; please either fix or remove this package.

------- Comment #5 From Ryan Hill 2007-01-28 02:39:39 0000 -------
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.

------- Comment #6 From E. Scaglione 2007-04-06 20:43:54 0000 -------
(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

------- Comment #7 From Ryan Hill 2007-04-06 22:23:17 0000 -------
http://bugs.plkr.org/1784

------- Comment #8 From E. Scaglione 2007-04-07 09:18:30 0000 -------
(In reply to comment #7)
> http://bugs.plkr.org/1784
> 

Thank you, I will try it.
If you need to remove it from the portage tree (it doesn't work well lately
anyway) I would suggest to replace it with sunrise
http://sourceforge.net/projects/sunrisexp/
 it is written in java and depends on dev-java/swt and works well on my gentoo. 

------- Comment #9 From Ryan Hill 2007-04-29 03:53:43 0000 -------
Masked for removal May 29, 2007.

------- Comment #10 From Mart Raudsepp 2007-04-30 11:24:04 0000 -------
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.

------- Comment #11 From Javier M Mora 2007-04-30 20:53:49 0000 -------
(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?

------- Comment #12 From Ryan Hill 2007-05-04 23:48:12 0000 -------
i also think it's worth the trouble to keep it.  i'll update the mask comment.

------- Comment #13 From Andreas Eriksson 2007-05-17 21:23:03 0000 -------
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?

------- Comment #14 From Jan Seeger 2007-06-02 12:56:51 0000 -------
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.

------- Comment #15 From Christian Harms 2007-07-30 23:06:39 0000 -------
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...

------- Comment #16 From Ryan Hill 2007-09-29 17:24:44 0000 -------
i have plucker cvs partially building on 2.6.  plucker_desktop builds with many
patches.  the c++ parser currently bombs out.  i don't really understand why
because the code hasn't changed in two years.  i'll have to look at 1.18 a
little closer.

http://overlays.gentoo.org/dev/dirtyepic/browser/app-pda/plucker

distfile:
http://dev.gentoo.org/~dirtyepic/plucker-1.19_pre20070928.tar.gz

------- Comment #17 From Raúl Porcel 2008-01-28 15:42:38 0000 -------
Move stuff to new alias

------- Comment #18 From Raúl Porcel 2008-01-31 10:34:53 0000 -------
Re-reassigning, sorry for the bugspam

------- Comment #19 From Samuli Suominen 2009-07-30 12:00:16 0000 -------
# 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..

------- Comment #20 From Ryan Hill 2009-07-30 22:45:49 0000 -------
just kill it now, no need to wait.

------- Comment #21 From Samuli Suominen 2009-07-31 05:49:45 0000 -------
done

First Last Prev Next    No search results available      Search page      Enter new bug