dep/net.c:998:3: warning: 'memcpy' reading 2 bytes from a region of size 0 [-Wstringop-overflow=] 998 | memcpy(netPath->interfaceID + 4, &addr + 2, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/eventtimer.o dep/eventtimer.c /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o ptp_timers.o ptp_timers.c /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -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) | ^~~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/iniparser/dictionary.o dep/iniparser/dictionary.c In function 'xstrdup', inlined from 'dictionary_set' at dep/iniparser/dictionary.c:240:39: dep/iniparser/dictionary.c:68:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 68 | strncpy(t,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ In function 'xstrdup', inlined from 'dictionary_set' at dep/iniparser/dictionary.c:270:18: dep/iniparser/dictionary.c:68:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 68 | strncpy(t,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ In function 'xstrdup', inlined from 'dictionary_set' at dep/iniparser/dictionary.c:271:24: dep/iniparser/dictionary.c:68:9: warning: 'strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 68 | strncpy(t,s,strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/iniparser/iniparser.o dep/iniparser/iniparser.c In function 'iniparser_line', inlined from 'iniparser_load' at dep/iniparser/iniparser.c:698:17: dep/iniparser/iniparser.c:584:9: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation] 584 | strncpy(section, strlwc(section), ASCIILINESZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/iniparser/iniparser.c:610:9: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation] 610 | strncpy(key, strlwc(key), ASCIILINESZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/iniparser/iniparser.c:591:9: warning: 'strncpy' output may be truncated copying 1024 bytes from a string of length 1024 [-Wstringop-truncation] 591 | strncpy(key, strlwc(key), ASCIILINESZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dep/iniparser/iniparser.c: In function 'iniparser_load': dep/iniparser/iniparser.c:708:43: warning: '%s' directive output may be truncated writing up to 1 bytes into a region of size between 0 and 1024 [-Wformat-truncation=] 708 | snprintf(tmp, ASCIILINESZ, "%s%s%s", section, strlen(section)==0?"":":", key); | ^~ dep/iniparser/iniparser.c:708:13: note: 'snprintf' output between 1 and 2050 bytes into a destination of size 1024 708 | snprintf(tmp, ASCIILINESZ, "%s%s%s", section, strlen(section)==0?"":":", key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/daemonconfig.o dep/daemonconfig.c dep/daemonconfig.c: In function 'parseConfig': dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1211 | CONFIG_MAP_CHARARRAY("ptpengine:interface",rtOpts->primaryIfaceName,rtOpts->primaryIfaceName, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1214 | CONFIG_MAP_CHARARRAY("ptpengine:backup_interface",rtOpts->backupIfaceName,rtOpts->backupIfaceName, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1667 | CONFIG_MAP_CHARARRAY("ptpengine:unicast_destinations",rtOpts->unicastDestinations,rtOpts->unicastDestinations, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1673 | CONFIG_MAP_CHARARRAY("ptpengine:unicast_domains",rtOpts->unicastDomains,rtOpts->unicastDomains, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1680 | CONFIG_MAP_CHARARRAY("ptpengine:unicast_local_preference",rtOpts->unicastLocalPreference,rtOpts->unicastLocalPreference, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1696 | CONFIG_MAP_CHARARRAY("ptpengine:unicast_peer_destination",rtOpts->unicastPeerDestination,rtOpts->unicastPeerDestination, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1990 | CONFIG_MAP_CHARARRAY("ptpengine:timing_acl_permit",rtOpts->timingAclPermitText, rtOpts->timingAclPermitText, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 1997 | CONFIG_MAP_CHARARRAY("ptpengine:timing_acl_deny",rtOpts->timingAclDenyText, rtOpts->timingAclDenyText, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2004 | CONFIG_MAP_CHARARRAY("ptpengine:management_acl_permit",rtOpts->managementAclPermitText, rtOpts->managementAclPermitText, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2011 | CONFIG_MAP_CHARARRAY("ptpengine:management_acl_deny",rtOpts->managementAclDenyText, rtOpts->managementAclDenyText, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2077 | CONFIG_MAP_CHARARRAY("clock:drift_file",rtOpts->driftFile,rtOpts->driftFile, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2091 | CONFIG_MAP_CHARARRAY("clock:leap_seconds_file",rtOpts->leapFile,rtOpts->leapFile, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2228 | CONFIG_MAP_CHARARRAY("global:lock_file",rtOpts->lockFile,rtOpts->lockFile, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2235 | CONFIG_MAP_CHARARRAY("global:lock_directory",rtOpts->lockDirectory,rtOpts->lockDirectory, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:361:28: 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:2: 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:28: 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:2: 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:28: 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:2: 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:28: 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:2: 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:28: 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:2: note: in expansion of macro 'CONFIG_MAP_CHARARRAY' 2432 | CONFIG_MAP_CHARARRAY("ntpengine:key",rtOpts->ntpOptions.key, rtOpts->ntpOptions.key, | ^~~~~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2538:9: 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:4: 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:7: 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:10: note: format string is defined here 2526 | "%s/"PTPD_PROGNAME"_%s_%s.lock", | ^~~~~~~~~~~~~~~~~ dep/daemonconfig.c:2525:6: 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:4: 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:4: warning: 'strncpy' specified bound 4096 equals destination size [-Wstringop-truncation] 2836 | strncpy(rtOpts->configFile, optarg, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/startup.o dep/startup.c /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/sys.o dep/sys.c dep/sys.c: In function 'writeStatusFile': dep/sys.c:996:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 996 | if(ptpClock->portState == PTP_MASTER) | ^~ dep/sys.c:998:6: 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 'ether_ntohost_cache': dep/sys.c:266:2: 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:34: 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:30: note: directive argument in the range [1, 2147483647] 547 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, i); | ^~~~~~~ dep/sys.c:547:5: 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:33: 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:29: note: directive argument in the range [-2147483647, 2147483646] 559 | snprintf(fname, PATH_MAX,"%s.%d", handler->logPath, logFileNumber); | ^~~~~~~ dep/sys.c:559:4: 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:39: 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:2: 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:43: 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:6: 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); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o display.o display.c /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o management.o management.c /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -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, | ^~~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o protocol.o protocol.c /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/ntpengine/ntp_isc_md5.o dep/ntpengine/ntp_isc_md5.c /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/ntpengine/ntpdcontrol.o dep/ntpengine/ntpdcontrol.c In file included from dep/ntpengine/../../ptpd.h:152, from dep/ntpengine/ntpdcontrol.c:64: dep/ntpengine/ntpdcontrol.c: In function 'NTPDCquery.constprop': dep/ntpengine/../../dep/ntpengine/ntpdcontrol.h:91:39: warning: array subscript -1 is outside array bounds of 'struct req_pkt[1]' [-Warray-bounds] 91 | #define HTONL_FP(h, n) do { (n)->l_ui = htonl((h)->l_ui); \ | ^ dep/ntpengine/ntpdcontrol.c:285:2: note: in expansion of macro 'HTONL_FP' 285 | HTONL_FP(&ts, ptstamp); | ^~~~~~~~ dep/ntpengine/ntpdcontrol.c:247:17: note: while referencing 'qpkt' 247 | struct req_pkt qpkt; | ^~~~ In file included from dep/ntpengine/../../ptpd.h:152, from dep/ntpengine/ntpdcontrol.c:64: dep/ntpengine/../../dep/ntpengine/ntpdcontrol.h:92:17: warning: array subscript -1 is outside array bounds of 'struct req_pkt[1]' [-Warray-bounds] 92 | (n)->l_uf = htonl((h)->l_uf); } while (0) | ^ dep/ntpengine/ntpdcontrol.c:285:2: note: in expansion of macro 'HTONL_FP' 285 | HTONL_FP(&ts, ptstamp); | ^~~~~~~~ dep/ntpengine/ntpdcontrol.c:247:17: note: while referencing 'qpkt' 247 | struct req_pkt qpkt; | ^~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o timingdomain.o timingdomain.c /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o ptpd.o ptpd.c /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/statistics.o dep/statistics.c dep/statistics.c: In function 'createIntMovingStatFilter': dep/statistics.c:496:2: 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:2: warning: 'strncpy' specified bound 10 equals destination size [-Wstringop-truncation] 655 | strncpy(container->identifier, id, 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I/nvmedata/autobuild/instance-0/output-1/host/arc-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 -O3 -g0 -static -c -o dep/eventtimer_posix.o dep/eventtimer_posix.c /bin/bash ../libtool --tag=CC --mode=link /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -static -L/nvmedata/autobuild/instance-0/output-1/host/arc-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: /nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -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/nvmedata/autobuild/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lpcap -lrt -lm make[3]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1/src' make[3]: Entering directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' make[3]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' make[2]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' make[1]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' >>> ptpd2 2.3.1 Installing to target PATH="/nvmedata/autobuild/instance-0/output-1/host/bin:/nvmedata/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 DESTDIR=/nvmedata/autobuild/instance-0/output-1/target install -C /nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1/ make[1]: Entering directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' /usr/bin/make install-recursive make[2]: Entering directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' Making install in src make[3]: Entering directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1/src' make[4]: Entering directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1/src' /bin/mkdir -p '/nvmedata/autobuild/instance-0/output-1/target/usr/sbin' /bin/bash ../libtool --mode=install /usr/bin/install -c ptpd2 '/nvmedata/autobuild/instance-0/output-1/target/usr/sbin' libtool: install: /usr/bin/install -c ptpd2 /nvmedata/autobuild/instance-0/output-1/target/usr/sbin/ptpd2 /bin/mkdir -p '/nvmedata/autobuild/instance-0/output-1/target/usr/share/man/man5' /usr/bin/install -c -m 644 ptpd2.conf.5 '/nvmedata/autobuild/instance-0/output-1/target/usr/share/man/man5' /bin/mkdir -p '/nvmedata/autobuild/instance-0/output-1/target/usr/share/man/man8' /usr/bin/install -c -m 644 ptpd2.8 '/nvmedata/autobuild/instance-0/output-1/target/usr/share/man/man8' make[4]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1/src' make[3]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1/src' make[3]: Entering directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' make[4]: Entering directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/nvmedata/autobuild/instance-0/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 '/nvmedata/autobuild/instance-0/output-1/target/usr/share/ptpd' make[4]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' make[3]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' make[2]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' make[1]: Leaving directory '/nvmedata/autobuild/instance-0/output-1/build/ptpd2-2.3.1' /usr/bin/install -m 755 -D package/ptpd2/S65ptpd2 /nvmedata/autobuild/instance-0/output-1/target/etc/init.d/S65ptpd2 >>> Finalizing host directory >>> Finalizing target directory mkdir -p /nvmedata/autobuild/instance-0/output-1/host/etc/meson sed -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O3', '-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', '-O3', '-g0', '-static', '-static'@PKG_TARGET_CXXFLAGS@%g" -e "s%@TARGET_CC@%/nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-g++%g" -e "s%@TARGET_AR@%/nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%arc%g" -e "s%@TARGET_CPU@%arc700%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_CFLAGS@%%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%%g" -e "s%@BR2_CMAKE@%/nvmedata/autobuild/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/nvmedata/autobuild/instance-0/output-1/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/nvmedata/autobuild/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%true%g" /nvmedata/autobuild/instance-0/buildroot/support/misc/cross-compilation.conf.in > /nvmedata/autobuild/instance-0/output-1/host/etc/meson/cross-compilation.conf.in sed -e "s%@TARGET_CC@%/nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc%g" -e "s%@TARGET_CXX@%/nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-g++%g" -e "s%@TARGET_AR@%/nvmedata/autobuild/instance-0/output-1/host/bin/arc-buildroot-linux-uclibc-gcc-ar%g" -e "s%@TARGET_STRIP@%/bin/true%g" -e "s%@TARGET_ARCH@%arc%g" -e "s%@TARGET_CPU@%arc700%g" -e "s%@TARGET_ENDIAN@%little%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O3', '-g0', '-static'%g" -e "s%@TARGET_LDFLAGS@%'-static'%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O3', '-g0', '-static', '-static'%g" -e "s%@BR2_CMAKE@%/nvmedata/autobuild/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/nvmedata/autobuild/instance-0/output-1/host/bin/pkgconf%g" -e "s%@STAGING_DIR@%/nvmedata/autobuild/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%true%g" /nvmedata/autobuild/instance-0/buildroot/support/misc/cross-compilation.conf.in > /nvmedata/autobuild/instance-0/output-1/host/etc/meson/cross-compilation.conf /bin/sed -i -e '/# GENERIC_SERIAL$/s~^.*#~#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 #~' /nvmedata/autobuild/instance-0/output-1/target/etc/inittab /bin/sed -i -e '/^[^#].*-o remount,rw \/$/s~^~#~' /nvmedata/autobuild/instance-0/output-1/target/etc/inittab if grep -q CONFIG_ASH=y /nvmedata/autobuild/instance-0/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/ash$' /nvmedata/autobuild/instance-0/output-1/target/etc/shells || echo "/bin/ash" >> /nvmedata/autobuild/instance-0/output-1/target/etc/shells; fi if grep -q CONFIG_HUSH=y /nvmedata/autobuild/instance-0/output-1/build/busybox-1.35.0/.config; then grep -qsE '^/bin/hush$' /nvmedata/autobuild/instance-0/output-1/target/etc/shells || echo "/bin/hush" >> /nvmedata/autobuild/instance-0/output-1/target/etc/shells; fi rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/lib/perl5/5.34.1/pod rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/lib/perl5/5.34.1/arc-linux/CORE find /nvmedata/autobuild/instance-0/output-1/target/usr/lib/perl5/ -name 'extralibs.ld' -print0 | xargs -0 rm -f find /nvmedata/autobuild/instance-0/output-1/target/usr/lib/perl5/ -name '*.bs' -print0 | xargs -0 rm -f find /nvmedata/autobuild/instance-0/output-1/target/usr/lib/perl5/ -name '.packlist' -print0 | xargs -0 rm -f mkdir -p /nvmedata/autobuild/instance-0/output-1/target/etc echo "buildroot" > /nvmedata/autobuild/instance-0/output-1/target/etc/hostname /bin/sed -i -e '$a \127.0.1.1\tbuildroot' -e '/^127.0.1.1/d' /nvmedata/autobuild/instance-0/output-1/target/etc/hosts mkdir -p /nvmedata/autobuild/instance-0/output-1/target/etc echo "Welcome to Buildroot" > /nvmedata/autobuild/instance-0/output-1/target/etc/issue /bin/sed -i -e s,^root:[^:]*:,root:"*":, /nvmedata/autobuild/instance-0/output-1/target/etc/shadow grep -qsE '^/bin/sh$' /nvmedata/autobuild/instance-0/output-1/target/etc/shells || echo "/bin/sh" >> /nvmedata/autobuild/instance-0/output-1/target/etc/shells if [ -x /nvmedata/autobuild/instance-0/output-1/target/sbin/swapon -a -x /nvmedata/autobuild/instance-0/output-1/target/sbin/swapoff ]; then /bin/sed -i -e '/^#.*\/sbin\/swap/s/^#\+[[:blank:]]*//' /nvmedata/autobuild/instance-0/output-1/target/etc/inittab; else /bin/sed -i -e '/^[^#].*\/sbin\/swap/s/^/#/' /nvmedata/autobuild/instance-0/output-1/target/etc/inittab; fi rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/include /nvmedata/autobuild/instance-0/output-1/target/usr/share/aclocal \ /nvmedata/autobuild/instance-0/output-1/target/usr/lib/pkgconfig /nvmedata/autobuild/instance-0/output-1/target/usr/share/pkgconfig \ /nvmedata/autobuild/instance-0/output-1/target/usr/lib/cmake /nvmedata/autobuild/instance-0/output-1/target/usr/share/cmake \ /nvmedata/autobuild/instance-0/output-1/target/usr/doc find /nvmedata/autobuild/instance-0/output-1/target/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f find /nvmedata/autobuild/instance-0/output-1/target/lib/ /nvmedata/autobuild/instance-0/output-1/target/usr/lib/ /nvmedata/autobuild/instance-0/output-1/target/usr/libexec/ \ \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/share/gdb rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/share/bash-completion rm -rf /nvmedata/autobuild/instance-0/output-1/target/etc/bash_completion.d rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/share/zsh rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/man /nvmedata/autobuild/instance-0/output-1/target/usr/share/man rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/info /nvmedata/autobuild/instance-0/output-1/target/usr/share/info rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/doc /nvmedata/autobuild/instance-0/output-1/target/usr/share/doc rm -rf /nvmedata/autobuild/instance-0/output-1/target/usr/share/gtk-doc rmdir /nvmedata/autobuild/instance-0/output-1/target/usr/share 2>/dev/null || true rm -rf /nvmedata/autobuild/instance-0/output-1/target/lib/debug /nvmedata/autobuild/instance-0/output-1/target/usr/lib/debug find /nvmedata/autobuild/instance-0/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 /nvmedata/autobuild/instance-0/output-1/target \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) -print0 | xargs -0 -r /bin/true 2>/dev/null || true test -f /nvmedata/autobuild/instance-0/output-1/target/etc/ld.so.conf && \ { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true test -d /nvmedata/autobuild/instance-0/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 /nvmedata/autobuild/instance-0/output-1/target/etc ( \ echo "NAME=Buildroot"; \ echo "VERSION=2022.02-438-gac91235797"; \ echo "ID=buildroot"; \ echo "VERSION_ID=2022.05-git"; \ echo "PRETTY_NAME=\"Buildroot 2022.05-git\"" \ ) > /nvmedata/autobuild/instance-0/output-1/target/usr/lib/os-release ln -sf ../usr/lib/os-release /nvmedata/autobuild/instance-0/output-1/target/etc >>> Sanitizing RPATH in target tree PER_PACKAGE_DIR=/nvmedata/autobuild/instance-0/output-1/per-package /nvmedata/autobuild/instance-0/buildroot/support/scripts/fix-rpath target touch /nvmedata/autobuild/instance-0/output-1/target/usr ln -snf /nvmedata/autobuild/instance-0/output-1/host/arc-buildroot-linux-uclibc/sysroot /nvmedata/autobuild/instance-0/output-1/staging make: Leaving directory '/nvmedata/autobuild/instance-0/buildroot' make: Entering directory '/nvmedata/autobuild/instance-0/buildroot' >>> Buildroot 2022.02-438-gac91235797 Collecting legal info COPYING: OK (sha256: 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4) >>> busybox 1.35.0 Collecting legal info LICENSE: OK (sha256: bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548) archival/libarchive/bz/LICENSE: OK (sha256: b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f) >>> host-skeleton Collecting legal info >>> skeleton Collecting legal info >>> skeleton-init-sysv Collecting legal info >>> skeleton-init-common Collecting legal info >>> toolchain Collecting legal info >>> toolchain-buildroot Collecting legal info >>> host-gcc-final arc-2020.09-release Collecting legal info >>> host-binutils arc-2020.09-release Collecting legal info COPYING3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) COPYING.LIB: OK (sha256: 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d) >>> host-bison 3.8.2 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-m4 1.4.19 Collecting legal info COPYING: OK (sha256: 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986) >>> host-flex 2.6.4 Collecting legal info COPYING: OK (sha256: 97fd685958d93be7f8dab939bb8161dbd6afb0718c63bfc337c24321aea44273) >>> host-autoconf 2.71 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) >>> host-gettext Collecting legal info >>> host-gettext-tiny 0.3.2 Collecting legal info LICENSE: OK (sha256: 4c938aa3d8fa3c184bba5e87a8a2febc89560627c9d0567536879e3eca1a7b4f) extra/COPYING: OK (sha256: e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b) >>> host-gmp 6.2.1 Collecting legal info COPYING.LESSERv3: OK (sha256: a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c) COPYINGv2: OK (sha256: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643) >>> host-mpc 1.2.1 Collecting legal info COPYING.LESSER: OK (sha256: da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768) >>> host-mpfr 4.1.0 Collecting legal info COPYING.LESSER: OK (sha256: e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118) >>> uclibc 1.0.40 Collecting legal info COPYING.LIB: OK (sha256: 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3) >>> host-gcc-initial arc-2020.09-release Collecting legal info >>> linux-headers 5.15.30 Collecting legal info >>> cramfs 2.1 Collecting legal info COPYING: OK (sha256: 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994) >>> zlib Collecting legal info >>> libzlib 1.2.12 Collecting legal info README: OK (sha256: fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd) >>> gnuplot 5.4.3 Collecting legal info Copyright: OK (sha256: 895928ec0735cca1c8cec42656c7e314a065d0242813bb8693c0c1bf61fd4e4d) >>> haveged 1.9.15 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> initscripts Collecting legal info >>> jpeg-turbo 2.1.3 Collecting legal info LICENSE.md: OK (sha256: ee1eaf194d5924b6360af8a6ba6a4e1554037091f7505943300cdeec65f1aebb) README.ijg: OK (sha256: 4b7b9f8c03bb8d60270dfd12684e70ab21e4abfd27e73905cd1a7c4cae6f5cdb) >>> host-cmake 3.18.6 Collecting legal info Copyright.txt: OK (sha256: 131b9ff756b64a25b7461c3c1382e70b16c70a5b4833a1577897fa3ea6d88f8d) >>> host-pkgconf 1.6.3 Collecting legal info COPYING: OK (sha256: 07ee94b50a41ee3fc4e13a9b9c60b26fc28488494c465639f7e5f07a3952ec04) >>> libevent 2.1.12 Collecting legal info LICENSE: OK (sha256: ff02effc9b331edcdac387d198691bfa3e575e7d244ad10cb826aa51ef085670) >>> openssl Collecting legal info >>> libopenssl 1.1.1n Collecting legal info LICENSE: OK (sha256: c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c) >>> libffi 3.4.2 Collecting legal info LICENSE: OK (sha256: a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde) >>> libmng 2.0.3 Collecting legal info LICENSE: OK (sha256: ba280734838eb3f22a85b92a7e62de357d4d4c325029dce723b0cb125c417c35) >>> jpeg Collecting legal info >>> libpcap 1.10.1 Collecting legal info LICENSE: OK (sha256: 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd) >>> librelp 1.10.0 Collecting legal info COPYING: OK (sha256: 1ed76f935566e93e3c3c0d9f8fad22eb6d8bbe406e2eb8470a4a2764d9fd9685) >>> libsrtp 2.4.2 Collecting legal info LICENSE: OK (sha256: 8e19d42a1eec9561f3f347253ddf2e385c55f392f025bb0fd41b88dbf38db5ae) >>> libxml2 2.9.13 Collecting legal info COPYING: OK (sha256: c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd) >>> lldpd 1.0.9 Collecting legal info LICENSE: OK (sha256: 0e96a5aea65f16e2239231ce4ab90497f8bc3bb8fe6abe9299aade4726ff7c8d) >>> mstpd 0.1.0 Collecting legal info LICENSE: OK (sha256: c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42) hmac_md5.c: OK (sha256: c5cfd44652276184374adf454150d436ce958ce50acc4ef9ccb3605a5ca7a9d3) >>> ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> host-ncurses 6.1 Collecting legal info COPYING: OK (sha256: 4d1fde61868c73776a539366dccf5d5a4857e7fd7299efb1f02e07c2afe9ea87) >>> host-patchelf 0.9 Collecting legal info COPYING: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903) >>> pcre 8.45 Collecting legal info LICENCE: OK (sha256: 51b3dea44f63338b84b9c97b3d793826a8397309068cf9379a423216ab8ea5b2) >>> perl-mime-base64-urlsafe 0.01 Collecting legal info README: OK (sha256: 2fffac76f75709b6d94111a37f6cd8cab21e8f2b2de73b0b4fa53a5bed4efc15) >>> host-perl 5.34.1 Collecting legal info Artistic: OK (sha256: dd90d4f42e4dcadf5a7c09eea0189d93c7b37ae560c91f0f6d5233ed3b9292a2) Copying: OK (sha256: d77d235e41d54594865151f4751e835c5a82322b0e87ace266567c3391a4b912) README: OK (sha256: 06bab256e2e039c59d2ca3c5853425317b4a0f251fe4e5d5201a987b11fc4f78) >>> perl 5.34.1 Collecting legal info Artistic: OK (sha256: dd90d4f42e4dcadf5a7c09eea0189d93c7b37ae560c91f0f6d5233ed3b9292a2) Copying: OK (sha256: d77d235e41d54594865151f4751e835c5a82322b0e87ace266567c3391a4b912) README: OK (sha256: 06bab256e2e039c59d2ca3c5853425317b4a0f251fe4e5d5201a987b11fc4f78) >>> procrank_linux 21c30ab4514a5b15ac6e813e21bee0d3d714cb08 Collecting legal info NOTICE: OK (sha256: 38751245389e1e23f73e6f5384b5cbe7fa972cc4410c5adc9c04b082a0b9561a) >>> ptpd2 2.3.1 Collecting legal info COPYRIGHT: OK (sha256: 5e101ac565a8e74ef4efbf7e0c95ef9333e00618c05dbf5fb4ed50a5bab1ff09) WARNING: the Buildroot source code has not been saved WARNING: gcc-final-arc-2020.09-release: cannot save license (HOST_GCC_FINAL_LICENSE_FILES not defined) WARNING: gcc-initial-arc-2020.09-release: cannot save license (HOST_GCC_INITIAL_LICENSE_FILES not defined) WARNING: linux-headers-5.15.30: cannot save license (LINUX_HEADERS_LICENSE_FILES not defined) Legal info produced in /nvmedata/autobuild/instance-0/output-1/legal-info make: Leaving directory '/nvmedata/autobuild/instance-0/buildroot'