Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269639 - >=app-pda/libopensync-0.35 fails to build with doc useflag due to changed cmake-utils.eclass
Summary: >=app-pda/libopensync-0.35 fails to build with doc useflag due to changed cma...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords: InVCS
: 269636 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-13 04:26 UTC by cmuelle8
Modified: 2009-06-05 11:44 UTC (History)
3 users (show)

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


Attachments
fix cmake pathes in libopensync-0.36-r1.ebuild (libopensync-0.36-r1-fix-cmake.diff,1.22 KB, patch)
2009-05-29 09:36 UTC, Matthias Schwarzott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description cmuelle8 2009-05-13 04:26:50 UTC
the ${PN} variables in the compile and install functions of libopensync-9999.ebuild need to be just ${P}

for a proper build


all the best,
cmuelle8

Reproducible: Always
Comment 1 Sebastian Luther (few) 2009-05-13 11:48:34 UTC
*** Bug 269636 has been marked as a duplicate of this bug. ***
Comment 2 Matthias Schwarzott gentoo-dev 2009-05-29 09:35:28 UTC
It seems this is due to change 1.26 of cmake-utils.eclass:
> revision 1.26
> date: 2009-05-08 12:54:02 +0200;  author: scarabeus;  state: Exp;  lines: +18 -10;  commitid: 4d8c4a040ed04567;
> Introduce updated cmake-utils eclass
> Now it can be run out of the S variable by defining CMAKE_USE_DIR
> I searched tree and found no issue but if your package fail you are probably > using this:
> ${WORKDIR}/${PN}_build/ this code should be replaced with "${CMAKE_BUILD_DIR}"

The attached patch should fix version 0.36-r1. All others should be identical to fix.
Comment 3 Matthias Schwarzott gentoo-dev 2009-05-29 09:36:00 UTC
Created attachment 192837 [details, diff]
fix cmake pathes in libopensync-0.36-r1.ebuild
Comment 4 cmuelle8 2009-06-05 00:12:08 UTC
-		cd "${WORKDIR}/${PN}_build"
+		cd "${CMAKE_BUILD_DIR}"


can someone please apply this to -9999 as well..


thx
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2009-06-05 11:44:09 UTC
Should be fixed.
@Zzam:
next time if you dont have any response from maintainer just fix yourself.

Please reopen bug if it still fails to you but it compiled for me (tested .38)