Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Apr 2012 14:41:57 +0200
From:      "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>
To:        Ports FreeBSD <freebsd-ports@FreeBSD.org>
Subject:   devel/subversion: can not update, CLANG error (subversion 1.7.3 -> 1.7.4)
Message-ID:  <4F799E95.20303@mail.zedat.fu-berlin.de>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigF9B9B875C8C26C078C9CED02
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Hello,
I faced this error this morning when trying to update/upgrade port
devel/subversion 1.7.3 to 1.7.4:

clang: warning: argument unused during compilation: '-fpic'
clang: warning: argument unused during compilation: '-fpic'
subversion/libsvn_client/cat.c:164:15: error: implicit declaration of
function 'svn_subst_build_keywords3' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
      SVN_ERR(svn_subst_build_keywords3(&kw, keywords->data, rev_str, url=
,
              ^
=2E/subversion/include/svn_error.h:303:35: note: expanded from:
    svn_error_t *svn_err__temp =3D (expr);        \
                                  ^
subversion/libsvn_client/cat.c:164:7: warning: incompatible integer to
pointer conversion initializing 'svn_error_t *' (aka 'struct svn_error_t
*') with an expression of type 'int';
      SVN_ERR(svn_subst_build_keywords3(&kw, keywords->data, rev_str, url=
,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~
=2E/subversion/include/svn_error.h:303:18: note: expanded from:
    svn_error_t *svn_err__temp =3D (expr);        \
                 ^               ~~~~~~
/usr/local/bin/libtool --tag=3DCC --silent --mode=3Dcompile clang  -O2 -p=
ipe
-O2 -fno-strict-aliasing -pipe -O3 -pipe -fno-strict-aliasing
-march=3Dnative -fpic -DPIC  -g -O2  -Werror=3Dimplicit-function-declarat=
ion
 -I./subversion/include -I./subversion  -I/usr/local/include/apr-1
-I/usr/local/include/apr-1 -I/usr/local/include -I/usr/include
-I/usr/local/include/db5   -I/usr/local/include/dbus-1.0
-I/usr/local/include/dbus-1.0/include   -I/usr/local/include/glib-2.0
-I/usr/local/include/gnome-keyring-1     -I/usr/local/include/neon
-I/usr/local/include -I/usr/local/include/serf-1 -I/usr/local/include
-I/usr/local/include  -o subversion/libsvn_client/cmdline.lo -c
subversion/libsvn_client/cmdline.c
/usr/local/bin/libtool --tag=3DCC --silent --mode=3Dcompile clang  -O2 -p=
ipe
-O2 -fno-strict-aliasing -pipe -O3 -pipe -fno-strict-aliasing
-march=3Dnative -fpic -DPIC  -g -O2  -Werror=3Dimplicit-function-declarat=
ion
 -I./subversion/include -I./subversion  -I/usr/local/include/apr-1
-I/usr/local/include/apr-1 -I/usr/local/include -I/usr/include
-I/usr/local/include/db5   -I/usr/local/include/dbus-1.0
-I/usr/local/include/dbus-1.0/include   -I/usr/local/include/glib-2.0
-I/usr/local/include/gnome-keyring-1     -I/usr/local/include/neon
-I/usr/local/include -I/usr/local/include/serf-1 -I/usr/local/include
-I/usr/local/include  -o subversion/libsvn_client/commit.lo -c
subversion/libsvn_client/commit.c
/usr/local/bin/libtool --tag=3DCC --silent --mode=3Dcompile clang  -O2 -p=
ipe
-O2 -fno-strict-aliasing -pipe -O3 -pipe -fno-strict-aliasing
-march=3Dnative -fpic -DPIC  -g -O2  -Werror=3Dimplicit-function-declarat=
ion
 -I./subversion/include -I./subversion  -I/usr/local/include/apr-1
-I/usr/local/include/apr-1 -I/usr/local/include -I/usr/include
-I/usr/local/include/db5   -I/usr/local/include/dbus-1.0
-I/usr/local/include/dbus-1.0/include   -I/usr/local/include/glib-2.0
-I/usr/local/include/gnome-keyring-1     -I/usr/local/include/neon
-I/usr/local/include -I/usr/local/include/serf-1 -I/usr/local/include
-I/usr/local/include  -o subversion/libsvn_client/commit_util.lo -c
subversion/libsvn_client/commit_util.c
/usr/local/bin/libtool --tag=3DCC --silent --mode=3Dcompile clang  -O2 -p=
ipe
-O2 -fno-strict-aliasing -pipe -O3 -pipe -fno-strict-aliasing
-march=3Dnative -fpic -DPIC  -g -O2  -Werror=3Dimplicit-function-declarat=
ion
 -I./subversion/include -I./subversion  -I/usr/local/include/apr-1
-I/usr/local/include/apr-1 -I/usr/local/include -I/usr/include
-I/usr/local/include/db5   -I/usr/local/include/dbus-1.0
-I/usr/local/include/dbus-1.0/include   -I/usr/local/include/glib-2.0
-I/usr/local/include/gnome-keyring-1     -I/usr/local/include/neon
-I/usr/local/include -I/usr/local/include/serf-1 -I/usr/local/include
-I/usr/local/include  -o subversion/libsvn_client/compat_providers.lo -c
subversion/libsvn_client/compat_providers.c
subversion/libsvn_client/cat.c:290:11: warning: incompatible integer to
pointer conversion initializing 'svn_error_t *' (aka 'struct svn_error_t
*') with an expression of type 'int';
          SVN_ERR(svn_subst_build_keywords3
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=2E/subversion/include/svn_error.h:303:18: note: expanded from:
    svn_error_t *svn_err__temp =3D (expr);        \
                 ^               ~~~~~~
2 warnings and 1 error generated.
*** [subversion/libsvn_client/cat.lo] Error code 1
clang: warning: argument unused during compilation: '-fpic'
clang: warning: argument unused during compilation: '-fpic'
clang: warning: argument unused during compilation: '-fpic'
clang: warning: argument unused during compilation: '-fpic'
clang: warning: argument unused during compilation: '-fpic'
subversion/libsvn_client/commit.c:129:13: error: implicit declaration of
function 'svn_subst_build_keywords3' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
    SVN_ERR(svn_subst_build_keywords3(&keywords, keywords_val->data,
            ^
=2E/subversion/include/svn_error.h:303:35: note: expanded from:
    svn_error_t *svn_err__temp =3D (expr);        \
                                  ^
subversion/libsvn_client/commit.c:129:5: warning: incompatible integer
to pointer conversion initializing 'svn_error_t *' (aka 'struct
svn_error_t *') with an expression of type 'int';
    SVN_ERR(svn_subst_build_keywords3(&keywords, keywords_val->data,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=2E/subversion/include/svn_error.h:303:18: note: expanded from:
    svn_error_t *svn_err__temp =3D (expr);        \
                 ^               ~~~~~~
1 warning and 1 error generated.
*** [subversion/libsvn_client/commit.lo] Error code 1
2 errors
*** [do-build] Error code 1

Stop in /usr/ports/devel/subversion.
*** [build] Error code 1

Stop in /usr/ports/devel/subversion.

=3D=3D=3D>>> make failed for devel/subversion
=3D=3D=3D>>> Aborting update

=3D=3D=3D>>> Update for devel/subversion failed
=3D=3D=3D>>> Aborting update

Terminated


--------------enigF9B9B875C8C26C078C9CED02
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQEcBAEBAgAGBQJPeZ6VAAoJEOgBcD7A/5N8oNoIAOBeIUo3htrEFVt0xlN7esbK
G8gggfHFDtZdTDba1HHtTZqnwYkoALhTpeU3dmuyu7WIT8p60/LTV+3/6+n+32Lc
bmpqEUoBhZh7HafTHL85K8m0tJXweunLd2tBHvOJe7/VV6ORyK45P2Fku2zfLNp7
2sR5AVanNJiUzcUp5DYMndBT0+qDHN1RygA/TdsYDpJh414I0PXlr/elTps6hEs1
gw92ul4wKnE+ZkIIL5ZyGbRykRzsO9cTA2mXoBUkjjeyyQcEmjZu9Wkv73l++GPg
OOGphOyL1QiMoOsziHOCPRBZZbW6ruXwpOp5fs+dtrS5xYINFkK41wcvqRYpJSE=
=cJOO
-----END PGP SIGNATURE-----

--------------enigF9B9B875C8C26C078C9CED02--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F799E95.20303>