Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476660 - media-libs/lasi-1.1.1 - Invalid CMAKE_BUILD_TYPE = None - related to recent cmake-utils.eclass changes
Summary: media-libs/lasi-1.1.1 - Invalid CMAKE_BUILD_TYPE = None - related to recent c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 475502
  Show dependency tree
 
Reported: 2013-07-12 21:09 UTC by Ben Kohler
Modified: 2013-07-17 18:41 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,3.59 KB, text/plain)
2013-07-12 21:09 UTC, Ben Kohler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Kohler gentoo-dev 2013-07-12 21:09:12 UTC
Created attachment 353172 [details]
build.log

lasi-1.1.1.ebuild needs to be updated to use cmake-utils_src_prepare (or some other function) in place of base_src_prepare, or it needs to start inheriting base.  It's using base.eclass which it's always gotten indirectly via inherit cmake-utils, until this recent change:

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/cmake-utils.eclass?r1=1.96&r2=1.97

I've attached a build.log, but obviously base_src_prepare fails then patches (including $P-cmake.patch) aren't applied so it fails early with cmake errors.  Seems to build ok here with that minor change:


--- a/lasi-1.1.1.ebuild	2013-07-12 16:02:34.764167255 -0500
+++ b/lasi-1.1.1.ebuild	2013-07-12 16:02:04.041100974 -0500
@@ -33,7 +33,7 @@
 	)
 
 src_prepare() {
-	base_src_prepare
+	cmake-utils_src_prepare
 	sed -i \
 		-e "s:\/lib$:\/$(get_libdir):" \
 		-e "s/libLASi-\${VERSION}/${PF}/" \
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2013-07-17 18:41:15 UTC
 13 Jul 2013; Justin Lecher <jlec@gentoo.org> lasi-1.1.1.ebuild, metadata.xml:
  Convert to recent changes in cmake-utils.eclass, #476660