Hi, I've got a solution step by step. #cd /srv/obslight-repo-server/www #mkdir TizenBase #mkdir TizenMain #cd TizenBase #rsync -razv rsync://download.tizen.org/snapshots/2.0alpha/common/latest/repos/tizen-base/armv7l/packages/ ./ #cd ../TizenMain #rsync -razv rsync://download.tizen.org/snapshots/2.0alpha/common/latest/repos/tizen-main/armv7l/packages/ ./ #cd .. #chmod -R a+w TizenBase #chmod -R a+w TizenMain #rm TizenMain/noarch/libX11-common-1.5.0-slp.2.4.noarch.rpm #createrepo TizenBase #createrepo TizenMain
Now you got 2 repo on your localHost: - http://localhost:84/TizenMain/ - http://localhost:84/TizenBase/ In obslight, Create a gbs project. Get the project conf: wget http://download.tizen.org/snapshots/2.0alpha/common/latest/builddata/a300db37ca06dc0948bf006eaf2a15fa0481ac5ef64e1a71695bd6b84901f667-build.conf That work for me. Can you try this, and send me your result? thanks. 2012/11/30 <[email protected]>: > Hi, > > > > I have tried your solution. But getting the below error when creating the > build root. > > > > ----------------------------------------------------------------------------------------------------------------------------------------- > > > cannot concatenate 'str' and 'NoneType' objects > > > > File "/usr/lib/python2.7/dist-packages/ObsLightGui/Utils.py", line 271, in > run > > result = method(*args, **kwargs) > > File "/usr/lib/python2.7/dist-packages/ObsLight/ObsLightManager.py", line > 91, in checkProjectLocalName2 > > return f(*args, **kwargs) > > File "/usr/lib/python2.7/dist-packages/ObsLight/ObsLightManager.py", line > 1162, in createChRoot > > res = self._myObsLightProjects.getProject(projectLocalName).createChRoot() > > File "/usr/lib/python2.7/dist-packages/ObsLight/ObsLightProjectChroot.py", > line 204, in createChRoot > > return self.__initChRoot() > > File "/usr/lib/python2.7/dist-packages/ObsLight/ObsLightProjectChroot.py", > line 121, in __initChRoot > > rpmListFilePath = self.createRpmList(specFile) > > File "/usr/lib/python2.7/dist-packages/ObsLight/ObsLightGbsProject.py", line > 203, in createRpmList > > localRpmListFilePath = self.__createCachedRpmListOuputFile(ouputFile[1], > self.__repoList) > > File "/usr/lib/python2.7/dist-packages/ObsLight/ObsLightGbsProject.py", line > 267, in __createCachedRpmListOuputFile > > fResult.write(rpmName + " " + rpmUrl + "\n") > > > > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > > > Repos used are > > > > /home/smart/Desktop/download.tizen.org/snapshots/2.0alpha/common/latest/repos/tizen-base/armv7l/packages/ > > /home/smart/Desktop/download.tizen.org/snapshots/2.0alpha/common/latest/repos/tizen-main/armv7l/packages/ > > > > Please give me your suggestions. > > > > Thanks & Regards, > > Gopal krishna Reddy > > > > -----Original Message----- > From: "Ronan Le Martret (Intel OTC)" <[email protected]> > Sent: Thursday, November 29, 2012 1:25pm > To: [email protected] > Cc: [email protected], [email protected] > Subject: Re: FW: Re: [Meego-distribution-tools] FW: Tizen 2.0 Build using > OBSLight Gui for armv7l > > Hi, > I'm find why the package don't build. > > You have 2 times the same package: > http://download.tizen.org/snapshots/2.0alpha/common/latest/repos/tizen-main/armv7l/packages/noarch/libX11-common-1.5.0-slp.2.2.noarch.rpm > http://download.tizen.org/snapshots/2.0alpha/common/latest/repos/tizen-main/armv7l/packages/noarch/libX11-common-1.5.0-slp.2.4.noarch.rpm > > slp.2.4>slp.2.2 > so > the newer is take. > (from "build" package "expanddeps" file Line 107 ). > > I'm will try to patch the script. > > To walk round this bug, you can: > -Mirror the repo > (rsync).(http://download.tizen.org/snapshots/2.0alpha/common/latest) > -remove the /noarch/libX11-common-1.5.0-slp.2.4.noarch.rpm > -use "createrepo". > > It's ugly, but sould work. > > > > 2012/11/29 <[email protected]>: >> Attaching the spec file. >> >> >> >> Thanks & Regards, >> >> Gopal krishna Reddy >> >> >> >> -----Original Message----- >> From: [email protected] >> Sent: Thursday, November 29, 2012 9:19am >> To: "Ronan Le Martret (Intel OTC)" <[email protected]> >> Cc: [email protected], [email protected] >> Subject: Re: [Meego-distribution-tools] FW: Tizen 2.0 Build using OBSLight >> Gui for armv7l >> >> Hi Ronan, >> >> >> >> Here are my repositories >> >> >> >> >> http://download.tizen.org/snapshots/2.0alpha/common/latest/repos/tizen-base/armv7l/packages/ >> >> >> http://download.tizen.org/snapshots/2.0alpha/common/latest/repos/tizen-main/armv7l/packages/ >> >> >> >> libX11-common does not exist in these repos. >> >> >> >> I am getting this error when i build any package using obslightgui. >> >> >> >> Thanks & Regards, >> >> Gopal krishna Reddy >> >> >> >> -----Original Message----- >> From: "Ronan Le Martret (Intel OTC)" <[email protected]> >> Sent: Thursday, November 29, 2012 8:23am >> To: [email protected] >> Cc: [email protected], [email protected] >> Subject: Re: [Meego-distribution-tools] FW: Tizen 2.0 Build using OBSLight >> Gui for armv7l >> >> Hi, >> can you give me: >> -your repo url. >> -Your spec file (or package). >> >> Does libX11-common exist into your repo? >> >> >> >> 2012/11/29 <[email protected]>: >>> libX11-common >> >> >> >> -- >> Ronan Le Martret >> Intel Open Source Technology Center > > > > -- > Ronan Le Martret > Intel Open Source Technology Center -- Ronan Le Martret Intel Open Source Technology Center _______________________________________________ MeeGo-packaging mailing list [email protected] http://lists.meego.com/listinfo/meego-packaging
