Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 480010 - [kde overlay] =kde-base/kmail-9999 fails to build due to upstream layout changes.
Summary: [kde overlay] =kde-base/kmail-9999 fails to build due to upstream layout chan...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-07 03:53 UTC by Jekyll Wu
Modified: 2013-08-08 11:08 UTC (History)
0 users

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


Attachments
A simple patch to unbreak the build (0001-fix-building-failure-due-to-upstream-layout-change.patch,1.02 KB, patch)
2013-08-07 10:07 UTC, Jekyll Wu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jekyll Wu 2013-08-07 03:53:54 UTC
The upstream has recently moved [1][2] archivemailagent/, folderarchiveagent/, mailfilteragent/, sendlateragent/ under the agents/ subfolder. Now kmail-9999 fails to build due to this layout change 

>>> Emerging (1 of 1) kde-base/kmail-9999 from kde
>>> Unpacking source...
GIT update -->
   repository:               git://anongit.kde.org/kdepim
   at the commit:            2511a449239754449115205f7c800503a004fc58
   branch:                   master
   storage directory:        "/var/lib/portage/distfiles/egit-src/kdepim"
   checkout type:            bare repository
Cloning into '/tmp/portage/kde-base/kmail-9999/work/kmail-9999'...
done.
Checking connectivity... done
Checking out files: 100% (6114/6114), done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /tmp/portage/kde-base/kmail-9999/work/kmail-9999
 * Exporting parts of working copy to /tmp/portage/kde-base/kmail-9999/work/kmail-9999
>>> Source unpacked in /tmp/portage/kde-base/kmail-9999/work
>>> Preparing source in /tmp/portage/kde-base/kmail-9999/work/kmail-9999 ...
find: ‘/tmp/portage/kde-base/kmail-9999/work/kmail-9999/archivemailagent/’: No such file or directory
sed: no input files
 * ERROR: kde-base/kmail-9999::kde failed (prepare phase):
 *   3597: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing archivemailagent/
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4663:  Called kde4-meta_src_prepare
 *   environment, line 3813:  Called kde4-meta_change_cmakelists
 *   environment, line 3597:  Called die
 * The specific snippet of code:
 *           find "${S}"/${i} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' || die "${LINENO}: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing ${i}";
 * 
 * If you need support, post the output of `emerge --info '=kde-base/kmail-9999::kde'`,
 * the complete build log and the output of `emerge -pqv '=kde-base/kmail-9999::kde'`.
 * The complete build log is located at '/tmp/portage/kde-base/kmail-9999/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/kde-base/kmail-9999/temp/environment'.
 * Working directory: '/tmp/portage/kde-base/kmail-9999/work/kmail-9999'
 * S: '/tmp/portage/kde-base/kmail-9999/work/kmail-9999'


[1] https://commits.kde.org/kdepim/f2fe702066a49fc53c38ef6fa9224747625896e9
[2] https://commits.kde.org/kdepim/227a082d00ffee8dac52b7d79b0b7d5983378809



Reproducible: Always
Comment 1 Jekyll Wu 2013-08-07 10:07:38 UTC
Created attachment 355300 [details, diff]
A simple patch to unbreak the build

the stupid patch works for me.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2013-08-08 11:08:57 UTC
Thanks, fixed in git.

http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=97b3a18f1245d174dc5852c8744ba85676f1c7fc