[Bug 231411] lang/rust: Fails to build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Sep 16 22:17:13 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231411
Bug ID: 231411
Summary: lang/rust: Fails to build
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: rust at FreeBSD.org
Reporter: rozhuk.im at gmail.com
Flags: maintainer-feedback?(rust at FreeBSD.org)
Assignee: rust at FreeBSD.org
...
Compiling serde_json v1.0.24
error: failed to run custom build command for `libssh2-sys v0.2.8`
process didn't exit successfully:
`/tmp/ports/usr/ports/lang/rust/work/rustc-1.29.0-src/build/x86_64-unknown-freebsd/stage2-tools/release/build/libssh2-sys-2d66401c8012e623/build-script-build`
(exit code: 101)
...
[ 40%] Building C object src/CMakeFiles/libssh2.dir/kex.c.o
gmake[4]: Leaving directory
'/tmp/ports/usr/ports/lang/rust/work/rustc-1.29.0-src/build/x86_64-unknown-freebsd/stage2-tools/x86_64-unknown-freebsd/release/build/libssh2-sys-149db94635ec1367/out/build'
gmake[3]: Leaving directory
'/tmp/ports/usr/ports/lang/rust/work/rustc-1.29.0-src/build/x86_64-unknown-freebsd/stage2-tools/x86_64-unknown-freebsd/release/build/libssh2-sys-149db94635ec1367/out/build'
gmake[2]: Leaving directory
'/tmp/ports/usr/ports/lang/rust/work/rustc-1.29.0-src/build/x86_64-unknown-freebsd/stage2-tools/x86_64-unknown-freebsd/release/build/libssh2-sys-149db94635ec1367/out/build'
--- stderr
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CXX_COMPILER
CMAKE_CXX_FLAGS
/tmp/ports/usr/ports/lang/rust/work/rustc-1.29.0-src/src/vendor/libssh2-sys/libssh2/src/hostkey.c:526:10:
error: use of undeclared identifier 'LIBSSH2_HOSTKEY_HASH_SHA256'
case LIBSSH2_HOSTKEY_HASH_SHA256:
^
1 error generated.
gmake[4]: *** [src/CMakeFiles/libssh2.dir/build.make:141:
src/CMakeFiles/libssh2.dir/hostkey.c.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
/tmp/ports/usr/ports/lang/rust/work/rustc-1.29.0-src/src/vendor/libssh2-sys/libssh2/src/channel.c:2262:44:
error: use of undeclared identifier 'LIBSSH2_ERROR_CHANNEL_WINDOW_FULL'
return _libssh2_error(session, LIBSSH2_ERROR_CHANNEL_WINDOW_FULL,
^
1 error generated.
gmake[4]: *** [src/CMakeFiles/libssh2.dir/build.make:89:
src/CMakeFiles/libssh2.dir/channel.c.o] Error 1
...
grep -R "LIBSSH2_HOSTKEY_HASH_SHA256"
/tmp/ports/usr/ports/lang/rust/work/rustc-1.29.0-src/
/tmp/ports/usr/ports/lang/rust/work/rustc-1.29.0-src/src/vendor/libssh2-sys/libssh2/include/libssh2.h:#define
LIBSSH2_HOSTKEY_HASH_SHA256 3
I have installed libssh2-1.8.0,3 and looks like rust include libssh2 .h file
from local base instead rust source.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list