Opened 3 years ago
Closed 3 years ago
#64752 closed defect (fixed)
xplot @0.90.7.1: 'malloc.h' file not found
Reported by: | fcorrao1 (Frank Corrao) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | monterey | Cc: | |
Port: | xplot |
Description
"sudo port install xplot" fails to build citing missing malloc.h header file in multiple locations
:notice:build ---> Building xplot :debug:build Executing org.macports.build (xplot) :debug:build Environment: :debug:build CC_PRINT_OPTIONS='YES' :debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_xplot/xplot/work/.CC_PRINT_OPTIONS' :debug:build CPATH='/opt/local/include' :debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools' :debug:build LIBRARY_PATH='/opt/local/lib' :debug:build MACOSX_DEPLOYMENT_TARGET='12.0' :debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk' :info:build Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_xplot/xplot/work/xplot-0.90.7.1" && /usr/bin/make -j16 -w all :debug:build system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_xplot/xplot/work/xplot-0.90.7.1" && /usr/bin/make -j16 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_xplot/xplot/work/xplot-0.90.7.1' :info:build /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wall -I/opt/local/include -c -o xplot.o xplot.c :info:build echo 'char *version_string = "'`cat version`'";' >version_string.c :info:build /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wall -I/opt/local/include -c -o coord.o coord.c :info:build /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wall -I/opt/local/include -c -o unsigned.o unsigned.c :info:build /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wall -I/opt/local/include -c -o signed.o signed.c :info:build /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wall -I/opt/local/include -c -o timeval.o timeval.c :info:build /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wall -I/opt/local/include -c -o double.o double.c :info:build /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wall -I/opt/local/include -c -o dtime.o dtime.c :info:build /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wall -I/opt/local/include -c -o version_string.o version_string.c :info:build In file included from dtime.c:33: :info:build ./xplot.h:48:10: fatal error: In file included from coord.c:In file included from unsigned.c33'malloc.h' file not foundIn file included from :info:build :: :info:build In file included from 33./xplot.hIn file included from :double.c48::10:33 : :info:build : :info:build ./xplot.h#include <malloc.h>: :info:build 48 ^~~~~~~~~~:./xplot.hfatal errorsigned.c :info:build :33: : :info:build ./xplot.h::1048::1048'malloc.h' file not found: :info:build :timeval.cfatal error: 33fatal error: :info:build : 10#include <malloc.h>: :info:build ^~~~~~~~~~fatal error: 'malloc.h' file not found'malloc.h' file not found :info:build : :info:build 'malloc.h' file not found :info:build ./xplot.h:48:10 :info:build : fatal error: #include <malloc.h> :info:build 'malloc.h' file not found#include <malloc.h> :info:build ^~~~~~~~~~ :info:build ^~~~~~~~~~ :info:build #include <malloc.h> :info:build ^~~~~~~~~~ :info:build #include <malloc.h> :info:build ^~~~~~~~~~ :info:build In file included from xplot.c:42: :info:build ./xplot.h:48:10: fatal error: 'malloc.h' file not found :info:build #include <malloc.h> :info:build ^~~~~~~~~~ :info:build 1 error generated. :info:build 1 error generated. :info:build 1 error generated. :info:build 1 error generated. :info:build 1 error generated. :info:build make: *** [coord.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build 1 error generated. :info:build make: *** [dtime.o] Error 1 :info:build make: *** [double.o] Error 1 :info:build make: *** [signed.o] Error 1 :info:build make: *** [unsigned.o] Error 1 :info:build make: *** [timeval.o] Error 1 :info:build 1 error generated. :info:build make: *** [xplot.o] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_xplot/xplot/work/xplot-0.90.7.1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_xplot/xplot/work/xplot-0.90.7.1" && /usr/bin/make -j16 -w all :info:build Exit code: 2 :error:build Failed to build xplot: command execution failed
Change History (1)
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 888efefd199e406718937ce134e0a425a212fc72/macports-ports (master):