Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 148727
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Markus Dittrich <markusle@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrick McLean <chutzpah@gentoo.org>
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 148727 depends on: Show dependency tree
Bug 148727 blocks: 148333
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-09-22 19:43 0000
Compile fails with this error:

[ 10%] Building CXX object
Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o
/tmp/portage/portage/vtk-5.0.1/work/VTK/Common/vtkPythonUtil.cxx: In function
'PyObject* PyVTKClassMetaType_GetAttr(PyTypeObject*, char*)':
/tmp/portage/portage/vtk-5.0.1/work/VTK/Common/vtkPythonUtil.cxx:771: error:
invalid conversion from 'const char*' to 'char*'
make[2]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o] Error 1
make[1]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/all] Error 2
make: *** [all] Error 2

!!! ERROR: sci-libs/vtk-5.0.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  vtk-5.0.1.ebuild, line 165:   Called die

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

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH=""
JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info


Portage 2.1.2_pre1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 02:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.29
dev-lang/python:     2.4.3-r3, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/rcscripts/addons /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb
/usr/share/config /usr/share/gnome /usr/share/hwdata"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/sound /etc/terminfo
/etc/texmf/web2c /etc/udev /usr/kde /usr/share/gnome/apps
/usr/share/gnome/bonobo /usr/share/gnome/capplets /usr/share/gnome/cursor-fonts
/usr/share/gnome/fonts /usr/share/gnome/help /usr/share/gnome/html
/usr/share/gnome/panel /usr/share/gnome/ui /usr/share/gnome/vfolders
/usr/share/gnome/vino /usr/share/gnome/wm-properties /var/local"
CXXFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox
sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en_CA en_GB en_US en fr zh_CN zh_TW"
PKGDIR="/usr/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'"
PORTAGE_TMPDIR="/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/diskless /usr/local/chutzpah"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac accessibility acpi ada alsa amr aoss arts asf
audiofile bash-completion berkdb bitmap-fonts bmpx bonobo boost branding bzip2
cairo caps cdparanoia cdr cli client-only colordiff cpudetection crypt css
ctype cups curl custom-cflags dbus divx djvu dlloader doc dri dts dv dvd dvdr
dvdread dvi eds effects elibc_glibc emacs emboss emf encode esd evo evolution
examples exif expat fam fat ffmpeg fftw firefox flac foomaticdb fortran ftp gb
gcc-libffi gcj gd gdbm gif gimp gimpprint glibc-omitfp glitz glut gmail gmedia
gmp gnome gnomedb gnuplot gnustep gnutls gpgme gphoto2 gpm grammar gstreamer
gtk gtkhtml guile gzip hal haskell hfs i8x0 icq icu idea idn ieee1394 ifp image
imagemagick imap imlib imlib2 inkjar input_devices_evdev input_devices_joystick
input_devices_keyboard input_devices_mouse input_devices_synaptics
input_devices_vmmouse input_devices_void input_devices_wacom ipod ipv6 jabber
java jfs jpeg jpeg2k junit kde kernel_linux largeterminal latex lcms ldap
libg++ libgda libnotify libwww linguas_en linguas_en_CA linguas_en_GB
linguas_en_US linguas_fr linguas_zh_CN linguas_zh_TW live lzo mad math matroska
mikmod mjpeg mmap mmx mng mono motif mozdevelop mozilla mozsvg mp3 mp4 mpeg
mule musepack mysql nautilus ncurses netboot network nfs nis nls no-old-linux
no_wxgtk1 nonfsv4 nptl nptlonly objc odbc ogg openal opengl pam pam_console
pascal patented pcre pda pdf perl php plugin png posix postgres povray ppds
pppd print python qt3 qt4 quicktime quotas radeon rdesktop readline real
realmedia reflection rtc ruby samba scanner sdk sdl session shorten silverxp
sndfile sox speex spell spl sql sqlite ssl stream subversion svg tcltk tcpd
tetex tga theora tiff totem transcode truetype truetype-fonts type1-fonts udev
unicode usb userland_GNU userlocales vcd video_cards_apm video_cards_ark
video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix
video_cards_dummy video_cards_epson video_cards_fglrx video_cards_glint
video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt
video_cards_mach64 video_cards_mga video_cards_neomagic video_cards_nsc
video_cards_nv video_cards_nvidia video_cards_r128 video_cards_radeon
video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage
video_cards_siliconmotion video_cards_sis video_cards_tdfx video_cards_tga
video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa
video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vidix
vim-with-x vorbis win32codecs wmf wxwindows x264 xanim xemacs xine xml xml2
xorg xpm xprint xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Markus Dittrich 2006-09-23 06:39:03 0000 -------
(In reply to comment #0)
> Compile fails with this error:
> 
> [ 10%] Building CXX object
> Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o
> /tmp/portage/portage/vtk-5.0.1/work/VTK/Common/vtkPythonUtil.cxx: In function
> 'PyObject* PyVTKClassMetaType_GetAttr(PyTypeObject*, char*)':
> /tmp/portage/portage/vtk-5.0.1/work/VTK/Common/vtkPythonUtil.cxx:771: error:
> invalid conversion from 'const char*' to 'char*'
> make[2]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o] Error 1
> make[1]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/all] Error 2
> make: *** [all] Error 2

Hi Patrick,

Thanks for the heads up! I'll have a look at it as soon as I have
python-2.5 installed on my dev box.

cheers,
Markus

------- Comment #2 From Markus Dittrich 2006-09-24 09:50:10 0000 -------
(In reply to comment #0)
> Compile fails with this error:
> 
> [ 10%] Building CXX object
> Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o
> /tmp/portage/portage/vtk-5.0.1/work/VTK/Common/vtkPythonUtil.cxx: In function
> 'PyObject* PyVTKClassMetaType_GetAttr(PyTypeObject*, char*)':
> /tmp/portage/portage/vtk-5.0.1/work/VTK/Common/vtkPythonUtil.cxx:771: error:
> invalid conversion from 'const char*' to 'char*'
> make[2]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/vtkPythonUtil.o] Error 1
> make[1]: *** [Common/CMakeFiles/vtkCommonPythonD.dir/all] Error 2
> make: *** [all] Error 2
> 

This should be fixed in portage cvs now.

Thanks,
Markus

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