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

Bug 269639

Summary: >=app-pda/libopensync-0.35 fails to build with doc useflag due to changed cmake-utils.eclass
Product: Gentoo Linux Reporter: cmuelle8 <cmue81>
Component: Current packagesAssignee: Gentoo PDA project <pda>
Status: RESOLVED FIXED    
Severity: normal CC: peper, scarabeus, zzam
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: fix cmake pathes in libopensync-0.36-r1.ebuild

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)