[Bug 222263] devel/py-pyicu: fails to respect CXXFLAGS and LOCALBASE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 12 16:02:37 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222263

            Bug ID: 222263
           Summary: devel/py-pyicu: fails to respect CXXFLAGS and
                    LOCALBASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bland at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
             Flags: maintainer-feedback?(bland at FreeBSD.org)
          Assignee: bland at FreeBSD.org

Created attachment 186303
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186303&action=edit
v1

- Fails if PREFIX != LOCALBASE, see below
- Contains *.cpp files but doesn't respect CXXFLAGS e.g., -std=c++11
- Uses += for LIB_DEPENDS despite no slave port referencing the variable

$ poudriere testport -Pj 103i386 devel/py-pyicu
[...]
--MAKE_ENV--
PYICU_INCLUDES="/prefix/py27-pyicu-1.9.4_1/include" 
PYICU_CFLAGS="-w:-DPYICU_VER=\"1.9.4\"" 
PYICU_LFLAGS="-L/prefix/py27-pyicu-1.9.4_1/lib" ...
[...]
building '_icu' extension
creating build/temp.freebsd-10.3-RELEASE-p20-i386-2.7
cc -DNDEBUG -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC
-I/prefix/py27-pyicu-1.9.4_1/include -I/usr/local/include/python2.7 -c _icu.cpp
-o build/temp.freebsd-10.3-RELEASE-p20-i386-2.7/_icu.o -w -DPYICU_VER="1.9.4"
In file included from _icu.cpp:27:
./common.h:90:10: fatal error: 'unicode/utypes.h' file not found
#include <unicode/utypes.h>
         ^
1 error generated.

build log: http://sprunge.us/AdBg

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list