8000 building Grin openbsd · Issue #3776 · mimblewimble/grin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
building Grin openbsd #3776
Open
Open
@cactuspatch

Description

@cactuspatch

openbsd now ships with updated rust packages. (not_rust-up) I'm hoping there can be a successful build on obsd platforms.
errors thrown during build process follows:

Compiling darling_core v0.10.2
error[E0432]: unresolved import `self::os`
 --> /home/cuento/.cargo/registry/src/index.crates.io-1cd66030c949c28d/liblmdb-sys-0.2.2/src/lib.rs:5:15
  |
5 | pub use self::os::{mdb_mode_t, mdb_filehandle_t};
  |               ^^
  |               |
  |               unresolved import
  |               help: a similar path exists: `std::os`

For more information about this error, try `rustc --explain E0432`.
The following warnings were emitted during compilation:

warning: mdb/libraries/liblmdb/mdb.c:9821:33: warning: unused parameter 'env' [-Wunused-parameter]
warning: mdb_env_get_maxkeysize(MDB_env *env)
warning:                                 ^
warning: 1 warning generated.

error: could not compile `liblmdb-sys` (lib) due to previous error

Second:





                                                                    

warning: CRoaring/roaring.c:287:10: fatal error: 'malloc.h' file not found                                                     
warning: #include <malloc.h>  // this should never be needed but there are some reports that it is                              needed.                                                                                                                       
warning:          ^~~~~~~~~~                                                                                                   
warning: 1 error generated.                                                                                                    

error: failed to run custom build command for `croaring-sys v0.5.2`                                                            

Caused by:                                                                                                                     
  process didn't exit successfully: `/home/cuento/grin/target/release/build/croaring-sys-09e6b                             81596a21284/build-script-build` (exit status: 1)                                                                               
  --- stdout                                                                                                                   
  cargo:rerun-if-changed=CRoaring                                                                                              
  cargo:rerun-if-env-changed=ROARING_ARCH                                                                                      
  TARGET = Some("i686-unknown-openbsd")                                                                                        
  OPT_LEVEL = Some("3")                                                                                                        
  HOST = Some("i686-unknown-openbsd")                                                                                          
  cargo:rerun-if-env-changed=CC_i686-unknown-openbsd                                                                           
  CC_i686-unknown-openbsd = None                                                                                               
  cargo:rerun-if-env-changed=CC_i686_unknown_openbsd   
 CC_i686_unknown_openbsd = None                                                                                               
  cargo:rerun-if-env-changed=HOST_CC                                                                                           
  HOST_CC = None                                                                                                               
  cargo:rerun-if-env-changed=CC                                                                                                
  CC = None                                                                                                                    
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS                                                                              
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = None
  cargo:rerun-if-env-changed=CFLAGS_i686-unknown-openbsd
  CFLAGS_i686-unknown-openbsd = None
  cargo:rerun-if-env-changed=CFLAGS_i686_unknown_openbsd
  CFLAGS_i686_unknown_openbsd = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-Wall" "-Wextra" "-Wno-unused-function" "-o" "/home/woodstock2/grin/target/release/build/croaring-sys-b4266b1e615e10b4/out/CRoaring/roaring.o" "-c" "CRoaring/roaring.c"
  cargo:warning=CRoaring/roaring.c:287:10: fatal error: 'malloc.h' file not found

  cargo:warning=#include <malloc.h>  // this should never be needed but there are some reports that it is needed.

  cargo:warning=         ^~~~~~~~~~

  cargo:warning=1 error generated.

  exit status: 1

  --- stderr

error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-Wall" "-Wextra" "-Wno-unused-function" "-o" "/home/woodstock2/grin/target/release/build/croaring-sys-b4266b1e615e10b4/out/CRoaring/roaring.o" "-c" "CRoaring/roaring.c" with args "cc" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...xit status: 1)                                                                               
  --- stdout                                                                                                                   
  cargo:rerun-if-changed=CRoaring                                                                                              
  cargo:rerun-if-env-changed=ROARING_ARCH                                                                                      
  TARGET = Some("i686-unknown-openbsd")                                                                                        
  OPT_LEVEL = Some("3")                                                                                                        
  HOST = Some("i686-unknown-openbsd")                                                                                          
  cargo:rerun-if-env-changed=CC_i686-unknown-openbsd                                                                           
  CC_i686-unknown-openbsd = None                                                                                               
  cargo:rerun-if-env-changed=CC_i686_unknown_openbsd   
 CC_i686_unknown_openbsd = None                                                                                               
  cargo:rerun-if-env-changed=HOST_CC                                                                                           
  HOST_CC = None                                                                                                               
  cargo:rerun-if-env-changed=CC                                                                                                
  CC = None                                                                                                                    
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS                                                                              
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = None
  cargo:rerun-if-env-changed=CFLAGS_i686-unknown-openbsd
  CFLAGS_i686-unknown-openbsd = None
  cargo:rerun-if-env-changed=CFLAGS_i686_unknown_openbsd
  CFLAGS_i686_unknown_openbsd = None
  cargo:rerun-if-env-changed=HOST_CFLAGS
  HOST_CFLAGS = None
  cargo:rerun-if-env-changed=CFLAGS
  CFLAGS = None
  running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-Wall" "-Wextra" "-Wno-unused-function" "-o" "/home/woodstock2/grin/target/release/build/croaring-sys-b4266b1e615e10b4/out/CRoaring/roaring.o" "-c" "CRoaring/roaring.c"
  cargo:warning=CRoaring/roaring.c:287:10: fatal error: 'malloc.h' file not found

  cargo:warning=#include <malloc.h>  // this should never be needed but there are some reports that it is needed.

  cargo:warning=         ^~~~~~~~~~

  cargo:warning=1 error generated.

  exit status: 1

  --- stderr


  error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m32" "-Wall" "-Wextra" "-Wno-unused-function" "-o" "/home/woodstock2/grin/target/release/build/croaring-sys-b4266b1e615e10b4/out/CRoaring/roaring.o" "-c" "CRoaring/roaring.c" with args "cc" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0