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 586894 - distclean removes gst-libs/ext/ffmpeg
distclean removes gst-libs/ext/ffmpeg
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.x
Other Linux
: Normal normal
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-24 22:23 UTC by Dan Taylor
Modified: 2009-10-05 14:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to remove gst-libs/ext/ffmpeg in maintainerclean target only (720 bytes, patch)
2009-08-19 12:51 UTC, Jarkko Palviainen
none Details | Review

Description Dan Taylor 2009-06-24 22:23:56 UTC
"make distclean" removes subdirectory gst-libs/ext/ffmpeg, after which any subsequent attempt to configure/make fails with the make error:

dtaylor@dtaylor-ubuntu:/work/gst-ffmpeg-0.10.7$ make
Making all in gst-libs
Making all in ext
/bin/bash: line 0: cd: ffmpeg: No such file or directory
make[4]: *** [all-local] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
dtaylor@dtaylor-ubuntu:/work/gst-ffmpeg-0.10.7$
Comment 1 Edward Hervey 2009-06-25 09:51:36 UTC
That's because the ffmpeg directory is checked out when running autogen.sh

Running "make distclean" implies you should run autogen.sh again (try it on any other gstreamer module and you'll have the same behaviour).

Closing bug.
Comment 2 Sebastian Dröge (slomo) 2009-06-25 10:09:29 UTC
That's actually not true: make distclean should reset everything to tarball state, make maintainerclean should also remove the autoconf/automake generated files.

For all other GStreamer modules this probably works as the Debian build bots will usually call make distclean before a build (and in the case of gst-ffmpeg it doesn't matter if the directory is there or not because of system ffmpeg being used)
Comment 3 Dan Taylor 2009-06-25 21:39:15 UTC
I filed the bug because of the modules: gstreamer, gst-plugins-base, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, and gst-ffmpeg, ONLY gst-ffmpeg does not configure/make after a distclean, therefore EH's comments are incorrect.

All of them have been downloaded as latest tarballs (except the just-announced pre-release of ffmpeg).

I do not want to start a food fight, but this behavior is inconsistent with the other tarball releases, and should be changed.

Comment 4 Edward Hervey 2009-06-27 12:02:25 UTC
Then it's a new behaviour. I never expected anything to work between 'make distclean' and 'autogen.sh'.

Patch welcome to fix this.
Comment 5 Sebastian Dröge (slomo) 2009-06-27 12:04:54 UTC
AFAIK this was always the expected behaviour (but many build systems removed too much in distclean). I'll make a patch tomorrow or Monday if nobody is faster, this will then remove the ffmpeg directory on maintainerclean only.
Comment 6 Jarkko Palviainen 2009-08-19 12:51:02 UTC
Created attachment 141152 [details] [review]
Patch to remove gst-libs/ext/ffmpeg in maintainerclean target only
Comment 7 Sebastian Dröge (slomo) 2009-08-19 13:29:15 UTC
commit 9beafa7eace1ffb5a890e9ba0b7c48a61d48e72e
Author: Jarkko Palviainen <jarkko.palviainen@sesca.com>
Date:   Wed Aug 19 15:28:35 2009 +0200

    build: Remove gst-libs/ext/ffmpeg in maintainerclean target only
    
    Fixes bug #586894.
Comment 8 Jan Schmidt 2009-10-05 14:29:51 UTC
This change actually breaks the distcheck target by no longer cleaning anything in the ffmpeg snapshot subdirectory during distclean.

Fix in this commit by making sure to call the ffmpeg distclean target:

commit a472d1c2266df0ca4c01d0d25fb39b99248c7995
Author: Jan Schmidt <thaytan@noraisin.net>
Date:   Mon Oct 5 15:28:33 2009 +0100

    Fix distclean/distcheck