Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Various python packages fails to emerge on configure phase

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
E001754
Guru
Guru
User avatar
Posts: 442
Joined: Sun Aug 01, 2004 2:04 pm
Location: Paris, France

Various python packages fails to emerge on configure phase

  • Quote

Post by E001754 » Wed May 29, 2013 10:04 am

Hello,

I can't get emerged the package dev-python/notify-python & dev-python/python-poppler.
On configure phase, there is the following notification, which I can understand breaks the process :

Code: Select all

checking for NOTIFY_PYTHON... configure: error: Package requirements (pygtk-2.0 >= 2.4.0
                                  libnotify >= 0.4.3) were not met:

No package 'pygtk-2.0' found
Trying to emerge pygtk, I get the following message :

Code: Select all

checking for PYGOBJECT... no
configure: error: Package requirements (pygobject-2.0 >= 2.21.3) were not met:

No package 'pygobject-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables PYGOBJECT_CFLAGS
and PYGOBJECT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I emerge pygobject flawlessly, but to get always the same error. The system don't see that pygobject is already emerged and installed.
I don't understand the PKG_CONFIG_PATH he's talking about. I never changed anything.
I'm running a stable gentoo with almost no "tuning".

Can someone help me?

Thanks in advance
Top
DONAHUE
Watchman
Watchman
User avatar
Posts: 7651
Joined: Sat Dec 09, 2006 4:27 pm
Location: Goose Creek SC

  • Quote

Post by DONAHUE » Wed May 29, 2013 4:18 pm

looking at gentoo package database: (assuming it up to date)
http://packages.gentoo.org/package/x11-libs/libnotify only one version, stable, should satisfy >= 0.4.3
http://packages.gentoo.org/package/dev-python/pygobject several versions: 2 stable, 1 unstable, 2 hard masked; 1 stable, 1 unstable, 2 hard masked could satisfy >= 2.21.3
http://packages.gentoo.org/package/dev-python/pygtk only one version, stable, can not satisfy >= 2.4.0
Questions are:
why are libnotify and pygobject not emerging stable versions?
what is calling for a nonexistent version of pygtk?
I would guess:
that you are using overlay(s) that are way past the cutting edge
that some ebuild has bad dependencies, needs to be found and bug reported
that there may be errors in /etc/portage/package.keywords or /etc/portage/package.use or /etc/portage/package.mask or /etc/portage/package.unmask

Code: Select all

revdep-rebuild
?

Code: Select all

python-updater
?

post all the output of

Code: Select all

emerge -pv libnotify
if it appears to be runnable:

Code: Select all

emerge -1av libnotify
whether or not libnotify-0.7.5-r1 emerges, post the full output of

Code: Select all

emerge -pv python
Defund the FCC.
Top
E001754
Guru
Guru
User avatar
Posts: 442
Joined: Sun Aug 01, 2004 2:04 pm
Location: Paris, France

  • Quote

Post by E001754 » Wed May 29, 2013 7:20 pm

My answers in green or in red in your quoted post below
DONAHUE wrote:looking at gentoo package database: (assuming it up to date) Synced a few days ago, prior world update. I don't like to emerge sync again while the world update did failed. I don't why I don't like resyncing though. Some superstition that the package base change while the world update isn't caried out completely on previous sync ? Maybe stupid...

http://packages.gentoo.org/package/x11-libs/libnotify only one version, stable, should satisfy >= 0.4.3 --> emerge wants to install libnotify-0.7.5-r1
http://packages.gentoo.org/package/dev-python/pygobject several versions: 2 stable, 1 unstable, 2 hard masked; 1 stable, 1 unstable, 2 hard masked could satisfy >= 2.21.3 --> emerge wants to install pygobject-3.2.2-r1:3
http://packages.gentoo.org/package/dev-python/pygtk only one version, stable, can not satisfy >= 2.4.0 --> emerge wants to install pygtk-2.24.0-r3:2

Questions are:
why are libnotify and pygobject not emerging stable versions? they do want to emerge stable version. I'm running stable gentoo.
what is calling for a nonexistent version of pygtk? the fails appears on emerging notify-python or python-poppler.
I would guess:
that you are using overlay(s) that are way past the cutting edge No. No overlays. I want a stable gentoo to avoid headaches. overlays = headaches
that some ebuild has bad dependencies, needs to be found and bug reported I guess if that was a bug, some other posts could already have been found in the forums? I don't have a bleeding edge gentoo anyway... :)
that there may be errors in /etc/portage/package.keywords or /etc/portage/package.use or /etc/portage/package.mask or /etc/portage/package.unmask May have sense. See the files below.

Code: Select all

revdep-rebuild
? All consistent.

Code: Select all

python-updater
? already run prior posting, some days ago. No luck but some other reasons. See below full log.

post all the output of

Code: Select all

emerge -pv libnotify
if it appears to be runnable:

Code: Select all

emerge -1av libnotify
whether or not libnotify-0.7.5-r1 emerges, post the full output of

Code: Select all

emerge -pv python


emerge -pv python & emerge -pv libnotify here below :

Code: Select all

[color=blue]luc@localhost ~ $ emerge -pv python
[/color]
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-lang/python-3.2.3-r2:3.2  USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -hardened -sqlite -tk -wininst" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
[color=blue]luc@localhost ~ $ emerge -pv libnotify[/color]

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-libs/libnotify-0.7.5-r1  USE="introspection -doc {-test}" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
python-updater : fails, but for another reason that I also don't understand... :

Code: Select all

localhost luc # python-updater 
 * Starting Python Updater...
[color=cyan] * Main active version of Python:    2.7
 * Active version of Python 2:       2.7
 * Active version of Python 3:       3.2
 * Globally supported Python ABIs in installed repositories:
 *   gentoo:                         2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0[/color]
 *   Adding to list: app-accessibility/speech-dispatcher:0
 *   Adding to list: app-office/openoffice-bin:0
 *   Adding to list: app-office/openoffice-bin:0
 *   Adding to list: dev-java/java-config:2
 *   Adding to list: dev-libs/boost:0
 *   Adding to list: dev-libs/libgamin:0
 *   Adding to list: dev-python/dbus-python:0
 *   Adding to list: dev-python/notify-python:0
 *   Adding to list: dev-python/numpy:0
 *   Adding to list: dev-python/pycairo:0
 *   Adding to list: dev-python/pygobject:3
 *   Adding to list: dev-python/PyQt4:0
 *   Adding to list: dev-python/pysqlite:2
 *   Adding to list: dev-python/python-poppler:0
 *   Adding to list: dev-python/setuptools:0
 *   Adding to list: dev-python/sip:0/9
 *   Adding to list: dev-util/gdbus-codegen:0
 *   Adding to list: media-libs/lcms:0
 *   Adding to list: sys-apps/file:0
 *   Adding to list: sys-libs/cracklib:0
[color=blue] * emerge -Dv1 --keep-going app-accessibility/speech-dispatcher:0 app-office/openoffice-bin:0 app-office/openoffice-bin:0 dev-java/java-config:2 dev-libs/boost:0 dev-libs/libgamin:0 dev-python/dbus-python:0 dev-python/notify-python:0 dev-python/numpy:0 dev-python/pycairo:0 dev-python/pygobject:3 dev-python/PyQt4:0 dev-python/pysqlite:2 dev-python/python-poppler:0 dev-python/setuptools:0 dev-python/sip:0/9 dev-util/gdbus-codegen:0 media-libs/lcms:0 sys-apps/file:0 sys-libs/cracklib:0[/color]

These are the packages that would be merged, in order:

Calculating dependencies... done!

[color=red]emerge: there are no ebuilds to satisfy "dev-python/pysqlite:2".[/color]

cat /etc/portage/package.use

Code: Select all

media-libs/win32codecs real
media-libs/wine-libs imagemagick
media-video/realplayer nsplugin
dev-db/sqlite extensions
net-misc/mediatomb -mysql
=dev-lang/python-2.7.3-r3 sqlite
>=sys-libs/zlib-1.2.5.1-r2 minizip
sys-fs/ntfs3g ntfsprogs
>=media-libs/gst-plugins-base-1.0.5-r2 theora
>=media-libs/mlt-0.8.8 kdenlive
dev-qt/qtsql mysql
media-libs/mlt ffmpeg
kde-base/marble plasma
media-libs/mlt melt
media-gfx/gimp smp
=media-libs/mesa-9.1.2-r1 gles2

cat /etc/portage/package.keywords

Code: Select all

x11-drivers/nvidia-drivers ~amd64
media-video/kmenc15 ~amd64
app-emulation/virtualbox-bin ~amd64
app-emulation/virtualbox-modules ~amd64
media-libs/fmod ~amd64
media-video/kdenlive ~amd64
media-libs/mlt ~amd64
dev-lang/swig ~amd64
media-tv/linuxtv-dvb-firmware ~amd64
www-plugins/adobe-flash ~amd64
sys-apps/ultracopier ~amd64

>=app-admin/eclean-kernel-0.1.5 ~amd64
=app-admin/eselect-opencl-1.1.0 ~amd64

=dev-python/pymountboot-0.2.1 ~amd64
=dev-python/python-exec-0.1 ~amd64

cat /etc/portage/package.mask

Code: Select all

#=x11-drivers/xf86-input-evdev-2.7.3
cat /etc/portage/package.unmask

Code: Select all

media-libs/amd64codecs
x11-drivers/ati-drivers
=games-fps/smokinguns-svn-1.1_beta4
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Wed May 29, 2013 9:11 pm

First off. It looks like you have old packages installed that have been removed from the tree. That is some of the reason for at least one of your failures.

Code: Select all

emerge: there are no ebuilds to satisfy "dev-python/pysqlite:2".
sqlite support is now native in your installed python versions.

As for pygobject. The version needed is the slot 2 version, you have slot 3 installed. I just looked at the ebuilds, and they have the correct slot requirement in their deps.

You have done a recent sync haven't you? Also there are not any overlays with old pkg ebuilds confusing the issue are there?

What versions of python do you have installed? just 2.7 and 3.2? or several more?
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
E001754
Guru
Guru
User avatar
Posts: 442
Joined: Sun Aug 01, 2004 2:04 pm
Location: Paris, France

  • Quote

Post by E001754 » Tue Jun 04, 2013 10:06 am

Hello,

Here are my version of python installed : 2.7.3-r3 & 3.2.3-r2

Code: Select all

[color=blue]localhost luc # equery l python[/color]
 * Searching for python ...
[IP-] [  ] dev-lang/python-2.7.3-r3:2.7
[IP-] [  ] dev-lang/python-3.2.3-r2:3.2
You are talking about slots for pygobject & pysqlite:2 which is supposed to be "included" per default in the system.
Do I have some special commands to key so that my system gets aware of those changes?

I don't have any overlay.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic