xiaoxiang781216 commented on pull request #559: URL: https://github.com/apache/incubator-nuttx-apps/pull/559#issuecomment-759921304
@cwespressif I found the reason why my local machine can pass the build, but the mainline can't. My local machine use the latest mainline of argtable3, which has more patches than 3.1.5.1c1bb23. One particular patch is important on NuttX: ``` commit 01ba528135afc14c9c407b541ab320d01bc17c9b Author: Tom G. Huang <tomghu...@gmail.com> Date: Sat Dec 12 23:33:43 2020 -0800 feat: Switch to FreeBSD getopt library Switching to FreeBSD getopt library can resolve two issues: 1. FreeBSD getopt always uses the 2-Clause BSD, which is compatible to GPL. (Although NetBSD has switched to the 2-Clause BSD in 2008.) 2. FreeBSD getopt_long provides getopt_long_only, which is critical for developers who want to follow the command-line syntax convention, which uses a single '-' character for long options. resolves: #54 #56 ``` I have updated PR to apply this patch, it should work now, please try again, thanks. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org