[Bug 285012] [new port] net/py-tlsrpt-reporter: Collectd, fetcher and reportd software for SMTP TLS reporting

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 24 Feb 2025 13:57:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285012

--- Comment #3 from Yusuf Yaman <nxjoseph@protonmail.com> ---
I've successfully added DOCS and TESTS option but having hard time trying to
fix an error in TOOLS option. I don't know why it fails and i am unable to find
much information about dbgnumber error.

gmake[1]: Entering directory
'/wrkdirs/usr/ports/net/py-tlsrpt-reporter/work-py311/tlsrpt-reporter-0.5.0/tools/benchmark'
c++ -O2 -pipe  -L/usr/local/lib -Wno-error=unused-but-set-variable -Werror
-fstack-protector-strong -fno-strict-aliasing   -std=c++11  -O2 -pipe 
-L/usr/local/lib -Wno-error=unused-but-set-variable -Werror
-fstack-protector-strong -fno-strict-aliasing  -Wall -I /usr/local/include -g
-O2 -pthread -fpermissive   -fstack-protector-strong  -Wall -g -pthread
-lboost_program_options  bench.cc /usr/local/lib/libtlsrpt.a /lib/libthr.so.3 
/usr/local/lib/libtlsrpt.a /lib/libthr.so.3 -o bench
c++ -O2 -pipe  -L/usr/local/lib -Wno-error=unused-but-set-variable -Werror
-fstack-protector-strong -fno-strict-aliasing   -std=c++11  -O2 -pipe 
-L/usr/local/lib -Wno-error=unused-but-set-variable -Werror
-fstack-protector-strong -fno-strict-aliasing  -Wall -I /usr/local/include -g
-O2 -pthread -fpermissive   -fstack-protector-strong  -Wall -g -pthread
-lboost_program_options  bench1.cc /usr/local/lib/libtlsrpt.a /lib/libthr.so.3 
/usr/local/lib/libtlsrpt.a /lib/libthr.so.3 -o bench1
bench1.cc:67:7: warning: variable 'donetotal' set but not used
[-Wunused-but-set-variable]
   67 |   int donetotal=0;
      |       ^
bench1.cc:68:7: warning: variable 'donepart' set but not used
[-Wunused-but-set-variable]
   68 |   int donepart=0;
      |       ^
bench1.cc:69:7: warning: variable 'parts' set but not used
[-Wunused-but-set-variable]
   69 |   int parts=0;
      |       ^
3 warnings generated.
ld: error: undefined symbol: dbgnumber
>>> referenced by bench1.cc:75
>>>               /tmp/bench1-3f1149.o:(main)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [<builtin>: bench1] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/net/py-tlsrpt-reporter/work-py311/tlsrpt-reporter-0.5.0/tools/benchmark'
*** Error code 2

Stop.
make: stopped in /usr/ports/net/py-tlsrpt-reporter

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