Date: Mon, 19 Aug 2013 13:09:09 -0500 From: "Joseph A. Nagy, Jr" <jnagyjr1978@gmail.com> To: gnome@FreeBSD.org Subject: devel/glib20 crapping out on compile Message-ID: <52125F45.2000004@gmail.com>
next in thread | raw e-mail | index | archive | help
Following is the result of attempting to compile devel/glib20 AFTER setting MAKE_JOBS_UNSAFE=yes (as per the ports request) gnome-libtool: link: clang -Wall -Wstrict-prototypes -Werror=implicit-function-declaration -Werror=init-self -Werror=format-security -Werror=missing-include-dirs -pipe -g -pthread -o .libs/string string.o -L/usr/local/lib ../../glib/.libs/libglib-2.0.so -licui18n /usr/local/lib/libpcre.so -lm /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -pthread -Wl,-rpath -Wl,/usr/local/lib clang: warning: argument unused during compilation: '-g' clang -DHAVE_CONFIG_H -I. -I../.. -g -I../.. -I../../glib -I../../glib -I../.. -DG_LOG_DOMAIN=\"GLib\" -DSRCDIR=\""."\" -DG_ENABLE_DEBUG -I/usr/local/include -pthread -Wall -Wstrict-prototypes -Werror=implicit-function-declaration -Werror=init-self -Werror=format-security -Werror=missing-include-dirs -pipe -g -MT testing.o -MD -MP -MF .deps/testing.Tpo -c -o testing.o testing.c mv -f .deps/testing.Tpo .deps/testing.Po /bin/sh /usr/ports/devel/glib20/work/gnome-libtool --tag=CC --mode=link clang -Wall -Wstrict-prototypes -Werror=implicit-function-declaration -Werror=init-self -Werror=format-security -Werror=missing-include-dirs -pipe -g -L/usr/local/lib -pthread -o testing testing.o ../../glib/libglib-2.0.la -lm -lintl gnome-libtool: link: clang -Wall -Wstrict-prototypes -Werror=implicit-function-declaration -Werror=init-self -Werror=format-security -Werror=missing-include-dirs -pipe -g -pthread -o .libs/testing testing.o -L/usr/local/lib ../../glib/.libs/libglib-2.0.so -licui18n /usr/local/lib/libpcre.so -lm /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -pthread -Wl,-rpath -Wl,/usr/local/lib clang: warning: argument unused during compilation: '-g' clang -DHAVE_CONFIG_H -I. -I../.. -g -I../.. -I../../glib -I../../glib -I../.. -DG_LOG_DOMAIN=\"GLib\" -DSRCDIR=\""."\" -DG_ENABLE_DEBUG -I/usr/local/include -pthread -Wall -Wstrict-prototypes -Werror=implicit-function-declaration -Werror=init-self -Werror=format-security -Werror=missing-include-dirs -pipe -g -MT test-printf.o -MD -MP -MF .deps/test-printf.Tpo -c -o test-printf.o test-printf.c test-printf.c:570:36: error: use of '%n' in format string discouraged (potentially insecure) [-Werror,-Wformat-security] res = g_snprintf (buf, 128, "abc%n", &i); ~^ test-printf.c:575:37: error: use of '%n' in format string discouraged (potentially insecure) [-Werror,-Wformat-security] res = g_snprintf (buf, 128, "abc%ln", &l); ~~^ 2 errors generated. gmake[4]: *** [test-printf.o] Error 1 gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib/tests' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3/glib' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.36.3' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/devel/glib20. *** [install] Error code 1 Stop in /usr/ports/devel/glib20. No clue what the problem is. Not on list so please CC me in replies. -- Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://copyfree.org/licenses/owl/license.txt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52125F45.2000004>