Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Issue when building fish-shell from latest source for Cygwin #2952

Copy link
Copy link

Description

@v7rzlhb3xg
Issue body actions

Issue:

autoconf and ./configure run fine, however when I run make I get the following error:

{ fish-shell } master » make
g++ -g -O2 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fno-exceptions -Wall -Wno-sign-compare  -Ipcre2-10.20/src -iquote. -iquote./src/ -DLOCALEDIR=\"/usr/local/share/locale\" -DPREFIX=L\"/usr/local\" -DDATADIR=L\"/usr/local/share\" -DSYSCONFDIR=L\"/usr/local/etc\" -DBINDIR=L\"/usr/local/bin\" -DDOCDIR=L\"/usr/local/share/doc/fish\"  -DFISH_BUILD_VERSION=\"2.2.0-775-gf034d8b\" -c src/history.cpp -o obj/history.o
src/history.cpp: In member function ‘bool history_t::save_internal_via_rewrite()’:
src/history.cpp:1433:52: error: ‘mkostemp’ was not declared in this scope
             out_fd = mkostemp(narrow_str, O_CLOEXEC);
                                                    ^
Makefile:805: recipe for target 'obj/history.o' failed
make: *** [obj/history.o] Error 1

Reproduction Steps:

  1. git clone https://github.com/fish-shell/fish-shell.git
  2. cd fish-shell
  3. autoconf
  4. ./configure
  5. make

Expected behavior:

Fish should compile correctly

Observed behavior:

Fish does not compile and instead returns an error.

Additional information:

Windows 10 running Babun 1.2.0/Cygwin


Fish version: current source

Operating system: Windows 10, attempting to build from Git

Terminal or terminal emulator: MinTTy

Reactions are currently unavailable

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

Morty Proxy This is a proxified and sanitized view of the page, visit original site.