First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 181870
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Skwar <askwar@digitalprojects.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
USE=-python_emerge_-1v_gedit.txt Output of running USE=-python sudo emerge -1v =app-editors/gedit-2.18.1-r1 text/plain Alexander Skwar 2007-06-13 07:08 0000 243.14 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 181870 depends on: Show dependency tree
Bug 181870 blocks:
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: 2007-06-13 06:59 0000
Tried to compile gedit-2.18.1-r1 with these flags:

[ebuild     U ] app-editors/gedit-2.18.1-r1 [2.18.1] USE="-debug doc -python%
-spell" 0 kB 

This failed:

gtk-doc: Compiling scanner
mkdir .libs
 i686-pc-linux-gnu-gcc -march=pentium-m -O2 -pipe -fomit-frame-pointer
-I../../gedit -I../../gedit -I../.. -I../.. -DPNG_NO_MMX_CODE -DORBIT2=1
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtksourceview-1.0 -I/usr/include/libxml2
-I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libglade-2.0
-I/usr/include/libgnomeprintui-2.2 -c gedit-scan.c  -fPIC -DPIC -o
.libs/gedit-scan.o
In file included from gedit-scan.c:19:
../../gedit/gedit-python-module.h:26:20: error: Python.h: No such file or
directory
Compilation of scanner failed:
make[3]: *** [scan-build.stamp] Fehler 1
make[3]: Leaving directory
`/Gentoo/Portage/build/portage/app-editors/gedit-2.18.1-r1/work/gedit-2.18.1/docs/reference'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/Gentoo/Portage/build/portage/app-editors/gedit-2.18.1-r1/work/gedit-2.18.1/docs'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
`/Gentoo/Portage/build/portage/app-editors/gedit-2.18.1-r1/work/gedit-2.18.1'
make: *** [all] Fehler 2  

!!! ERROR: app-editors/gedit-2.18.1-r1 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_compile
  ebuild.sh, line 973:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1311:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die


Two issues there:

1) Why is Python.h used? I'm compiling with USE=-python
2) There is a Python.h on my system:

--($:~)-- locate Python.h
/usr/include/wx-2.6/wx/wxPython/wxPython.h
/usr/include/python2.4/Python.h

--($:~)-- ls -al /usr/include/python2.4/Python.h
-rw-r--r-- 1 root root 4267 11. May 21:06 /usr/include/python2.4/Python.h


--($:~)-- emerge --info
Portage 2.1.2.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3,
2.6.21-gentoo-r2.rtr.05-no-sched_smt.kernel-alsa i686)
=================================================================
System uname: 2.6.21-gentoo-r2.rtr.05-no-sched_smt.kernel-alsa i686 Genuine
Intel(R) CPU T2400 @ 1.83GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 13 Jun 2007 05:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="ccache collision-protect distlocks metadata-transfer sandbox sfperms
strict"
GENTOO_MIRRORS="        http://ftp.heanet.ie/pub/gentoo/       
http://gentoo.supp.name/       
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/       
http://ftp.gentoo.or.kr/        http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ 
http://distfiles.gentoo.org/ "
LANG="de_CH.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc"
SYNC="rsync://winds03:10873/gentoo-portage"
USE="X acpi alsa berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dmi
doc dri dvd dvdr dvdread encode fam firefox fortran gdbm gif gnome gnutls gpm
gstreamer gtk hal iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility
ldap libg++ libnotify mad midi mmx mp3 mpeg mudflap ncurses nls nptl nptlonly
ogg opengl openmp pam pcmcia pcre pdf perl png pppd python qt3 qt3support qt4
quicktime readline reflection samba sdl session spell spl sse sse2 ssl svg tcpd
tiff truetype truetype-fonts type1-fonts unicode vorbis wifi win32codecs x86
xine xinerama xml xorg xv zlib" ALSA_CARDS="dummy hda-intel intel8x0 intel8x0m
usb-audio usb-usx3y" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi
null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev
keyboard mouse synaptics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de"
USERLAND="GNU" VIDEO_CARDS="dummy none nv nvidia vga"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Alexander Skwar 2007-06-13 07:08:12 0000 -------
Created an attachment (id=121898) [edit]
Output of running USE=-python sudo emerge -1v =app-editors/gedit-2.18.1-r1

With USE=python, I'm able to compile gedit.

Attached you can find the screen output of running "USE=-python emerge -v1
gedit".

------- Comment #2 From Gilles Dartiguelongue 2007-06-13 09:32:25 0000 -------
with USE="-doc" it works. I don't know why this file is included (yet). The
rules to build the documentation clearly states that it should skip this
header.

------- Comment #3 From Alexander Skwar 2007-06-13 11:45:48 0000 -------
(In reply to comment #2)
> with USE="-doc" it works.

ACK. I also was able to build with "USE=-doc -python".

------- Comment #4 From Gilles Dartiguelongue 2007-06-13 12:56:31 0000 -------
just FYI, I noticed that there is a patch for 2.16.2 for doc generation. I'll
cook something ASAP.

------- Comment #5 From Gilles Dartiguelongue 2007-06-17 11:31:12 0000 -------
in CVS, fixed 2.18.1-r1 with the patch from 2.16.2

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