Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FreeBSD] Build failed: lib-src/libnyquist/nyquist/xlisp/path.c:204:9: error: unknown type name 'intptr_t' #6326

Closed
VVD opened this issue Apr 22, 2024 · 0 comments · Fixed by #6331
Labels
bug An error, undesired behaviour, or missed functionality

Comments

@VVD
Copy link

VVD commented Apr 22, 2024

Bug description

Build error last release 3.5.0 on FreeBSD 13.3-p1 amd64.

Steps to reproduce

  1. Build from sources

Expected behavior

  1. Build without errors

Actual behavior

Build failed with error:

FAILED: lib-src/libnyquist/CMakeFiles/libnyquist.dir/nyquist/xlisp/path.c.o
/usr/bin/cc -DCMTSTUFF -DEXPERIMENTAL_CRASH_REPORT -DEXPERIMENTAL_DRAGGABLE_PLAY_HEAD -DEXPERIMENTAL_FULL_WASAPI -DEXPERIMENTAL_HALF_WAVE -DEXPERIMENTAL_KEY_VIEW -DEXPERIMENTAL_MIDI_OUT -DEXPERIMENTAL_MODULE_PREFS -DEXPERIMENTAL_NOISE_REDUCTION -DEXPERIMENTAL_NOTETRACK_OVERLAY -DEXPERIMENTAL_NYQUIST_SPLIT_CONTROL -DEXPERIMENTAL_PUNCH_AND_ROLL -DEXPERIMENTAL_SCIENCE_FILTERS -DEXPERIMENTAL_SCRUBBING_SCROLL_WHEEL -DEXPERIMENTAL_SCRUBBING_SUPPORT -DEXPERIMENTAL_SPECTRAL_EDITING -DEXPERIMENTAL_SUBRIP_LABEL_FORMATS -DEXPERIMENTAL_THEMING -DEXPERIMENTAL_ZOOM_TOGGLE_BUTTON -DEXT -DUSE_NYQUIST=1 -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/cmt -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/cmupv/src -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/ffts/src -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/nyqsrc -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/nyqstk -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/nyqstk/include -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/tran -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/xlisp -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/sys/unix -I/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist -isystem /usr/local/include -O2 -pipe -march=core2  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=core2  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG -MD -MT lib-src/libnyquist/CMakeFiles/libnyquist.dir/nyquist/xlisp/path.c.o -MF lib-src/libnyquist/CMakeFiles/libnyquist.dir/nyquist/xlisp/path.c.o.d -o lib-src/libnyquist/CMakeFiles/libnyquist.dir/nyquist/xlisp/path.c.o -c /tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/xlisp/path.c
/tmp/work/usr/ports/audio/audacity/work/audacity-Audacity-3.5.0/lib-src/libnyquist/nyquist/xlisp/path.c:204:9: error: unknown type name 'intptr_t'; did you mean '__intptr_t'?
  204 |         intptr_t len;
      |         ^~~~~~~~

Audacity Version

other

Operating system

Other

Additional context

Patch:

--- lib-src/libnyquist/nyquist/xlisp/path.c.orig        2024-04-22 10:09:55 UTC
+++ lib-src/libnyquist/nyquist/xlisp/path.c
@@ -25,6 +25,7 @@
  */

 #include <string.h>
+#include <stdint.h>

 #include "switches.h"
 #include "xlisp.h"
@VVD VVD added the bug An error, undesired behaviour, or missed functionality label Apr 22, 2024
crsib added a commit to crsib/audacity that referenced this issue Apr 23, 2024
@crsib crsib mentioned this issue Apr 23, 2024
6 tasks
@crsib crsib linked a pull request Apr 23, 2024 that will close this issue
6 tasks
crsib added a commit that referenced this issue Apr 23, 2024
Based on patches provided in #6326, #6327, #6328, #6329
@VVD VVD closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error, undesired behaviour, or missed functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant