Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 13:20:41 -0800
From:      Jeffrey Bouquet <jeffreybouquet@yahoo.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: pkg fails build on v9-STABLE ... LOG pasted
Message-ID:  <5307C329.8080901@yahoo.com>
In-Reply-To: <20140221181108.GF29012@albert.catwhisker.org>
References:  <5307955E.4090303@yahoo.com> <20140221181108.GF29012@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 02/21/14 10:11, David Wolfskill wrote:
> On Fri, Feb 21, 2014 at 10:05:18AM -0800, Jeffrey Bouquet wrote:
>> Tried pasting the error, it was all one huge paragraph, not lines...
>>
>> Sorry.
>>
>> It built once, skipping past this error.  Almost always fails.
>> ...
> Looks as if the attachment wasn't propagated to the list.
>
> Note that there's a 200KB max for message bodies anyway....
>
> Peace,
> david


9.1-STABLE r250151  (fails also with clang IIRC)
Warning: Object directory not changed from original 
/usr/ports/ports-mgmt/pkg/work/pkg-1.2.6/pkg

gcc47 -O0 -pipe -s -Wl,-rpath=/usr/local/lib/gcc47 
-DPORTSDIR=\"/usr/ports\" -I../libpkg 
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.6/pkg/../external/uthash 
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.6/pkg/../external/expat/lib 
-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 -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c add.c

gcc47 -O0 -pipe -s -Wl,-rpath=/usr/local/lib/gcc47 
-DPORTSDIR=\"/usr/ports\" -I../libpkg 
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.6/pkg/../external/uthash 
-I/usr/ports/ports-mgmt/pkg/work/pkg-1.2.6/pkg/../external/expat/lib 
-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 -Wunused-parameter -Wcast-align 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls 
-Wold-style-definition -Wno-pointer-sign -c annotate.c

In file included from annotate.c:33:0: 
/usr/local/lib/gcc47/gcc/i386-portbld-freebsd9.2/4.7.4/include-fixed/unistd.h:116:0: 
error: "_POSIX_CPUTIME" redefined [-Werror]

In file included from 
/usr/local/lib/gcc47/gcc/i386-portbld-freebsd9.2/4.7.4/include-fixed/unistd.h:47:0, 
from annotate.c:33: /usr/include/sys/unistd.h:56:0: note: this is the 
location of the previous definition In file included from add.c:36:0: 
/usr/local/lib/gcc47/gcc/i386-portbld-freebsd9.2/4.7.4/include-fixed/unistd.h:116:0: 
error: "_POSIX_CPUTIME" redefined [-Werror] In file included from 
/usr/local/lib/gcc47/gcc/i386-portbld-freebsd9.2/4.7.4/include-fixed/unistd.h:47:0, 
from add.c:36: /usr/include/sys/unistd.h:56:0: note: this is the 
location of the previous definition cc1: all warnings being treated as 
errors cc1: all warnings being treated as errors *** [annotate.o] Error 
code 1 *** [add.o] Error code 1 2 errors *** [all] Error code 2 1 error 
===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes 
and rebuild before reporting the failure to the maintainer. *** 
[do-build] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. *** 
[/usr/ports/ports-mgmt/pkg/work/.build_done.pkg._usr_local] Error code 1 
Stop in /usr/ports/ports-mgmt/pkg. FreeBSD 9.1-STABLE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5307C329.8080901>