Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 551164

Summary: dev-libs/quantlib: multiple invalid uses of nonfatal
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: C++ Team [disbanded] <cpp+disabled>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 551152    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-06-04 09:09:25 UTC
if use doc; then
        pushd Docs >/dev/null
        nonfatal emake docs-html
        popd >/dev/null
fi


if use doc; then
        find Docs \( -name '.time-stamp*' -o -name '*.doxy' -o -name 'Makefile*' \) -delet
        insinto /usr/share/doc/${PF}
        nonfatal doins -r Docs
fi

if use examples; then
        find Examples \( -name '*vc*proj*' -o -name '*.dev' -o -name 'Makefile*' -o -name 
        insinto /usr/share/doc/${PF}
        nonfatal doins -r Examples
fi


What the...?! Half-failed ebuild is fine to install? How about you fix it to always handle docs correctly?
Comment 1 Sergey Popov gentoo-dev 2015-08-03 08:29:47 UTC
+*quantlib-1.6 (03 Aug 2015)
+
+  03 Aug 2015; Sergey Popov <pinkbyte@gentoo.org> -quantlib-1.2.ebuild,
+  +quantlib-1.6.ebuild:
+  Version bump, wrt bug #454710. EAPI 5, add epatch_user, do not install crap
+  files with examples, drop unneeded nonfatal calls wrt bug #551164. Drop old
+  version