jhbuild build cairo
*** Checking out pixman *** [1/2]
*** Skipping pixman (package and dependencies not updated) *** [1/2]
*** Checking out cairo *** [2/2]
*** Skipping cairo (package and dependencies not updated) *** [2/2]
*** success *** [2/2]
Macs-Mac-mini:gjs-documentation macmini$ jhbuild run make
make: *** No rule to make target `generated/cairo-1.0', needed by `html/cairo-1.0'. Stop.
Macs-Mac-mini:gjs-documentation macmini$ jhbuild build cairo-1.0
jhbuild build: A module called ''cairo-1.0'' could not be found.
Usage: jhbuild [ -f config ] command [ options … ]
Macs-Mac-mini:gjs-documentation macmini$
I've no idea how to move on. Everything I build is successful, I still cannot generate a thing and I don't even have those gir files .... I don't mind configuring a VM a part so can you pleaase tell me what kind of OS are you using and pass me your jhbuild configuration file, if any?
I really dunno what else I could do ... ideally it's usually good to have a simple way to update a documentation, here I'm completely lost :-(
Best Regards
FWIW there is a dedicated section on ArchWiki where there are more troubles than solutions: https://wiki.archlinux.org/index.php/JHBuildI gave up on Linux and trying now on OSX where so far everything seems to work much better. However, `nspr` seems to be impossible to reach, and it's blocking my build for gjs and the rest.I guess I'm not being lucky at all, thanks for the support anyway.Best RegardsOn Wed, Dec 9, 2015 at 5:12 PM, Giovanni Campagna <scampa giovanni gmail com> wrote:I'm sorry that jhbuild gave you troubles. It's supposed to be seamless on most distros, and I know there are people who routinely build on ArchLinux.
On Wed, Dec 9, 2015 at 4:34 AM, Andrea Giammarchi <andrea giammarchi gmail com> wrote:
Current status:
After building via jhbuild 160 modules (using default configuration) I can report the following issues and yet the **inability** to build gjs-documentation
Modules that failed to build on ArchLinux:
* colord (needed argyllcms)
* nautilus (needed libselinux from AUR)
* ibus-libpinyin
* telepathy-mission-control
* zeitgeist (needed python2-rdflib and a /usr/local/bin switch to force using python2 via linked python)
I've successfully built every other package including gnome-shell
When I launch the make via jhbuild this is the result (identical since about ever in my experience, even without jhbuild)
jhbuild run make
mkdir -p html/GLib-2.0
yelp-build html -o html/GLib-2.0 static/GLib-2.0
touch html/GLib-2.0
mkdir -p html/Gio-2.0
yelp-build html -o html/Gio-2.0 static/Gio-2.0
touch html/Gio-2.0
mkdir -p html/GObject-2.0
yelp-build html -o html/GObject-2.0 static/GObject-2.0
touch html/GObject-2.0
make: *** No rule to make target 'generated/cairo-1.0', needed by 'html/cairo-1.0'. Stop.
If I remove cairo or anything else in there I have the same result.
I'm close to give up on this and erase the entire jhbuild "experience" from my computer :-(
In any case, what prefix did you use?
The Makefile in gjs-documentation by default uses /opt/gnome (which used to be the jhbuild default). If that's not the case, call make with prefix=...
As for the gir files, they are not included in the repos. They are built from the source code by extracting code comments and parsing the C headers. So jhbuild is a necessary step anyway to get the girs (which now you have in $(prefix)/share/gir-1.0/ )
Cheers,
Giovanni