Package Details: jhbuild 3.15.92-1

Git Clone URL: https://aur.archlinux.org/jhbuild.git (read-only)
Package Base: jhbuild
Description: Tool to build the whole GNOME desktop from sources
Upstream URL: https://live.gnome.org/Jhbuild/
Licenses: GPL
Submitter: markzz
Maintainer: markzz
Last Packager: markzz
Votes: 5
Popularity: 0.211054
First Submitted: 2015-08-16 15:48
Last Updated: 2016-01-25 17:00

Required by (0)

Sources (2)

Latest Comments

josephgbr commented on 2016-01-26 00:24

I hope you understand that jhbuild 3.12.0 was bugged by not applying to /usr/bin/jhbuild the argument "PYTHON=/usr/bin/python2" passed to autogen.sh, a bug which seems to be solved in 3.15.92.

It was fixed a few months after the release of 3.12.0, as you can see here: https://git.gnome.org/browse/jhbuild/commit/scripts/jhbuild.in?id=287093cfd844368510fb63bb230c06ce2613f3b5

Please understand that fixing python2 invoking are, in most cases, made by the maintainer in PKGBUILD (even when they are TU or Developers), so I believe that it is Arch Way.

Anyway, not a problem anymore in this new version.
Thanks for the version upgrade.

markzz commented on 2016-01-25 16:33

Please read [1] and [2]. In the spirit of the Arch Way, I will not add any patches or commands to the PKGBUILD unless absolutely necessary. I would also encourage you to read documentation in the future.

[1] https://wiki.archlinux.org/index.php/JHBuild#Building_from_scratch_without_JHBuild.2C_or_in_a_JHBuild_shell
[2] https://wiki.gnome.org/Projects/Jhbuild/Dependencies/ArchLinux

josephgbr commented on 2016-01-25 15:53

@markzz: currently jhbuild requires python2, but it is using python3. Without python2, jhbuild will keep displaying the error message: ImportError: No module named '__builtin__'

To fix this, I suggestion adding the following command before autogen.sh:

PYTHON_CALLERS="$(grep -R '/usr/bin/python$' | cut -d: -f1)
................$(grep -R '/usr/bin/env python$' | cut -d: -f1)"
sed -i -e 's|env python$|env python2|' \
.......-e 's|bin/python$|bin/python2|' \
.......${PYTHON_CALLERS}

(dots "." are for text identation, please replace with whitespace/tab)

albfan commented on 2016-01-16 06:08

I've solve

ImportError: No module named '__builtin__'

changing shebang to python2

jhbuild sysdeps --install dependencies was solved using

pkgfile <whatever>.pc

as for xorg-wacom (xorg-wacom.pc):

$ pkgfile xorg-wacom.pc
extra/xf86-input-wacom

but can't find package for json(json.pc)

I have checked other distros and there's no json.pc at all, so I cp /usr/lib/pkgconfig/json-c.pc to /usr/lib/pkgconfig/json.pc (at least to bypass this for a while)

then jhbuild build refuse to compile some initial packages (python libxml2 dependency) but now is compiling rest of packages.

markzz commented on 2015-12-06 01:47

If you read the message after you installed the package, you'd know. Also, since it's something in your home directory (~), it is not included in the package.

Wiseacre commented on 2015-12-06 00:02

Can't find ~/.config/jhbuildrc
Where is it??

prescott commented on 2015-11-26 09:15

this fixes issue:
1. install python-future / python2-future
2. symlink python as is described on wiki

before was not needed to install "future" packages....

markzz commented on 2015-11-17 11:54

https://wiki.archlinux.org/index.php/JHBuild#Python_issues

Read Wiki first.

prescott commented on 2015-11-17 08:37

I cant use jhbuild. I always get this error:

Traceback (most recent call last):
File "/usr/bin/jhbuild", line 6, in <module>
import __builtin__
ImportError: No module named '__builtin__'

markzz commented on 2015-10-06 17:17

I reuploaded this PKGBUILD from the aur3 because no one else did and I use this package. I have redone the PKGBUILD to use the stable 3.12.0 release rather than the git version.

All comments