Opened 11 years ago

Closed 11 years ago

#42419 closed defect (fixed)

rust @0.9 (lang, devel) - build failure

Reported by: emarcetta@… Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: larryv (Lawrence Velázquez)
Port: rust

Description

The [sudo] port install rust fails.

Here is a build log ( /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/main.log)

version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main bzip2 1.0.6_0 exists in the ports tree
:debug:main bzip2 1.0.6_0 +universal is the latest installed
:debug:main bzip2 1.0.6_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! bzip2 1.0.6_0 >= bzip2 1.0.6_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main perl5 5.12.4_0 exists in the ports tree
:debug:main perl5 5.12.4_0 +perl5_12 is the latest installed
:debug:main perl5 5.12.4_0 +perl5_12 is active
:debug:main Merging existing variants '+perl5_12' into variants
:debug:main new fully merged portvariants: perl5_12 +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Executing variant perl5_12 provides perl5_12
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! perl5 5.12.4_0 >= perl5 5.12.4_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main perl5.12 5.12.4_3 exists in the ports tree
:debug:main perl5.12 5.12.4_3 +universal is the latest installed
:debug:main perl5.12 5.12.4_3 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5.12
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! perl5.12 5.12.4_3 >= perl5.12 5.12.4_3
:debug:main epoch: in tree: 0 installed: 0
:debug:main gdbm 1.11_0 exists in the ports tree
:debug:main gdbm 1.11_0 +universal is the latest installed
:debug:main gdbm 1.11_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/gdbm
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! gdbm 1.11_0 >= gdbm 1.11_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main gettext 0.18.3.2_0 exists in the ports tree
:debug:main gettext 0.18.3.2_0 +universal is the latest installed
:debug:main gettext 0.18.3.2_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gettext
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main compiler clang 421.11.66 not blacklisted because it doesn't match {clang < 211.10.1}
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! gettext 0.18.3.2_0 >= gettext 0.18.3.2_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main expat 2.1.0_0 exists in the ports tree
:debug:main expat 2.1.0_0 +universal is the latest installed
:debug:main expat 2.1.0_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/expat
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! expat 2.1.0_0 >= expat 2.1.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.14_0 exists in the ports tree
:debug:main libiconv 1.14_0 +universal is the latest installed
:debug:main libiconv 1.14_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libiconv 1.14_0 >= libiconv 1.14_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 5.9_2 exists in the ports tree
:debug:main ncurses 5.9_2 +universal is the latest installed
:debug:main ncurses 5.9_2 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/ncurses
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! ncurses 5.9_2 >= ncurses 5.9_2
:debug:main epoch: in tree: 2 installed: 2
:debug:main python27 2.7.6_0 exists in the ports tree
:debug:main python27 2.7.6_0  is the latest installed
:debug:main python27 2.7.6_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python27
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! python27 2.7.6_0 >= python27 2.7.6_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.8_0 exists in the ports tree
:debug:main zlib 1.2.8_0 +universal is the latest installed
:debug:main zlib 1.2.8_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/archivers/zlib
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! zlib 1.2.8_0 >= zlib 1.2.8_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main openssl 1.0.1f_0 exists in the ports tree
:debug:main openssl 1.0.1f_0 +universal is the latest installed
:debug:main openssl 1.0.1f_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! openssl 1.0.1f_0 >= openssl 1.0.1f_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main sqlite3 3.8.3_1 exists in the ports tree
:debug:main sqlite3 3.8.3_1 +universal is the latest installed
:debug:main sqlite3 3.8.3_1 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/sqlite3
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! sqlite3 3.8.3_1 >= sqlite3 3.8.3_1
:debug:main epoch: in tree: 20090923 installed: 20090923
:debug:main libedit 20121213-3.0_0 exists in the ports tree
:debug:main libedit 20121213-3.0_0 +universal is the latest installed
:debug:main libedit 20121213-3.0_0 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libedit
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! libedit 20121213-3.0_0 >= libedit 20121213-3.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main db46 4.6.21_9 exists in the ports tree
:debug:main db46 4.6.21_9 +universal is the latest installed
:debug:main db46 4.6.21_9 +universal is active
:debug:main Merging existing variants '+universal' into variants
:debug:main new fully merged portvariants: universal +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db46
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Executing variant universal provides universal
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! db46 4.6.21_9 >= db46 4.6.21_9
:debug:main epoch: in tree: 0 installed: 0
:debug:main db_select 0.1_2 exists in the ports tree
:debug:main db_select 0.1_2  is the latest installed
:debug:main db_select 0.1_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/db_select
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! db_select 0.1_2 >= db_select 0.1_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main python_select 0.3_3 exists in the ports tree
:debug:main python_select 0.3_3  is the latest installed
:debug:main python_select 0.3_3  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/python_select
:debug:main OS darwin/12.5.0 (Mac OS X 10.8) arch i386
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main No need to upgrade! python_select 0.3_3 >= python_select 0.3_3
:msg:main --->  Computing dependencies for rust:info:main .:debug:main rust has no conflicts
:debug:main Searching for dependency: bzip2
:debug:main Found Dependency: receipt exists for bzip2
:debug:main Searching for dependency: perl5
:debug:main Found Dependency: receipt exists for perl5
:debug:main Searching for dependency: python27
:debug:main Found Dependency: receipt exists for python27
:msg:main 
:debug:main Executing org.macports.main (rust)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 504
:debug:main euid changed to: 505
:debug:main Skipping completed org.macports.archivefetch (rust)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (rust)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (rust)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (rust)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (rust)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (rust)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sat Feb  8 21:48:24 PST 2014
:notice:build --->  Building rust
:debug:build Executing org.macports.build (rust)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9" && /usr/bin/gnumake -j8 -w all VERBOSE=1 CC=/usr/bin/clang CXX=/usr/bin/clang++ CPP="/usr/bin/clang -E"'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9" && /usr/bin/gnumake -j8 -w all VERBOSE=1 CC=/usr/bin/clang CXX=/usr/bin/clang++ CPP="/usr/bin/clang -E" 
:info:build cfg: build triple x86_64-apple-darwin
:info:build cfg: host triples x86_64-apple-darwin
:info:build cfg: target triples x86_64-apple-darwin i686-apple-darwin
:info:build cfg: non-build target triples i686-apple-darwin
:info:build cfg: enabling more debugging (CFG_ENABLE_DEBUG)
:info:build cfg: host for x86_64-apple-darwin is x86_64
:info:build cfg: host for i686-apple-darwin is i386
:info:build cfg: os for x86_64-apple-darwin is apple-darwin
:info:build cfg: os for i686-apple-darwin is apple-darwin
:info:build cfg: using clang
:info:build cfg: no pandoc found, omitting docs
:info:build cfg: no node found, omitting docs
:info:build cfg: no llnextgen found, omitting grammar-verification
:info:build cfg: disabling doc build (CFG_DISABLE_DOCS)
:info:build gnumake: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9'
:info:build MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'libstd-*.dylib\' "libraries:" $MATCHES; rm $MATCHES ; fi
:info:build MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'libstd-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
:info:build x86_64-apple-darwin/stage0/bin/rustc --cfg stage0  -O --cfg rtopt --cfg debug -Z no-debug-borrows -Z prefer-dynamic --target=x86_64-apple-darwin  -W warnings -L x86_64-apple-darwin/stage0/lib/rustlib/x86_64-apple-darwin/lib --out-dir x86_64-apple-darwin/stage0/lib/rustlib/x86_64-apple-darwin/lib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/lib.rs && touch x86_64-apple-darwin/stage0/lib/rustlib/x86_64-apple-darwin/lib/libstd.dylib
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240:24: 240:27 error: cannot infer an appropriate lifetime for region in type/impl due to conflicting requirements
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240                 return itb.next() != Some(bytes!(".."));
:info:build                                                                                                                                                                                 ^~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240:38: 240:56 note: first, the lifetime cannot outlive the call at 240:37...
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240                 return itb.next() != Some(bytes!(".."));
:info:build                                                                                                                                                                                               ^~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240:38: 240:56 note: ...so that return value is valid for the call
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240                 return itb.next() != Some(bytes!(".."));
:info:build                                                                                                                                                                                               ^~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240:24: 240:56 note: but, the lifetime must be valid for the expression at 240:23...
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240                 return itb.next() != Some(bytes!(".."));
:info:build                                                                                                                                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240:24: 240:37 note: ...so that method receiver is valid for the method call
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/posix.rs:240                 return itb.next() != Some(bytes!(".."));
:info:build                                                                                                                                                                                 ^~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/windows.rs:390:29: 390:44 error: mismatched types: expected `|&[u8]| -> <generic #1>` but found `unsafe fn(<generic #2>) -> <generic #3>` (expected fn but found extern fn)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/windows.rs:390         self.filestem().map(cast::transmute)
:info:build                                                                                                                                                                                        ^~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/windows.rs:396:30: 396:45 error: mismatched types: expected `|&[u8]| -> <generic #1>` but found `unsafe fn(<generic #2>) -> <generic #3>` (expected fn but found extern fn)
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/path/windows.rs:396         self.extension().map(cast::transmute)
:info:build                                                                                                                                                                                         ^~~~~~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/unstable/intrinsics.rs:312:9: 312:45 error: unrecognized intrinsic function: `move_val`
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9/src/libstd/unstable/intrinsics.rs:312     pub fn move_val<T>(dst: &mut T, src: T);
:info:build                                                                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build error: aborting due to 4 previous errors
:info:build gnumake: *** [x86_64-apple-darwin/stage0/lib/rustlib/x86_64-apple-darwin/lib/libstd.dylib] Error 101
:info:build gnumake: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/work/rust-0.9" && /usr/bin/gnumake -j8 -w all VERBOSE=1 CC=/usr/bin/clang CXX=/usr/bin/clang++ CPP="/usr/bin/clang -E" 
:info:build Exit code: 2
:error:build org.macports.build for port rust returned: command execution failed
:debug:build Error code: CHILDSTATUS 20542 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for rust: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port rust for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/main.log

Attachments (2)

main.log (28.8 KB) - added by emarcetta@… 11 years ago.
The build log: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/main.log
main.log.r116898 (3.5 MB) - added by emarcetta@… 11 years ago.
Error log with the snapshot 2014-01-05

Change History (10)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added
Keywords: rust removed
Owner: changed from macports-tickets@… to g5pw@…

Please attach huge logs instead of pasting them inline.

Changed 11 years ago by emarcetta@…

Attachment: main.log added

The build log: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_rust/rust/main.log

comment:2 Changed 11 years ago by g5pw (Aljaž Srebrnič)

It looks like the snapshot is too new, I'll try rolling back to 2014-01-05, but we might get hit by issue #11162. Larry, what do you think, should we add a note that the build is incompatible with llvm3.3 active, or check and bail if it's installed at pre-configure?

comment:3 Changed 11 years ago by g5pw (Aljaž Srebrnič)

Should be resolved with r116898.

Changed 11 years ago by emarcetta@…

Attachment: main.log.r116898 added

Error log with the snapshot 2014-01-05

comment:4 Changed 11 years ago by emarcetta@…

Attached the error log with he 2014-01-05 snapshot (fails with the different error now).

comment:5 Changed 11 years ago by g5pw (Aljaž Srebrnič)

Yeah, I'm seeing errors from the build bots now, too. It built cleanly on my machine, though.

comment:6 Changed 11 years ago by g5pw (Aljaž Srebrnič)

Can you try compiling it with clang-3.4? Maybe it's just a compiler issue.

comment:7 Changed 11 years ago by emarcetta@…

OK - I managed to get a good build with my current environment.

clang --version
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin12.5.0

I've edited the src/libstd/unstable/finally.rs manually - as per described in the first comment https://github.com/mozilla/rust/issues/11162 (follow the part "Commenting out the #[inline] attribute makes rust compile successfully for me.")

I'm good atm and would prefer not to mess with downgrading compilers etc. If I understood the whole story correctly, it seems that the upcoming rust "0.10-pre" should fix the issue with the latest snapshot 2014-01-20. While the 2014-01-05 snapshot is not compatible with the llvm 3.3 and requires patching (what I did).

comment:8 Changed 11 years ago by g5pw (Aljaž Srebrnič)

Resolution: fixed
Status: newclosed

Rust was updated to 0.10 in r118540. The bug should be solved, but I see the compiler segfaulting on some build bots. Let me know if it doesn't work.

Note: See TracTickets for help on using tickets.