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 736785 - orc: Uses system() which is deprecated on iOS 8
orc: Uses system() which is deprecated on iOS 8
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: orc
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-17 09:54 UTC by Sebastian Dröge (slomo)
Modified: 2018-11-03 10:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2014-09-17 09:54:02 UTC
/bin/sh ../libtool –tag=CC –mode=compile clang -DHAVE_CONFIG_H -I. -I.. -arch armv7 -mcpu=cortex-a8 -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -Wall -Werror -I.. -D_GNU_SOURCE -DORC_ENABLE_UNSTABLE_API -arch armv7 -mcpu=cortex-a8 -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -miphoneos-version-min=8.0 -Wall -g -Os -Wno-error=format-nonliteral -MT liborc_test_0.4_la-orctest.lo -MD -MP -MF .deps/liborc_test_0.4_la-orctest.Tpo -c -o liborc_test_0.4_la-orctest.lo `test -f ‘orctest.c’ || echo ‘./’`orctest.c
libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -arch armv7 -mcpu=cortex-a8 -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -Wall -Werror -I.. -D_GNU_SOURCE -DORC_ENABLE_UNSTABLE_API -arch armv7 -mcpu=cortex-a8 -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk -miphoneos-version-min=8.0 -Wall -g -Os -Wno-error=format-nonliteral -MT liborc_test_0.4_la-orctest.lo -MD -MP -MF .deps/liborc_test_0.4_la-orctest.Tpo -c orctest.c -fno-common -DPIC -o .libs/liborc_test_0.4_la-orctest.o
orctest.c:134:9: error: ‘system’ is deprecated: first deprecated in iOS 8.0 – Use posix_spawn APIs instead. [-Werror,-Wdeprecated-declarations]
ret = system (cmd);
^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/usr/include/stdlib.h:177:6: note: ‘system’ has been explicitly marked deprecated here
int system(const char *) __DARWIN_ALIAS_C(system) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0,__MAC_NA,__IPHONE_2_0,__IPHONE_8_0, “Use posix_spawn APIs instead.”);

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk/usr/include/stdlib.h:177:6: note: ‘system’ has been explicitly marked deprecated here
int system(const char *) __DARWIN_ALIAS_C(system) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0,__MAC_NA,__IPHONE_2_0,__IPHONE_8_0, “Use posix_spawn APIs instead.”);
Comment 1 Olivier Crête 2014-09-17 14:25:27 UTC
Probably should use the GLib functions instead (g_spawn() and friends).
Comment 2 Sebastian Dröge (slomo) 2014-09-17 14:50:15 UTC
orc does not depend on glib and shouldn't
Comment 3 Edward Hervey 2017-11-20 14:53:09 UTC
Still applies, but is mitigated by the fact that one can disable the test system (which is where system is being used).
Comment 4 GStreamer system administrator 2018-11-03 10:47:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/orc/issues/3.