[GH-ISSUE #49] Build failing on macOS 11.3.1 #39

Closed
opened 2026-02-28 14:30:09 +03:00 by kerem · 2 comments
Owner

Originally created by @andrew-ares on GitHub (May 22, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/49

rustc 1.52.1

The following warnings were emitted during compilation:

warning: ./minivorbis.c:6:10: fatal error: 'minivorbis.h' file not found
warning: #include "minivorbis.h"
warning:          ^~~~~~~~~~~~~~
warning: 1 error generated.

error: failed to run custom build command for `minivorbis-sys v0.1.0 (/Users/tenx/Documents/GitHub/psst/minivorbis-sys)`

Caused by:
  process didn't exit successfully: `/Users/tenx/Documents/GitHub/psst/target/release/build/minivorbis-sys-bde3f7516baa9d47/build-script-build` (exit code: 1)
  --- stdout
  TARGET = Some("x86_64-apple-darwin")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-apple-darwin")
  CC_x86_64-apple-darwin = None
  CC_x86_64_apple_darwin = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-apple-darwin = None
  CFLAGS_x86_64_apple_darwin = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3")
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "./minivorbis" "-Wall" "-Wextra" "-o" "/Users/tenx/Documents/GitHub/psst/target/release/build/minivorbis-sys-acf704866ae9211b/out/./minivorbis.o" "-c" "./minivorbis.c"
  cargo:warning=./minivorbis.c:6:10: fatal error: 'minivorbis.h' file not found
  cargo:warning=#include "minivorbis.h"
  cargo:warning=         ^~~~~~~~~~~~~~
  cargo:warning=1 error generated.
  exit code: 1

  --- stderr


  error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "./minivorbis" "-Wall" "-Wextra" "-o" "/Users/tenx/Documents/GitHub/psst/target/release/build/minivorbis-sys-acf704866ae9211b/out/./minivorbis.o" "-c" "./minivorbis.c" with args "cc" did not execute successfully (status code exit code: 1).
Originally created by @andrew-ares on GitHub (May 22, 2021). Original GitHub issue: https://github.com/jpochyla/psst/issues/49 rustc 1.52.1 ```shell The following warnings were emitted during compilation: warning: ./minivorbis.c:6:10: fatal error: 'minivorbis.h' file not found warning: #include "minivorbis.h" warning: ^~~~~~~~~~~~~~ warning: 1 error generated. error: failed to run custom build command for `minivorbis-sys v0.1.0 (/Users/tenx/Documents/GitHub/psst/minivorbis-sys)` Caused by: process didn't exit successfully: `/Users/tenx/Documents/GitHub/psst/target/release/build/minivorbis-sys-bde3f7516baa9d47/build-script-build` (exit code: 1) --- stdout TARGET = Some("x86_64-apple-darwin") OPT_LEVEL = Some("3") HOST = Some("x86_64-apple-darwin") CC_x86_64-apple-darwin = None CC_x86_64_apple_darwin = None HOST_CC = None CC = None CFLAGS_x86_64-apple-darwin = None CFLAGS_x86_64_apple_darwin = None HOST_CFLAGS = None CFLAGS = None CRATE_CC_NO_DEFAULTS = None DEBUG = Some("false") CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2,sse3,ssse3") running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "./minivorbis" "-Wall" "-Wextra" "-o" "/Users/tenx/Documents/GitHub/psst/target/release/build/minivorbis-sys-acf704866ae9211b/out/./minivorbis.o" "-c" "./minivorbis.c" cargo:warning=./minivorbis.c:6:10: fatal error: 'minivorbis.h' file not found cargo:warning=#include "minivorbis.h" cargo:warning= ^~~~~~~~~~~~~~ cargo:warning=1 error generated. exit code: 1 --- stderr error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "./minivorbis" "-Wall" "-Wextra" "-o" "/Users/tenx/Documents/GitHub/psst/target/release/build/minivorbis-sys-acf704866ae9211b/out/./minivorbis.o" "-c" "./minivorbis.c" with args "cc" did not execute successfully (status code exit code: 1). ```
kerem closed this issue 2026-02-28 14:30:09 +03:00
Author
Owner

@jpochyla commented on GitHub (May 23, 2021):

Looks like you don't have the submodules fetched!

<!-- gh-comment-id:846563534 --> @jpochyla commented on GitHub (May 23, 2021): Looks like you don't have the submodules fetched!
Author
Owner

@andrew-ares commented on GitHub (May 24, 2021):

Yep, and it works now.

<!-- gh-comment-id:846692918 --> @andrew-ares commented on GitHub (May 24, 2021): Yep, and it works now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#39
No description provided.