pkgsrc-Bugs archive

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

Re: pkg/55368 (pkgsrc/lang/rust is broken on NetBSD/i386)



The following reply was made to PR pkg/55368; it has been noted by GNATS.

From: John Klos <john%ziaspace.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        gdt%NetBSD.org@localhost
Subject: Re: pkg/55368 (pkgsrc/lang/rust is broken on NetBSD/i386)
Date: Thu, 8 Oct 2020 19:19:54 +0000 (UTC)

 > works in 2020Q3.  Please feel free to reopen if you think I am confused.
 
 Clean i386 installation of NetBSD-9 and pkgsrc from 30-Sept-2020:
 
     Compiling crypto-hash v0.3.1
 The following warnings were emitted during compilation:
 
 warning: In file included from curl/lib/urldata.h:128:0,
 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:0:
 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:0,
 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:0:
 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.45.2-src/build/i686-unknown-netbsd/stage2-tools/release/build/curl-sys-8bfdecdd4698c13a/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.45.2-src/build/i686-unknown-netbsd/stage2-tools/i686-unknown-netbsd/release/build/curl-sys-56578c53c7c16211/out
 cargo:include=/usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/build/i686-unknown-netbsd/stage2-tools/i686-unknown-netbsd/release/build/curl-sys-56578c53c7c16211/out/include
 cargo:static=1
 cargo:rustc-cfg=link_libnghttp2
 cargo:rustc-cfg=link_libz
 cargo:rustc-cfg=link_openssl
 TARGET = Some("i686-unknown-netbsd")
 OPT_LEVEL = Some("3")
 HOST = Some("i686-unknown-netbsd")
 CC_i686-unknown-netbsd = Some("gcc")
 CFLAGS_i686-unknown-netbsd = Some("-O2 -ffunction-sections -fdata-sections 
 -fPIC -m32 -O2 -march=i586 -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("fxsr,mmx,sse,sse2")
 running: "gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" 
 "-m32" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-O2" 
 "-march=i586" "-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.45.2-src/build/i686-unknown-netbsd/stage2-tools/i686-unknown-netbsd/release/build/libnghttp2-sys-497c0ec28363ecd9/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=4" "-DSIZEOF_SIZE_T=4" 
 "-DSIZEOF_LONG=4" "-o" 
 "/usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/build/i686-unknown-netbsd/stage2-tools/i686-unknown-netbsd/release/build/curl-sys-56578c53c7c16211/out/build/curl/lib/asyn-thread.o" 
 "-c" "curl/lib/asyn-thread.c"
 cargo:warning=In file included from curl/lib/urldata.h:128:0,
 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:0:
 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" 
 "-m32" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-O2" 
 "-march=i586" "-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.45.2-src/build/i686-unknown-netbsd/stage2-tools/i686-unknown-netbsd/release/build/libnghttp2-sys-497c0ec28363ecd9/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=4" "-DSIZEOF_SIZE_T=4" 
 "-DSIZEOF_LONG=4" "-o" 
 "/usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/build/i686-unknown-netbsd/stage2-tools/i686-unknown-netbsd/release/build/curl-sys-56578c53c7c16211/out/build/curl/lib/base64.o" 
 "-c" "curl/lib/base64.c"
 cargo:warning=In file included from curl/lib/urldata.h:128:0,
 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:0:
 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
 
 
 error occurred: Command "gcc" "-O3" "-ffunction-sections" 
 "-fdata-sections" "-fPIC" "-m32" "-O2" "-ffunction-sections" 
 "-fdata-sections" "-fPIC" "-m32" "-O2" "-march=i586" "-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.45.2-src/build/i686-unknown-netbsd/stage2-tools/i686-unknown-netbsd/release/build/libnghttp2-sys-497c0ec28363ecd9/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=4" "-DSIZEOF_SIZE_T=4" 
 "-DSIZEOF_LONG=4" "-o" 
 "/usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/build/i686-unknown-netbsd/stage2-tools/i686-unknown-netbsd/release/build/curl-sys-56578c53c7c16211/out/build/curl/lib/asyn-thread.o" 
 "-c" "curl/lib/asyn-thread.c" with args "gcc" did not execute successfully 
 (status code exit code: 1).
 
 
 
 warning: build failed, waiting for other jobs to finish...
 error: build failed
 command did not execute successfully: 
 "/usr/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo" "build" "--target" 
 "i686-unknown-netbsd" "-Zbinary-dep-depinfo" "-j" "1" "--release" 
 "--frozen" "--manifest-path" 
 "/usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/src/tools/cargo/Cargo.toml" 
 "--message-format" "json-render-diagnostics"
 expected success, got: exit code: 101
 Traceback (most recent call last):
    File "./x.py", line 11, in <module>
      bootstrap.main()
    File 
 "/usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/src/bootstrap/bootstrap.py", 
 line 977, in main
      bootstrap(help_triggered)
    File 
 "/usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/src/bootstrap/bootstrap.py", 
 line 963, in bootstrap
      run(args, env=env, verbose=build.verbose)
    File 
 "/usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/src/bootstrap/bootstrap.py", 
 line 143, in run
      raise RuntimeError(err)
 RuntimeError: failed to run: 
 /usr/pkgsrc/lang/rust/work/rustc-1.45.2-src/build/bootstrap/debug/bootstrap 
 -v build -j 1
 *** Error code 1
 
 Stop.
 make[1]: stopped in /usr/pkgsrc/lang/rust
 *** Error code 1
 
 Stop.
 make: stopped in /usr/pkgsrc/lang/rust
 


Home | Main Index | Thread Index | Old Index