[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] HTCondor on Debian 10 (problem with renamed libboost python libraries)



On Tue, 2019-07-30 at 16:13:28 +0000, Tim Theisen wrote:
> Hi Steffen,
> 
> I wasn't thinking about Debian policy when I created this repo. Of
> course, it will all be normalized when 8.8.5 comes out. This should work
> with all current Debians and Ubuntus.
> 
> The CMakefiles really need to be cleaned-up. I had to resort to a couple
> of hacks to get everything to work with our older stable releases. I'll
> address those hacks in the development release when we move to CMake 3.
> 
> The warnings about HASHITER have been addressed in our 8.9 development
> series. I will back-port fixes if they become problematic. I'll have to
> look into the shlibdeps warnings.

As I'm currently trying whether 8.8.4 would also build in Debian Bullseye
(which is supposed to drop Python2 completely), I also spotted these warnings
emitted by the compiler (gcc 8.3.0 right now for both Buster ans Bullseye):

# grep format-overflow condor_8.8.4-2+deb10u0_amd64.--pbuilderlog  | sort | uniq
/build/condor-8.8.4/src/classad_analysis/analysis.cpp:533:23: warning: '%s' directive writing up to 63 bytes into a region of size 54 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1145:25: warning: '%s' directive writing up to 31 bytes into a region of size 28 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1146:25: warning: '%s' directive writing up to 31 bytes into a region of size 24 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1147:28: warning: '%s' directive writing up to 31 bytes into a region of size 19 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1148:30: warning: '%s' directive writing up to 31 bytes into a region of size 23 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1149:30: warning: '%s' directive writing up to 31 bytes into a region of size 11 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1150:27: warning: '%s' directive writing up to 31 bytes into a region of size 18 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1151:31: warning: '%s' directive writing up to 31 bytes into a region of size 18 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1152:30: warning: '%s' directive writing up to 31 bytes into a region of size 19 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1153:29: warning: '%s' directive writing up to 31 bytes into a region of size 18 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1188:20: warning: '%s' directive writing up to 31 bytes into a region of size 18 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1190:20: warning: '%s' directive writing up to 31 bytes into a region of size 21 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1198:24: warning: '%s' directive writing up to 31 bytes into a region of size 16 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1205:24: warning: '%s' directive writing up to 31 bytes into a region of size 19 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1222:24: warning: '%s' directive writing up to 31 bytes into a region of size 20 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1226:24: warning: '%s' directive writing up to 31 bytes into a region of size 20 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_tools/user_prio.cpp:1422:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 8 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_utils/format_time.cpp:39:19: warning: '%-2d' directive writing between 2 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_utils/format_time.cpp:60:19: warning: '%-4d' directive writing between 4 and 11 bytes into a region of size between 0 and 12 [-Wformat-overflow=]
/build/condor-8.8.4/src/condor_utils/history_utils.h:179:23: warning: '%-2d' directive writing between 2 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=]

Better use snprintf() ?

Cheers,
 Steffen