Package Details: geepro 0.0.4-3

Git Clone URL: https://aur.archlinux.org/geepro.git (read-only, click to copy)
Package Base: geepro
Description: Willem Programmer software for GNU/Linux
Upstream URL: https://github.com/enriquebelarte/geepro
Licenses: GPL
Conflicts: geepro
Provides: geepro
Submitter: doragasu
Maintainer: doragasu
Last Packager: doragasu
Votes: 2
Popularity: 0.000000
First Submitted: 2015-01-28 19:29 (UTC)
Last Updated: 2024-11-11 09:15 (UTC)

Latest Comments

doragasu commented on 2024-11-11 08:30 (UTC)

Thanks a lot, some months ago I tried updating the waf scripts to build using Python 3 without success (never used waf and I find it a bit complex).

Until a way to build it using python3 (or other build system) is found, your solution will work, so I will try it and update the package.

EndlessEden commented on 2024-11-11 03:40 (UTC) (edited on 2024-11-11 04:39 (UTC) by EndlessEden)

@doragasu -- Doesnt build (without modification), uses old source location, and uses python2 which is not in the makedepends and has been removed from arch repo.

Repo is here now: https://github.com/enriquebelarte/geepro


PATCH:

--- PKGBUILD    2024-11-11 15:36:26.700119785 +1100
+++ PKGBUILD.1  2024-11-11 15:36:41.030320669 +1100
@@ -6,20 +6,29 @@
 pkgrel=2
 pkgdesc="Willem Programmer software for GNU/Linux"
 arch=('i686' 'x86_64')
-url="http://sourceforge.net/projects/geepro"
+url="https://github.com/enriquebelarte/geepro"
 license=('GPL')
 groups=()
 depends=('cairo' 'gtk3' 'libxml2' 'perl' 'intltool' 'pkg-config' 'gettext')
+makedepends=('python2' 'git')
 provides=('geepro')
 conflicts=('geepro')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-${_mod}.tar.gz
+options+=('!lto')
+source=(geepro::git+$url.git
         geepro.desktop)
-md5sums=('f7f40bbd9d07b1c9906b3a88cbab36f0'
+md5sums=('SKIP'
          '961938da7fc32b0183e6e7b60349da3c')

 build() {
   cd "$srcdir/geepro"
-
+  if [ $CC == "clang" ]; then
+       CC="gcc"
+  fi
+  if [ $CXX == "clang++" ]; then
+       CXX="g++"
+  fi
+  CFLAGS+="-fcommon"
+  CXXFLAGS+="-fcommon"
   python2 waf configure --prefix="$pkgdir/usr"
   pyt

doragasu commented on 2022-12-10 15:16 (UTC)

This is caused because of changes in GCC since version 11 (IIRC). To fix it, you have to build with -fcommon switch. Unfortunately I do not have python2 installed in my system anymore, so I cannot test this (since waf build script only works with python2).

dreieck commented on 2022-12-10 10:32 (UTC)

Fails for me, too; error while linking. More context:

[...]
[ 99/101] cxxshlib: build_directory/chips/mcs51.cpp.7.o -> build_directory/chips/mcs51.chip
[100/101] cxxstlib: build_directory/gui-gtk/bineditor.c.1.o build_directory/gui-gtk/gui.c.1.o build_directory/gui-gtk/gui_xml.c.1.o build_directory/gui-gtk/be_panel.c.1.o build_directory/gui-gtk/be_buffer.c.1.o build_directory/gui-gtk/be_bitmap.c.1.o build_directory/gui-gtk/be_asmview.c.1.o build_directory/gui-gtk/be_stencil.c.1.o build_directory/gui-gtk/index_stc.c.1.o -> build_directory/gui-gtk/libgui-gtk.a
[101/101] cxxprogram: build_directory/src/buffer.cpp.1.o build_directory/src/chip.cpp.1.o build_directory/src/dummy.cpp.1.o build_directory/src/storings.cpp.1.o build_directory/src/iface.cpp.1.o build_directory/src/files.cpp.1.o build_directory/src/parport.cpp.1.o build_directory/src/timer.cpp.1.o build_directory/src/protocols.cpp.1.o build_directory/src/script.cpp.1.o build_directory/src/checksum.cpp.1.o build_directory/src/cfp.c.1.o build_directory/src/main.cpp.2.o -> build_directory/geepro
/usr/bin/ld: bineditor.c.1.o (symbol from plugin): in function `gui_bineditor_get_type':
(.text+0x0): multiple definition of `GuiBineditorColorsSet'; gui.c.1.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: be_panel.c.1.o (symbol from plugin): in function `gui_bineditor_warning':
(.text+0x0): multiple definition of `GuiBineditorColorsSet'; gui.c.1.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: be_bitmap.c.1.o (symbol from plugin): in function `gui_bineditor_bitmap':
(.text+0x0): multiple definition of `GuiBineditorColorsSet'; gui.c.1.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: be_asmview.c.1.o (symbol from plugin): in function `gui_bineditor_asm_view':
(.text+0x0): multiple definition of `GuiBineditorColorsSet'; gui.c.1.o (symbol from plugin):(.text+0x0): first defined here
/usr/bin/ld: be_stencil.c.1.o (symbol from plugin): in function `gui_bineditor_stencil_generate_index_file':
(.text+0x0): multiple definition of `GuiBineditorColorsSet'; gui.c.1.o (symbol from plugin):(.text+0x0): first defined here
lto-wrapper: warning: using serial compilation of 3 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/home/[...]/.cache/yay/geepro/src/geepro/build_directory'
Build failed
 -> task failed (exit status 1): 
    {task 140631320635984: cxxprogram buffer.cpp.1.o,chip.cpp.1.o,dummy.cpp.1.o,storings.cpp.1.o,iface.cpp.1.o,files.cpp.1.o,parport.cpp.1.o,timer.cpp.1.o,protocols.cpp.1.o,script.cpp.1.o,checksum.cpp.1.o,cfp.c.1.o,main.cpp.2.o -> geepro}
['/usr/bin/g++', 'src/buffer.cpp.1.o', 'src/chip.cpp.1.o', 'src/dummy.cpp.1.o', 'src/storings.cpp.1.o', 'src/iface.cpp.1.o', 'src/files.cpp.1.o', 'src/parport.cpp.1.o', 'src/timer.cpp.1.o', 'src/protocols.cpp.1.o', 'src/script.cpp.1.o', 'src/checksum.cpp.1.o', 'src/cfp.c.1.o', 'src/main.cpp.2.o', '-o', '/home/[...]/.cache/yay/geepro/src/geepro/build_directory/geepro', '-Wl,-Bstatic', '-L/home/[...]/.cache/yay/geepro/src/geepro/build_directory/gui-gtk', '-lgui-gtk', '-Wl,-Bdynamic', '-lgtk-3', '-lgdk-3', '-lz', '-lpangocairo-1.0', '-lpango-1.0', '-lharfbuzz', '-latk-1.0', '-lcairo-gobject', '-lcairo', '-lgdk_pixbuf-2.0', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0', '-lcairo', '-lxml2', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu', '-ldl', '-pthread', '-pthread', '-rdynamic']
==> ERROR: A failure occurred in build().

Thanks for maintaining!

IvanGrishyn commented on 2020-08-13 21:35 (UTC)

Build failed -> task failed (exit status 1): {task 140094876040336: cxxprogram buffer.cpp.1.o,chip.cpp.1.o,dummy.cpp.1.o,storings.cpp.1.o,iface.cpp.1.o,files.cpp.1.o,parport.cpp.1.o,timer.cpp.1.o,protocols.cpp.1.o,script.cpp.1.o,checksum.cpp.1.o,cfp.c.1.o,main.cpp.2.o -> geepro} ['/usr/bin/g++', 'src/buffer.cpp.1.o', 'src/chip.cpp.1.o', 'src/dummy.cpp.1.o', 'src/storings.cpp.1.o', 'src/iface.cpp.1.o', 'src/files.cpp.1.o', 'src/parport.cpp.1.o', 'src/timer.cpp.1.o', 'src/protocols.cpp.1.o', 'src/script.cpp.1.o', 'src/checksum.cpp.1.o', 'src/cfp.c.1.o', 'src/main.cpp.2.o', '-o', '/home/gri/geepro/build_directory/geepro', '-Wl,-Bstatic', '-L/home/gri/geepro/build_directory/gui-gtk', '-lgui-gtk', '-Wl,-Bdynamic', '-lgtk-3', '-lgdk-3', '-lz', '-lpangocairo-1.0', '-lpango-1.0', '-lharfbuzz', '-latk-1.0', '-lcairo-gobject', '-lcairo', '-lgdk_pixbuf-2.0', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0', '-lcairo', '-lxml2', '-ldl', '-pthread', '-rdynamic']

doragasu commented on 2016-03-03 15:05 (UTC)

Fixed!

wcasanova commented on 2016-03-01 15:48 (UTC)

error compile. AttributeError: Can't pickle local object 'Context.__init__.<locals>.node_class' Checking for header locale.h : ==> ERROR