Bug 244266 - devel/hyperscan: cannot build on 12.1
Summary: devel/hyperscan: cannot build on 12.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Vsevolod Stakhov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-21 07:33 UTC by emz
Modified: 2020-02-22 14:07 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (vsevolod)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emz 2020-02-21 07:33:46 UTC
Got error when building on recent 12.1 (upgraded from 11.x, after make delete-old/delete-old-libs) from recent ports:

===Cut===
FAILED: CMakeFiles/hs_compile_shared.dir/src/rose/rose_build_dump.cpp.o 
/usr/bin/c++   -I. -I/usr/ports/devel/hyperscan/work/hyperscan-4.7.0 -I/usr/ports/devel/hyperscan/work/hyperscan-4.7.0/src -isystem /usr/ports/devel/hyperscan/work/hyperscan-4.7.0/include -isystem /usr/ports/devel/hyperscan/work/boost_1_65_1 -pipe -fPIC -march=native -mtune=native -g -fstack-protector-strong -fno-strict-aliasing  -march=native -mtune=native  -O2 -std=c++11 -Wall -Wextra -Wshadow -Wswitch -Wreturn-type -Wcast-qual -Wno-deprecated -Wnon-virtual-dtor -fno-strict-aliasing -Werror -fno-omit-frame-pointer -Wvla -Wpointer-arith -Wno-self-assign -Wno-unused-const-variable -Wno-ignored-attributes -Wweak-vtables -Wmissing-declarations  -pipe -fPIC -march=native -mtune=native -g -fstack-protector-strong -fno-strict-aliasing  -march=native -mtune=native -fPIC -MD -MT CMakeFiles/hs_compile_shared.dir/src/rose/rose_build_dump.cpp.o -MF CMakeFiles/hs_compile_shared.dir/src/rose/rose_build_dump.cpp.o.d -o CMakeFiles/hs_compile_shared.dir/src/rose/rose_build_dump.cpp.o -c /usr/ports/devel/hyperscan/work/hyperscan-4.7.0/src/rose/rose_build_dump.cpp
/usr/ports/devel/hyperscan/work/hyperscan-4.7.0/src/rose/rose_build_dump.cpp:276:23: error: private field 't' is not used [-Werror,-Wunused-private-field]
    const RoseEngine *t;
===Cut===
Comment 1 emz 2020-02-22 14:07:34 UTC
Yup, seems like my mistake, -Werror comes from WITH_DEBUG in make.conf.