[Pkg-php-pecl] Bug#843077: php-memcached: FTBFS: conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory

Chris Lamb lamby at debian.org
Thu Nov 3 17:39:29 UTC 2016


Source: php-memcached
Version: 3.0.0a1-13-g6ee96ca+2.2.0-3
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-memcached fails to build from source in unstable/amd64:

  […]

  configure:2866: result: o
  configure:2870: checking whether we are using the GNU C compiler
  configure:2889: cc -c -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161103173002.ca87pUni3i.db.php-memcached/php-memcached-3.0.0a1-13-g6ee96ca+2.2.0=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
  configure:2889: $? = 0
  configure:2898: result: yes
  configure:2907: checking whether cc accepts -g
  configure:2927: cc -c -g -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
  configure:2927: $? = 0
  configure:2968: result: yes
  configure:2985: checking for cc option to accept ISO C89
  configure:3048: cc  -c -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161103173002.ca87pUni3i.db.php-memcached/php-memcached-3.0.0a1-13-g6ee96ca+2.2.0=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
  configure:3048: $? = 0
  configure:3061: result: none needed
  configure:3087: checking how to run the C preprocessor
  configure:3118: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
  configure:3118: $? = 0
  configure:3132: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
  conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
   #include <ac_nonexistent.h>
                              ^
  compilation terminated.
  configure:3132: $? = 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 ""
  | /* end confdefs.h.  */
  | #include <ac_nonexistent.h>
  configure:3157: result: cc -E
  configure:3177: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
  configure:3177: $? = 0
  configure:3191: cc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
  conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
   #include <ac_nonexistent.h>
                              ^
  compilation terminated.
  configure:3191: $? = 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 ""
  | /* end confdefs.h.  */
  | #include <ac_nonexistent.h>
  configure:3222: checking for icc
  configure:3231: result: no
  configure:3245: checking for suncc
  configure:3254: result: no
  configure:3272: checking whether cc understands -c and -o together
  configure:3300: cc -c conftest.c -o conftest2.o >&5
  configure:3304: $? = 0
  configure:3310: cc -c conftest.c -o conftest2.o >&5
  configure:3314: $? = 0
  configure:3369: result: yes
  configure:3383: checking for system library directory
  configure:3398: result: lib
  configure:3405: checking if compiler supports -R
  configure:3424: cc -o conftest -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161103173002.ca87pUni3i.db.php-memcached/php-memcached-3.0.0a1-13-g6ee96ca+2.2.0=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c -R /usr/lib  >&5
  cc: error: unrecognized command line option '-R'; did you mean '-R'?
  configure:3424: $? = 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 ""
  | /* end confdefs.h.  */
  | 
  | int
  | main ()
  | {
  | 
  |   ;
  |   return 0;
  | }
  configure:3434: result: no
  configure:3439: checking if compiler supports -Wl,-rpath,
  configure:3458: cc -o conftest -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161103173002.ca87pUni3i.db.php-memcached/php-memcached-3.0.0a1-13-g6ee96ca+2.2.0=. -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed conftest.c -Wl,-rpath,/usr/lib  >&5
  configure:3458: $? = 0
  configure:3468: result: yes
  configure:3513: checking build system type
  configure:3527: result: x86_64-pc-linux-gnu
  configure:3547: checking host system type
  configure:3560: result: x86_64-pc-linux-gnu
  configure:3580: checking target system type
  configure:3593: result: x86_64-pc-linux-gnu
  configure:3696: checking for PHP prefix
  configure:3698: result: /usr
  configure:3700: checking for PHP includes
  configure:3702: result: -I/usr/include/php/20151012 -I/usr/include/php/20151012/main -I/usr/include/php/20151012/TSRM -I/usr/include/php/20151012/Zend -I/usr/include/php/20151012/ext -I/usr/include/php/20151012/ext/date/lib
  configure:3704: checking for PHP extension directory
  configure:3706: result: /usr/lib/php/20151012
  configure:3708: checking for PHP installed headers prefix
  configure:3710: result: /usr/include/php/20151012
  configure:3713: checking if debug is enabled
  configure:3739: result: no
  configure:3742: checking if zts is enabled
  configure:3768: result: no
  configure:3839: checking for re2c
  configure:3869: result: no
  configure:3894: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  configure:3908: checking for gawk
  configure:3939: result: no
  configure:3908: checking for nawk
  configure:3925: found /usr/bin/nawk
  configure:3936: result: nawk
  configure:3959: checking if nawk is broken
  configure:3966: result: no
  configure:3980: checking whether to enable memcached support
  configure:4019: result: yes, shared
  configure:4028: checking for libmemcached
  configure:4068: result: yes, shared
  configure:4077: checking whether to enable memcached session handler support
  configure:4091: result: yes
  configure:4100: checking whether to enable memcached igbinary serializer support
  configure:4114: result: yes
  configure:4123: checking whether to enable memcached json serializer support
  configure:4137: result: yes
  configure:4146: checking whether to enable memcached msgpack serializer support
  configure:4160: result: yes
  configure:4169: checking whether to enable memcached sasl support
  configure:4183: result: yes
  configure:4192: checking whether to enable memcached protocol support
  configure:4206: result: no
  configure:4215: checking whether to use system FastLZ bibrary
  configure:4230: result: no
  configure:4240: checking for ZLIB
  configure:4280: result: yes, shared
  configure:4304: checking for pkg-config
  configure:4322: found /usr/bin/pkg-config
  configure:4335: result: /usr/bin/pkg-config
  configure:4371: checking for zlib location
  configure:4508: error: memcached support requires ZLIB. Use --with-zlib-dir=<DIR> to specify the prefix where ZLIB headers and library are located
  
  ## ---------------- ##
  ## 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.20161103173002.ca87pUni3i.db.php-memcached/php-memcached-3.0.0a1-13-g6ee96ca+2.2.0=. -fPIE -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='-fPIE -pie -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_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_PKG_CONFIG=/usr/bin/pkg-config
  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
  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.20161103173002.ca87pUni3i.db.php-memcached/php-memcached-3.0.0a1-13-g6ee96ca+2.2.0=. -fPIE -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'
  LD=''
  LDFLAGS='-fPIE -pie -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=':'
  PKG_CONFIG='/usr/bin/pkg-config'
  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 ""
  
  configure: exit 1
  Died at /usr/share/perl5/Debian/Debhelper/Buildsystem/autoconf.pm line 77.
  /usr/share/dh-php/pkg-pecl.mk:55: recipe for target 'configure-7.0-stamp' failed
  make[1]: *** [configure-7.0-stamp] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20161103173002.ca87pUni3i.db.php-memcached/php-memcached-3.0.0a1-13-g6ee96ca+2.2.0'
  /usr/share/dh-php/pkg-pecl.mk:40: 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-memcached.3.0.0a1-13-g6ee96ca+2.2.0-3.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 7866 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pecl/attachments/20161103/9ad13f89/attachment.obj>


More information about the Pkg-php-pecl mailing list