Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302192 - [kde-testing] kde-base/korganizer-4.3.95 fails due to missing header files
Summary: [kde-testing] kde-base/korganizer-4.3.95 fails due to missing header files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 302204 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-25 16:36 UTC by Matt
Modified: 2010-01-27 00:54 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2010-01-25 16:36:57 UTC
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:29:44: error: korganizer/korganizerinterface.h: No such file or directory
[ 94%] [32mBuilding CXX object kontact/plugins/planner/CMakeFiles/kontact_plannerplugin.dir/calendarinterface.o
[0m/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95_build/kontact/plugins/planner/calendarinterface.cpp:1: warning: this target does not support ‘-fsection-anchors’
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp: In member function ‘void Planner::viewEvent(const QString&)’:
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:784: error: ‘OrgKdeKorganizerKorganizerInterface’ was not declared in this scope
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:784: error: expected ‘;’ before ‘korganizer’
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:786: error: ‘korganizer’ was not declared in this scope
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp: In member function ‘void Planner::removeEvent(const QString&)’:
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:792: error: ‘OrgKdeKorganizerKorganizerInterface’ was not declared in this scope
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:792: error: expected ‘;’ before ‘korganizer’
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:794: error: ‘korganizer’ was not declared in this scope
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp: In member function ‘void Planner::viewTodo(const QString&)’:
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:886: error: ‘OrgKdeKorganizerKorganizerInterface’ was not declared in this scope
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:886: error: expected ‘;’ before ‘korganizer’
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:888: error: ‘korganizer’ was not declared in this scope
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp: In member function ‘void Planner::removeTodo(const QString&)’:
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:894: error: ‘OrgKdeKorganizerKorganizerInterface’ was not declared in this scope
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:894: error: expected ‘;’ before ‘korganizer’
/var/tmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95/kontact/plugins/planner/planner.cpp:896: error: ‘korganizer’ was not declared in this scope
make[2]: *** [kontact/plugins/planner/CMakeFiles/kontact_plannerplugin.dir/planner.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [kontact/plugins/planner/CMakeFiles/kontact_plannerplugin.dir/all] Error 2
make: *** [all] Error 2
 [31;01m*[0m ERROR: kde-base/korganizer-4.3.95 failed:
 [31;01m*[0m   Make failed!
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line   48:  Called src_compile
 [31;01m*[0m   environment, line 8999:  Called kde4-meta_src_compile
 [31;01m*[0m   environment, line 8076:  Called kde4-base_src_compile
 [31;01m*[0m   environment, line 7763:  Called cmake-utils_src_compile
 [31;01m*[0m   environment, line 5905:  Called _execute_optionaly 'src_compile'
 [31;01m*[0m   environment, line 5331:  Called enable_cmake-utils_src_compile
 [31;01m*[0m   environment, line 6278:  Called cmake-utils_src_make
 [31;01m*[0m   environment, line 5924:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m           emake "$@" || die "Make failed!";

Reproducible: Always

Steps to Reproduce:
1. emerge -1 kde-base/korganizer
2. it compiles a while until approximately 90 - 94% and then fails due to missing header
3. 

Actual Results:  
korganizer/korganizerinterface.h: No such file or directory 

is missing in the tarball ?

due to this fact it can't compile successfully

Expected Results:  
all necessary files should be included in the tarball or be created during configure, compile, etc. so that it can compile and install successfully
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2010-01-25 17:41:54 UTC
*** Bug 302204 has been marked as a duplicate of this bug. ***
Comment 2 Jonas Närström 2010-01-25 20:57:36 UTC
I can confirm this bug, however the header korganizer/korganizerinterface.h seems to be created but placed incorrectly (not in the korganizer subdirectory):

# locate korganizerinterface.h
/home/root/portagetmp/portage/kde-base/korganizer-4.3.90-r1/work/korganizer-4.3.90_build/kontact/plugins/planner/korganizerinterface.h

The bug will change character completely if compiled with MAKEOPTS="-j1":

-- <<< Gentoo configuration >>>
Build type: Gentoo             
Install path: /usr             

-- Configuring done
-- Generating done 
-- Build files have been written to: /home/root/portagetmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95_build
>>> Working in BUILD_DIR: "/home/root/portagetmp/portage/kde-base/korganizer-4.3.95/work/korganizer-4.3.95_build"         
Scanning dependencies of target kcm_sdsummary_automoc                                                                     
Generating kcmsdsummary.moc                                                                                               
[  0%] Built target kcm_sdsummary_automoc                                                                                 
[  5%] Generating ui_sdsummaryconfig_base.h                                                                               
Scanning dependencies of target kcm_sdsummary                                                                             
[ 11%] Building CXX object kontact/plugins/specialdates/CMakeFiles/kcm_sdsummary.dir/kcm_sdsummary_automoc.o              
[ 16%] Building CXX object kontact/plugins/specialdates/CMakeFiles/kcm_sdsummary.dir/kcmsdsummary.o                       
Linking CXX shared module ../../../lib/kcm_sdsummary.so                                                                   
[ 16%] Built target kcm_sdsummary                                                                                         
Scanning dependencies of target kontact_specialdatesplugin_automoc                                                        
Generating sdsummarywidget.moc                                                                                            
[ 16%] Built target kontact_specialdatesplugin_automoc                                                                    
Scanning dependencies of target kontact_specialdatesplugin                                                                
[ 22%] Building CXX object kontact/plugins/specialdates/CMakeFiles/kontact_specialdatesplugin.dir/kontact_specialdatesplugin_automoc.o
[ 27%] Building CXX object kontact/plugins/specialdates/CMakeFiles/kontact_specialdatesplugin.dir/specialdates_plugin.o               
[ 33%] Building CXX object kontact/plugins/specialdates/CMakeFiles/kontact_specialdatesplugin.dir/sdsummarywidget.o                   
Linking CXX shared module ../../../lib/kontact_specialdatesplugin.so                                                                  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkorganizer_calendar                      
collect2: ld returnerade avslutningsstatus 1                                                                                          
distcc[5373] ERROR: compile (null) on localhost failed                                                                                
make[2]: *** [lib/kontact_specialdatesplugin.so] Fel 1                                                                                
make[1]: *** [kontact/plugins/specialdates/CMakeFiles/kontact_specialdatesplugin.dir/all] Fel 2                                       
make: *** [all] Fel 2                                                                                                                 

compared with compiled with other values of MAKEOPTS="-jX".

I have tried compiling whole kdepim-meta so it does not seem to be about forgotten dependendencies, more propably a problem in the makefile.
Comment 3 Jakub Caban 2010-01-26 12:42:24 UTC
After last changes in overlay korganizer compiled and installed fine for me (I have recompiled kalarm, kontact and than tried korganizer ant it worked - don't know if I had to recompile those two)
Comment 4 Jonas Närström 2010-01-26 17:46:13 UTC
After the last comment I tried to sync the overlay and compile and it compiles fine, solution to the problem would be to sync the overlay and reinstall.
Comment 5 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2010-01-27 00:54:20 UTC
indeed fixed, closing