https://bugzilla.redhat.com/show_bug.cgi?id=1195353
Bug ID: 1195353 Summary: perl-Search-Xapian-1.2.19.0-1.fc23 FTBFS: Product: Fedora Version: rawhide Component: perl-Search-Xapian Assignee: emmanuel@seyman.fr Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: emmanuel@seyman.fr, perl-devel@lists.fedoraproject.org
perl-Search-Xapian-1.2.19.0-1.fc23 fails to build in F23:
+ make test PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Failed test 'use Search::Xapian;' # at t/01use.t line 3. # Tried to use 'Search::Xapian'. # Error: Can't load '/builddir/build/BUILD/Search-Xapian-1.2.19.0/blib/arch/auto/Search/Xapian/Xapian.so' for module Search::Xapian: /builddir/build/BUILD/Search-Xapian-1.2.19.0/blib/arch/auto/Search/Xapian/Xapian.so: undefined symbol: _ZNK6Xapian8Database14postlist_beginERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE at /usr/lib/perl5/DynaLoader.pm line 193. # at t/01use.t line 3. # Compilation failed in require at t/01use.t line 3. # BEGIN failed--compilation aborted at t/01use.t line 3. # Looks like you failed 1 test of 3. t/01use.t ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/3 subtests
This can also fail like:
Running Mkbootstrap for Search::Xapian () "/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp" -C++ -typemap "/usr/share/perl5/ExtUtils/typemap" -typemap "perlobject.map" -typemap "typemap-errorclasses" -typemap "typemap" Xapian.xs > Xapian.xsc && mv Xapian.xsc Xapian.c g++ -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DVERSION="1.2.19.0" -DXS_VERSION="1.2.19.0" -fPIC "-I/usr/lib64/perl5/CORE" handle_exception.cc [...] In file included from /usr/include/xapian.h:40:0, from handle_exception.cc:1: /usr/include/xapian/version.h:28:2: error: #error The C++ ABI version of compiler you are using does not match #error The C++ ABI version of compiler you are using does not match ^ /usr/include/xapian/version.h:29:2: error: #error that of the compiler used to build the library. The versions #error that of the compiler used to build the library. The versions ^ /usr/include/xapian/version.h:30:2: error: #error must match or your program will not work correctly. #error must match or your program will not work correctly. ^ /usr/include/xapian/version.h:31:2: error: #error The Xapian library was built with g++ 5.0.0 #error The Xapian library was built with g++ 5.0.0 ^
Difference between working and failing build root:
perl-Socket 2:2.017-1.fc23 > 2:2.018-1.fc23 libstdc++ 5.0.0-0.11.fc22 > 5.0.0-0.12.fc23 libgcc 5.0.0-0.11.fc22 > 5.0.0-0.12.fc23 tzdata 2014j-1.fc22 > 2015a-1.fc23 perl-Pod-Perldoc 3.24-4.fc22 > 3.25-1.fc23 libgomp 5.0.0-0.11.fc22 > 5.0.0-0.12.fc23 kernel-headers 3.20.0-0.rc0.git4.1.... > 3.20.0-0.rc0.git5.1.... gcc-gdb-plugin 5.0.0-0.11.fc22 > 5.0.0-0.12.fc23 gcc 5.0.0-0.11.fc22 > 5.0.0-0.12.fc23 cpp 5.0.0-0.11.fc22 > 5.0.0-0.12.fc23 gcc-c++ 5.0.0-0.11.fc22 > 5.0.0-0.12.fc23 krb5-libs 1.13-8.fc22 > 1.13.1-1.fc23 libstdc++-devel 5.0.0-0.11.fc22 > 5.0.0-0.12.fc23
This is caused by C++ ABI change in one of the dependencies or the compiler.
https://bugzilla.redhat.com/show_bug.cgi?id=1195353
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|perl-Search-Xapian-1.2.19.0 |perl-Search-Xapian-1.2.19.0 |-1.fc23 FTBFS: |-1.fc23 FTBFS: tests or | |compilation fails
https://bugzilla.redhat.com/show_bug.cgi?id=1195353
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|emmanuel@seyman.fr |ppisar@redhat.com
--- Comment #1 from Petr Pisar ppisar@redhat.com --- xapian-core needs rebuilding. I'll do it.
https://bugzilla.redhat.com/show_bug.cgi?id=1195353
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Fixed In Version| |xapian-core-1.2.20-2.fc23 | |perl-Search-Xapian-1.2.19.0 | |-2.fc23 Resolution|--- |RAWHIDE Last Closed| |2015-04-15 08:52:40
perl-devel@lists.fedoraproject.org