pkgsrc-Users archive

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

Re: lang7/rust fails to build on i386?



sysctl -w security.pax.mprotect.enabled=0


On Thu, 7 Dec 2017, 12:42 Hauke Fath, <hf%spg.tu-darmstadt.de@localhost> wrote:
All,

for a while pkgsrc updates have been halted on my i386 netbsd-8 machine
because the rust build dies with

[...]
running: /var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo build
--manifest-path
/var/obj/pkgsrc/lang/rust/work/rustc-1.22.1-src/src/bootstrap/Cargo.toml
--verbose --frozen
/var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo: text relocations
/var/obj/pkgsrc/lang/rust/work/rust-bootstrap/bin/cargo: Cannot
write-enable text segment: Permission denied
Traceback (most recent call last):
   File "./x.py", line 20, in <module>
     bootstrap.main()
   File
"/var/obj/pkgsrc/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py",
line 756, in main
     bootstrap()
   File
"/var/obj/pkgsrc/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py",
line 736, in bootstrap
     build.build_bootstrap()
   File
"/var/obj/pkgsrc/lang/rust/work/rustc-1.22.1-src/src/bootstrap/bootstrap.py",
line 624, in build_bootstrap
     run(args, env=env, verbose=self.verbose)
   File
"/var/obj/pkgsrc/lang/rust/work/rustc-1.22.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.22.1-src/src/bootstrap/Cargo.toml
--verbose --frozen
*** Error code 1

which, of course, blocks a firefox update.

Is this a known issue, or would there be local issues? My /etc/mk.conf
does not have anything related.

Cheerio,
hauke

--
      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