Build of rt3562sta with vanilla toolchain

The build took 00h 01m 01s and was SUCCESSFUL.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
85,552 ansic
462 makefile
86,014 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: rt3562sta 2.4.1.1_r3-12 (Wed Aug 24 13:03:42 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C tools
# cp -f os/linux/Makefile.6 /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/Makefile
# make[1]: Entering directory '/tmp/rt3562sta/src/rt3562sta-linux-r3/tools'
# gcc -g bin2h.c -o bin2h
# make -C /usr/lib/modules/4.6.3-1-ARCH/build SUBDIRS=/tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux modules
# make[1]: Entering directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# make[1]: Leaving directory '/tmp/rt3562sta/src/rt3562sta-linux-r3/tools'
# /tmp/rt3562sta/src/rt3562sta-linux-r3/tools/bin2h
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_md5.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_sha2.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_hmac.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_aes.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_arc4.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/mlme.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wep.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/action.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_data.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rtmp_init.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_tkip.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_aes.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_sync.o
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_sync.c: In function 'ScanNextChannel':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_sync.c:573:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (OPSTATUS_TEST_FLAG(pAd, fOP_STATUS_DOZE))
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_sync.c:577:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if (pAd->StaCfg.Psm == PWR_SAVE)
# ^~
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/eeprom.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_sanity.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_cfg.o
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c: In function 'GetEncryptType':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:2116:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if(enc == Ndis802_11Encryption3Enabled)
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:2118:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if(enc == Ndis802_11Encryption4Enabled)
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c: In function 'GetAuthMode':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:2128:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if(auth == Ndis802_11AuthModeShared)
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:2130:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if(auth == Ndis802_11AuthModeAutoSwitch)
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:2140:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if(auth == Ndis802_11AuthModeWPA2PSK)
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:2142:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# if(auth == Ndis802_11AuthModeWPA1WPA2)
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c: In function 'Show_PMK_Proc':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:3957:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
# for (idx = 0; idx < 32; idx++)
# ^~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:3960:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
# return 0;
# ^~~~~~
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.o
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.c: In function 'WPAStart2WayGroupHS':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.c:1197:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if ((!pEntry) || !IS_ENTRY_CLIENT(pEntry))
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.c:1202:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# os_alloc_mem(NULL, (PUCHAR *)&mpool, TX_EAPOL_BUFFER);
# ^~~~~~~~~~~~
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/dfs.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/spectrum.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rtmp_timer.o
# In file included from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rtmp_os.h:32:0,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rt_config.h:60,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/spectrum.c:28:
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/spectrum.c: In function 'PeerMeasureReportAction':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/spectrum.c:1966:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
# DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:616:16: note: in definition of macro 'DBGPRINT_RAW'
# printk Fmt; \
# ^~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/spectrum.c:1966:3: note: in expansion of macro 'DBGPRINT'
# DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
# ^~~~~~~~
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rt_channel.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_profile.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_asic.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_cmd.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/assoc.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/auth.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/auth_rsp.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sanity.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/rtmp_data.o
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/rtmp_data.c: In function 'STAFindCipherAlgorithm':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/rtmp_data.c:1503:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
# else
# ^~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/rtmp_data.c:1506:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
# if (RTMP_GET_PACKET_EAPOL(pTxBlk->pPacket))
# ^~
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/wpa.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/ags.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sta_cfg.o
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sta_cfg.c: In function 'Set_EncrypType_Proc':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sta_cfg.c:678:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
# else
# ^~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sta_cfg.c:681:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
# if (pAd->StaCfg.BssType == BSS_ADHOC)
# ^~
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rtmp_init_inf.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_profile.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/sta_ioctl.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.o
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/sta_ioctl.c: In function 'rt_ioctl_siwfreq':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/sta_ioctl.c:172:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
# else
# ^~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/sta_ioctl.c:175:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
# return 0;
# ^~~~~~
# In file included from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rtmp_os.h:32:0,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rt_config.h:60,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:28:
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c: In function 'duplicate_pkt':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:946:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [-Wint-conversion]
# (RTPKT_TO_OSPKT(_pkt)->tail)
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:440:61: note: in definition of macro 'NdisMoveMemory'
# #define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length)
# ^~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:482:18: note: in expansion of macro 'GET_OS_PKT_DATATAIL'
# NdisMoveMemory(GET_OS_PKT_DATATAIL(skb), pHeader802_3, HdrLen);
# ^~~~~~~~~~~~~~~~~~~
# In file included from ./arch/x86/include/asm/string.h:4:0,
# from include/linux/string.h:18,
# from include/linux/bitmap.h:8,
# from include/linux/cpumask.h:11,
# from ./arch/x86/include/asm/cpumask.h:4,
# from ./arch/x86/include/asm/msr.h:10,
# from ./arch/x86/include/asm/processor.h:20,
# from ./arch/x86/include/asm/cpufeature.h:4,
# from ./arch/x86/include/asm/thread_info.h:52,
# from include/linux/thread_info.h:54,
# from ./arch/x86/include/asm/preempt.h:6,
# from include/linux/preempt.h:59,
# from include/linux/spinlock.h:50,
# from include/linux/seqlock.h:35,
# from include/linux/time.h:5,
# from include/linux/stat.h:18,
# from include/linux/module.h:10,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:31,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rtmp_os.h:32,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rt_config.h:60,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:28:
# ./arch/x86/include/asm/string_64.h:59:7: note: expected 'void *' but argument is of type 'sk_buff_data_t {aka unsigned int}'
# void *memmove(void *dest, const void *src, size_t count);
# ^~~~~~~
# In file included from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rtmp_os.h:32:0,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rt_config.h:60,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:28:
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:946:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [-Wint-conversion]
# (RTPKT_TO_OSPKT(_pkt)->tail)
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:440:61: note: in definition of macro 'NdisMoveMemory'
# #define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length)
# ^~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:484:18: note: in expansion of macro 'GET_OS_PKT_DATATAIL'
# NdisMoveMemory(GET_OS_PKT_DATATAIL(skb), pData, DataSize);
# ^~~~~~~~~~~~~~~~~~~
# In file included from ./arch/x86/include/asm/string.h:4:0,
# from include/linux/string.h:18,
# from include/linux/bitmap.h:8,
# from include/linux/cpumask.h:11,
# from ./arch/x86/include/asm/cpumask.h:4,
# from ./arch/x86/include/asm/msr.h:10,
# from ./arch/x86/include/asm/processor.h:20,
# from ./arch/x86/include/asm/cpufeature.h:4,
# from ./arch/x86/include/asm/thread_info.h:52,
# from include/linux/thread_info.h:54,
# from ./arch/x86/include/asm/preempt.h:6,
# from include/linux/preempt.h:59,
# from include/linux/spinlock.h:50,
# from include/linux/seqlock.h:35,
# from include/linux/time.h:5,
# from include/linux/stat.h:18,
# from include/linux/module.h:10,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:31,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rtmp_os.h:32,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rt_config.h:60,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:28:
# ./arch/x86/include/asm/string_64.h:59:7: note: expected 'void *' but argument is of type 'sk_buff_data_t {aka unsigned int}'
# void *memmove(void *dest, const void *src, size_t count);
# ^~~~~~~
# In file included from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rtmp_os.h:32:0,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rt_config.h:60,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:28:
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c: In function 'ClonePacket':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:950:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)(RTPKT_TO_OSPKT(_pkt)->data-(RTPKT_TO_OSPKT(_pkt)->head) + (_len))
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:634:2: note: in expansion of macro 'SET_OS_PKT_DATATAIL'
# SET_OS_PKT_DATATAIL(pClonedPkt, pClonedPkt->data, pClonedPkt->len);
# ^~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c: In function 'update_os_packet_info':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:656:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# pOSPkt->tail = pOSPkt->data + pOSPkt->len;
# ^
# In file included from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rtmp_os.h:32:0,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rt_config.h:60,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:28:
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c: In function 'wlan_802_11_to_802_3_packet':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:950:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)(RTPKT_TO_OSPKT(_pkt)->data-(RTPKT_TO_OSPKT(_pkt)->head) + (_len))
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:677:2: note: in expansion of macro 'SET_OS_PKT_DATATAIL'
# SET_OS_PKT_DATATAIL(pOSPkt, pOSPkt->data, pOSPkt->len);
# ^~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c: In function 'send_monitor_packets':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:950:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=]
# DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:616:16: note: in definition of macro 'DBGPRINT_RAW'
# printk Fmt; \
# ^~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:950:9: note: in expansion of macro 'DBGPRINT'
# DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
# ^~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:1075:6: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
# if (rate_index > 255)
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:1078:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
# ph->rate.did = DIDmsg_lnxind_wlansniffrm_rate;
# ^~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevDetach':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:1699:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# struct net_device_ops *pNetDevOps = pNetDev->netdev_ops;
# ^~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevAttach':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:1736:38: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# struct net_device_ops *pNetDevOps = pNetDev->netdev_ops;
# ^~~~~~~
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_main_dev.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/ba_action.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_mac_pci.o
# In file included from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rtmp_os.h:32:0,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/include/rt_config.h:60,
# from /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/ba_action.c:30:
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/ba_action.c: In function 'convert_reordering_packet_to_preAMSDU_or_802_3_packet':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:950:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
# ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)(RTPKT_TO_OSPKT(_pkt)->data-(RTPKT_TO_OSPKT(_pkt)->head) + (_len))
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/ba_action.c:1558:2: note: in expansion of macro 'SET_OS_PKT_DATATAIL'
# SET_OS_PKT_DATATAIL(pRxPkt, pRxBlk->pData, pRxBlk->DataSize);
# ^~~~~~~~~~~~~~~~~~~
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_data_pci.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rtmp_mcu.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/ee_prom.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/ee_efuse.o
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/ee_efuse.c: In function 'rtmp_ee_efuse_write16':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/ee_efuse.c:1406:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
# else
# ^~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/ee_efuse.c:1408:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
# return 0;
# ^~~~~~
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rt_rf.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../chips/rt30xx.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../chips/rt35xx.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_pci_rbus.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_rbus_pci_util.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/pci_main_dev.o
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/misc.o
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/pci_main_dev.c: In function 'rt2860_probe':
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/pci_main_dev.c:321:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# print_name = pci_dev ? pci_name(pci_dev) : "rt3562";
# ^
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../chips/rt3592cb.o
# LD [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/rt3562sta.o
# Building modules, stage 2.
# MODPOST 1 modules
# CC /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/rt3562sta.mod.o
# LD [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/rt3562sta.ko
# make[1]: Leaving directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# ==> Entering fakeroot environment...
# ==> Starting package()...
# ==> Kernel = 4.6.3-1-ARCH
# ==> Tidying install...
# -> Removing doc files...
# -> Purging unwanted files...
# ==> Checking for packaging issue...
# ==> Creating package "rt3562sta"...
# -> Generating .PKGINFO file...
# -> Generating .BUILDINFO file...
# error: invalid option '--noprogressbar'
# -> Adding install file...
# -> Generating .MTREE file...
# -> Compressing package...
# ==> Leaving fakeroot environment.
# ==> Finished making: rt3562sta 2.4.1.1_r3-12 (Wed Aug 24 13:04:05 UTC 2016)

CMD: pacman --query --file rt3562sta-2.4.1.1_r3-12-x86_64.pkg.tar.xz
# rt3562sta 2.4.1.1_r3-12

Creating hybrid package for 'rt3562sta'

Trying to find vanilla package 'rt3562sta'...

CMD: pacman --query --file /mirror/rt3562sta-2.4.1.1_r3-12.pkg.tar.xz
# rt3562sta 2.4.1.1_r3-12

Package file has the following structure:
# /.PKGINFO
# /.BUILDINFO
# /.INSTALL
# /.MTREE
# /etc/Wireless/RT3562STA/RT3562STA.dat
# /usr/share/doc/rt3562sta/sta_ate_iwpriv_usage.txt
# /usr/share/doc/rt3562sta/RT3562STACard.dat
# /usr/share/doc/rt3562sta/RT3562STA.dat
# /usr/share/doc/rt3562sta/README_STA_pci
# /usr/share/doc/rt3562sta/README.md
# /usr/share/doc/rt3562sta/iwpriv_usage.txt
# /usr/lib/modules/extramodules-4.6-ARCH/rt3562sta.ko.gz
# /sysroot/usr/lib/modules/extramodules-4.6-ARCH/rt3562sta.ko.gz

Generating .MTREE

CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO .INSTALL etc usr sysroot

Tar-ing up files

CMD: bsdtar -cf - .PKGINFO .BUILDINFO .INSTALL etc usr sysroot .MTREE

CMD: xz -c -z

Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO .INSTALL etc usr sysroot .MTREE | xz -c -z

CMD: bsdtar -tqf rt3562sta.pkg.tar.xz .PKGINFO
# .PKGINFO

Created package at path /var/cache/pacman/pkg/rt3562sta.pkg.tar.xz

Attempting to access local repository, attempt 1

CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/rt3562sta.pkg.tar.xz
# ==> Extracting database to a temporary location...
# ==> Extracting database to a temporary location...
# ==> Adding package '/var/cache/pacman/pkg/rt3562sta.pkg.tar.xz'
# -> Computing checksums...
# -> Creating 'desc' db entry...
# -> Creating 'files' db entry...
# ==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'