Boost C++ Libraries: Ticket #13249: cygwin build on appveyor fails attempting to use linux calls? https://svn.boost.org/trac10/ticket/13249 <p> While attempting to build Boost.Random on Appveyor using a cygwin job, this happens: </p> <p> <a class="ext-link" href="https://ci.appveyor.com/project/jeking3/random/build/1.0.10-develop/job/h9m6ca7nho5hd7w7"><span class="icon">​</span>https://ci.appveyor.com/project/jeking3/random/build/1.0.10-develop/job/h9m6ca7nho5hd7w7</a> </p> <p> The pull request is: <a class="ext-link" href="https://github.com/jeking3/random/pull/1"><span class="icon">​</span>https://github.com/jeking3/random/pull/1</a> </p> <p> The error is: </p> <pre class="wiki">In file included from libs\test\src\debug.cpp:16:0: ./boost/test/impl/debug.ipp: In function 'const char* boost::debug::{anonymous}::prepare_gdb_cmnd_file(const boost::debug::dbg_startup_info&amp;)': ./boost/test/impl/debug.ipp:424:23: error: '::mkstemp' has not been declared fd_holder cmd_fd( ::mkstemp( cmd_file_name ) ); ^ In file included from libs\test\src\debug.cpp:16:0: ./boost/test/impl/debug.ipp: In function 'bool boost::debug::attach_debugger(bool)': ./boost/test/impl/debug.ipp:892:34: error: '::mkstemp' has not been declared fd_holder init_done_lock_fd( ::mkstemp( init_done_lock_fn ) ); ^ ./boost/test/impl/debug.ipp:929:9: error: '::select' has not been declared ::select( 0, 0, 0, 0, &amp;to ); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13249 Trac 1.4.3 James E. King, III Tue, 10 Oct 2017 18:58:46 GMT owner, component, description changed https://svn.boost.org/trac10/ticket/13249#comment:1 https://svn.boost.org/trac10/ticket/13249#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">No-Maintainer</span> to <span class="trac-author">Gennadiy Rozental</span> </li> <li><strong>component</strong> <span class="trac-field-old">random</span> → <span class="trac-field-new">test</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/13249?action=diff&amp;version=1">diff</a>) </li> </ul> Ticket James E. King, III Thu, 07 Dec 2017 15:13:45 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/13249#comment:2 https://svn.boost.org/trac10/ticket/13249#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.66.0</span> </li> </ul> <p> I can no longer reproduce this as of 1.66.0 so I am resolving it as "worksforme". </p> Ticket James E. King, III Thu, 07 Dec 2017 16:56:23 GMT status, milestone changed; resolution deleted https://svn.boost.org/trac10/ticket/13249#comment:3 https://svn.boost.org/trac10/ticket/13249#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">worksforme</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.66.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> <p> It doesn't happen for me locally, but it does when building on Appveyor: </p> <p> <a class="ext-link" href="https://ci.appveyor.com/project/jeking3/random/build/1.0.42-develop/job/wkkuianyjamcwgs4#L780"><span class="icon">​</span>https://ci.appveyor.com/project/jeking3/random/build/1.0.42-develop/job/wkkuianyjamcwgs4#L780</a> </p> <p> Reopening. </p> Ticket Raffi Enficiaud Thu, 28 Dec 2017 19:21:23 GMT <link>https://svn.boost.org/trac10/ticket/13249#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13249#comment:4</guid> <description> <p> Do you think your problem related to this: <a class="ext-link" href="https://stackoverflow.com/questions/21689124/mkstemp-and-fdopen-in-cygwin-1-7-28"><span class="icon">​</span>https://stackoverflow.com/questions/21689124/mkstemp-and-fdopen-in-cygwin-1-7-28</a> ? </p> <p> What is the version of cygwin you use locally and on <a class="missing wiki">AppVeyor</a>? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Tue, 19 Jun 2018 08:27:35 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13249#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13249#comment:5</guid> <description> <p> Hi, </p> <p> Would you please try the branch <code>topic/PR-145-cygwin-fixes</code> and tell me if that solves your issues? A quick feedback would be good in order to merge this into the coming release. </p> <p> Thanks </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Wed, 01 Aug 2018 17:11:04 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/13249#comment:6 https://svn.boost.org/trac10/ticket/13249#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed via PR-145. Please create a new ticket if you still experience issues with this. </p> Ticket