Modify

Opened 5 months ago

Last modified 2 months ago

#13249 reopened Bugs

cygwin build on appveyor fails attempting to use linux calls?

Reported by: James E. King, III Owned by: Gennadiy Rozental
Milestone: To Be Determined Component: test
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description (last modified by James E. King, III)

While attempting to build Boost.Random on Appveyor using a cygwin job, this happens:

https://ci.appveyor.com/project/jeking3/random/build/1.0.10-develop/job/h9m6ca7nho5hd7w7

The pull request is: https://github.com/jeking3/random/pull/1

The error is:

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&)':
./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, &to );

Attachments (0)

Change History (4)

comment:1 Changed 5 months ago by James E. King, III

Component: randomtest
Description: modified (diff)
Owner: changed from No-Maintainer to Gennadiy Rozental

comment:2 Changed 3 months ago by James E. King, III

Milestone: To Be DeterminedBoost 1.66.0
Resolution: worksforme
Status: newclosed

I can no longer reproduce this as of 1.66.0 so I am resolving it as "worksforme".

comment:3 Changed 3 months ago by James E. King, III

Milestone: Boost 1.66.0To Be Determined
Resolution: worksforme
Status: closedreopened

It doesn't happen for me locally, but it does when building on Appveyor:

https://ci.appveyor.com/project/jeking3/random/build/1.0.42-develop/job/wkkuianyjamcwgs4#L780

Reopening.

comment:4 Changed 2 months ago by Raffi Enficiaud

Do you think your problem related to this: https://stackoverflow.com/questions/21689124/mkstemp-and-fdopen-in-cygwin-1-7-28 ?

What is the version of cygwin you use locally and on AppVeyor??

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The owner will remain Gennadiy Rozental.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.