Package Details: python2-gtksourceview2 2.10.1-1

Git Clone URL: https://aur.archlinux.org/python2-gtksourceview2.git (read-only, click to copy)
Package Base: python2-gtksourceview2
Description: Python 2 bindings for gtksourceview2
Upstream URL: http://www.gnome.org
Licenses: GPL
Conflicts: pygtksourceview2
Provides: pygtksourceview2
Submitter: newbthenewbd
Maintainer: newbthenewbd
Last Packager: newbthenewbd
Votes: 13
Popularity: 0.000000
First Submitted: 2019-09-17 02:56 (UTC)
Last Updated: 2019-09-17 02:56 (UTC)

Dependencies (4)

Required by (2)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

newbthenewbd commented on 2019-12-24 09:35 (UTC) (edited on 2019-12-24 09:37 (UTC) by newbthenewbd)

It's certainly surprising to see so many problems reported for this package... Just to make sure, I just built it again in a clean chroot, with no real issues.

Maybe it's not a missing dependency or a faulty AUR helper at play here, but another package that conflicts with it? Complete faulty build logs could perhaps help me track it down.

davide966 commented on 2019-12-24 08:36 (UTC)

thank you blade_saint it works perfectly now. :)

blade_saint commented on 2019-12-23 12:53 (UTC) (edited on 2019-12-23 13:39 (UTC) by blade_saint)

Edited PKGBUILD so configure line reads:

PYTHON=python2 CFLAGS="-I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/gtk-2.0/ -I/usr/include/cairo/ -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/gtksourceview-2.0 -I/usr/lib/gtk-2.0/include " ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-static --disable-docs

Then got a successful package build

davide966 commented on 2019-12-22 09:54 (UTC)

Can't install: gtksourceview2module.c:22:10: fatal error: pygobject.h: File o directory non esistente 22 | #include <pygobject.h> | ^~~~~~~~~~~~~ Any hints, please?

uhoso commented on 2019-12-07 12:34 (UTC)

Can't install package: curl: (22) The requested URL returned error: 403 Forbidden ==> FEHLER: Fehler beim Download von http://ftp.gnome.org/pub/gnome/sources/pygtksourceview/2.10/pygtksourceview-2.10.1.tar.bz2 Breche ab... :: Unable to build python2-gtksourceview2 - makepkg exited with code: 1

hemant_ng commented on 2019-11-30 10:40 (UTC)

Issues is fixed and this package is successfully re-installed.

First I searched or a simple package which I can manually build - found this ImageMagick bundle with manual install instructions - http://studio.imagemagick.org/discourse-server/viewtopic.php?t=34557&p=166658

On doing ./configure, I got same (ar) interface errors with more details in ./config.log.

configure:6402: ar cru libconftest.a conftest.o >&5 ar: u' modifier ignored sinceD' is the default (see U') ar: /usr/bin/../lib/bfd-plugins/../lib/libstdc++.so.6: versionGLIBCXX_3.4.26' not found (required by /usr/lib64/libLLVM-9.so)

./configure: line 6403: 24426 Segmentation fault (core dumped) $AR cru libconftest.a

After searching online for many days for libstdc++.so.6 error, I found this link - https://askubuntu.com/questions/164296/glibcxx-3-4-15-not-found

Command locate libstdc++.so.6 gave lot of results in my system, I checked file owners and removed libstdc++.so* files not owned by any package.

After this, the builds succeed for python2-gtksourceview2, cherrytree and others.

hemant_ng commented on 2019-11-25 11:55 (UTC) (edited on 2019-11-25 11:58 (UTC) by hemant_ng)

My build envmnt is still not working but I can install non-python AUR packages.

I applied debtap on the .deb to get .tar.gz file which got installed by pacman -U python-gtksourceview.tar.gz - after deleting all conflicting files and downgrading bash-completion to 1.7-2 version from May2017.

hemant_ng commented on 2019-11-13 16:25 (UTC)

Thanks, newbthenewbd. My build environment definitely has an issue, I get these errors for any AUR package.

checking for ar... ar checking the archiver (ar) interface... unknown configure: error: could not determine ar interface

I must fix this first and move away from yaourt to pacuar/yay and then try installing this package.

newbthenewbd commented on 2019-11-10 15:12 (UTC)

Weird, for me the build works and the relevant line looks like this:

libtool: link: /usr/bin/nm -B  .libs/gtksourceview2_la-gtksourceview2module.o .libs/gtksourceview2_la-gtksourceview2.o   | sed -n -e 's/^.*[     ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][  ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/gtksourceview2.exp

So, for some reason You're missing the global_symbol_pipe. Could yaourt somehow be the culprit? It's not exactly maintained or considered safe nowadays.

If yaourt isn't it, could You please post the entire build log at https://paste.awesom.eu/ and link to it?

hemant_ng commented on 2019-11-10 10:24 (UTC) (edited on 2019-11-10 10:27 (UTC) by hemant_ng)

I get this error when installing this package (as cherrytree dependency) EDIT: extra linebreaks added to aid reading.

......................... ......................... _la-gtksourceview2module.lo gtksourceview2_la-gtksourceview2.lo -lgtksourceview-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype
libtool: link: /usr/bin/nm -B .libs/gtksourceview2_la-gtksourceview2module.o .libs/gtksourceview2_la-gtksourceview2.o | | /usr/bin/sed 's/.* //' | sort | uniq > .libs/gtksourceview2.exp

./libtool: eval: line 950: syntax error near unexpected token `|'

./libtool: eval: line 950: `/usr/bin/nm -B .libs/gtksourceview2_la-gtksourceview2module.o .libs/gtksourceview2_la-gtksourceview2.o | | /usr/bin/sed 's/.* //' | sort | uniq > .libs/gtksourceview2.exp'

make[2]: *** [Makefile:425: gtksourceview2.la] Error 2

make[2]: Leaving directory '/home/hemant/yaourt-tmp-hemant/aur-python2-gtksourceview2/src/pygtksourceview-2.10.1'

make[1]: *** [Makefile:527: all-recursive] Error 1

make[1]: Leaving directory '/home/hemant/yaourt-tmp-hemant/aur-python2-gtksourceview2/src/pygtksourceview-2.10.1'

make: *** [Makefile:334: all] Error 2

==> ERROR: A failure occurred in build(). Aborting...

==> ERROR: Makepkg was unable to build python2-gtksourceview2.

==> Restart building python2-gtksourceview2 ? [y/N]

==> -----------------------------------------------

==> n