Package Details: gnofract4d 3.14.1-4

Git Clone URL: https://aur.archlinux.org/gnofract4d.git (read-only)
Package Base: gnofract4d
Description: Create beautiful fractal images in PyGTK
Upstream URL: http://gnofract4d.sourceforge.net
Licenses: BSD
Submitter: xyproto
Maintainer: willemw
Last Packager: willemw
Votes: 11
Popularity: 0.252381
First Submitted: 2011-12-14 17:03
Last Updated: 2015-10-03 08:30

Latest Comments

cfr42 commented on 2013-08-02 22:43

I'm building in an unprivileged account without access to DISPLAY, yes. Not exactly a chroot but relevantly similar for these purposes, I suspect.

And, yes, commenting createdocs.py lets the package compile fine.

willemw commented on 2013-07-29 06:42

@cfr42
createdocs.py is called separately, see PKGBUILD file.

You've also got errors before the segfault, which I don't have:
GtkWarning: could not open display
Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE
...
Are you building in a desktop environment? Or in a chrooted environment, for example?

If you comment out 'createdocs.py' in PKGBUILD, does gnofract4d build and run OK?

Unfortunately, createdocs.py doesn't print where it crashes. However, that could be changed temporarily (locally on your machine) to check were it crashes.

When gnofract4d does run and it crashes, run gnofract4d from the command line to check for any errors or warnings.

willemw commented on 2013-07-29 06:38

createdocs.py is called separately, see PKGBUILD file.

You've also got errors before the segfault, which I don't have:
GtkWarning: could not open display
Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE
...
Are you building in a desktop environment? Or in a chrooted environment, for example?

If you comment out 'createdocs.py' in PKGBUILD, does gnofract4d build and run OK?

Unfortunately, createdocs.py doesn't print where it crashes. However, that could be changed temporarily to check were it crashes.

cfr42 commented on 2013-07-23 22:51

Note that there is a comment at the top of createdocs.py which specifically explains why the developer made it a separate command and it is because the import of gtk was causing 'setup.py build' to crash. I'm guessing I'm seeing the same error and that it is not, therefore, just me...

cfr42 commented on 2013-07-23 22:47

The latest pkgbuild fails to compile here with a segmentation fault (similar to the one I mentioned below and for the same reason by the looks of it). Here is the output from the build:

...

running my_build_ext
compiling with None
building 'fract4d.fract4dc' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/fract4d
creating build/temp.linux-x86_64-2.7/fract4d/c
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -DTHREADS=1 -DPNG_ENABLED=1 -DJPG_ENABLED=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/fract4dmodule.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/fract4dmodule.o -Wall -I/usr/include/libpng16
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -DTHREADS=1 -DPNG_ENABLED=1 -DJPG_ENABLED=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/cmap.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/cmap.o -Wall -I/usr/include/libpng16
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -DTHREADS=1 -DPNG_ENABLED=1 -DJPG_ENABLED=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/pointFunc.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/pointFunc.o -Wall -I/usr/include/libpng16
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -DTHREADS=1 -DPNG_ENABLED=1 -DJPG_ENABLED=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/fractFunc.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/fractFunc.o -Wall -I/usr/include/libpng16
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -DTHREADS=1 -DPNG_ENABLED=1 -DJPG_ENABLED=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/STFractWorker.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/STFractWorker.o -Wall -I/usr/include/libpng16
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -DTHREADS=1 -DPNG_ENABLED=1 -DJPG_ENABLED=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/MTFractWorker.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/MTFractWorker.o -Wall -I/usr/include/libpng16
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -DTHREADS=1 -DPNG_ENABLED=1 -DJPG_ENABLED=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/image.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/image.o -Wall -I/usr/include/libpng16
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -DTHREADS=1 -DPNG_ENABLED=1 -DJPG_ENABLED=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/imageIO.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/imageIO.o -Wall -I/usr/include/libpng16
fract4d/c/imageIO.cpp: In static member function ‘static ImageReader* ImageReader::create(image_file_t, FILE*, IImage*)’:
fract4d/c/imageIO.cpp:395:11: warning: enumeration value ‘FILE_TYPE_TGA’ not handled in switch [-Wswitch]
switch(file_type)
^
fract4d/c/imageIO.cpp:395:11: warning: enumeration value ‘FILE_TYPE_JPG’ not handled in switch [-Wswitch]
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -DTHREADS=1 -DPNG_ENABLED=1 -DJPG_ENABLED=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/fract_stdlib.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/fract_stdlib.o -Wall -I/usr/include/libpng16
g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1,--sort-common,--as-needed,-z,relro -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-2.7/fract4d/c/fract4dmodule.o build/temp.linux-x86_64-2.7/fract4d/c/cmap.o build/temp.linux-x86_64-2.7/fract4d/c/pointFunc.o build/temp.linux-x86_64-2.7/fract4d/c/fractFunc.o build/temp.linux-x86_64-2.7/fract4d/c/STFractWorker.o build/temp.linux-x86_64-2.7/fract4d/c/MTFractWorker.o build/temp.linux-x86_64-2.7/fract4d/c/image.o build/temp.linux-x86_64-2.7/fract4d/c/imageIO.o build/temp.linux-x86_64-2.7/fract4d/c/fract_stdlib.o -L/usr/lib -lstdc++ -ljpeg -lpython2.7 -o build/lib.linux-x86_64-2.7/fract4d/fract4dc.so -lpng16
building 'fract4d.fract4d_stdlib' extension
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/cmap.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/cmap.o
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/image.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/image.o
gcc -pthread -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT=1 -Ifract4d/c -I/usr/include/python2.7 -c fract4d/c/fract_stdlib.cpp -o build/temp.linux-x86_64-2.7/fract4d/c/fract_stdlib.o
g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-O1,--sort-common,--as-needed,-z,relro -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-2.7/fract4d/c/cmap.o build/temp.linux-x86_64-2.7/fract4d/c/image.o build/temp.linux-x86_64-2.7/fract4d/c/fract_stdlib.o -L/usr/lib -lstdc++ -lpython2.7 -o build/lib.linux-x86_64-2.7/fract4d/fract4d_stdlib.so
running build_scripts
creating build/scripts-2.7
copying and adjusting gnofract4d -> build/scripts-2.7
changing mode of build/scripts-2.7/gnofract4d from 644 to 755
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/home/software/builds/gnofract4d/src/gnofract4d-3.14.1/fract4dgui/main_window.py:40: Warning: invalid (NULL) pointer instance
self.window = gtk.Window()
/home/software/builds/gnofract4d/src/gnofract4d-3.14.1/fract4dgui/main_window.py:40: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
self.window = gtk.Window()
/home/software/builds/gnofract4d/src/gnofract4d-3.14.1/fract4dgui/utils.py:108: GtkWarning: IA__gdk_screen_list_visuals: assertion `GDK_IS_SCREEN (screen)' failed
c = gtk.gdk.rgb_get_colormap()
/home/software/builds/gnofract4d/PKGBUILD: line 28: 9522 Segmentation fault (core dumped) python2 createdocs.py
==> ERROR: A failure occurred in build().
Aborting...

The previous version (3.14.1-1) which omitted the documentation, I guess, built fine.

willemw commented on 2013-07-23 06:39

Updated (man and help).

cfr42 commented on 2013-03-02 00:05

The following patch enables compilation of the latest version. However, I do not know how to get the help to work because I cannot figure out how to generate the documentation using createdocs.py.

--- PKGBUILD 2013-01-21 16:41:10.000000000 +0000
+++ PKGBUILD 2013-03-01 23:55:30.185895713 +0000
@@ -4,8 +4,8 @@
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>

pkgname=gnofract4d
-pkgver=3.14
-pkgrel=2
+pkgver=3.14.1
+pkgrel=0
pkgdesc="A fractal browser with PyGTK gui"
arch=(i686 x86_64)
url=http://$pkgname.sourceforge.net
@@ -13,9 +13,9 @@
depends=(desktop-file-utils libjpeg pygtk)
options=(!strip)
install=$pkgname.install
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-sha256sums=('bdd8e950a98221054d52883d5303a435cbaa3d5d4239c36aff91598a6433d20a')
-sha512sums=('cf3614f60a43f7ab20208fb1a62d3823495c84060d177d2926bad20a475e661d7ec45a7bc14e826229656027fe7c0f68aac093b6b0dc7912e84d8d8ec8ff81e5')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
+sha256sums=('55e15dedb70d2c5f76664cd8a745bf425ebf2502f4de36c081517663f0b04164')
+sha512sums=('47c94d9f297f08019b8f5f9a848d4071b9e81cc22ac07dde853d8833943fc23f22f0dc730db5f38c3c785e5283085e1364a0e2537d6adf89ee5970f77cd2268a')

build() {
cd "$srcdir"/$pkgname-$pkgver/

The error I get trying to compile the documentation directly within the source tree is:
./createdocs.py
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/home/software/builds/gnofract4d/src/gnofract4d-3.14.1/fract4dgui/main_window.py:40: Warning: invalid (NULL) pointer instance
self.window = gtk.Window()
/home/software/builds/gnofract4d/src/gnofract4d-3.14.1/fract4dgui/main_window.py:40: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
self.window = gtk.Window()
/home/software/builds/gnofract4d/src/gnofract4d-3.14.1/fract4dgui/utils.py:108: GtkWarning: IA__gdk_screen_list_visuals: assertion `GDK_IS_SCREEN (screen)' failed
c = gtk.gdk.rgb_get_colormap()
Segmentation fault (core dumped)

As far as I can tell, it manages to create the first document it wants to create under doc/gnofract4d-manual/C/. This is stdlib.xml. However, something goes wrong when it tries to create the second. This is commands.xml and I end up with a file of size zero. So it never actually progresses to the conversion to html as it fails to generate everything it wants in .xml.

I tried converting the manual which is provided in .xml format to .html by using the relevant command from createdocs.py. However, I'm probably missing something I need to install to make this work but couldn't figure out what exactly.

Frustrating to be stymied by the documentation!

cfr42 commented on 2013-03-02 00:04

The following patch enables compilation of the latest version. However, I do not know how to get the help to work because I cannot figure out how to generate the documentation using createdocs.py.

--- PKGBUILD 2013-01-21 16:41:10.000000000 +0000
+++ PKGBUILD 2013-03-01 23:55:30.185895713 +0000
@@ -4,8 +4,8 @@
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>

pkgname=gnofract4d
-pkgver=3.14
-pkgrel=2
+pkgver=3.14.1
+pkgrel=0
pkgdesc="A fractal browser with PyGTK gui"
arch=(i686 x86_64)
url=http://$pkgname.sourceforge.net
@@ -13,9 +13,9 @@
depends=(desktop-file-utils libjpeg pygtk)
options=(!strip)
install=$pkgname.install
-source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
-sha256sums=('bdd8e950a98221054d52883d5303a435cbaa3d5d4239c36aff91598a6433d20a')
-sha512sums=('cf3614f60a43f7ab20208fb1a62d3823495c84060d177d2926bad20a475e661d7ec45a7bc14e826229656027fe7c0f68aac093b6b0dc7912e84d8d8ec8ff81e5')
+source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2)
+sha256sums=('55e15dedb70d2c5f76664cd8a745bf425ebf2502f4de36c081517663f0b04164')
+sha512sums=('47c94d9f297f08019b8f5f9a848d4071b9e81cc22ac07dde853d8833943fc23f22f0dc730db5f38c3c785e5283085e1364a0e2537d6adf89ee5970f77cd2268a')

build() {
cd "$srcdir"/$pkgname-$pkgver/

The error I get trying to compile the documentation directly within the source tree is:
./createdocs.py
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/home/software/builds/gnofract4d/src/gnofract4d-3.14.1/fract4dgui/main_window.py:40: Warning: invalid (NULL) pointer instance
self.window = gtk.Window()
/home/software/builds/gnofract4d/src/gnofract4d-3.14.1/fract4dgui/main_window.py:40: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
self.window = gtk.Window()
/home/software/builds/gnofract4d/src/gnofract4d-3.14.1/fract4dgui/utils.py:108: GtkWarning: IA__gdk_screen_list_visuals: assertion `GDK_IS_SCREEN (screen)' failed
c = gtk.gdk.rgb_get_colormap()
Segmentation fault (core dumped)

As far as I can tell, it manages to create the first document it wants to create under doc/gnofract4d-manual/C/. This is stdlib.xml. However, something goes wrong when it tries to create the second. This is commands.xml and I end up with a file of size zero. So it never actually progresses to the conversion to html as it fails to generate everything it wants in .xml.

I tried converting the manual which is provided in .xml format to .html by using the relevant command from createdocs.py. However, I'm probably missing something I need to install to make this work but couldn't figure out what exactly.

Frustrating to be stymied by the documentation!

luolimao commented on 2013-01-21 16:43

Just updated to fix dependencies and such, but I really don't know how to fix the program itself. Orphaning.

cfr42 commented on 2012-05-05 13:49

This also crashes regularly here. I can't figure out a pattern and I don't get an error message. Just after a while, the application just seems to pop out of existence. I wish there was an autosave feature so that I could at least rely on not losing too much work!

All comments