Lucas Nussbaum writes:
 > Source: recoll
 > Version: 1.23.2-1
 > Severity: serious
 > Tags: buster sid
 > User: debian...@lists.debian.org
 > Usertags: qa-ftbfs-20171030 qa-ftbfs
 > Justification: FTBFS on amd64
 > 
 > Hi,
 > 
 > During a rebuild of all packages in sid, your package failed to build on
 > amd64.
 > 
 > Relevant part (hopefully):
 > > checking for pthread_create in -lpthread... yes
 > > checking for dlopen in -ldl... yes
 > > checking for zlibVersion in -lz... yes
 > > checking for type of inbuf parameter to iconv... checking for type of 
 > > string parameter to putenv... checking for xapian-config... 
 > > /usr/bin/xapian-config
 > > checking for qmake... /usr/bin/qmake
 > > configure: error: qmake seems to be using Qt version 3 which is not 
 > > supported any more
 > > debian/rules:28: recipe for target 'config.status' failed
 > 
 > The full build log is available from:
 >    http://aws-logs.debian.net/2017/10/30/recoll_1.23.2-1_unstable.log
 > 
 > A list of current common problems and possible solutions is available at
 > http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
 > 
 > About the archive rebuild: The rebuild was done on EC2 VM instances from
 > Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
 > failed build was retried once to eliminate random failures.


This seems to work fine for me (Build log on my Debian unstable VM follows).

The message about qt 3 is misleading, I'll change it. The part which fails
is the following: 


  # Check Qt version
  qmakevers="`${QMAKE} --version 2>&1`"
  #echo "qmake version: $qmakevers"
  v4=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*4.*'`
  v5=`expr "$qmakevers" : '.*Qt[ ][ ]*version[ ][ ]*5.*'`
  if test X$v4 = X0 -a X$v5 = X0; then
     AC_MSG_ERROR([qmake seems to be using Qt version 3 which is not supported 
any more])
  else
    if test X$v4 != X0 ; then
       AC_MSG_NOTICE([using qt version 4 user interface])
    else
       AC_MSG_NOTICE([using qt version 5 user interface])
    fi
    QTGUI=qtgui
  fi



Have you got a way to print the output from:

/usr/bin/qmake --version 

in your build environment ?

Jf


deb-sid-64$ cat /etc/debian_version 
buster/sid

deb-sid-64$ cat /etc/apt/sources.list
deb http://debian.proxad.net/debian/ unstable main
deb-src http://debian.proxad.net/debian/ unstable main


deb-sid-64$ sudo apt update
Hit:1 http://debian.proxad.net/debian unstable InRelease
Hit:2 http://www.lesbonscomptes.com/upmpdcli/downloads/debian stretch InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.


deb-sid-64$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


deb-sid-64$ mkdir rclsrc
deb-sid-64$ cd rclsrc/
deb-sid-64$ apt-get source recoll
Reading package lists... Done
NOTICE: 'recoll' packaging is maintained in the 'Git' version control system at:
https://anonscm.debian.org/cgit/collab-maint/recoll.git
Please use:
git clone https://anonscm.debian.org/cgit/collab-maint/recoll.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 2559 kB of source archives.
Get:1 http://debian.proxad.net/debian unstable/main recoll 1.23.2-1 (dsc) [2132 
B]
Get:2 http://debian.proxad.net/debian unstable/main recoll 1.23.2-1 (tar) [2547 
kB]
Get:3 http://debian.proxad.net/debian unstable/main recoll 1.23.2-1 (diff) 
[9680 B]
Fetched 2559 kB in 4s (534 kB/s)                    
dpkg-source: info: extracting recoll in recoll-1.23.2
dpkg-source: info: unpacking recoll_1.23.2.orig.tar.gz
dpkg-source: info: unpacking recoll_1.23.2-1.debian.tar.xz



deb-sid-64$ cd recoll-1.23.2/
deb-sid-64$ debuild
 dpkg-buildpackage -rfakeroot -us -uc -ui
dpkg-buildpackage: info: source package recoll
dpkg-buildpackage: info: source version 1.23.2-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Kartik Mistry <kar...@debian.org>
 dpkg-source --before-build recoll-1.23.2
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp config.log
[ ! -f Makefile ] || /usr/bin/make distclean
dh_clean Makefile
 dpkg-source -b recoll-1.23.2
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building recoll using existing ./recoll_1.23.2.orig.tar.gz
dpkg-source: warning: ignoring deletion of file filters/#rclpdf.py#, use 
--include-removal to override
dpkg-source: info: building recoll in recoll_1.23.2-1.debian.tar.xz
dpkg-source: info: building recoll in recoll_1.23.2-1.dsc
 debian/rules build
dh_testdir
./configure CFLAGS="-g -O2 
-fdebug-prefix-map=/home/dockes/rclsrc/recoll-1.23.2=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2" 
LDFLAGS="-Wl,-z,relro" \
            --host=x86_64-linux-gnu \
            --build=x86_64-linux-gnu \
            --mandir=\${prefix}/share/man \
            --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes

 [skip ...]

checking for qmake... /usr/bin/qmake
configure: using qt version 5 user interface
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating qtgui/recoll.pro
config.status: creating Makefile
config.status: creating common/rclversion.h
config.status: creating python/recoll/setup.py
config.status: creating python/recoll/Makefile
config.status: creating common/autoconfig.h
config.status: executing depfiles commands
config.status: executing libtool commands
dh_testdir
/usr/bin/make
make[1]: Entering directory '/home/dockes/rclsrc/recoll-1.23.2'
/usr/bin/make  all-am
make[2]: Entering directory '/home/dockes/rclsrc/recoll-1.23.2'
depbase=`echo aspell/rclaspell.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool  --tag=CXX   --mode=compile x86_64-linux-gnu-g++ 
-DHAVE_CONFIG_H -I. -I./common  -Wall -Wno-unused -std=c++11 -I. -I./aspell 
-I./bincimapmime -I./common -I./index -I./internfile -I./rcldb -I./unac 
-I./utils -I./xaposix -DBUILDING_RECOLL -I/usr/lib/../include   
-DRECOLL_DATADIR=\"/usr/share/recoll\" -D_GNU_SOURCE -DHAVE_CONFIG_H 
-I/usr/lib/../include  -g -O2 -MT aspell/rclaspell.lo -MD -MP -MF $depbase.Tpo 
-c -o aspell/rclaspell.lo aspell/rclaspell.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./common -Wall 
-Wno-unused -std=c++11 -I. -I./aspell -I./bincimapmime -I./common -I./index 
-I./internfile -I./rcldb -I./unac -I./utils -I./xaposix -DBUILDING_RECOLL 
-I/usr/lib/../include -DRECOLL_DATADIR=\"/usr/share/recoll\" -D_GNU_SOURCE 
-DHAVE_CONFIG_H -I/usr/lib/../include -g -O2 -MT aspell/rclaspell.lo -MD -MP 
-MF aspell/.deps/rclaspell.Tpo -c aspell/rclaspell.cpp  -fPIC -DPIC -o 
aspell/.libs/rclaspell.o
depbase=`echo bincimapmime/convert.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\

  [skip...]
  
dpkg-buildpackage: info: full upload (original source is included)
Now running lintian...
W: recoll source: debian-rules-should-not-set-CFLAGS-from-noopt
W: recoll: manpage-has-errors-from-man usr/share/man/man5/recoll.conf.5.gz 72: 
warning: macro `skippedNames',' not defined
W: recoll: package-has-unnecessary-activation-of-ldconfig-trigger
Finished running lintian.
Now signing changes and any dsc files...
 signfile dsc recoll_1.23.2-1.dsc D38B9201
^Cdebuild: fatal error at line 1080:
running debsign failed

Reply via email to