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

Bug 642598

Summary: media-gfx/hugin-2016.2.0 fails with SYMLINK_LIB=no
Product: Gentoo Linux Reporter: charles17
Component: Current packagesAssignee: Gentoo Graphics Project <graphics+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: alexander
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/6676
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 506276    
Attachments: build.log
emerge --info
CMakeOutput.log

Description charles17 2017-12-29 06:01:18 UTC
Created attachment 511924 [details]
build.log

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find wxWidgets (missing: wxWidgets_LIBRARIES
  wxWidgets_INCLUDE_DIRS)
Comment 1 charles17 2017-12-29 06:05:34 UTC
Created attachment 511926 [details]
emerge --info
Comment 2 charles17 2017-12-29 06:08:05 UTC
emerge -pqv '=media-gfx/hugin-2016.2.0::gentoo' 
[ebuild   R   ] media-gfx/hugin-2016.2.0  USE="-debug -lapack -python -sift" L10N="-ca -ca-valencia -cs -da -de -en-GB -es -eu -fi -fr -hu -it -ja -nl -pl -pt-BR -ro -ru -sk -sv -zh-CN -zh-TW" PYTHON_SINGLE_TARGET="python3_5 -python2_7 -python3_4" PYTHON_TARGETS="python2_7 python3_5 -python3_4"
Comment 3 Alexander Tsoy 2017-12-29 06:55:09 UTC
ebuild inherits wxwidgets eclass but doesn't call setup-wxwidgets(). Please try the following patch:

@@ -58,6 +58,7 @@
 
 pkg_setup() {
 	use python && python-single-r1_pkg_setup
+	setup-wxwidgets
 }
 
 src_configure() {
Comment 4 charles17 2017-12-29 06:56:25 UTC
Created attachment 511934 [details]
CMakeOutput.log
Comment 5 charles17 2017-12-29 07:12:30 UTC
(In reply to Alexander Tsoy from comment #3)
> ebuild inherits wxwidgets eclass but doesn't call setup-wxwidgets(). Please
> try the following patch:
> 
> @@ -58,6 +58,7 @@
>  
>  pkg_setup() {
>  	use python && python-single-r1_pkg_setup
> +	setup-wxwidgets
>  }
>  
>  src_configure() {

Seems to work.  Thanks for advice
Comment 6 Markus Meier gentoo-dev 2017-12-29 12:16:23 UTC
Fixed all ebuilds, thanks for the report and fix!

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=258d506d6c01820656b575ed5feb8613daf74c7f