ports/161186: [ERROR] cannot portupgrade devel/gdb66 with CLANG

Andrei Lavreniyuk andy.lavr at gmail.com
Sat Oct 1 10:00:23 UTC 2011


>Number:         161186
>Category:       ports
>Synopsis:       [ERROR] cannot portupgrade devel/gdb66 with CLANG
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 01 10:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 9.0-BETA3
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD opensolaris.technica-03.local 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Thu Sep 29 13:05:43 EEST 2011     root at opensolaris.technica-03.local:/usr/obj/usr/src/sys/SMP64R  amd64

>Description:
clang -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -pipe -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -march=core2 -DRL_NO_COMPAT -fno-strict-aliasing -c opncls.c -o opncls.o
opncls.c:234:5: error: expression result unused [-Werror,-Wunused-value]
    bfd_set_cacheable (nbfd, TRUE);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bfd.h:561:67: note: expanded from:
#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
                                                                  ^
./bfd.h:122:14: note: expanded from:
#define TRUE 1
             ^
1 error generated.
gmake[4]: *** [opncls.lo] Ошибка 1
gmake[4]: *** Ожидание завершения заданий...
clang -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -pipe -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -march=core2 -DRL_NO_COMPAT -fno-strict-aliasing -c section.c -o section.o
clang -DHAVE_CONFIG_H -I. -I.././bfd -I. -I. -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -pipe -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -march=core2 -DRL_NO_COMPAT -fno-strict-aliasing -c syms.c -o syms.o
gmake[4]: Выход из каталога `/usr/ports/devel/gdb66/work/gdb-6.6/bfd'
gmake[3]: *** [all-recursive] Ошибка 1
gmake[3]: Выход из каталога `/usr/ports/devel/gdb66/work/gdb-6.6/bfd'
gmake[2]: *** [all] Ошибка 2
gmake[2]: Выход из каталога `/usr/ports/devel/gdb66/work/gdb-6.6/bfd'
gmake[1]: *** [all-bfd] Ошибка 2
gmake[1]: Выход из каталога `/usr/ports/devel/gdb66/work/gdb-6.6'
gmake: *** [all] Ошибка 2
*** Error code 1

Stop in /usr/ports/devel/gdb66.
** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade20111001-64262-19sd6s3 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gdb-6.6_2 UPGRADE_PORT_VER=6.6_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! devel/gdb66 (gdb-6.6_2)       (unknown build error)
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list