Opened 3 years ago

#64365 new defect

mariadb-lib_mysqludf_json: clang: error: no such file or directory: 'lib_mysqludf_json.so'

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: mysql55-lib_mysqludf_json

Description

mariadb-lib_mysqludf_json does not build.

https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/173080/steps/install-port/logs/stdio

DEBUG: system: cd /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_databases_mysql55-lib_mysqludf_json/mariadb-lib_mysqludf_json/work/lib_mysqludf_json_0.0.2 && /usr/bin/cpp -L/opt/local/lib -Wl,-headerpad_max_install_names -Os -I/opt/local/include/mariadb -I/opt/local/include/mariadb/mysql -bundle -undefined dynamic_lookup -I/opt/local/include lib_mysqludf_json.c -o lib_mysqludf_json.so
clang: warning: -Wl,-headerpad_max_install_names: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-traditional' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-I /opt/local/include/mariadb' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-I /opt/local/include/mariadb/mysql' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-Os' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-bundle' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-undefined dynamic_lookup' [-Wunused-command-line-argument]
clang: warning: -Wl,-headerpad_max_install_names: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-traditional' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-I /opt/local/include/mariadb' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-I /opt/local/include/mariadb/mysql' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-I /opt/local/include' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-Os' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-bundle' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-undefined lib_mysqludf_json.c' [-Wunused-command-line-argument]
clang: error: no such file or directory: 'lib_mysqludf_json.so'
clang: warning: -Wl,-headerpad_max_install_names: 'linker' input unused [-Wunused-command-line-argument]
Command failed: cd /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_databases_mysql55-lib_mysqludf_json/mariadb-lib_mysqludf_json/work/lib_mysqludf_json_0.0.2 && /usr/bin/cpp -L/opt/local/lib -Wl,-headerpad_max_install_names -Os -I/opt/local/include/mariadb -I/opt/local/include/mariadb/mysql -bundle -undefined dynamic_lookup -I/opt/local/include lib_mysqludf_json.c -o lib_mysqludf_json.so
Exit code: 1

I see that it is trying to build lib_mysqludf_json.so with ${configure.cpp} (the C preprocessor), which doesn't make sense to me; a preprocessor does not produce executable output. Is it possible that this port was intended to use ${configure.cc} (the C compiler) instead?

Bradley, CC'ing you since you wrote the port.

Change History (0)

Note: See TracTickets for help on using tickets.