Summary: | sharpconstruct-0.11 3d scultping application | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matteo Azzali (RETIRED) <mattepiu> |
Component: | Current packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | CONFIRMED --- | ||
Severity: | enhancement | CC: | follettoonip, skyphyr, yvasilev |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sharp3d.sourceforge.net/mediawiki/index.php/Main_Page | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 125076, 125077 | ||
Bug Blocks: | |||
Attachments: |
sharpconstruct-0.11.ebuild
sharpconstruct-0.11.ebuild sharpconstruct-0.12_beta2.ebuild |
Description
Matteo Azzali (RETIRED)
![]() Created attachment 81393 [details]
sharpconstruct-0.11.ebuild
Created attachment 81503 [details]
sharpconstruct-0.11.ebuild
Added libglademm as dependancy after check with linking_libs and included_headers.
note : tested working with gcc-4.1.0 and glibc-2.4 (~x86 , -O2 -march=athlon-xp -pipe -fomit-frame-pointer ) Created attachment 86530 [details]
sharpconstruct-0.12_beta2.ebuild
Just a beta, results seems to me less clean to 0.11, you're warned....
I've tried 0.11 and 0.12_beta2 (also beta3, renaming beta2 ebuild). Every version gives me segmentation fault. Backtrace: onip @ Hal9000 ~ $ gdb sharpconstruct GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/sharpconstruct [Thread debugging using libthread_db enabled] [New Thread -1231984352 (LWP 383)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1231984352 (LWP 383)] 0x080a56c7 in SharpConstruct::GInterface::Editor::orientate_ (this=0xbf9d90c0) at xmmintrin.h:893 893 { (gdb) bt #0 0x080a56c7 in SharpConstruct::GInterface::Editor::orientate_ (this=0xbf9d90c0) at xmmintrin.h:893 #1 0x080a39e5 in SharpConstruct::GInterface::Editor::on_expose_event (this=0xbf9d90c0, event=0xbf9d8778) at Editor.cc:594 #2 0xb7ea610d in Gtk::Widget_Class::expose_event_callback () from /usr/lib/libgtkmm-2.4.so.1 #3 0xb7a6d30f in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0 #4 0xbf9d8588 in ?? () #5 0x08140c80 in ?? () #6 0x08140c80 in ?? () #7 0xb77690e6 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0 #8 0xbf9d8490 in ?? () #9 0xb7ea60b4 in Gtk::Widget_Class::delete_event_callback () from /usr/lib/libgtkmm-2.4.so.1 #10 0xbf9d8468 in ?? () #11 0x00000002 in ?? () #12 0xbf9d8490 in ?? () #13 0x000000c8 in ~ModelPreview (this=0x0) at basic_string.h:220 #14 0x08177948 in ?? () #15 0x00000000 in ?? () (gdb) quit The program is running. Exit anyway? (y or n) y Hal9000 ~ # emerge --info Portage 2.1_rc3-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://gentoo.ngi.it/" LDFLAGS="-Wl,-O1" LINGUAS="it" MAKEOPTS="-j2" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/sci" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac alsa apache2 apm audiofile avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli crypt cups dbus directfb divx4linux dri dvb dvd dvdread eds emboss encode exif fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif gimp gimpprint glitz gnome gpm gstreamer gtk gtk2 gtkhtml hal icq imagemagick imlib isdnlog jabber java joystick jpeg jpeg2k lcms libg++ libwww live mad matroska mikmod mime mmx mng motif mozsvg mp3 mpeg mpeg4 msn musepack ncurses network nls nptl nsplugin nvidia offensive ogg openal opengl oss pam pcre pdflib perl png ppds pppd python quicktime readline real reflection samba sdl session slang spell spl sse sse2 ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs xine xml xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_it userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS You are in stable branch, and this package is widely unstable (this may cause issues). Try to upgrade gtkglext to 1.2.0 ( echo "x11-libs/gtkglext" >> /etc/portage/package.keywords ) and report, please. Whops, sorry, the command should be: echo "x11-libs/gtkglext ~x86" >> /etc/portage/package.keywords (please recheck this as I never used being on unstable branch...). Sorry for the late response, but i'm currently without a stable connection. Now the answer. I had already tried both versions of gtkglext recompiling everything else too (gtkglextmm and sharpconstruct), but I had segfaults all the way. Same issue here - it did previously work, but something which has upgraded in the meantime means to now segfaults on start. Should I output a history of emerges and post everything between the successful emerge of sharpconstruct and now? Cheers, Alan. This can be bumped again to rc3 (or beta3 for the ebuild I guess) by changing the download source to rc3 instead of rc2. Latest ebuild works otherwise exactly as it is on x86. Cheers, Alan. cause it's OpenGL, and the issue is a segfault but emerges fine, you should tell a) which graphic card/drivers are you using. b) a log of what console tells you (if any) when you launch sharpconstruct from console.... c) To Alan: please tell if you're also using stable branch and/or if your system has something in common with Andrea (check his emerge --info).... onip @ Hal9000 ~ $ eix -Ic nvidia [I] media-video/nvidia-glx (1.0.8762): NVIDIA X11 driver and GLX libraries [I] media-video/nvidia-kernel (1.0.8762): Linux kernel module for the NVIDIA X11 driver onip @ Hal9000 ~ $ sharpconstruct Segmentation fault Hal9000 ~ # eselect opengl list Available OpenGL implementations: [1] nvidia * [2] xorg-x11 I've also tried switching to xorg-x11 opengl implementation, but I got segfault the same way. (Should I restart X after switching? i didn't...) Thanks I went through the process for a gcc upgrade (just with 3.4) to make sure there was nothing with 3.3, but what I think fixed things was changing gtkglextmm - I used the latest ebuild here http://bugs.gentoo.org/show_bug.cgi?id=125077 and sharpconstruct now works. Cheers, Alan. Thank you Alan, it's quite difficult to fix a bug when you can't reproduce.... However, I think that who tried this ebuild should actually read http://sharp3d.sourceforge.net/mediawiki/index.php/Main_Page , in particular the 1 Jun new: it's programmer will port sculpting tools under blender this summer. nope, I was already using that version of gtkglextmm. recompiled everything today but segfaults again Should be closed as OBSOLETE |