Cannot build net-mgmt/tcptrack on 14.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Dec 2024 16:00:34 UTC
Hello. I've just upgraded my Poudriere host to 14.2 and I'm rebuilding the packages I use (with 2024Q4 branch). tcptrack fails with: > c++ -DHAVE_CONFIG_H -I. -I.. -Werror -Wno-deprecated -Wall -O2 -pipe -Wno-error=unused-but-set-variable -fstack-protector-strong -fno-strict-aliasing -std=c++14 -MT TextUI.o -MD -MP -MF .deps/TextUI.Tpo -c -o TextUI.o TextUI.cc > TextUI.cc:306:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Werror,-Wformat] > 306 | printw("%ds",ic->getIdleSeconds()); > | ~~ ^~~~~~~~~~~~~~~~~~~~ > | %ld > TextUI.cc:308:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Werror,-Wformat] > 308 | printw("%dm",ic->getIdleSeconds()/60); > | ~~ ^~~~~~~~~~~~~~~~~~~~~~~ > | %ld > TextUI.cc:310:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long') [-Werror,-Wformat] > 310 | printw("%dh",ic->getIdleSeconds()/3600); > | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ > | %ld > 3 errors generated. I'm attaching full build log. I think this is the same as: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=997254 I could fix this myself (and possibly provide a patch). However I'm wondering if this is the right thing to do, given it seems there's a new version around. Have you already seen this errors? What are you plans with the ports? Should I file a bug report? Or is this some problem on my side??? Thanks for all your work. bye av.