ports/182005: graphics/libfpx broken

T.Taguchi taguchi at ff.iij4u.or.jp
Wed Sep 11 01:20:00 UTC 2013


>Number:         182005
>Category:       ports
>Synopsis:       graphics/libfpx broken
>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:   Wed Sep 11 01:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     T.Taguchi
>Release:        FreeBSD-10-CURRENT
>Organization:
>Environment:
FreeBSD user.tcltk.jp 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r255434M: Tue Sep 10 11:03:44 JST 2013     root at user.tcltk.jp:/usr/obj/usr/src/sys/VIRTUALBOX  amd64

>Description:
graphics/libfpx is broken now.
here is a log.

# make
===>   libfpx-1.3.1.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by libfpx-1.3.1.2 for building
===>  Extracting for libfpx-1.3.1.2
=> SHA256 Checksum OK for libfpx-1.3.1-2.tar.xz.
===>  Patching for libfpx-1.3.1.2
===>  Applying FreeBSD patches for libfpx-1.3.1.2
/usr/bin/sed -i '' -e '/^#include "fpxlib-config.h"/d'   /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/basics/filename.cpp      /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h/owchar.h         /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole/gen_guid.cpp         /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/fpxlib.h
===>  Configuring for libfpx-1.3.1.2
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/configure
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/m4/libtool.m4
===>  Building for libfpx-1.3.1.2
--- objwarn ---
.. snip ....
--- olestats.So ---
c++ -fpic -DPIC  -O2 -pipe -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -Qunused-arguments -fstack-protector -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -fno-rtti -fno-exceptions -fno-strict-aliasing -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/jpeg -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/basics -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ri_image -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/fpx -I/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/. -I/usr/local/include -D_UNIX -Wno-c++11-exte
 nsions -c /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole/olestats.cpp -o olestats.So
In file included from /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole/olestats.cpp:40:
In file included from /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole/olestorg.h:25:
In file included from /usr/include/c++/v1/fstream:169:
In file included from /usr/include/c++/v1/ostream:130:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
In file included from /usr/include/c++/v1/string:433:
/usr/include/c++/v1/cwchar:180:106: error: cannot initialize a parameter of type 'const WCHAR *' (aka 'const unsigned short *') with an lvalue of type 'const wchar_t *'
inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return ::wcschr(__s, __c);}
                                                                                                         ^~~
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h/owchar.h:75:42: note: passing argument to parameter 'string' here
WCHAR *  _CRTAPI1 wcschr ( const WCHAR * string, WCHAR ch );
                                         ^
.. snip ...
--- olefiles.So ---
In file included from /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole/olefiles.cpp:33:
In file included from /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/ole/olestorg.h:25:
In file included from /usr/include/c++/v1/fstream:169:
In file included from /usr/include/c++/v1/ostream:130:
In file included from /usr/include/c++/v1/ios:216:
In file included from /usr/include/c++/v1/__locale:15:
/usr/include/c++/v1/string:702:17: error: no matching function for call to 'fpx_wcslen'
        {return wcslen(__s);}
                ^~~~~~
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h/owchar.h:59:20: note: expanded from macro 'wcslen'
#  define wcslen   fpx_wcslen
                   ^~~~~~~~~~
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h/owchar.h:81:19: note: candidate function not viable: no known conversion from 'const char_type *' (aka 'const wchar_t *') to 'const WCHAR *' (aka 'const unsigned short *') for 1st argument
size_t   _CRTAPI1 wcslen(WCHAR const *wsz);
                  ^
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-2/oless/h/owchar.h:59:20: note: expanded from macro 'wcslen'
#  define wcslen   fpx_wcslen
                   ^
5 errors generated.
*** [olefiles.So] Error code 1

make[1]: stopped in /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2
2 errors

make[1]: stopped in /usr/ports/graphics/libfpx/work/libfpx-1.3.1-2
===> Compilation failed unexpectedly.

>How-To-Repeat:
# cd ${PORTSDIR}/graphics/libfpx
# make

>Fix:
add USE_GCC=4.2+



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


More information about the freebsd-ports-bugs mailing list