Bug#843965: php-pecl-http: FTBFS: conftest.c:32:27: fatal error: unicode/uidna.h: No such file or directory

2016-11-11 Thread Chris Lamb
Adrian Bunk wrote:

> Some checks in configure are always expected to fail, the most important 
> part of the log is the last configure output before the cat of config.log 
> starts:

Indeed, sorry I selected the wrong bit for the title. :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#843965: php-pecl-http: FTBFS: conftest.c:32:27: fatal error: unicode/uidna.h: No such file or directory

2016-11-11 Thread Adrian Bunk
Control: retitle -1 php-pecl-http must build-depend on zlib1g-dev


On Fri, Nov 11, 2016 at 09:46:01AM +, Chris Lamb wrote:
>...
> php-pecl-http fails to build from source in unstable/amd64:
>...
>   configure:5784: checking for zlib.h
>   configure:5794: result: not found
>   configure:5796: error: could not find zlib.h
>...

This is the actual problem.

Some checks in configure are always expected to fail, the most important 
part of the log is the last configure output before the cat of config.log 
starts:

...
checking unicode/uidna.h usability... no
checking unicode/uidna.h presence... no
checking for unicode/uidna.h... no
checking for icu-config... no
checking for uidna_IDNToASCII... checking for zlib.h... not found
configure: error: could not find zlib.h
"tail -v -n +0 config.log"
==> config.log <==
...


This is likely fallout from the change that libssl-dev no longer 
depending on zlib1g-dev. exposing missing (build)dependencies on
zlib1g-dev elsewhere.


> Regards,

cu
Adrian

-- 

   "Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
   "Only a promise," Lao Er said.
   Pearl S. Buck - Dragon Seed



Bug#843965: php-pecl-http: FTBFS: conftest.c:32:27: fatal error: unicode/uidna.h: No such file or directory

2016-11-11 Thread Chris Lamb
Source: php-pecl-http
Version: 3.0.1+2.5.6-6
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

php-pecl-http fails to build from source in unstable/amd64:

  […]

  | #define HAVE_NETDB_H 1
  | #define HAVE_UNISTD_H 1
  | #define HAVE_WCHAR_H 1
  | #define HAVE_WCTYPE_H 1
  | #define HAVE_ARPA_INET_H 1
  | #define HAVE_GETHOSTNAME 1
  | #define HAVE_GETDOMAINNAME 1
  | #define HAVE_MBRTOWC 1
  | #define HAVE_MBTOWC 1
  | #define HAVE_ISWALNUM 1
  | #define HAVE_INET_PTON 1
  | /* end confdefs.h.  */
  | #include 
  | #ifdef HAVE_SYS_TYPES_H
  | # include 
  | #endif
  | #ifdef HAVE_SYS_STAT_H
  | # include 
  | #endif
  | #ifdef STDC_HEADERS
  | # include 
  | # include 
  | #else
  | # ifdef HAVE_STDLIB_H
  | #  include 
  | # endif
  | #endif
  | #ifdef HAVE_STRING_H
  | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  | #  include 
  | # endif
  | # include 
  | #endif
  | #ifdef HAVE_STRINGS_H
  | # include 
  | #endif
  | #ifdef HAVE_INTTYPES_H
  | # include 
  | #endif
  | #ifdef HAVE_STDINT_H
  | # include 
  | #endif
  | #ifdef HAVE_UNISTD_H
  | # include 
  | #endif
  | #include 
  configure:5418: result: no
  configure:5418: checking unicode/uidna.h presence
  configure:5418: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
  conftest.c:32:27: fatal error: unicode/uidna.h: No such file or directory
   #include 
 ^
  compilation terminated.
  configure:5418: $? = 1
  configure: failed program was:
  | /* confdefs.h */
  | #define PACKAGE_NAME ""
  | #define PACKAGE_TARNAME ""
  | #define PACKAGE_VERSION ""
  | #define PACKAGE_STRING ""
  | #define PACKAGE_BUGREPORT ""
  | #define PACKAGE_URL ""
  | #define PHP_HTTP_SHARED_DEPS 1
  | #define STDC_HEADERS 1
  | #define HAVE_SYS_TYPES_H 1
  | #define HAVE_SYS_STAT_H 1
  | #define HAVE_STDLIB_H 1
  | #define HAVE_STRING_H 1
  | #define HAVE_MEMORY_H 1
  | #define HAVE_STRINGS_H 1
  | #define HAVE_INTTYPES_H 1
  | #define HAVE_STDINT_H 1
  | #define HAVE_UNISTD_H 1
  | #define HAVE_MBSTATE_T 1
  | #define HAVE_NETDB_H 1
  | #define HAVE_UNISTD_H 1
  | #define HAVE_WCHAR_H 1
  | #define HAVE_WCTYPE_H 1
  | #define HAVE_ARPA_INET_H 1
  | #define HAVE_GETHOSTNAME 1
  | #define HAVE_GETDOMAINNAME 1
  | #define HAVE_MBRTOWC 1
  | #define HAVE_MBTOWC 1
  | #define HAVE_ISWALNUM 1
  | #define HAVE_INET_PTON 1
  | /* end confdefs.h.  */
  | #include 
  configure:5418: result: no
  configure:5418: checking for unicode/uidna.h
  configure:5418: result: no
  configure:5601: checking for icu-config
  configure:5633: result: no
  configure:5644: checking for uidna_IDNToASCII
  configure:5784: checking for zlib.h
  configure:5794: result: not found
  configure:5796: error: could not find zlib.h
  
  ##  ##
  ## Cache variables. ##
  ##  ##
  
  ac_cv_build=x86_64-pc-linux-gnu
  ac_cv_c_compiler_gnu=yes
  ac_cv_env_CC_set=
  ac_cv_env_CC_value=
  ac_cv_env_CFLAGS_set=set
  ac_cv_env_CFLAGS_value='-g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.2016094510.0meYyZRF7c.db.php-pecl-http/php-pecl-http-3.0.1+2.5.6=.
 -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic'
  ac_cv_env_CPPFLAGS_set=set
  ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2'
  ac_cv_env_CPP_set=
  ac_cv_env_CPP_value=
  ac_cv_env_LDFLAGS_set=set
  ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed'
  ac_cv_env_LIBS_set=
  ac_cv_env_LIBS_value=
  ac_cv_env_LT_SYS_LIBRARY_PATH_set=
  ac_cv_env_LT_SYS_LIBRARY_PATH_value=
  ac_cv_env_build_alias_set=set
  ac_cv_env_build_alias_value=x86_64-linux-gnu
  ac_cv_env_host_alias_set=
  ac_cv_env_host_alias_value=
  ac_cv_env_target_alias_set=
  ac_cv_env_target_alias_value=
  ac_cv_func_getdomainname=yes
  ac_cv_func_gethostname=yes
  ac_cv_func_inet_pton=yes
  ac_cv_func_iswalnum=yes
  ac_cv_func_mbrtowc=yes
  ac_cv_func_mbtowc=yes
  ac_cv_header_arpa_inet_h=yes
  ac_cv_header_inttypes_h=yes
  ac_cv_header_memory_h=yes
  ac_cv_header_netdb_h=yes
  ac_cv_header_stdc=yes
  ac_cv_header_stdint_h=yes
  ac_cv_header_stdlib_h=yes
  ac_cv_header_string_h=yes
  ac_cv_header_strings_h=yes
  ac_cv_header_sys_stat_h=yes
  ac_cv_header_sys_types_h=yes
  ac_cv_header_unicode_uidna_h=no
  ac_cv_header_unistd_h=yes
  ac_cv_header_wchar_h=yes
  ac_cv_header_wctype_h=yes
  ac_cv_host=x86_64-pc-linux-gnu
  ac_cv_objext=o
  ac_cv_path_EGREP='/bin/grep -E'
  ac_cv_path_GREP=/bin/grep
  ac_cv_path_ICU_CONFIG=no
  ac_cv_path_SED=/bin/sed
  ac_cv_prog_AWK=nawk
  ac_cv_prog_CPP='cc -E'
  ac_cv_prog_ac_ct_CC=cc
  ac_cv_prog_cc_c89=
  ac_cv_prog_cc_cc_c_o=yes
  ac_cv_prog_cc_g=yes
  ac_cv_target=x86_64-pc-linux-gnu
  ac_cv_type_mbstate_t=yes
  ac_cv_type_off_t=yes
  php_cv_cc_dashr=no
  php_cv_cc_rpath=yes
  
  ## - ##
  ## Output variables. ##
  ## - ##
  
  AR=''
  AWK='nawk'
  CC='cc'