pkg.c broke 561 pkg.c: In function 'pkg_adddep': on stable/8

Jason Hellenthal jhellenthal at dataix.net
Sat Sep 8 05:05:41 UTC 2012


Thought I would let you know...

This seems to have broken the build...

===> libpkg (all)
Warning: Object directory not changed from original
/exports/pkgng/libpkg
cc -O2 -pipe -march=native -DHAVE_GRUTILS -std=c99
-I/exports/pkgng/libpkg  -I/exports/pkgng/libpkg/../external/sqlite
-I/exports/pkgng/libpkg/../external/libyaml/include
-I/exports/pkgng/libpkg/../external/uthash -DPREFIX=\"/usr/local\" -g
-O0 -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual
-Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
-Wno-pointer-sign -c pkg.c
cc1: warnings being treated as errors
pkg.c: In function 'pkg_adddep':
pkg.c:561: warning: cast discards qualifiers from pointer target type
*** Error code 1

Stop in /exports/pkgng/libpkg.
*** Error code 1

Stop in /exports/pkgng.
# git log -p
commit 657802f7eef98f2aa3b4a77ec52bfc39e5792afc
Author: Baptiste Daroussin <bapt at FreeBSD.org>
Date:   Thu Sep 6 19:49:34 2012 +0200


-- 

 - (2^(N-1)) JJH48-ARIN



More information about the freebsd-ports mailing list