Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242444 - media-gfx/hugin-0.7.0-r1 fails to emerge
Summary: media-gfx/hugin-0.7.0-r1 fails to emerge
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 08:26 UTC by Mieszko Ślusarczyk
Modified: 2009-07-20 11:19 UTC (History)
0 users

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


Attachments
build.log from emerge --debug hugin (build.log,46.20 KB, text/plain)
2008-10-19 08:54 UTC, Mieszko Ślusarczyk
Details
hugin build log (media-gfx:hugin-0.7.0:20081020-211643.log,458.96 KB, text/plain)
2008-10-20 21:26 UTC, Daniel Pielmeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mieszko Ślusarczyk 2008-10-17 08:26:53 UTC
>>> Source unpacked.
 * Applying hugin-0.7.0_rc2-as-needed.patch ...                           [ ok ]
>>> Configuring source in /var/tmp/portage/media-gfx/hugin-0.7.0-r1/work/hugin-0.7.0 ...
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeModules/FindPackageHandleStandardArgs.cmake:51 (MESSAGE):
  Could not find REQUIRED package wxWidgets
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindwxWidgets.cmake:765 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:97 (FIND_PACKAGE)


-- Configuring incomplete, errors occurred!

Reproducible: Always
Comment 1 Wormo (RETIRED) gentoo-dev 2008-10-17 22:04:47 UTC
Strange, it claims wxWidgets is not installed, but wxGTK is certainly listed as a dependency of the ebuild...

Please show the output of the commands 'eselect wxwidgets list' and 'emerge -pv x11-libs/wxGTK:2.8'
Comment 2 Mieszko Ślusarczyk 2008-10-17 23:13:35 UTC
(In reply to comment #1)
> Please show the output of the commands 'eselect wxwidgets list' and 'emerge -pv
> x11-libs/wxGTK:2.8'
> 

~ # eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-ansi-release-2.6
  [2]   gtk2-unicode-release-2.6
  [3]   gtk2-unicode-release-2.8


~ # emerge -pv x11-libs/wxGTK:2.8

[ebuild   R   ] x11-libs/wxGTK-2.8.9.1  USE="X gnome gstreamer opengl sdl -debug -doc -odbc -pch"
Comment 3 Daniel Pielmeier gentoo-dev 2008-10-18 13:27:12 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Please show the output of the commands 'eselect wxwidgets list' and 'emerge
> > -pv x11-libs/wxGTK:2.8'
> 
> ~ # eselect wxwidgets list
> Available wxWidgets profiles:
>   [1]   gtk2-ansi-release-2.6
>   [2]   gtk2-unicode-release-2.6
>   [3]   gtk2-unicode-release-2.8

from /usr/share/cmake/Modules/FindwxWidgets.cmake
651       # get defaults based on "wx-config --selected-config"$
652       WX_CONFIG_SELECT_GET_DEFAULT()$

This will not work when no wxwidget profile is selected like above.

If there is no selection wx-config fill fail to get the version of wxwidgets.

wx-config
An error occurred while calling wx-config:

    No profile currently selected

Please use `eselect wxwidgets` to select an available profile and try again.

or

wx-config --version-full
An error occurred while calling wx-config:

    No profile currently selected

Please use `eselect wxwidgets` to select an available profile and try again.
Comment 4 Daniel Pielmeier gentoo-dev 2008-10-18 13:56:41 UTC
Version hugin-0.7.0 works here even without a wxwidgets profile selected. Maybe it is a problem related to cmake. I have cmake-2.6.2 here and wxwidgets-2.8.8.1.
Comment 5 Wormo (RETIRED) gentoo-dev 2008-10-19 01:53:05 UTC
Mieszko, please run the build again adding '--debug' option to emerge, then attach the build log using 'Create a New Attachment' link. Also show which version of cmake you have installed -- is it different from Daniel?
Comment 6 Mieszko Ślusarczyk 2008-10-19 08:53:19 UTC
~ # cmake --version
cmake version 2.6-patch 2
Comment 7 Mieszko Ślusarczyk 2008-10-19 08:54:58 UTC
Created attachment 169046 [details]
build.log from emerge --debug hugin
Comment 8 Daniel Pielmeier gentoo-dev 2008-10-19 14:03:44 UTC
I got the intention that wxwidgets-2.8.9 is not supported by cmake until now. A look in the windows section from /usr/share/cmake/Modules/FindwxWidgets.cmake (lines 383++) shows no wxwidgets 2.8.9. Also I found this link http://www.cmake.org/pipermail/cmake/2008-October/024429.html.
But in the meantime I upgraded to wxwidgets 2.8.9 and hugin compiles fine with it (besides many compiler warnings) too. This seems all very strange. The only difference now is that I use the EAPI1 ebuild and not -r1.
Comment 9 Wormo (RETIRED) gentoo-dev 2008-10-20 21:02:27 UTC
Thanks for your help, Daniel -- can you post your hugin build.log for comparison?
Comment 10 Daniel Pielmeier gentoo-dev 2008-10-20 21:26:49 UTC
Created attachment 169232 [details]
hugin build log

Here is the debug output for hugin-0.7.0 with portage-2.1.4.5.
Comment 11 Wormo (RETIRED) gentoo-dev 2008-10-22 01:33:10 UTC
Mieszko, can you try something else to get more output from cmake...

In /usr/share/cmake/Modules/FindwxWidgets.cmake (the file which is failing to find wxwidgets), uncomment the extra debug messages by removing '#' before MESSAGE on line 100

MACRO(DBG_MSG _MSG)
  # MESSAGE(STATUS "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${_MSG}")
ENDMACRO(DBG_MSG)

Also, you might want to try emerging media-gfx/hugin-0.7.0 just in case the later EAPI version did break things (Daniel's successful builds have been with that older ebuild).

Comment 12 Mieszko Ślusarczyk 2008-10-27 00:11:23 UTC
After eselecting "gtk2-unicode-release-2.8" hugin compiles.
Comment 13 Daniel Pielmeier gentoo-dev 2008-10-27 08:02:28 UTC
(In reply to comment #12)
> After eselecting "gtk2-unicode-release-2.8" hugin compiles.

So in the end it was a problem with eselect. Strange thing is that it worked here with and without a selected profile.