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 630481 - Build failure - missing ./tests/regress.{c,h}
Build failure - missing ./tests/regress.{c,h}
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-24 03:11 UTC by John Stowers
Modified: 2010-09-24 11:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Stowers 2010-09-24 03:11:28 UTC
Fresh git checkout, autogen'd with

./configure --enable-introspection=no --prefix=/opt/gtk/

Fails with

make[2]: *** No rule to make target `/tests/regress.c', needed by `libregress_la-regress.lo'.  Stop.

Looking at test/Makefile.am it will also fail when gobject-introspection is disabled, but I will submit a new bug for that (or commit the fix myself - ok?)
Comment 1 Tomeu Vizoso 2010-09-24 07:44:01 UTC
(In reply to comment #0)
> Fresh git checkout, autogen'd with
> 
> ./configure --enable-introspection=no --prefix=/opt/gtk/
> 
> Fails with
> 
> make[2]: *** No rule to make target `/tests/regress.c', needed by
> `libregress_la-regress.lo'.  Stop.
> 
> Looking at test/Makefile.am it will also fail when gobject-introspection is
> disabled, but I will submit a new bug for that (or commit the fix myself - ok?)

Yes please, feel free to push a fix for these if you don't feel you need a review.
Comment 2 John Stowers 2010-09-24 09:22:49 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > Fresh git checkout, autogen'd with
> > 
> > ./configure --enable-introspection=no --prefix=/opt/gtk/
> > 
> > Fails with
> > 
> > make[2]: *** No rule to make target `/tests/regress.c', needed by
> > `libregress_la-regress.lo'.  Stop.
> > 
> > Looking at test/Makefile.am it will also fail when gobject-introspection is
> > disabled, but I will submit a new bug for that (or commit the fix myself - ok?)
> 
> Yes please, feel free to push a fix for these if you don't feel you need a
> review.

The build is fixed with introspection disabled, but someone still needs to commit regress.{c,h}. I presume J5 forgot?
Comment 3 Tomeu Vizoso 2010-09-24 10:25:09 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > Fresh git checkout, autogen'd with
> > > 
> > > ./configure --enable-introspection=no --prefix=/opt/gtk/
> > > 
> > > Fails with
> > > 
> > > make[2]: *** No rule to make target `/tests/regress.c', needed by
> > > `libregress_la-regress.lo'.  Stop.
> > > 
> > > Looking at test/Makefile.am it will also fail when gobject-introspection is
> > > disabled, but I will submit a new bug for that (or commit the fix myself - ok?)
> > 
> > Yes please, feel free to push a fix for these if you don't feel you need a
> > review.
> 
> The build is fixed with introspection disabled, but someone still needs to
> commit regress.{c,h}. I presume J5 forgot?

Nice, those files are installed by gobject-introspection in share/gobject-introspection-1.0/tests/regress.[hc] so I guess we are fine now.
Comment 4 John Stowers 2010-09-24 11:01:36 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.