After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708108 - cannot build from scratch
cannot build from scratch
Status: RESOLVED DUPLICATE of bug 706497
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2013-09-15 12:04 UTC by Sergey Dorofeev
Modified: 2013-09-19 17:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sergey Dorofeev 2013-09-15 12:04:02 UTC
Hello,

cannot build package without pre-installed gnome environment: I do not have gnome-autogen.sh in my system
Requirements say that I need python but not entire Gnome. Seems to be bootstrapping problem.

Download: git clone git://git.gnome.org/jhbuild
Build: ./autogen.sh
Fail: ./autogen.sh: line 158: gnome-autogen.sh: command not found
Comment 1 Frederic Peters 2013-09-15 12:08:25 UTC
It should be detected by this part of autogen.sh:

  # Check gnome-common package is installed. gnome-common depends on autoconf,
  # automake and pkgconfig so no need to check them explicitly.
  hash gnome-autogen.sh 2>&-
  gnome_autogen_available=$?

What does "gnome-autogen.sh; echo $?" produce on your system?
Comment 2 Sergey Dorofeev 2013-09-15 12:15:13 UTC
$ gnome-autogen.sh; echo $?
bash: gnome-autogen.sh: command not found
127
Comment 3 Frederic Peters 2013-09-15 14:29:36 UTC
Ooops, sorry, I meant "hash gnome-autogen.sh; echo $?"
Comment 4 Sergey Dorofeev 2013-09-15 15:12:28 UTC
$ LANG=C hash gnome-autogen.sh; echo $?
bash: hash: gnome-autogen.sh: not found
1
Comment 5 David King 2013-09-19 13:54:20 UTC
This is now fixed in master, as of:

https://git.gnome.org/browse/jhbuild/commit/?id=3d03dc2487d128b949cde5e8b3b5a06d9ab40f89

and the following two commits. Can you try again after pulling the latest changes and report back on if it works or not?
Comment 6 David King 2013-09-19 13:55:36 UTC
If those changes fixes the bug, this is a duplicate of bug 706497.
Comment 7 Sergey Dorofeev 2013-09-19 16:30:51 UTC
Yes, it seems to be fixed

sergey@desktop:~/jhbuild$ ./autogen.sh --prefix=/opt/jhbuild
WARNING: gnome-autogen.sh not available (usually part of package 'gnome-common')
WARNING: yelp-tools not available (usually part of package 'yelp-tools')
Конфигурирование jhbuild без autotools
Введите «make» чтобы скомпилировать jhbuild

Builds successfully
Comment 8 David King 2013-09-19 17:00:16 UTC
Great, thanks for testing!

*** This bug has been marked as a duplicate of bug 706497 ***