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 739000 - librtmp build fails on Windows
librtmp build fails on Windows
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Windows
: Normal normal
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-22 11:55 UTC by jacobhameiri
Modified: 2015-06-10 11:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jacobhameiri 2014-10-22 11:55:31 UTC
this is the output from cerbero:

Running command 'make SYS=mingw prefix="$CERBERO_PREFIX" CRYPTO=GNUTLS XLDFLAGS="$LDFLAGS" XCFLAGS="$CFLAGS" CC="$CC" LD="$LD"'
make: invalid option -- g
make: invalid option -- O
make: invalid option -- 2
make: invalid option -- D
make: invalid option -- D
make: invalid option -- _
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from commands.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any commands; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no commands; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo commands.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for i686-pc-msys
Report bugs to <bug-make@gnu.org>
Recipe 'librtmp' failed at the build step 'compile'
Comment 1 Sebastian Dröge (slomo) 2014-10-22 12:17:18 UTC
We need to pass the variables differently to make it seems.
Comment 2 Tim-Philipp Müller 2015-06-10 11:49:45 UTC
This was fixed I think:

ommit b3af0682179612648bcbf6e61b98bbcf832a2f15
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Mon Jun 8 14:18:55 2015 +0200

    librtmp: And now also fix the build on non-Windows again

commit edb8f605035e111554cf05dade93d36462fc659f
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Mon Jun 8 13:02:50 2015 +0200

    librtmp: Fix build on Windows
    
    Add some more escaping for passing arguments with spaces via commandline.