Package: ruby-passenger Version: 3.0.11 Severity: serious Justification: fails to build from source
Dear Maintainer, I tested the nginx 1.1.18 build under hurd-i386, and here is the error log for nginx-passenger : (in /root/compile/nginx-1.1.18/debian/modules/ruby-passenger) mkdir -p ext/common/libboost_oxt g++ -Iext -D_REENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/common/libboost_oxt/aggregate.o -c ext/common/libboost_oxt/aggregate.cpp mkdir -p ext/common/libboost_oxt rm -rf ext/common/libboost_oxt.a ar cru ext/common/libboost_oxt.a ext/common/libboost_oxt/aggregate.o ranlib ext/common/libboost_oxt.a mkdir -p ext/common/libpassenger_common g++ -Iext -Iext/common -I/usr/include/libev -D_REENTRANT -I/usr/local/include -DHASH_NAMESPACE="__gnu_cxx" -DHASH_NAMESPACE="__gnu_cxx" -DHASH_FUN_H="<hash_fun.h>" -DHAS_ALLOCA_H -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -g -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -o ext/common/libpassenger_common/aggregate.o -c ext/common/libpassenger_common/aggregate.cpp In file included from ext/common/ServerInstanceDir.h:42:0, from ext/common/AccountsDatabase.h:33, from ext/common/AccountsDatabase.cpp:31, from ext/common/libpassenger_common/aggregate.cpp:5: ext/common/Utils.h: In constructor ‘Passenger::BufferedUpload::BufferedUpload(const string&, const char*)’: ext/common/Utils.h:403:14: error: ‘PATH_MAX’ was not declared in this scope ext/common/Utils.h:406:12: error: ‘templ’ was not declared in this scope In file included from ext/common/libpassenger_common/aggregate.cpp:10:0: ext/common/Utils.cpp: In function ‘std::string Passenger::resolveSymlink(const string&)’: ext/common/Utils.cpp:240:11: error: ‘PATH_MAX’ was not declared in this scope ext/common/Utils.cpp:243:32: error: ‘buf’ was not declared in this scope ext/common/Utils.cpp: In function ‘void Passenger::removeDirTree(const string&)’: ext/common/Utils.cpp:531:15: error: ‘PATH_MAX’ was not declared in this scope ext/common/Utils.cpp:534:11: error: ‘command’ was not declared in this scope In file included from ext/common/libpassenger_common/aggregate.cpp:13:0: ext/common/Utils/IOUtils.cpp: In function ‘ssize_t Passenger::gatheredWrite(int, const Passenger::StaticString*, unsigned int, std::string&)’: ext/common/Utils/IOUtils.cpp:732:61: error: ‘IOV_MAX’ was not declared in this scope ext/common/Utils/IOUtils.cpp:785:61: error: ‘IOV_MAX’ was not declared in this scope ext/common/Utils/IOUtils.cpp: In function ‘void Passenger::gatheredWrite(int, const Passenger::StaticString*, unsigned int, long long unsigned int*)’: ext/common/Utils/IOUtils.cpp:874:69: error: ‘IOV_MAX’ was not declared in this scope rake aborted! Command failed with status (1): [g++ -Iext -Iext/common -I/usr/include/libe...] Tasks: TOP => nginx => agents/nginx/PassengerHelperAgent => ext/common/libpassenger_common.a => ext/common/libpassenger_common/aggregate.o (See full trace by running task with --trace) make: *** [config.status.passenger] Error 1 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1350: dpkg-buildpackage -rfakeroot -D -us -uc failed Apparently, ruby-passenger uses PATH_MAX, which does not exists under hurd-i386. Thanks for taking time to work on this bug. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org