Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672802 - net-news/newsboat fails in src_test: test/cache.cpp:1:10: fatal error: catch/catch.hpp: No such file or directory
Summary: net-news/newsboat fails in src_test: test/cache.cpp:1:10: fatal error: catch/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-12-09 09:35 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2018-12-11 07:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
newsboat-2.11.1:20181209-081524.log (newsboat-2.11.1:20181209-081524.log,37.40 KB, text/x-log)
2018-12-09 09:35 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-12-09 09:35:27 UTC
Created attachment 557384 [details]
newsboat-2.11.1:20181209-081524.log

2.12 fails the same way

 * Package:    net-news/newsboat-2.11.1
 * Repository: gentoo
 * Maintainer: radhermit@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU
 * FEATURES:   ccache preserve-libs sandbox test userpriv usersandbox


>>> Test phase: net-news/newsboat-2.11.1
make -j3 test
c++ -std=c++11 -Iinclude -Istfl -Ifilter -I. -Irss -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2  -I/usr/include/json-c  -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw  -march=native -mtune=native -O2 -pipe -o test/cache.o -c test/cache.cpp
c++ -std=c++11 -Iinclude -Istfl -Ifilter -I. -Irss -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2  -I/usr/include/json-c  -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw  -march=native -mtune=native -O2 -pipe -o test/configcontainer.o -c test/configcontainer.cpp
c++ -std=c++11 -Iinclude -Istfl -Ifilter -I. -Irss -Wall -Wextra -Wunreachable-code -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/include/libxml2  -I/usr/include/json-c  -D_GNU_SOURCE -D_DEFAULT_SOURCE -I/usr/include/ncursesw  -march=native -mtune=native -O2 -pipe -o test/configparser.o -c test/configparser.cpp
test/cache.cpp:1:10: fatal error: catch/catch.hpp: No such file or directory
 #include <catch/catch.hpp>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:114: test/cache.o] Error 1
make: *** Waiting for unfinished jobs....
test/configcontainer.cpp:1:10: fatal error: catch/catch.hpp: No such file or directory
 #include <catch/catch.hpp>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:114: test/configcontainer.o] Error 1
test/configparser.cpp:1:10: fatal error: catch/catch.hpp: No such file or directory
 #include <catch/catch.hpp>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:114: test/configparser.o] Error 1


Deps:

[ebuild  N    ~] net-news/newsboat-2.11.1  USE="-test" 0 KiB           
[ebuild  N     ]  dev-db/sqlite-3.24.0:3  USE="readline -debug -doc -icu -secure-delete -static-libs -tcl -test -tools" 0 KiB                                                                                                                                                        
[ebuild  N     ]  dev-libs/json-c-0.12:0/2  USE="-doc -static-libs" 0 KiB       
[ebuild  N     ]  app-text/asciidoc-8.6.10  USE="-examples -graphviz -highlight -test" PYTHON_SINGLE_TARGET="python2_7 (-pypy)" PYTHON_TARGETS="python2_7 (-pypy)" 0 KiB                                                                                                             
[ebuild  NS    ]   app-text/docbook-xml-dtd-4.5-r1:4.5 [4.1.2-r6:4.1.2] 0 KiB
[ebuild  N     ]  dev-libs/stfl-0.24  USE="perl -examples -python -ruby -static-libs" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" 0 KiB                                                                                                                               
[ebuild  N     ]   dev-lang/swig-3.0.12  USE="pcre -ccache -doc" 0 KiB

Test Deps:

[nomerge       ] net-news/newsboat-2.11.1  USE="-test"       
[ebuild  N     ]  dev-cpp/catch-2.3.0  USE="-test" 0 KiB                              
[ebuild  N     ]   dev-util/ninja-1.8.2  USE="-doc -emacs -test -vim-syntax" 0 KiB                                                                                                                                                                                                   
[ebuild  N     ]    dev-util/re2c-1.0.3  0 KiB              
[ebuild  N     ]   dev-util/cmake-3.9.6  USE="ncurses -doc -emacs -qt5 -server -system-jsoncpp -test" 0 KiB                                                                                                                                                                          
[ebuild  N     ]    app-crypt/rhash-1.3.6-r1  USE="nls ssl -debug -libressl -static-libs" 0 KiB                          
[ebuild  N     ]    app-arch/libarchive-3.3.1:0/13  USE="acl bzip2 e2fsprogs iconv lzma threads xattr zlib -expat -libressl -lz4 -lzo -nettle -static-libs" 0 KiB 

qlist dev-cpp/catch | grep hpp                                                                                                                                                                                                                      

/usr/include/catch2/catch_reporter_teamcity.hpp
/usr/include/catch2/catch_reporter_tap.hpp
/usr/include/catch2/catch_reporter_automake.hpp
/usr/include/catch2/catch.hpp

Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.1/no-multilib, gcc-8.2.0, glibc-2.27-r6, 4.9.6-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.6
KiB Mem:     2042732 total,    578856 free
KiB Swap:   18588764 total,  18560228 free
Head commit of repository gentoo: ada5e6029505b515fcae1e1c8cbeb69f91858f55

sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            8.2.0-r4::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo.git
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build y --jobs 3 --autounmask=n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance ccache clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://127.0.0.1/ http://distfiles.gentoo.org"
LANG="en_NZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc minimal ncurses nls nptl openmp pam pcre perl readline seccomp ssl tcpd test unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-cpp/catch-2.3.0::gentoo was built with the following:
USE="-test"
Comment 1 Larry the Git Cow gentoo-dev 2018-12-11 07:51:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15b382bd8748651965689a498a3e79191471fe8e

commit 15b382bd8748651965689a498a3e79191471fe8e
Author:     Tim Harder <radhermit@gentoo.org>
AuthorDate: 2018-12-11 07:35:00 +0000
Commit:     Tim Harder <radhermit@gentoo.org>
CommitDate: 2018-12-11 07:48:19 +0000

    net-news/newsboat: use bundled catch headers to simplify/fix tests
    
    Closes: https://bugs.gentoo.org/672802
    Signed-off-by: Tim Harder <radhermit@gentoo.org>

 net-news/newsboat/newsboat-2.12.ebuild | 19 +++----------------
 net-news/newsboat/newsboat-9999.ebuild | 19 +++----------------
 2 files changed, 6 insertions(+), 32 deletions(-)