ports/181779: graphics/libfpx

O. Hartmann ohartman at zedat.fu-berlin.de
Tue Sep 3 12:10:01 UTC 2013


>Number:         181779
>Category:       ports
>Synopsis:       graphics/libfpx
>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:   Tue Sep 03 12:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
FreeBSD 10.0-CURRENT #4 r255154: Mon Sep  2 22:37:02 CEST 2013 amd64

in /etc/src.conf additional flags:
CXXFLAGS+=              -stdlib=libc++
CXXFLAGS+=              -std=c++11




>Description:
The port graphics/libfpx fails ti build/update with the following error:

[...].
--- olestats.So ---
c++ -fpic -DPIC  -O2 -pipe -O3 -fstrict-aliasing -march=native -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -O3 -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/u
 sr/local/include -D_UNIX -stdlib=libc++ -std=c++11 -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 );

[... lots more ...]

>How-To-Repeat:
Try updating/building port graphics/lobfpx on freeBSD 10.0-CURRENT
>Fix:


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


More information about the freebsd-ports-bugs mailing list