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

Marin Atanasov Nikolov dnaeon at gmail.com
Sat Sep 8 08:36:49 UTC 2012


On Sat, Sep 8, 2012 at 8:05 AM, Jason Hellenthal <jhellenthal at dataix.net> wrote:
>
> 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
>

Hi Jason,

The build with gcc is fixed now.

Thanks for reporting it.

It was also reported by Jenkins [1] also, but seems that notifications
were not in place, so I'll activate them now as well.

[1]: http://jenkins.unix-heaven.org/jenkins/job/pkgng-gcc/91/

Regards,
Marin

>
> --
>
>  - (2^(N-1)) JJH48-ARIN
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



-- 
Marin Atanasov Nikolov

dnaeon AT gmail DOT com
http://www.unix-heaven.org/


More information about the freebsd-ports mailing list