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

Chris Lamb lamby at debian.org
Fri Nov 11 09:46:01 UTC 2016


Source: php-pecl-http
Version: 3.0.1+2.5.6-6
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at 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 <stdio.h>
  | #ifdef HAVE_SYS_TYPES_H
  | # include <sys/types.h>
  | #endif
  | #ifdef HAVE_SYS_STAT_H
  | # include <sys/stat.h>
  | #endif
  | #ifdef STDC_HEADERS
  | # include <stdlib.h>
  | # include <stddef.h>
  | #else
  | # ifdef HAVE_STDLIB_H
  | #  include <stdlib.h>
  | # endif
  | #endif
  | #ifdef HAVE_STRING_H
  | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  | #  include <memory.h>
  | # endif
  | # include <string.h>
  | #endif
  | #ifdef HAVE_STRINGS_H
  | # include <strings.h>
  | #endif
  | #ifdef HAVE_INTTYPES_H
  | # include <inttypes.h>
  | #endif
  | #ifdef HAVE_STDINT_H
  | # include <stdint.h>
  | #endif
  | #ifdef HAVE_UNISTD_H
  | # include <unistd.h>
  | #endif
  | #include <unicode/uidna.h>
  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 <unicode/uidna.h>
                             ^
  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 <unicode/uidna.h>
  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.20161111094510.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'
  CFLAGS='-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161111094510.0meYyZRF7c.db.php-pecl-http/php-pecl-http-3.0.1+2.5.6=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic'
  CONFIGURE_COMMAND=' '\''./configure'\'' '
  CONFIGURE_OPTIONS=''
  CPP='cc -E'
  CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
  DEFS=''
  DLLTOOL=''
  DSYMUTIL=''
  DUMPBIN=''
  ECHO_C=''
  ECHO_N='-n'
  ECHO_T=''
  EGREP='/bin/grep -E'
  EXEEXT=''
  FGREP=''
  GREP='/bin/grep'
  ICU_CONFIG='icu-config'
  LD=''
  LDFLAGS='-Wl,-z,relro -Wl,-z,now -Wl,--as-needed'
  LIBOBJS=''
  LIBS=''
  LIBTOOL=''
  LIPO=''
  LN_S=''
  LTLIBOBJS=''
  LT_SYS_LIBRARY_PATH=''
  MANIFEST_TOOL=''
  NM=''
  NMEDIT=''
  OBJDUMP=''
  OBJEXT='o'
  OTOOL64=''
  OTOOL=''
  PACKAGE_BUGREPORT=''
  PACKAGE_NAME=''
  PACKAGE_STRING=''
  PACKAGE_TARNAME=''
  PACKAGE_URL=''
  PACKAGE_VERSION=''
  PATH_SEPARATOR=':'
  RANLIB=''
  RE2C='exit 0;'
  SED='/bin/sed'
  SHELL='/bin/bash'
  SHLIB_DL_SUFFIX_NAME='so'
  SHLIB_SUFFIX_NAME='so'
  STRIP=''
  ac_ct_AR=''
  ac_ct_CC='cc'
  ac_ct_DUMPBIN=''
  bindir='${exec_prefix}/bin'
  build='x86_64-pc-linux-gnu'
  build_alias='x86_64-linux-gnu'
  build_cpu='x86_64'
  build_os='linux-gnu'
  build_vendor='pc'
  datadir='${datarootdir}'
  datarootdir='${prefix}/share'
  docdir='${datarootdir}/doc/${PACKAGE}'
  dvidir='${docdir}'
  exec_prefix='NONE'
  host='x86_64-pc-linux-gnu'
  host_alias='x86_64-pc-linux-gnu'
  host_cpu='x86_64'
  host_os='linux-gnu'
  host_vendor='pc'
  htmldir='${docdir}'
  includedir='${prefix}/include'
  infodir='${prefix}/share/info'
  libdir='${prefix}/lib/x86_64-linux-gnu'
  libexecdir='${prefix}/lib/x86_64-linux-gnu'
  localedir='${datarootdir}/locale'
  localstatedir='/var'
  mandir='${prefix}/share/man'
  oldincludedir='/usr/include'
  pdfdir='${docdir}'
  prefix='/usr'
  program_transform_name='s,x,x,'
  psdir='${docdir}'
  runstatedir='${localstatedir}/run'
  sbindir='${exec_prefix}/sbin'
  sharedstatedir='${prefix}/com'
  sysconfdir='/etc'
  target='x86_64-pc-linux-gnu'
  target_alias=''
  target_cpu='x86_64'
  target_os='linux-gnu'
  target_vendor='pc'
  
  ## ----------- ##
  ## confdefs.h. ##
  ## ----------- ##
  
  /* 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
  
  configure: exit 1
  Died at /usr/share/perl5/Debian/Debhelper/Buildsystem/autoconf.pm line 77.
  /usr/share/dh-php/pkg-pecl.mk:60: recipe for target 'configure-7.0-stamp' failed
  make[1]: *** [configure-7.0-stamp] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20161111094510.0meYyZRF7c.db.php-pecl-http/php-pecl-http-3.0.1+2.5.6'
  /usr/share/dh-php/pkg-pecl.mk:45: recipe for target 'build' failed
  make: *** [build] Error 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: php-pecl-http.3.0.1+2.5.6-6.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 8916 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pecl/attachments/20161111/3d080474/attachment-0001.obj>


More information about the Pkg-php-pecl mailing list