Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DragonFlyBSD v5.6.2-RELEASE : h2o can not be installed #2220

Open
UlasSAYGIN opened this issue Dec 29, 2019 · 3 comments
Open

DragonFlyBSD v5.6.2-RELEASE : h2o can not be installed #2220

UlasSAYGIN opened this issue Dec 29, 2019 · 3 comments

Comments

@UlasSAYGIN
Copy link

hi ,

I would like to try h2o on dragonflybsd but i couldnt success about it.
Firstly , one of the dependent port asked py27-setuptools and stoped to install than i install seperately python 2.7 and devel/py-setuptools then i continue to install but this time
mruby gives error and i thought i can skip that by canceling Mruby option from port option than i tried again but this time give error again and it says something is not there. important file does not exist.

First Error Related to Python in this case dependent port python 2.7 has not been installed but this port ask its setup tool.

open-source-parsers-jsoncpp-1.8.1_GH0.tar.gz 205 kB 345 kBps 01s
===> Fetching all distfiles required by jsoncpp-1.8.1_7 for building
===> Extracting for jsoncpp-1.8.1_7
=> SHA256 Checksum OK for open-source-parsers-jsoncpp-1.8.1_GH0.tar.gz.
===> Patching for jsoncpp-1.8.1_7
===> Converting DOS text files to UNIX text files
===> Applying ports patches for jsoncpp-1.8.1_7
===> jsoncpp-1.8.1_7 depends on file: /usr/local/bin/scons - not found
===> License MIT accepted by the user
===> scons-3.1.1 depends on file: /usr/local/sbin/pkg - found
=> scons-3.1.1.tar.gz doesn't seem to exist in /usr/distfiles/.
=> Attempting to fetch https://downloads.sourceforge.net/project/scons/scons/3.1.1/scons-3.1.1.tar.gz
scons-3.1.1.tar.gz 648 kB 236 kBps 03s
===> Fetching all distfiles required by scons-3.1.1 for building
===> Extracting for scons-3.1.1
=> SHA256 Checksum OK for scons-3.1.1.tar.gz.
===> Patching for scons-3.1.1
===> Applying ports patches for scons-3.1.1
===> Applying dragonfly patches for scons-3.1.1
===> scons-3.1.1 depends on package: py27-setuptools>0 - not found
===> scons-3.1.1 depends on package: py27-setuptools>0 - not found
*** Error code 1

Stop.
make[7]: stopped in /usr/dports/devel/scons
*** Error code 1

Stop.
make[6]: stopped in /usr/dports/devel/jsoncpp
*** Error code 1

Stop.
make[5]: stopped in /usr/dports/devel/cmake
*** Error code 1

Stop.
make[4]: stopped in /usr/dports/devel/cmake
*** Error code 1

Stop.
make[3]: stopped in /usr/dports/devel/cmake
*** Error code 1

Stop.
make[2]: stopped in /usr/dports/www/h2o
*** Error code 1

Stop.
make[1]: stopped in /usr/dports/www/h2o
*** Error code 1

Stop.
make: stopped in /usr/dports/www/h2o

----------- After Python and setuptools installed i got this error

CC mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.c -> ../../../.build/mruby/host/mrbgems/mruby-bin-mrbc/tools/mrbc/mrbc.o
CC mrbgems/mruby-compiler/core/codegen.c -> ../../../.build/mruby/host/mrbgems/mruby-compiler/core/codegen.o
YACC mrbgems/mruby-compiler/core/parse.y -> ../../../.build/mruby/host/mrbgems/mruby-compiler/core/y.tab.c
/staging/www/h2o/h2o-2.2.6/deps/mruby/mrbgems/mruby-compiler/core/parse.y:1043.1-12: warning: deprecated directive, use '%define api.pure' [-Wdeprecated]
1043 | %pure-parser
| ^~~~~~~~~~~~
/staging/www/h2o/h2o-2.2.6/deps/mruby/mrbgems/mruby-compiler/core/parse.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother]
CC ../../../.build/mruby/host/mrbgems/mruby-compiler/core/y.tab.c -> ../../../.build/mruby/host/mrbgems/mruby-compiler/core/y.tab.o
AR ../../../.build/mruby/host/lib/libmruby_core.a
/usr/libexec/binutils227/elf/ar: creating /staging/www/h2o/.build/mruby/host/lib/libmruby_core.a
LD ../../../.build/mruby/host/bin/mrbc
GEN *.rb -> ../../../.build/mruby/host/mrblib/mrblib.c
MRBC mrblib/00class.rb
MRBC mrblib/10error.rb
MRBC mrblib/array.rb
MRBC mrblib/compar.rb
MRBC mrblib/enum.rb
MRBC mrblib/hash.rb
MRBC mrblib/kernel.rb
MRBC mrblib/numeric.rb
MRBC mrblib/range.rb
MRBC mrblib/string.rb
CC ../../../.build/mruby/host/mrblib/mrblib.c -> ../../../.build/mruby/host/mrblib/mrblib.o
CC ../mruby-digest/src/digest.c -> ../../../.build/mruby/host/mrbgems/mruby-digest/src/digest.o
In file included from /staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/digest.c:19:
/staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/picohash.h:29:10: fatal error: endian.h: No such file or directory
#include <endian.h> // machine/endian.h
^~~~~~~~~~
compilation terminated.
In file included from /staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/digest.c:19:
/staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/picohash.h:29:10: fatal error: endian.h: No such file or directory
#include <endian.h> // machine/endian.h
^~~~~~~~~~
compilation terminated.
rake aborted!
Command Failed: [cc -O2 -pipe -fno-strict-aliasing -march=native -DMRBGEM_MRUBY_DIGEST_VERSION=0.0.0 -I"/staging/www/h2o/h2o-2.2.6/deps/mruby/include" -MMD -o "/staging/www/h2o/.build/mruby/host/mrbgems/mruby-digest/src/digest.o" -c "/staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/digest.c"]

*** [CMakeFiles/mruby] Error code 1

make[5]: stopped in /staging/www/h2o/.build
1 error

make[5]: stopped in /staging/www/h2o/.build
*** [CMakeFiles/mruby.dir/all] Error code 2

make[4]: stopped in /staging/www/h2o/.build
1 error

make[4]: stopped in /staging/www/h2o/.build
*** [all] Error code 2

make[3]: stopped in /staging/www/h2o/.build
1 error

make[3]: stopped in /staging/www/h2o/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/dports/www/h2o
*** Error code 1

Stop.
make[1]: stopped in /usr/dports/www/h2o
*** Error code 1

Stop.
make: stopped in /usr/dports/www/h2o

--------- I Changed option mruby as uncheck and try again -------------

/usr/local/bin/cmake -S/staging/www/h2o/h2o-2.2.6 -B/staging/www/h2o/.build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/bin/cmake -E cmake_progress_start /staging/www/h2o/.build/CMakeFiles /staging/www/h2o/.build/CMakeFiles/progress.marks
/usr/bin/make -f CMakeFiles/Makefile2 all
--- CMakeFiles/libh2o.dir/all ---
--- CMakeFiles/libh2o-evloop.dir/all ---
--- CMakeFiles/mruby.dir/all ---
--- CMakeFiles/libh2o.dir/all ---
/usr/bin/make -f CMakeFiles/libh2o.dir/build.make CMakeFiles/libh2o.dir/depend
--- CMakeFiles/libh2o-evloop.dir/all ---
/usr/bin/make -f CMakeFiles/libh2o-evloop.dir/build.make CMakeFiles/libh2o-evloop.dir/depend
--- CMakeFiles/mruby.dir/all ---
/usr/bin/make -f CMakeFiles/mruby.dir/build.make CMakeFiles/mruby.dir/depend
--- CMakeFiles/mruby.dir/depend ---
cd /staging/www/h2o/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /staging/www/h2o/h2o-2.2.6 /staging/www/h2o/h2o-2.2.6 /staging/www/h2o/.build /staging/www/h2o/.build /staging/www/h2o/.build/CMakeFiles/mruby.dir/DependInfo.cmake --color=
/usr/bin/make -f CMakeFiles/mruby.dir/build.make CMakeFiles/mruby.dir/build
--- CMakeFiles/mruby ---
--- CMakeFiles/libh2o.dir/all ---
--- CMakeFiles/libh2o.dir/depend ---
--- CMakeFiles/mruby.dir/all ---
cd /staging/www/h2o/h2o-2.2.6/deps/mruby && MRUBY_TOOLCHAIN=gcc MRUBY_CONFIG=/staging/www/h2o/h2o-2.2.6/misc/mruby_config.rb MRUBY_BUILD_DIR=/staging/www/h2o/.build/mruby ruby minirake
--- CMakeFiles/libh2o.dir/all ---
cd /staging/www/h2o/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /staging/www/h2o/h2o-2.2.6 /staging/www/h2o/h2o-2.2.6 /staging/www/h2o/.build /staging/www/h2o/.build /staging/www/h2o/.build/CMakeFiles/libh2o.dir/DependInfo.cmake --color=
--- CMakeFiles/libh2o-evloop.dir/all ---
--- CMakeFiles/libh2o-evloop.dir/depend ---
cd /staging/www/h2o/.build && /usr/local/bin/cmake -E cmake_depends "Unix Makefiles" /staging/www/h2o/h2o-2.2.6 /staging/www/h2o/h2o-2.2.6 /staging/www/h2o/.build /staging/www/h2o/.build /staging/www/h2o/.build/CMakeFiles/libh2o-evloop.dir/DependInfo.cmake --color=
--- CMakeFiles/libh2o.dir/all ---
/usr/bin/make -f CMakeFiles/libh2o.dir/build.make CMakeFiles/libh2o.dir/build
--- CMakeFiles/libh2o-evloop.dir/all ---
/usr/bin/make -f CMakeFiles/libh2o-evloop.dir/build.make CMakeFiles/libh2o-evloop.dir/build
--- CMakeFiles/libh2o.dir/all ---
[ 26%] Built target libh2o
--- CMakeFiles/libh2o-evloop.dir/all ---
[ 55%] Built target libh2o-evloop
--- CMakeFiles/mruby.dir/all ---
(in /staging/www/h2o/h2o-2.2.6/deps/mruby)
PKG-CONFIG onigmo
PKG-CONFIG oniguruma
CC ../mruby-digest/src/digest.c -> ../../../.build/mruby/host/mrbgems/mruby-digest/src/digest.o
In file included from /staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/digest.c:19:
/staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/picohash.h:29:10: fatal error: endian.h: No such file or directory
#include <endian.h> // machine/endian.h
^~~~~~~~~~
compilation terminated.
In file included from /staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/digest.c:19:
/staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/picohash.h:29:10: fatal error: endian.h: No such file or directory
#include <endian.h> // machine/endian.h
^~~~~~~~~~
compilation terminated.
rake aborted!
Command Failed: [cc -O2 -pipe -fno-strict-aliasing -march=native -DMRBGEM_MRUBY_DIGEST_VERSION=0.0.0 -I"/staging/www/h2o/h2o-2.2.6/deps/mruby/include" -MMD -o "/staging/www/h2o/.build/mruby/host/mrbgems/mruby-digest/src/digest.o" -c "/staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/digest.c"]

*** [CMakeFiles/mruby] Error code 1

make[5]: stopped in /staging/www/h2o/.build
1 error

make[5]: stopped in /staging/www/h2o/.build
*** [CMakeFiles/mruby.dir/all] Error code 2

make[4]: stopped in /staging/www/h2o/.build
1 error

make[4]: stopped in /staging/www/h2o/.build
*** [all] Error code 2

make[3]: stopped in /staging/www/h2o/.build
1 error

make[3]: stopped in /staging/www/h2o/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/dports/www/h2o
*** Error code 1

Stop.
make[1]: stopped in /usr/dports/www/h2o
*** Error code 1

Stop.
make: stopped in /usr/dports/www/h2o

------------ Last Try , i deleted port tree and i got latest port tree from dragonflybsd GitHub to be sure about missing file in case any mistake for copying. but it gives this error ------

(in /staging/www/h2o/h2o-2.2.6/deps/mruby)
PKG-CONFIG onigmo
PKG-CONFIG oniguruma
CC ../mruby-digest/src/digest.c -> ../../../.build/mruby/host/mrbgems/mruby-digest/src/digest.o
In file included from /staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/digest.c:19:
/staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/picohash.h:29:10: fatal error: endian.h: No such file or directory
#include <endian.h> // machine/endian.h
^~~~~~~~~~
compilation terminated.
In file included from /staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/digest.c:19:
/staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/picohash.h:29:10: fatal error: endian.h: No such file or directory
#include <endian.h> // machine/endian.h
^~~~~~~~~~
compilation terminated.
rake aborted!
Command Failed: [cc -O2 -pipe -fno-strict-aliasing -march=native -DMRBGEM_MRUBY_DIGEST_VERSION=0.0.0 -I"/staging/www/h2o/h2o-2.2.6/deps/mruby/include" -MMD -o "/staging/www/h2o/.build/mruby/host/mrbgems/mruby-digest/src/digest.o" -c "/staging/www/h2o/h2o-2.2.6/deps/mruby-digest/src/digest.c"]

*** [CMakeFiles/mruby] Error code 1

make[5]: stopped in /staging/www/h2o/.build
1 error

make[5]: stopped in /staging/www/h2o/.build
*** [CMakeFiles/mruby.dir/all] Error code 2

make[4]: stopped in /staging/www/h2o/.build
1 error

make[4]: stopped in /staging/www/h2o/.build
*** [all] Error code 2

make[3]: stopped in /staging/www/h2o/.build
1 error

make[3]: stopped in /staging/www/h2o/.build
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/dports/www/h2o
*** Error code 1

Stop.
make[1]: stopped in /usr/dports/www/h2o
*** Error code 1

Stop.
make: stopped in /usr/dports/www/h2o

@UlasSAYGIN UlasSAYGIN changed the title DragonFlyBSD v5.6.2-RELEASE Can not install DragonFlyBSD v5.6.2-RELEASE : h2o can not be installed Dec 29, 2019
@UlasSAYGIN
Copy link
Author

h2o-devel is installed without problem.

@kazuho
Copy link
Member

kazuho commented Jan 4, 2020

Thank you for reporting the problem. Looks like an issue of picohash. Filed the above issue, I am happy to look into proposed fixes.

@UlasSAYGIN
Copy link
Author

i am happy to find something to help development. thank you for your work @kazuho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants