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 607055 - Generates undistable sources
Generates undistable sources
Status: RESOLVED DUPLICATE of bug 590625
Product: gtk-doc
Classification: Platform
Component: general
1.13
Other Linux
: Normal major
: ---
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-15 08:51 UTC by Sebastian Dröge (slomo)
Modified: 2010-01-15 16:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2010-01-15 08:51:06 UTC
Quoting http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565377 :

Hi,

using gtk-doc-tools 1.13-1, it creates build files where I can no longer
run "make dist". In my case I tried to create a dist tarball from
current tracker Git master and it fails with the following error
message:
....
make[2]: Entering directory `/home/michael/git/tracker/docs/reference'
 (cd libtracker-client && make  top_distdir=../../../tracker-0.7.16 distdir=../../../tracker-0.7.16/docs/reference/libtracker-client \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[3]: Entering directory `/home/michael/git/tracker/docs/reference/libtracker-client'
cp: cannot stat `./libtracker-client-overrides.txt': No such file or directory
make[3]: *** [distdir] Error 1
make[3]: Leaving directory `/home/michael/git/tracker/docs/reference/libtracker-client'
make[2]: *** [distdir] Error 1
make[2]: Leaving directory `/home/michael/git/tracker/docs/reference'
make[1]: *** [distdir] Error 1
make[1]: Leaving directory `/home/michael/git/tracker/docs'
make: *** [distdir] Error 1


The generated makefile has this snippet:
# Other files to distribute
EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \
↦       $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt \
↦       version.xml.in

But no rules how this file should be generated.

Downgrading to 1.11-4 I get a working "make dist" back.

As I think this is an important regression, I'm marking this bug serious
so it does not migrate to testing.
This problem is completely reproducible, so if you need more infos,
please let me know
Comment 1 Sebastian Dröge (slomo) 2010-01-15 08:51:25 UTC
And another addition from the downstream bugreport:

Seems to be a bug in gtkdoc-scan:

/usr/bin/gtkdoc-scan:162 in 0.11-4
# If there is no MODULE-overrides.txt file we create an empty one.
my $overrides_file = "${OUTPUT_DIR}/$MODULE-overrides.txt";
if (! -e $overrides_file) {
  `touch $overrides_file`;
}


/usr/bin/gtkdoc-scan:183 in 0.13-1
# If there is no MODULE-overrides.txt file we create an empty one.
# FIXME: why?
#my $overrides_file = "${OUTPUT_DIR}/$MODULE-overrides.txt";
#if (! -e $overrides_file) {
#  `touch $overrides_file`;
#}

So, the creation of overrides files was disabled, yet they are still added to
EXTRA_DIST.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2010-01-15 16:04:39 UTC

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