pkgsrc-Bugs archive

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

Re: pkg/53671 (lang/rust build breaks on read-only source tree)



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

From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Havard Eidnes <he%netbsd.org@localhost>, gnats-admin%NetBSD.org@localhost
Subject: Re: pkg/53671 (lang/rust build breaks on read-only source tree)
Date: Mon, 22 Oct 2018 11:53:05 +0200

 On 10/22/18 10:17, he%NetBSD.org@localhost wrote:
 > Synopsis: lang/rust build breaks on read-only source tree
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: he%NetBSD.org@localhost
 > State-Changed-When: Mon, 22 Oct 2018 08:17:58 +0000
 > State-Changed-Why:
 > Should be fixed with lang/rust/Makefile revision 1.61.
 
 Thanks for looking at this.
 
 The immediate issue appears fixed, but the build now breaks very early with
 
 [...]
 => Modifying libtool scripts to use pkgsrc libtool
 => Modifying libtool scripts to use pkgsrc depcomp
 ===> Building for rust-1.29.1nb2
 /bin/cp -f 
 /var/obj/pkgsrc/lang/rust/work/rustc-1.29.1-src/src/vendor/libssh2-sys/libssh2/include/libssh2.h 
   /var/obj/pkgsrc/lang/rust/work/.buildlink/include/
 cd /var/obj/pkgsrc/lang/rust/work/rustc-1.29.1-src  && env 
 LD_LIBRARY_PATH=/var/obj/pkgsrc/lang/rust/work/rust-bootstrap/lib 
 CARGO_BUILD_JOBS=1 USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ 
 PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ 
 -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python2.7 
 CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ 
 -I/usr/include\ -I/usr/include/krb5 CPPFLAGS=-I/usr/pkg/include\ 
 -I/usr/include\ -I/usr/include/krb5 CXX=c++ CXXFLAGS=-O2\ 
 -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/include\ 
 -I/usr/include/krb5 COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O 
 LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C 
 LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ 
 -L/usr/lib\ -Wl,-R/usr/lib LINKER_RPATH_FLAG=-R 
 PATH=/var/obj/pkgsrc/lang/rust/work/.cwrapper/bin:/var/obj/pkgsrc/lang/rust/work/.buildlink/bin:/var/obj/pkgsrc/lang/rust/work/.gcc/bin:/var/obj/pkgsrc/lang/rust/work/.tools/bin:/usr/pkg/bin:/home/hf/bin:/usr/pkg/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R7/bin:/usr/pkg/sbin:/sbin:/usr/sbin:/usr/local/sbin:/usr/pkg/bin:/usr/X11R7/bin 
 PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/etc/pkg 
 HOME=/var/obj/pkgsrc/lang/rust/work/.home 
 CWRAPPERS_CONFIG_DIR=/var/obj/pkgsrc/lang/rust/work/.cwrapper/config 
 CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man 
 PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF 
 USETOOLS=no 
 LIBTOOL="/var/obj/pkgsrc/lang/rust/work/.cwrapper/bin/libtool " 
 BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ hf\ -g\ users\ -m\ 755 
 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ hf\ -g\ users\ -m\ 755 
 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ hf\ -g\ users\ -m\ 755 
 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ hf\ -g\ users\ -m\ 644 
 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ hf\ -g\ users\ -m\ 644 
 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ 
 -d\ -o\ hf\ -g\ users\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ 
 -d\ -o\ hf\ -g\ users\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ 
 -o\ hf\ -g\ users\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ 
 -o\ hf\ -g\ users\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ 
 hf\ -g\ users\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ 
 hf\ -g\ users\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ 
 hf\ -g\ users\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ 
 hf\ -g\ users\ -m\ 775 INSTALL_INFO= 
 MAKEINFO=/var/obj/pkgsrc/lang/rust/work/.tools/bin/makeinfo FLEX= BISON= 
 PKG_CONFIG=/var/obj/pkgsrc/lang/rust/work/.tools/bin/pkg-config 
 PKG_CONFIG_LIBDIR=/var/obj/pkgsrc/lang/rust/work/.buildlink/lib/pkgconfig:/var/obj/pkgsrc/lang/rust/work/.buildlink/share/pkgconfig 
 PKG_CONFIG_LOG=/var/obj/pkgsrc/lang/rust/work/.pkg-config.log 
 PKG_CONFIG_PATH= KRB5_CONFIG=/usr/bin/krb5-config 
 CWRAPPERS_CONFIG_DIR=/var/obj/pkgsrc/lang/rust/work/.cwrapper/config 
 /usr/pkg/bin/python2.7 ./x.py -v dist
 running: /var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build 
 --manifest-path 
 /var/obj/pkgsrc/lang/rust/work/rustc-1.29.1-src/src/bootstrap/Cargo.toml 
 --frozen
 error: process didn't exit successfully: 
 `/var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/rustc -vV` (exit 
 code: 101)
 --- stdout
 rustc 1.28.0 (9634041f0 2018-07-30)
 binary: rustc
 commit-hash: 9634041f0e8c0f3191d2867311276f19d0a42564
 commit-date: 2018-07-30
 host: x86_64-unknown-netbsd
 release: 1.28.0
 rustc 1.28.0 (9634041f0 2018-07-30)
 binary: rustc
 commit-hash: 9634041f0e8c0f3191d2867311276f19d0a42564
 commit-date: 2018-07-30
 host: x86_64-unknown-netbsd
 release: 1.28.0
 
 --- stderr
 thread 'main' panicked at 'failed to get current_exe: /proc/curproc/exe 
 doesn't point to regular file.', librustc/session/filesearch.rs:167:23
 note: Run with `RUST_BACKTRACE=1` for a backtrace.
 
 error: internal compiler error: unexpected panic
 
 thread 'main' panicked at 'cannot load the default codegen backend 
 twice', librustc_driver/lib.rs:274:5
 
 Traceback (most recent call last):
    File "./x.py", line 20, in <module>
      bootstrap.main()
    File 
 "/var/obj/pkgsrc/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", 
 line 848, in main
      bootstrap(help_triggered)
    File 
 "/var/obj/pkgsrc/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", 
 line 824, in bootstrap
      build.build_bootstrap()
    File 
 "/var/obj/pkgsrc/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", 
 line 651, in build_bootstrap
      run(args, env=env, verbose=self.verbose)
    File 
 "/var/obj/pkgsrc/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", 
 line 148, in run
      raise RuntimeError(err)
 RuntimeError: failed to run: 
 /var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build 
 --manifest-path 
 /var/obj/pkgsrc/lang/rust/work/rustc-1.29.1-src/src/bootstrap/Cargo.toml 
 --frozen
 *** Error code 1
 
 Stop.
 make[1]: stopped in /u/sources/pkgsrc/lang/rust
 *** Error code 1
 
 
 
 -- 
       The ASCII Ribbon Campaign                    Hauke Fath
 ()     No HTML/RTF in email	        Institut für Nachrichtentechnik
 /\     No Word docs in email                     TU Darmstadt
       Respect for open standards              Ruf +49-6151-16-21344
 


Home | Main Index | Thread Index | Old Index