Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 128802
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christopher Thorjussen <joffer@online.no>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 128802 depends on: Show dependency tree
Bug 128802 blocks: 119872
Votes: 0    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-04-04 11:44 0000
I was not able to emerge gedit app-editors/gedit-2.14.0 with
gnome-python-extras-2.14.0 installed on my system. I unmasked
gnome-python-extras-2.14.0 because v2.12 was blocking some update a while ago
(don't remember what). Trying to emerge gedit-2.14.0 it borks with an error
about /usr/share/pygtk/2.0/defs/gtksourceview.defs not existing, and it doesn't
in gnome-python-extras-2.14.0, while it's there in v2.12.0.

when trying to emerge gedit, I get this error:

Configuration: 

        Source code location:   . 
        Compiler:               x86_64-pc-linux-gnu-gcc 
        Python Plugins Support: yes 


make  all-recursive 
make[1]: Entering directory `/var/tmp/portage/gedit-2.14.0/work/gedit-2.14.0' 
Making all in bindings 
make[2]: Entering directory
`/var/tmp/portage/gedit-2.14.0/work/gedit-2.14.0/bindings' 
Making all in python 
make[3]: Entering directory
`/var/tmp/portage/gedit-2.14.0/work/gedit-2.14.0/bindings/python' 
( cd . && /usr/bin/python /usr/share/pygtk/2.0/codegen/codegen.py \ 
        --register /usr/share/pygtk/2.0/defs/pango-types.defs \ 
        --register /usr/share/pygtk/2.0/defs/gdk-types.defs \ 
        --register /usr/share/pygtk/2.0/defs/gtk-types.defs \ 
        --register /usr/share/pygtk/2.0/defs/gtksourceview.defs \ 
        --override gedit.override \ 
        --prefix pygedit gedit.defs ) > gedit.c 
Traceback (most recent call last): 
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1261, in ? 
    sys.exit(main(sys.argv)) 
  File "/usr/share/pygtk/2.0/codegen/codegen.py", line 1224, in main 
    p.startParsing() 
  File "/usr/share/pygtk/2.0/codegen/scmexpr.py", line 114, in startParsing 
    for statement in statements: 
  File "/usr/share/pygtk/2.0/codegen/scmexpr.py", line 28, in parse 
    fp = open(filename, 'r') 
IOError: [Errno 2] No such file or directory:
'/usr/share/pygtk/2.0/defs/gtksourceview.defs' 
make[3]: *** [gedit.c] Error 1 
make[3]: Leaving directory
`/var/tmp/portage/gedit-2.14.0/work/gedit-2.14.0/bindings/python' 
make[2]: *** [all-recursive] Error 1 
make[2]: Leaving directory
`/var/tmp/portage/gedit-2.14.0/work/gedit-2.14.0/bindings' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/gedit-2.14.0/work/gedit-2.14.0' 
make: *** [all] Error 2 

!!! ERROR: app-editors/gedit-2.14.0 failed. 
Call stack: 
  ebuild.sh, line 1526:   Called dyn_compile 
  ebuild.sh, line 923:   Called src_compile 
  ebuild.sh, line 1236:   Called gnome2_src_compile 
  gnome2.eclass, line 56:   Called die 

!!! compile failure 
!!! If you need support, post the topmost build error, and the call stack if
relevant.


emerge --info:
Portage 2.1_pre7-r4 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r1,
2.6.16-gentoo-r1-3ctsmp x86_64)
=================================================================
System uname: 2.6.16-gentoo-r1-3ctsmp x86_64 AMD Athlon(tm) 64 X2 Dual Core
Processor 4200+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     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-r2
sys-devel/binutils:  2.16.91.0.6
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=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild
/etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer
parallel-fetch sandbox sfperms strict usersandbox"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://ftp.du.se/pub/os/gentoo"
LANG="en"
LC_ALL="en"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 apm avi berkdb bitmap-fonts bluetooth bzip2
cairo cdda cddb cdparanoia cdr cdrom chm cli crypt css ctype cups dba dbus dri
dts dvd dvdr dvdread elf emboss encode expat fam fastbuild fat firefox
font-server foomaticdb force-cgi-redirect fortran ftp gd gif gimp glep
glibc-omitfp glitz glx gmail gmailtimestamps gnome gnutls gpm gstreamer
gstreamer10 gtk gtk2 gzip h323 hal i8x0 ieee1394 imagemagick imap imlib isdnlog
java javascript jce jpeg jpeg2k kerberos lame lm_sensors lzw lzw-tiff memlimit
mmap mono moznocompose moznoirc moznomail moznoroaming mozsvg mozxmlterm mp3
mpeg mpeg2 msn mysql mysqli ncurses nforce2 nls nptl nptlonly nsplugin nvidia
oav ogg opengl openssh openssl opera pam pcre pdf pdflib perl pmu png posix
pppd python quicktime rar readline reiserfs samba session simplexml smp soap
sockets spell spl spreadsheet ssl startup-notification symlink tcpd tiff
tokenizer toolbar truetype truetype-fonts type1-fonts udev unicode usb utf8
vorbis wv xml xml2 xpm xsl xv zip zlib elibc_glibc input_devices_keyboard
input_devices_mouse input_devices_evdev kernel_linux linguas_en userland_GNU
video_cards_nvidia video_cards_nv video_cards_vesa"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK

I fixed it (thought up the solution as I wrote this) by going back to
gnome-python-extras-2.12.0.

------- Comment #1 From Paul Bredbury 2006-04-08 12:30:51 0000 -------
The fix is to:

emerge gnome-python-desktop (creates
/usr/share/pygtk/2.0/defs/gtksourceview.defs)
emerge gedit

------- Comment #2 From Christopher Thorjussen 2006-04-09 10:56:38 0000 -------
Worked :)

Had to unmask dev-python/gnome-python-extras though:

armour ~ # emerge -av gnome-python-desktop
These are the packages that would be merged, in order:
Calculating dependencies... done!
[blocks B     ] <dev-python/gnome-python-extras-2.13 (is blocking
dev-python/gnome-python-desktop-2.14.0)
[ebuild   R   ] dev-python/gnome-python-desktop-2.14.0  USE="X -debug" 0 kB

------- Comment #3 From Waldo 2006-04-19 17:39:33 0000 -------
FWIW I had this problem with gedit-2.14.2 as well and fixed it by re-emerging
gnome-python-extras as described here.  I'm thinking the ebuild should check
for whatever it needs from gnome-python-extras (simply having it as a
dependency won't work because I had already emerged it...) and let the user
know what needs to be done to fix the problem...

W

------- Comment #4 From John N. Laliberte (RETIRED) 2006-07-01 11:53:08 0000 -------
*** Bug 138752 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2006-07-02 12:42:38 0000 -------
*** Bug 138895 has been marked as a duplicate of this bug. ***

------- Comment #6 From Rémi Cardona 2006-07-03 05:55:45 0000 -------
Happened to me twice in the past few weeks. First trying to reemerge gedit, and
second today when upgrading. Somehow that file is removed from the system at
some point, yet only gnome-python-desktop "owns" that file according to equery.

Anyone knows what could be going on?

------- Comment #7 From Jakub Moc (RETIRED) 2006-07-03 13:28:25 0000 -------
*** Bug 139075 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jakub Moc (RETIRED) 2006-07-20 09:05:44 0000 -------
*** Bug 141183 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jakub Moc (RETIRED) 2006-07-24 02:03:10 0000 -------
*** Bug 141545 has been marked as a duplicate of this bug. ***

------- Comment #10 From Stian Skjelstad 2006-08-14 23:49:08 0000 -------
This happened on 2 of my 3 systems, trying to emerge the stuff mentioned here
now

------- Comment #11 From John N. Laliberte (RETIRED) 2006-11-03 12:53:00 0000 -------
2.14 is stable now, if people continue to have this issue, we should put it in
the upgrade guide.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug