dep/net.c:1912:22: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 1912 | const const RunTimeOpts *rtOpts, Integer32 destinationAddress) | ^~~~~ dep/net.c: In function 'netInit': dep/net.c:998:56: warning: array subscript 2 is outside array bounds of 'uint32_t[1]' {aka 'unsigned int[1]'} [-Warray-bounds=] 998 | memcpy(netPath->interfaceID + 4, &addr + 2, 2); | ~~~~~~^~~ dep/net.c:996:26: note: at offset 8 into object 'addr' of size 4 996 | uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; | ^~~~ dep/net.c:998:17: warning: 'memcpy' reading 2 bytes from a region of size 0 [-Wstringop-overread] 998 | memcpy(netPath->interfaceID + 4, &addr + 2, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/net.c:996:26: note: at offset 8 into source object 'addr' of size 4 996 | uint32_t addr = ((struct sockaddr_in*)&(netPath->interfaceInfo.afAddress))->sin_addr.s_addr; | ^~~~ /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/eventtimer.o dep/eventtimer.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o ptp_timers.o ptp_timers.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/servo.o dep/servo.c dep/servo.c:950:36: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 950 | setupPIservo(PIservo* servo, const const RunTimeOpts* rtOpts) | ^~~~~ /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/iniparser/dictionary.o dep/iniparser/dictionary.c dep/iniparser/dictionary.c: In function 'xstrdup': dep/iniparser/dictionary.c:68:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] 68 | strncpy(t,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ dep/iniparser/dictionary.c:68:9: note: length computed here 68 | strncpy(t,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/iniparser/iniparser.o dep/iniparser/iniparser.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/daemonconfig.o dep/daemonconfig.c dep/daemonconfig.c: In function 'parseConfig': dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:1211:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1211 | CONFIG_MAP_CHARARRAY("ptpengine:interface",rtOpts->primaryIfaceName,rtOpts->primaryIfaceName, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:1214:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1214 | CONFIG_MAP_CHARARRAY("ptpengine:backup_interface",rtOpts->backupIfaceName,rtOpts->backupIfaceName, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:1667:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1667 | CONFIG_MAP_CHARARRAY("ptpengine:unicast_destinations",rtOpts->unicastDestinations,rtOpts->unicastDestinations, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:1673:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1673 | CONFIG_MAP_CHARARRAY("ptpengine:unicast_domains",rtOpts->unicastDomains,rtOpts->unicastDomains, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:1680:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1680 | CONFIG_MAP_CHARARRAY("ptpengine:unicast_local_preference",rtOpts->unicastLocalPreference,rtOpts->unicastLocalPreference, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:1696:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1696 | CONFIG_MAP_CHARARRAY("ptpengine:unicast_peer_destination",rtOpts->unicastPeerDestination,rtOpts->unicastPeerDestination, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:1990:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1990 | CONFIG_MAP_CHARARRAY("ptpengine:timing_acl_permit",rtOpts->timingAclPermitText, rtOpts->timingAclPermitText, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:1997:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1997 | CONFIG_MAP_CHARARRAY("ptpengine:timing_acl_deny",rtOpts->timingAclDenyText, rtOpts->timingAclDenyText, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2004:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2004 | CONFIG_MAP_CHARARRAY("ptpengine:management_acl_permit",rtOpts->managementAclPermitText, rtOpts->managementAclPermitText, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2011:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2011 | CONFIG_MAP_CHARARRAY("ptpengine:management_acl_deny",rtOpts->managementAclDenyText, rtOpts->managementAclDenyText, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2077:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2077 | CONFIG_MAP_CHARARRAY("clock:drift_file",rtOpts->driftFile,rtOpts->driftFile, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2091:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2091 | CONFIG_MAP_CHARARRAY("clock:leap_seconds_file",rtOpts->leapFile,rtOpts->leapFile, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2228:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2228 | CONFIG_MAP_CHARARRAY("global:lock_file",rtOpts->lockFile,rtOpts->lockFile, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2235:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2235 | CONFIG_MAP_CHARARRAY("global:lock_directory",rtOpts->lockDirectory,rtOpts->lockDirectory, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2245:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2245 | CONFIG_MAP_CHARARRAY("global:quality_file",rtOpts->recordLog.logPath,rtOpts->recordLog.logPath, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2262:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2262 | CONFIG_MAP_CHARARRAY("global:status_file",rtOpts->statusLog.logPath,rtOpts->statusLog.logPath, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2289:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2289 | CONFIG_MAP_CHARARRAY("global:log_file",rtOpts->eventLog.logPath, rtOpts->eventLog.logPath, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2317:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2317 | CONFIG_MAP_CHARARRAY("global:statistics_file",rtOpts->statisticsLog.logPath,rtOpts->statisticsLog.logPath, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:42: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 361 | if (variable!=tmpstring) strncpy(variable,tmpstring,sizeof(variable) / sizeof(char));\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2432:9: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2432 | CONFIG_MAP_CHARARRAY("ntpengine:key",rtOpts->ntpOptions.key, rtOpts->ntpOptions.key, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2538:37: warning: '%s' directive output may be truncated writing 10 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 2538 | "%s/%s", rtOpts->lockDirectory, DEFAULT_LOCKFILE_NAME); | ^~ dep/daemonconfig.c:2537:25: note: 'snprintf' output between 12 and 4107 bytes into a destination of size 4096 2537 | snprintf(rtOpts->lockFile, PATH_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2538 | "%s/%s", rtOpts->lockDirectory, DEFAULT_LOCKFILE_NAME); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2526:21: warning: '/ptpd2_' directive output may be truncated writing 7 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] 2526 | "%s/"PTPD_PROGNAME"_%s_%s.lock", | ^~~~~ dep/daemonconfig.c:2526:24: note: format string is defined here 2526 | "%s/"PTPD_PROGNAME"_%s_%s.lock", | ^~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2525:13: note: 'snprintf' output 20 or more bytes (assuming 4120) into a destination of size 4096 2525 | snprintf(rtOpts->lockFile, PATH_MAX, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2526 | "%s/"PTPD_PROGNAME"_%s_%s.lock", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2527 | rtOpts->lockDirectory, | ~~~~~~~~~~~~~~~~~~~~~~ 2528 | (rtOpts->clockQuality.clockClass<128 && !rtOpts->slaveOnly) ? "master" : DEFAULT_CLOCKDRIVER, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2529 | rtOpts->ifaceName); | ~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c: In function 'loadCommandLineKeys': dep/daemonconfig.c:2625:25: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 2625 | strncpy(val,argv[i+1],PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c: In function 'loadCommandLineOptions': dep/daemonconfig.c:2836:25: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 2836 | strncpy(rtOpts->configFile, optarg, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/startup.o dep/startup.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/sys.o dep/sys.c dep/sys.c: In function 'writeStatusFile': dep/sys.c:996:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 996 | if(ptpClock->portState == PTP_MASTER) | ^~ dep/sys.c:998:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 998 | fprintf(out,"\n"); | ^~~~~~~ dep/sys.c: In function 'restoreDrift': dep/sys.c:2086:25: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 2086 | else | ^~~~ dep/sys.c:2090:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 2090 | break; | ^~~~~ dep/sys.c: In function 'ether_ntohost_cache': dep/sys.c:266:9: warning: 'strncpy' output may be truncated copying 100 bytes from a string of length 999 [-Wstringop-truncation] 266 | strncpy(hostname, buf, 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c: In function 'maintainLogSize.part.0': dep/sys.c:547:62: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 547 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); | ^~ dep/sys.c:547:58: note: directive argument in the range [1, 2147483647] 547 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); | ^~~~~~~ dep/sys.c:547:33: note: 'snprintf' output between 3 and 4107 bytes into a destination of size 4096 547 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c:559:54: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 559 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); | ^~ dep/sys.c:559:50: note: directive argument in the range [-2147483647, 2147483646] 559 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); | ^~~~~~~ dep/sys.c:559:25: note: 'snprintf' output between 3 and 4108 bytes into a destination of size 4096 559 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c: In function 'checkOtherLocks': dep/sys.c:1611:46: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1611 | snprintf(searchPattern, PATH_MAX,"%s/%s_*_%s.lock", | ^~ dep/sys.c:1611:9: note: 'snprintf' output 15 or more bytes (assuming 4110) into a destination of size 4096 1611 | snprintf(searchPattern, PATH_MAX,"%s/%s_*_%s.lock", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1612 | rtOpts->lockDirectory, PTPD_PROGNAME,rtOpts->ifaceName); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/sys.c:1657:50: warning: '%s' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1657 | snprintf(searchPattern, PATH_MAX,"%s/%s_%s_*.lock", | ^~ dep/sys.c:1657:13: note: 'snprintf' output between 26 and 4121 bytes into a destination of size 4096 1657 | snprintf(searchPattern, PATH_MAX,"%s/%s_%s_*.lock", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1658 | rtOpts->lockDirectory,PTPD_PROGNAME,DEFAULT_CLOCKDRIVER); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o display.o display.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o management.o management.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o signaling.o signaling.c signaling.c:867:63: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 867 | void cancelUnicastTransmission(UnicastGrantData* grant, const const RunTimeOpts* rtOpts, PtpClock* ptpClock) | ^~~~~ signaling.c:886:74: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] 886 | void issueSignaling(MsgSignaling *outgoing, Integer32 destination, const const RunTimeOpts *rtOpts, | ^~~~~ /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o protocol.o protocol.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntp_isc_md5.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/ntpengine/ntpdcontrol.o dep/ntpengine/ntpdcontrol.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o timingdomain.o timingdomain.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o ptpd.o ptpd.c /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/statistics.o dep/statistics.c dep/statistics.c: In function 'createIntMovingStatFilter': dep/statistics.c:496:9: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 496 | strncpy(container->identifier, id, 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/statistics.c: In function 'createDoubleMovingStatFilter': dep/statistics.c:655:9: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 655 | strncpy(container->identifier, id, 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/outlierfilter.o dep/outlierfilter.c dep/outlierfilter.c: In function 'outlierFilterInit': dep/outlierfilter.c:85:17: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 85 | strncpy(filter->rawStats->identifier, id, 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -DPTPD_PCAP -DPTPD_STATISTICS -DPTPD_PTIMERS -DPTPD_UNICAST_MAX=128 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -c -o dep/eventtimer_posix.o dep/eventtimer_posix.c /bin/sh ../libtool --tag=CC --mode=link /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -L/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lpcap -static -o ptpd2 arith.o bmc.o dep/ipv4_acl.o dep/msg.o dep/net.o dep/eventtimer.o ptp_timers.o dep/servo.o dep/iniparser/dictionary.o dep/iniparser/iniparser.o dep/daemonconfig.o dep/startup.o dep/sys.o display.o management.o signaling.o protocol.o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntpdcontrol.o timingdomain.o ptpd.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -lrt -lm libtool: link: /home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static -o ptpd2 arith.o bmc.o dep/ipv4_acl.o dep/msg.o dep/net.o dep/eventtimer.o ptp_timers.o dep/servo.o dep/iniparser/dictionary.o dep/iniparser/iniparser.o dep/daemonconfig.o dep/startup.o dep/sys.o display.o management.o signaling.o protocol.o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntpdcontrol.o timingdomain.o ptpd.o dep/statistics.o dep/outlierfilter.o dep/eventtimer_posix.o -L/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lpcap -lrt -lm make[3]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1/src' make[3]: Entering directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' make[3]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' make[2]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' make[1]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' >>> ptpd2 2.3.1 Installing to target GIT_DIR=. PATH="/home/autobuild/autobuild/instance-3/output-1/host/bin:/home/autobuild/autobuild/instance-3/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j1 DESTDIR=/home/autobuild/autobuild/instance-3/output-1/target install -C /home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1/ make[1]: Entering directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' /usr/bin/make install-recursive make[2]: Entering directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' Making install in src make[3]: Entering directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1/src' make[4]: Entering directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1/src' /usr/bin/mkdir -p '/home/autobuild/autobuild/instance-3/output-1/target/usr/sbin' /bin/sh ../libtool --mode=install /usr/bin/install -c ptpd2 '/home/autobuild/autobuild/instance-3/output-1/target/usr/sbin' libtool: install: /usr/bin/install -c ptpd2 /home/autobuild/autobuild/instance-3/output-1/target/usr/sbin/ptpd2 /usr/bin/mkdir -p '/home/autobuild/autobuild/instance-3/output-1/target/usr/share/man/man5' /usr/bin/install -c -m 644 ptpd2.conf.5 '/home/autobuild/autobuild/instance-3/output-1/target/usr/share/man/man5' /usr/bin/mkdir -p '/home/autobuild/autobuild/instance-3/output-1/target/usr/share/man/man8' /usr/bin/install -c -m 644 ptpd2.8 '/home/autobuild/autobuild/instance-3/output-1/target/usr/share/man/man8' make[4]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1/src' make[3]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1/src' make[3]: Entering directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' make[4]: Entering directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/autobuild/autobuild/instance-3/output-1/target/usr/share/ptpd' /usr/bin/install -c -m 644 src/leap-seconds.list.28dec2015 src/ptpd2.conf.minimal src/ptpd2.conf.default-full doc/PTPBASE-MIB.txt '/home/autobuild/autobuild/instance-3/output-1/target/usr/share/ptpd' make[4]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' make[3]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' make[2]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' make[1]: Leaving directory '/home/autobuild/autobuild/instance-3/output-1/build/ptpd2-2.3.1' /usr/bin/install -m 755 -D package/ptpd2/S65ptpd2 /home/autobuild/autobuild/instance-3/output-1/target/etc/init.d/S65ptpd2 rust-1.79.0-x86_64-unknown-linux-gnu.tar.xz: OK (sha256: ce552d6bf22a2544ea78647d98cb405d5089af58dbcaa4efea711bf8becd71c5) >>> host-rust-bin 1.79.0 Extracting xzcat /home/autobuild/autobuild/instance-3/dl/rust-bin/rust-1.79.0-x86_64-unknown-linux-gnu.tar.xz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-3/output-1/build/host-rust-bin-1.79.0 -xf - mkdir -p /home/autobuild/autobuild/instance-3/output-1/build/host-rust-bin-1.79.0/std mkdir -p /home/autobuild/autobuild/instance-3/output-1/build/host-rust-bin-1.79.0/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib cd /home/autobuild/autobuild/instance-3/output-1/build/host-rust-bin-1.79.0/rustc/lib/rustlib/x86_64-unknown-linux-gnu/lib; ln -sf ../../../../../rust-std-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/* . >>> host-rust-bin 1.79.0 Patching >>> host-rust-bin 1.79.0 Configuring >>> host-rust-bin 1.79.0 Building >>> host-rust-bin 1.79.0 Installing to host directory (cd /home/autobuild/autobuild/instance-3/output-1/build/host-rust-bin-1.79.0; ./install.sh --prefix=/home/autobuild/autobuild/instance-3/output-1/host --disable-ldconfig --components=rustc,cargo,rust-std-x86_64-unknown-linux-gnu) install: creating uninstall script at /home/autobuild/autobuild/instance-3/output-1/host/lib/rustlib/uninstall.sh install: installing component 'rustc' install: installing component 'cargo' install: installing component 'rust-std-x86_64-unknown-linux-gnu' rust installed. >>> Finalizing host directory >>> Finalizing target directory mkdir -p /home/autobuild/autobuild/instance-3/output-1/host/etc/meson sed -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-static'@PKG_TARGET_CFLAGS@%g" -e "s%@TARGET_LDFLAGS@%'-static'@PKG_TARGET_LDFLAGS@%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-static', '-static'@PKG_TARGET_CXXFLAGS@%g" -e "s%@TARGET_FCFLAGS@%'-O2', '-g0', '-static'@PKG_TARGET_FCFLAGS@%g" -e "s%@TARGET_CC@%/home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%sparc%g" -e "s%@TARGET_CPU@%leon3%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%%g" -e "s%@BR2_CMAKE@%/usr/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/autobuild/autobuild/instance-3/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/autobuild/autobuild/instance-3/output-1/host%g" -e "s%@STAGING_DIR@%/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%true%g" /home/autobuild/autobuild/instance-3/buildroot/support/misc/cross-compilation.conf.in > /home/autobuild/autobuild/instance-3/output-1/host/etc/meson/cross-compilation.conf.in sed -e "s%@TARGET_CC@%/home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/bin/false%g" -e "s%@TARGET_AR@%/home/autobuild/autobuild/instance-3/output-1/host/bin/sparc-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_FC@%/bin/false%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%sparc%g" -e "s%@TARGET_CPU@%leon3%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%'-O2', '-g0', '-static'%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-static'%g" -e "s%@TARGET_LDFLAGS@%'-static'%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0', '-static', '-static'%g" -e "s%@BR2_CMAKE@%/usr/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/autobuild/autobuild/instance-3/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/autobuild/autobuild/instance-3/output-1/host%g" -e "s%@STAGING_DIR@%/home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%true%g" /home/autobuild/autobuild/instance-3/buildroot/support/misc/cross-compilation.conf.in > /home/autobuild/autobuild/instance-3/output-1/host/etc/meson/cross-compilation.conf /usr/bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~console::respawn:/sbin/getty -L console 0 vt100 #~' /home/autobuild/autobuild/instance-3/output-1/target/etc/inittab /usr/bin/sed -i -e '/^#.*-o remount,rw \/$/s~^#\+~~' /home/autobuild/autobuild/instance-3/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /home/autobuild/autobuild/instance-3/output-1/build/busybox-1.36.1/.config; then grep -qsE '^/bin/ash$' /home/autobuild/autobuild/instance-3/output-1/target/etc/shells || echo "/bin/ash" >> /home/autobuild/autobuild/instance-3/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /home/autobuild/autobuild/instance-3/output-1/build/busybox-1.36.1/.config; then grep -qsE '^/bin/hush$' /home/autobuild/autobuild/instance-3/output-1/target/etc/shells || echo "/bin/hush" >> /home/autobuild/autobuild/instance-3/output-1/target/etc/shells; fi grep -qsE '^/bin/mksh$' /home/autobuild/autobuild/instance-3/output-1/target/etc/shells || echo "/bin/mksh" >> /home/autobuild/autobuild/instance-3/output-1/target/etc/shells mkdir -p /home/autobuild/autobuild/instance-3/output-1/target/etc echo "buildroot" > /home/autobuild/autobuild/instance-3/output-1/target/etc/hostname /usr/bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /home/autobuild/autobuild/instance-3/output-1/target/etc/hosts mkdir -p /home/autobuild/autobuild/instance-3/output-1/target/etc echo "Welcome to Buildroot" > /home/autobuild/autobuild/instance-3/output-1/target/etc/issue /usr/bin/sed -i -e s,^root:[^:]*:,root::, /home/autobuild/autobuild/instance-3/output-1/target/etc/shadow grep -qsE '^/bin/sh$' /home/autobuild/autobuild/instance-3/output-1/target/etc/shells || echo "/bin/sh" >> /home/autobuild/autobuild/instance-3/output-1/target/etc/shells if [ -x /home/autobuild/autobuild/instance-3/output-1/target/sbin/swapon -a -x /home/autobuild/autobuild/instance-3/output-1/target/sbin/swapoff ]; then /usr/bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /home/autobuild/autobuild/instance-3/output-1/target/etc/inittab; else /usr/bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /home/autobuild/autobuild/instance-3/output-1/target/etc/inittab; fi rm -rf /home/autobuild/autobuild/instance-3/output-1/target/usr/include /home/autobuild/autobuild/instance-3/output-1/target/usr/share/aclocal \ /home/autobuild/autobuild/instance-3/output-1/target/usr/lib/pkgconfig /home/autobuild/autobuild/instance-3/output-1/target/usr/share/pkgconfig \ /home/autobuild/autobuild/instance-3/output-1/target/usr/lib/cmake /home/autobuild/autobuild/instance-3/output-1/target/usr/share/cmake \ /home/autobuild/autobuild/instance-3/output-1/target/usr/lib/rpm /home/autobuild/autobuild/instance-3/output-1/target/usr/doc find /home/autobuild/autobuild/instance-3/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /home/autobuild/autobuild/instance-3/output-1/target/lib/ /home/autobuild/autobuild/instance-3/output-1/target/usr/lib/ /home/autobuild/autobuild/instance-3/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f find: '/home/autobuild/autobuild/instance-3/output-1/target/usr/libexec/': No such file or directory rm -rf /home/autobuild/autobuild/instance-3/output-1/target/usr/share/gdb rm -rf /home/autobuild/autobuild/instance-3/output-1/target/usr/share/bash-completion rm -rf /home/autobuild/autobuild/instance-3/output-1/target/etc/bash_completion.d rm -rf /home/autobuild/autobuild/instance-3/output-1/target/usr/share/zsh rm -rf /home/autobuild/autobuild/instance-3/output-1/target/usr/man /home/autobuild/autobuild/instance-3/output-1/target/usr/share/man rm -rf /home/autobuild/autobuild/instance-3/output-1/target/usr/info /home/autobuild/autobuild/instance-3/output-1/target/usr/share/info rm -rf /home/autobuild/autobuild/instance-3/output-1/target/usr/doc /home/autobuild/autobuild/instance-3/output-1/target/usr/share/doc rm -rf /home/autobuild/autobuild/instance-3/output-1/target/usr/share/gtk-doc rmdir /home/autobuild/autobuild/instance-3/output-1/target/usr/share 2>/dev/null || true rm -rf /home/autobuild/autobuild/instance-3/output-1/target/lib/debug /home/autobuild/autobuild/instance-3/output-1/target/usr/lib/debug find /home/autobuild/autobuild/instance-3/output-1/target -type f \( -perm /111 -o -name '*.so*' \) -not \( -name 'libpthread*.so*' -o -name 'ld-*.so*' -o -name '*.ko' \) -print0 | xargs -0 /bin/true 2>/dev/null || true find /home/autobuild/autobuild/instance-3/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /bin/true 2>/dev/null || true test -f /home/autobuild/autobuild/instance-3/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /home/autobuild/autobuild/instance-3/output-1/target/etc/ld.so.conf.d && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true mkdir -p /home/autobuild/autobuild/instance-3/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2024.05-713-g6889056f1e"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2024.08-git"; \ echo "PRETTY_NAME=\"Buildroot 2024.08-git\"" \ ) > /home/autobuild/autobuild/instance-3/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /home/autobuild/autobuild/instance-3/output-1/target/etc >>> Sanitizing RPATH in target tree PARALLEL_JOBS=1 \ PER_PACKAGE_DIR=/home/autobuild/autobuild/instance-3/output-1/per-package \ /home/autobuild/autobuild/instance-3/buildroot/support/scripts/fix-rpath target touch /home/autobuild/autobuild/instance-3/output-1/target/usr ln -snf /home/autobuild/autobuild/instance-3/output-1/host/sparc-buildroot-linux-uclibc/sysroot /home/autobuild/autobuild/instance-3/output-1/staging make: Leaving directory '/home/autobuild/autobuild/instance-3/buildroot' make: Entering directory '/home/autobuild/autobuild/instance-3/buildroot' >>> Buildroot 2024.05-713-g6889056f1e Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> toolchain-buildroot Collecting legal info >>> gcc-final 13.3.0 Collecting legal info COPYING.RUNTIME: OK (sha256: 9d6b43ce4d8de0c878bf16b54d8e7a10d9bd42b75178153e3af6a815bdc90f74) >>> host-gcc-final 13.3.0 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) COPYING3.LIB: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) >>> host-binutils 2.41 Collecting legal info COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d) >>> host-skeleton Collecting legal info >>> host-gmp 6.3.0 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-m4 1.4.19 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-mpc 1.3.1 Collecting legal info COPYING.LESSER: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> host-mpfr 4.1.1 Collecting legal info COPYING.LESSER: OK (sha256: e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118) >>> uclibc 1.0.49 Collecting legal info COPYING.LIB: OK (sha256: ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5) >>> host-gcc-initial 13.3.0 Collecting legal info COPYING: OK (sha256: 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c) COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861) COPYING3.LIB: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) >>> linux-headers 6.9.8 Collecting legal info COPYING: OK (sha256: fb5a425bd3b3cd6071a3a9aff9909a859e7c1158d54d32e07658398cd67eb6a0) LICENSES/preferred/GPL-2.0: OK (sha256: f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79) LICENSES/exceptions/Linux-syscall-note: OK (sha256: 8e378ab93586eb55135d3bc119cce787f7324f48394777d00c34fa3d0be3303f) >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain Collecting legal info >>> armbian-firmware 5d685ad233b4dfd03a4d025fa0061f6b0f850cb3 Collecting legal info >>> babeld 1.9.2 Collecting legal info LICENCE: OK (sha256: b415c41292cedef6c97b243609e50552887c29343566c639f23282d31efd2afd) >>> busybox 1.36.1 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> faad2 2.11.1 Collecting legal info COPYING: OK (sha256: d3baf3a54943cf12a994c85867a18dec84f810901b2f2878ddfd77efcc3c150f) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> font-awesome 4.7.0 Collecting legal info >>> host-gdb 14.2 Collecting legal info ERROR: No hash found for COPYING ERROR: No hash found for COPYING.LIB ERROR: No hash found for COPYING3 ERROR: No hash found for COPYING3.LIB >>> host-expat 2.6.2 Collecting legal info COPYING: OK (sha256: 122f2c27000472a201d337b9b31f7eb2b52d091b02857061a8880371612d9534) >>> host-libiberty 2.41 Collecting legal info COPYING.LIB: OK (sha256: 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d) >>> host-ncurses 6.4-20230603 Collecting legal info COPYING: OK (sha256: 0413b2f4ea863194c174673032f0fca84f1ea1ed4eed6476baea68c075a631ce) >>> host-zlib Collecting legal info >>> host-libzlib 1.3.1 Collecting legal info LICENSE: OK (sha256: 845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243) >>> initscripts Collecting legal info >>> iptables 1.8.10 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> jasper 2.0.33 Collecting legal info LICENSE: OK (sha256: 4ad1bb42aff888c4403d792e6e2c5f1716d6c279fea70b296333c9d577d30b81) >>> libffi 3.4.6 Collecting legal info LICENSE: OK (sha256: 67894089811f93fca47a76f85e017da6f8582d4ba0905963c6e0f1ad6df7a195) >>> host-autoconf 2.72 Collecting legal info COPYINGv3: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) COPYING.EXCEPTION: OK (sha256: 1f1cde9fb68b9b3cff18c420894bec5bd4defacd700b7d13df54a887301e5350) >>> host-libtool 2.4.6 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) libltdl/COPYING.LIB: OK (sha256: dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551) >>> host-automake 1.16.5 Collecting legal info COPYING: OK (sha256: ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6) >>> libopenssl 3.3.1 Collecting legal info LICENSE.txt: OK (sha256: 7d5450cb2d142651b8afa315b5f238efc805dad827d91ba367d8516bc9d49e7a) >>> zlib Collecting legal info >>> libzlib 1.3.1 Collecting legal info LICENSE: OK (sha256: 845efc77857d485d91fb3e0b884aaa929368c717ae8186b66fe1ed2495753243) >>> libpcap 1.10.4 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> host-bison 3.8.2 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-gettext Collecting legal info >>> host-gettext-tiny 0.3.2 Collecting legal info LICENSE: OK (sha256: 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f) extra/COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> libsoc 0.8.2 Collecting legal info LICENCE: OK (sha256: 782dafc98788c358fb20e530c8fde3186cdb60f5e18fe6d348fe84ee9f65ddb0) >>> libupnp 1.14.18 Collecting legal info COPYING: OK (sha256: c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3) >>> openssl Collecting legal info >>> lsscsi 0.32 Collecting legal info COPYING: OK (sha256: dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa) >>> mksh 59c Collecting legal info mksh.1: OK (sha256: abf44a61ec777c98f8ae7e08e4fe25fe258e0c470215e2eeb22816f6bae72c80) >>> ncftp 3.2.7 Collecting legal info doc/LICENSE.txt: OK (sha256: 4fe2f063d25d79c49712a272ebb68e050c703eed9c66c80108427edfe3285580) >>> ncurses 6.4-20230603 Collecting legal info COPYING: OK (sha256: 0413b2f4ea863194c174673032f0fca84f1ea1ed4eed6476baea68c075a631ce) >>> nvidia-modprobe 450.57 Collecting legal info COPYING: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> openntpd 6.8p1 Collecting legal info COPYING: OK (sha256: 6c1822ee950652c12bb3773849db18794f62c63452a70d018edf23e8cba71839) >>> host-patchelf 0.13 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> pcre2 10.43 Collecting legal info LICENCE: OK (sha256: 030087e2e8dd7c1bdd26057d25d4ded8f45bbf01ad458d68665ad04b8b0fbedf) >>> ptpd2 2.3.1 Collecting legal info COPYRIGHT: OK (sha256: 5e101ac565a8e74ef4efbf7e0c95ef9333e00618c05dbf5fb4ed50a5bab1ff09) >>> host-rust-bin 1.79.0 Collecting legal info LICENSE-APACHE: OK (sha256: 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a) LICENSE-MIT: OK (sha256: 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3) WARNING: the Buildroot source code has not been saved WARNING: armbian-firmware-5d685ad233b4dfd03a4d025fa0061f6b0f850cb3: cannot save license (ARMBIAN_FIRMWARE_LICENSE_FILES not defined) WARNING: font-awesome-4.7.0: cannot save license (FONT_AWESOME_LICENSE_FILES not defined) Legal info produced in /home/autobuild/autobuild/instance-3/output-1/legal-info make: Leaving directory '/home/autobuild/autobuild/instance-3/buildroot'