ports/161202: [ERROR] cannot portupgrade ports/x11-toolkits/gdl with CLANG

Andrei Lavreniyuk andy.lavr at gmail.com
Sat Oct 1 13:00:24 UTC 2011


>Number:         161202
>Category:       ports
>Synopsis:       [ERROR] cannot portupgrade ports/x11-toolkits/gdl 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 13:00:23 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:
# portupgrade -f gdl-2.30.1
--->  Reinstalling 'gdl-2.30.1' (x11-toolkits/gdl)
--->  Building '/usr/ports/x11-toolkits/gdl'
===>  Cleaning for gdl-2.30.1
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for gdl-2.30.1
=> SHA256 Checksum OK for gdl-2.30.1.tar.bz2.
===>  Patching for gdl-2.30.1
===>   gdl-2.30.1 depends on executable: gmake - found
===>   gdl-2.30.1 depends on file: /usr/local/bin/intltool-extract - found
===>   gdl-2.30.1 depends on executable: pkg-config - found
===>   gdl-2.30.1 depends on shared library: intl - found
===>   gdl-2.30.1 depends on shared library: atk-1.0.0 - found
===>   gdl-2.30.1 depends on shared library: glib-2.0.0 - found
===>   gdl-2.30.1 depends on shared library: gtk-x11-2.0.0 - found
===>   gdl-2.30.1 depends on shared library: pango-1.0.0 - found
===>  Configuring for gdl-2.30.1
configure: WARNING: unrecognized options: --with-gconf-source
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by gmake... GNU
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether clang accepts -g... (cached) yes
checking for clang option to accept ISO C89... (cached) none needed
checking dependency style of clang... (cached) gcc3
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking return type of signal handlers... void
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking for ANSI C header files... (cached) yes
checking whether build environment is sane... yes
checking build system type... amd64-portbld-freebsd9.0
checking host system type... amd64-portbld-freebsd9.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from clang object... ok
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether clang++ accepts -g... (cached) yes
checking dependency style of clang++... (cached) gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fPIC -DPIC
checking if clang++ PIC flag -fPIC -DPIC works... yes
checking if clang++ static flag -static works... yes
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.0 ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XML... yes
checking for GDL_DEPENDENCIES... yes
checking for native Win32... no
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.1 found
checking for intltool-update... /usr/local/bin/intltool-update
checking for intltool-merge... /usr/local/bin/intltool-merge
checking for intltool-extract... /usr/local/bin/intltool-extract
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.1
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking for libintl.h... (cached) yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/local/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/local/bin/msgfmt
checking for xgettext... (cached) /usr/local/bin/xgettext
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gdl/Makefile
config.status: creating po/Makefile.in
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating gdl.spec
config.status: creating gdl-1.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
configure: WARNING: unrecognized options: --with-gconf-source
===>  Building for gdl-2.30.1
gmake  all-recursive
gmake[1]: Вход в каталог `/usr/ports/x11-toolkits/gdl/work/gdl-2.30.1'
Making all in gdl
gmake[2]: Вход в каталог `/usr/ports/x11-toolkits/gdl/work/gdl-2.30.1/gdl'
gmake  all-am
gmake[3]: Вход в каталог `/usr/ports/x11-toolkits/gdl/work/gdl-2.30.1/gdl'
  CC     gdl-i18n.lo
  CC     gdl-dock-object.lo
  CC     gdl-dock-master.lo
  CC     gdl-dock.lo
  CC     gdl-dock-item.lo
gdl-dock-item.c:1819:5: error: non-void function 'gdl_dock_item_get_grip' should return a value [-Wreturn-type]
    g_return_if_fail (item != NULL);
    ^
/usr/local/include/glib-2.0/glib/gmessages.h:264:3: note: expanded from:
         return;                                                        \
         ^
1 error generated.
gmake[3]: *** [gdl-dock-item.lo] Ошибка 1
gmake[3]: Выход из каталога `/usr/ports/x11-toolkits/gdl/work/gdl-2.30.1/gdl'
gmake[2]: *** [all] Ошибка 2
gmake[2]: Выход из каталога `/usr/ports/x11-toolkits/gdl/work/gdl-2.30.1/gdl'
gmake[1]: *** [all-recursive] Ошибка 1
gmake[1]: Выход из каталога `/usr/ports/x11-toolkits/gdl/work/gdl-2.30.1'
gmake: *** [all] Ошибка 2
*** Error code 1

Stop in /usr/ports/x11-toolkits/gdl.
** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade20111001-11813-1jadvxu env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gdl-2.30.1 UPGRADE_PORT_VER=2.30.1 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! x11-toolkits/gdl (gdl-2.30.1) (unknown build error)
>How-To-Repeat:

>Fix:


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



More information about the freebsd-ports-bugs mailing list