pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55767: pkgsrc/lang/rust fails on aarch64



>Number:         55767
>Category:       pkg
>Synopsis:       pkgsrc/lang/rust fails on aarch64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 29 22:10:00 +0000 2020
>Originator:     John Klos
>Release:        NetBSD 9.99.72
>Organization:
	
>Environment:
	
	
System: NetBSD athena.zia.io 9.99.72 NetBSD 9.99.72 (TING) #0: Sat Sep 5 21:31:31 UTC 2020 john%athena.zia.io@localhost:/usr/obj-evbarm/sys/arch/evbarm/compile/TING evbarm
Architecture: aarch64
Machine: evbarm
>Description:
	
Attempting to compile lang/rust fails with:

   Compiling crypto-hash v0.3.1
The following warnings were emitted during compilation:

warning: In file included from curl/lib/urldata.h:128,
warning:                  from curl/lib/asyn-thread.c:66:
warning: curl/lib/http.h:140:17: error: field 'form' has incomplete type
warning:    curl_mimepart form;
warning:                  ^~~~
warning: In file included from curl/lib/asyn-thread.c:66:
warning: curl/lib/urldata.h:1632:17: error: field 'mimepost' has incomplete type
warning:    curl_mimepart mimepost;  /* MIME/POST data. */
warning:                  ^~~~~~~~
warning: In file included from curl/lib/urldata.h:128,
warning:                  from curl/lib/base64.c:31:
warning: curl/lib/http.h:140:17: error: field 'form' has incomplete type
warning:    curl_mimepart form;
warning:                  ^~~~
warning: In file included from curl/lib/base64.c:31:
warning: curl/lib/urldata.h:1632:17: error: field 'mimepost' has incomplete type
warning:    curl_mimepart mimepost;  /* MIME/POST data. */
warning:                  ^~~~~~~~

error: failed to run custom build command for `curl-sys v0.4.25`

Caused by:
  process didn't exit successfully: `/usr/pkgsrc/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-netbsd/stage2-tools/release/build/curl-sys-a8e297727eb074f1/build-script-build` (exit code: 1)
--- stdout
failed to find http-2 feature enabled in pkg-config-found libcurl, building from source
cargo:root=/usr/pkgsrc/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-netbsd/stage2-tools/aarch64-unknown-netbsd/release/build/curl-sys-c8c6d4a56dece4f3/out
cargo:include=/usr/pkgsrc/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-netbsd/stage2-tools/aarch64-unknown-netbsd/release/build/curl-sys-c8c6d4a56dece4f3/out/include
cargo:static=1
cargo:rustc-cfg=link_libnghttp2
cargo:rustc-cfg=link_libz
cargo:rustc-cfg=link_openssl
TARGET = Some("aarch64-unknown-netbsd")
OPT_LEVEL = Some("3")
HOST = Some("aarch64-unknown-netbsd")
CC_aarch64-unknown-netbsd = Some("gcc")
CFLAGS_aarch64-unknown-netbsd = Some("-O2 -ffunction-sections -fdata-sections -fPIC -O2 -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -I/usr/local/include/python3.7 -I/usr/include/krb5")
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("fp,neon")
running: "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-O2" "-D_FORTIFY_SOURCE=2" "-I/usr/local/include" "-I/usr/include" "-I/usr/local/include/python3.7" "-I/usr/include/krb5" "-I" "curl/lib" "-I" "curl/include" "-I" "/usr/pkgsrc/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-netbsd/stage2-tools/aarch64-unknown-netbsd/release/build/libnghttp2-sys-6dfeac0f08701266/out/i/include" "-fvisibility=hidden" "-DBUILDING_LIBCURL" "-DCURL_DISABLE_CRYPTO_AUTH" "-DCURL_DISABLE_DICT" "-DCURL_DISABLE_FTP" "-DCURL_DISABLE_GOPHER" "-DCURL_DISABLE_IMAP" "-DCURL_DISABLE_LDAP" "-DCURL_DISABLE_LDAPS" "-DCURL_DISABLE_NTLM" "-DCURL_DISABLE_POP3" "-DCURL_DISABLE_RTSP" "-DCURL_DISABLE_SMB" "-DCURL_DISABLE_SMTP" "-DCURL_DISABLE_TELNET" "-DCURL_DISABLE_TFTP" "-DCURL_STATICLIB" "-DENABLE_IPV6" "-DHAVE_ASSERT_H" "-DOS=\"unknown\"" "-DHAVE_ZLIB_H" "-DHAVE_LIBZ" "-DHAVE_GETADDRINFO" "-DHAVE_GETPEERNAME" "-DUSE_NGHTTP2" "-DNGHTTP2!
 _STATICLIB" "-DUSE_OPENSSL" "-DHAVE_CLOCK_GETTIME_MONOTONIC" "-DHAVE_GETTIMEOFDAY" "-DRECV_TYPE_ARG1=int" "-DHAVE_PTHREAD_H" "-DHAVE_ARPA_INET_H" "-DHAVE_ERRNO_H" "-DHAVE_FCNTL_H" "-DHAVE_NETDB_H" "-DHAVE_NETINET_IN_H" "-DHAVE_POLL_FINE" "-DHAVE_POLL_H" "-DHAVE_FCNTL_O_NONBLOCK" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_STAT_H" "-DHAVE_UNISTD_H" "-DHAVE_RECV" "-DHAVE_SELECT" "-DHAVE_SEND" "-DHAVE_SOCKET" "-DHAVE_STERRROR_R" "-DHAVE_SOCKETPAIR" "-DHAVE_STRUCT_TIMEVAL" "-DUSE_THREADS_POSIX" "-DRECV_TYPE_ARG2=void*" "-DRECV_TYPE_ARG3=size_t" "-DRECV_TYPE_ARG4=int" "-DRECV_TYPE_RETV=ssize_t" "-DSEND_QUAL_ARG2=const" "-DSEND_TYPE_ARG1=int" "-DSEND_TYPE_ARG2=void*" "-DSEND_TYPE_ARG3=size_t" "-DSEND_TYPE_ARG4=int" "-DSEND_TYPE_RETV=ssize_t" "-DSIZEOF_CURL_OFF_T=8" "-DSIZEOF_INT=4" "-DSIZEOF_SHORT=2" "-DSIZEOF_SSIZE_T=8" "-DSIZEOF_SIZE_T=8" "-DSIZEOF_LONG=8" "-o" "/usr/pkgsrc/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-netbsd/stage2-tools/aarch64-unknown-netbsd/release/build/curl!
 -sys-c8c6d4a56dece4f3/out/build/curl/lib/asyn-thread.o" "-c" "!
 curl/lib/asyn-thread.c"
cargo:warning=In file included from curl/lib/urldata.h:128,
cargo:warning=                 from curl/lib/asyn-thread.c:66:
cargo:warning=curl/lib/http.h:140:17: error: field 'form' has incomplete type
cargo:warning=   curl_mimepart form;
cargo:warning=                 ^~~~
cargo:warning=In file included from curl/lib/asyn-thread.c:66:
cargo:warning=curl/lib/urldata.h:1632:17: error: field 'mimepost' has incomplete type
cargo:warning=   curl_mimepart mimepost;  /* MIME/POST data. */
cargo:warning=                 ^~~~~~~~
exit code: 1
running: "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-O2" "-D_FORTIFY_SOURCE=2" "-I/usr/local/include" "-I/usr/include" "-I/usr/local/include/python3.7" "-I/usr/include/krb5" "-I" "curl/lib" "-I" "curl/include" "-I" "/usr/pkgsrc/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-netbsd/stage2-tools/aarch64-unknown-netbsd/release/build/libnghttp2-sys-6dfeac0f08701266/out/i/include" "-fvisibility=hidden" "-DBUILDING_LIBCURL" "-DCURL_DISABLE_CRYPTO_AUTH" "-DCURL_DISABLE_DICT" "-DCURL_DISABLE_FTP" "-DCURL_DISABLE_GOPHER" "-DCURL_DISABLE_IMAP" "-DCURL_DISABLE_LDAP" "-DCURL_DISABLE_LDAPS" "-DCURL_DISABLE_NTLM" "-DCURL_DISABLE_POP3" "-DCURL_DISABLE_RTSP" "-DCURL_DISABLE_SMB" "-DCURL_DISABLE_SMTP" "-DCURL_DISABLE_TELNET" "-DCURL_DISABLE_TFTP" "-DCURL_STATICLIB" "-DENABLE_IPV6" "-DHAVE_ASSERT_H" "-DOS=\"unknown\"" "-DHAVE_ZLIB_H" "-DHAVE_LIBZ" "-DHAVE_GETADDRINFO" "-DHAVE_GETPEERNAME" "-DUSE_NGHTTP2" "-DNGHTTP2!
 _STATICLIB" "-DUSE_OPENSSL" "-DHAVE_CLOCK_GETTIME_MONOTONIC" "-DHAVE_GETTIMEOFDAY" "-DRECV_TYPE_ARG1=int" "-DHAVE_PTHREAD_H" "-DHAVE_ARPA_INET_H" "-DHAVE_ERRNO_H" "-DHAVE_FCNTL_H" "-DHAVE_NETDB_H" "-DHAVE_NETINET_IN_H" "-DHAVE_POLL_FINE" "-DHAVE_POLL_H" "-DHAVE_FCNTL_O_NONBLOCK" "-DHAVE_SYS_SELECT_H" "-DHAVE_SYS_STAT_H" "-DHAVE_UNISTD_H" "-DHAVE_RECV" "-DHAVE_SELECT" "-DHAVE_SEND" "-DHAVE_SOCKET" "-DHAVE_STERRROR_R" "-DHAVE_SOCKETPAIR" "-DHAVE_STRUCT_TIMEVAL" "-DUSE_THREADS_POSIX" "-DRECV_TYPE_ARG2=void*" "-DRECV_TYPE_ARG3=size_t" "-DRECV_TYPE_ARG4=int" "-DRECV_TYPE_RETV=ssize_t" "-DSEND_QUAL_ARG2=const" "-DSEND_TYPE_ARG1=int" "-DSEND_TYPE_ARG2=void*" "-DSEND_TYPE_ARG3=size_t" "-DSEND_TYPE_ARG4=int" "-DSEND_TYPE_RETV=ssize_t" "-DSIZEOF_CURL_OFF_T=8" "-DSIZEOF_INT=4" "-DSIZEOF_SHORT=2" "-DSIZEOF_SSIZE_T=8" "-DSIZEOF_SIZE_T=8" "-DSIZEOF_LONG=8" "-o" "/usr/pkgsrc/lang/rust/work/rustc-1.46.0-src/build/aarch64-unknown-netbsd/stage2-tools/aarch64-unknown-netbsd/release/build/curl!
 -sys-c8c6d4a56dece4f3/out/build/curl/lib/base64.o" "-c" "curl/!
 lib/base64.c"
cargo:warning=In file included from curl/lib/urldata.h:128,
cargo:warning=                 from curl/lib/base64.c:31:
cargo:warning=curl/lib/http.h:140:17: error: field 'form' has incomplete type
cargo:warning=   curl_mimepart form;
cargo:warning=                 ^~~~
cargo:warning=In file included from curl/lib/base64.c:31:
cargo:warning=curl/lib/urldata.h:1632:17: error: field 'mimepost' has incomplete type
cargo:warning=   curl_mimepart mimepost;  /* MIME/POST data. */
cargo:warning=                 ^~~~~~~~
exit code: 1

--- stderr
fatal: not a git repository (or any of the parent directories): .git


>How-To-Repeat:
	
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index