View previous topic :: View next topic |
Author |
Message |
sargek Apprentice
Joined: 13 Mar 2005 Posts: 170 Location: Texas
|
Posted: Fri Jun 24, 2005 2:31 pm Post subject: Pypanel fails to run after emerge |
|
|
I just updated pypanel to pypanel-2.0 and it seems to have "disappeared." I can no longer run pypanel to start it, and when searching for it with slocate, the only thing installed is the documentation. I've already updated the slocate db after the install. I have looked at the ebuild and it appears all of the dependencies are met. Thoughts anyone? Thanks in advance!
Paul _________________ "Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and from it's being imperishable." |
|
Back to top |
|
|
sargek Apprentice
Joined: 13 Mar 2005 Posts: 170 Location: Texas
|
Posted: Fri Jun 24, 2005 9:37 pm Post subject: Fixed (pypanel)--> sort of |
|
|
Well, I got pypanel running, but I had to download the source for 2.3 and install manually. Not sure why the ebuild wouldn't install. There are three versions of pypanel: 1.3, 2.0, and 2.3. When I emerge'd, it upgraded 1.3 to 2.0, but I was only able to successfully get 2.3 to install manually. Odd. Anyway, problem solved. _________________ "Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and from it's being imperishable." |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Fri Jun 24, 2005 10:02 pm Post subject: |
|
|
Out of interest, did you remove your .pypanelrc after the upgrade? I think they're incompatible between 1.3 and 2.0, and I think there might be an ebuild warning about it when you upgrade. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
Nil_Spaar Apprentice
Joined: 10 Jul 2004 Posts: 179 Location: Berlin, Germany
|
Posted: Fri Jun 24, 2005 10:53 pm Post subject: |
|
|
As you can see below, when pypanel-2.0 is emerged only the docu gets installed not the binary. And when 1.3 is unmerged the old binary is removed and you're left with no binary at all.
The reason seems to be that pypanel-2.0 isn't compiled succesfully and just aborts with a configure error which complains about imlib2. But imlib2 is on my system (at least emerge thinks so).
So something is broken.
For starters I think the ebuild should recognize that configure failed and abort the whole thing. Then one would have at least the old pypanel left.
And then either the pypanel source seems broken for not finding the imlib2 library when it's on the system.
Or another alternative might be that pkgconfig is broken. A new version of pkgconfig was emerged on the same update run earlier. Maybe that's the reason that pypanel-2.0 can't find the library it needs. In that case I would expect to see a lot of reports about failed emerges since a bad pkgconfig should produce a lot of trouble.
For now the best fix is to mask pypanel-2.0 and re-emerge pypanel-1.3. But keep an eye on the emerge output. If pkgconfig is broken then 1.3 might not compile as well.
Code: |
>>> emerge (5 of 5) x11-misc/pypanel-2.0 to /
...
>>> Unpacking source...
>>> Unpacking PyPanel-2.0.tar.gz to /var/tmp/portage/pypanel-2.0/work
>>> Source unpacked.
PyPanel requires the Imlib2 library -
http://www.enlightenment.org/pages/imlib2.html
>>> Test phase [not enabled]: x11-misc/pypanel-2.0
>>> Install pypanel-2.0 into /var/tmp/portage/pypanel-2.0/image/ category x11-misc
PyPanel requires the Imlib2 library -
http://www.enlightenment.org/pages/imlib2.html
man:
prepallstrip:
strip: i686-pc-linux-gnu-strip --strip-unneeded
>>> Completed installing pypanel-2.0 into /var/tmp/portage/pypanel-2.0/image/
>>> Merging x11-misc/pypanel-2.0 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/pypanel-2.0/
>>> /usr/share/doc/pypanel-2.0/README.gz
>>> /usr/share/doc/pypanel-2.0/COPYING.gz
>>> /usr/share/doc/pypanel-2.0/PKG-INFO.gz
...
>>> x11-misc/pypanel-2.0 merged.
x11-misc/pypanel
selected: 1.3
protected: 2.0
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
...
<<< obj /usr/share/doc/pypanel-1.3/README.gz
<<< obj /usr/share/doc/pypanel-1.3/PKG-INFO.gz
<<< obj /usr/share/doc/pypanel-1.3/COPYING.gz
<<< obj /usr/lib/python2.3/site-packages/pypanel/pypanelrc
<<< obj /usr/lib/python2.3/site-packages/pypanel/README
<<< obj /usr/lib/python2.3/site-packages/pypanel/COPYING
<<< obj /usr/lib/python2.3/site-packages/ppmodule.so
<<< obj /usr/bin/pypanel
<<< dir /usr/share/doc/pypanel-1.3
<<< dir /usr/lib/python2.3/site-packages/pypanel
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/lib/python2.3/site-packages
--- !empty dir /usr/lib/python2.3
--- !empty dir /usr/lib
--- !empty dir /usr/bin
--- !empty dir /usr
...
|
Code: |
* media-libs/imlib
Latest version available: 1.9.14-r3
Latest version installed: 1.9.14-r3
Size of downloaded files: 574 kB
Homepage: http://www.enlightenment.org/Libraries/Imlib.html
Description: Image loading and rendering library
License: GPL-2
* media-libs/imlib2
Latest version available: 1.2.0-r2
Latest version installed: 1.2.0-r2
Size of downloaded files: 869 kB
Homepage: http://www.enlightenment.org/Libraries/Imlib2.html
Description: Version 2 of an advanced replacement library for libraries like libXpm
License: BSD
|
|
|
Back to top |
|
|
Nil_Spaar Apprentice
Joined: 10 Jul 2004 Posts: 179 Location: Berlin, Germany
|
Posted: Fri Jun 24, 2005 11:00 pm Post subject: |
|
|
Just tried to mask pypanel-2.0 und reemerge 1.3 and it works. You get your old pypanel back.
So it seems that either the source or the ebuild for 2.0 is somehow broken. |
|
Back to top |
|
|
quellthrix Tux's lil' helper
Joined: 09 May 2005 Posts: 111
|
Posted: Fri Jun 24, 2005 11:42 pm Post subject: |
|
|
Just for the record, I solved this by adding pypanel to my package.keywords and emerging pypanel-2.3. Version 2.3 has been just as stable as 1.3 for me. |
|
Back to top |
|
|
Nil_Spaar Apprentice
Joined: 10 Jul 2004 Posts: 179 Location: Berlin, Germany
|
Posted: Sat Jun 25, 2005 12:00 am Post subject: |
|
|
Code: |
for config in ("freetype-config", "imlib2-config"):
cflags = os.popen("%s --cflags" % config).read().strip().split()
if cflags:
/* do stuff */
else:
if config == "imlib2-config":
print "\nPyPanel requires the Imlib2 library -"
print "http://www.enlightenment.org/pages/imlib2.html"
sys.exit()
|
Took a closer look at this and it seems the source is broken. pypanel doesn't use configure/make as I thought but instead uses a phyton script (setup.py) for building and installing. I don't really know phyton but I guess above is the critical point. I think that code calls "imlib2-config --cflags" and expects some flags which are then processed accordingly. But "imlib2-config --cflags" just returns an empty line here. I don't know if this is ok or actually an error. Anyway this seems to make phyton go to the else part, it prints the error msg and aborts. And since sys.exit() returns 0 the ebuild has no way of telling that things went wrong.
The setup.py in pypanel-2.3 looks rather different but it's too late right now for digging deeper into this. I'll file a bug report about this and investigate further when time permits (which might not be so soon :/) |
|
Back to top |
|
|
Nil_Spaar Apprentice
Joined: 10 Jul 2004 Posts: 179 Location: Berlin, Germany
|
Posted: Sat Jun 25, 2005 12:07 am Post subject: |
|
|
Take a look at Bug 75256.
Seems to be a problem with imlib2-1.2 after all.
Good to know that this has been known since last year and yet pypanel-2.0 was marked stable
Filed a new bug about this: https://bugs.gentoo.org/show_bug.cgi?id=96998 |
|
Back to top |
|
|
sargek Apprentice
Joined: 13 Mar 2005 Posts: 170 Location: Texas
|
Posted: Sat Jun 25, 2005 2:39 am Post subject: Pypanel |
|
|
Glad you folks figured this out - appreciate it! _________________ "Amongst all things, knowledge is truly the best thing: from it's not being liable ever to be stolen, from it's not being purchasable, and from it's being imperishable." |
|
Back to top |
|
|
lancelott Apprentice
Joined: 29 Mar 2005 Posts: 152
|
Posted: Tue Jun 28, 2005 3:11 am Post subject: |
|
|
I'm having this very same problem...
No binaries being installed by the 2.3 ebuild. 2.3 isn't a magic fix like it seemed to be to some of the people in this thread... |
|
Back to top |
|
|
|