Thanks, that was it. I can now build locally! Thanks! On Fri, Jul 19, 2013 at 6:12 PM, Lynch, Rusty <[email protected]> wrote: > it sounds like you missed the %setup step that expands your release tarball > and cd's into it. Attach the current spec and it will be easy to see. > > --rusty > ________________________________________ > From: [email protected] > [[email protected]] on behalf of Iovene, Salvatore > [[email protected]] > Sent: Friday, July 19, 2013 2:08 AM > To: Ding, Jian-feng > Cc: [email protected] > Subject: Re: [Tizen Application-dev] Permission denied on /dev/null when > running `gbs build` > > Alright, thanks Jian Feng, that helped! > Now I guess I'm at the last stumbling block: > > I can't seem to be able to address the local repository files from the > spec file. So, in my "%install" section, I do this: > > install -p dist/* %{buildroot}/share/myapp > > because I'm trying to copy all the files in ./dist to the installation > target. However, this complains that "dist" is not found. I added an > echo of my current working directory (echo "Current dir is $(pwd)") > and that says /home/abuild/rpmbuild/BUILD. > > So, how do I correctly address files in my repository, so I can install them? > > Thank you! > Salvatore. > > > On Fri, Jul 19, 2013 at 11:43 AM, Jian-feng Ding > <[email protected]> wrote: >> Do you mean `gbs build --include-all ...` which will let gbs build on all >> local modifications. >> >> thanks >> - jf.ding >> >> On Fri, Jul 19, 2013 at 11:27:54AM +0300, Iovene, Salvatore wrote: >>> Thanks, that should help, hopefully. One more question: >>> >>> do you know how to get gbs to use the local git repository, and >>> therefore the locally modified spec file? I realized that each time I >>> run gbs, even if doing a local build, it will use the spec file that >>> is on the remote git repository. So how do I quickly make tests >>> without committing code? >>> >>> Thanks again! >>> Salvatore. >>> >>> >>> On Thu, Jul 18, 2013 at 3:35 PM, João Paulo Ventura >>> <[email protected]> wrote: >>> > Salvatore, >>> > >>> > May you take a look at the spec file I created for Google V8 >>> > http://evoluter.tumblr.com/tagged/v8? >>> > >>> > >>> > >>> > On Thu, Jul 18, 2013 at 9:23 AM, Devchandra L Meetei <[email protected]> >>> > wrote: >>> >> >>> >> For the >>> >> mkdir -p /usr/share/myapp >>> >> >>> >> Do the /usr/share have search permission ? >>> >> >>> >> >>> >> On Thu, Jul 18, 2013 at 5:42 PM, Iovene, Salvatore >>> >> <[email protected]> wrote: >>> >>> >>> >>> Thanks, >>> >>> that rid me of the errors on /dev/null, but I still get Permission >>> >>> Denied during my %install target. It looks like this: >>> >>> >>> >>> %install >>> >>> mkdir -p /usr/share/myapp >>> >>> copy dist/* /usr/share/myapp/ >>> >>> >>> >>> And the output: >>> >>> >>> >>> [ 4s] + mkdir -p /usr/share/myapp >>> >>> [ 4s] mkdir: cannot create directory `/usr/share/myapp': Permission >>> >>> denied >>> >>> [ 4s] error: Bad exit status from /var/tmp/rpm-tmp.R7IBxf (%install) >>> >>> >>> >>> Any idea of what i'm doing wrong now? >>> >>> >>> >>> Thanks! >>> >>> Salvatore. >>> >>> >>> >>> >>> >>> On Thu, Jul 18, 2013 at 3:00 PM, João Paulo Ventura >>> >>> <[email protected]> wrote: >>> >>> > At your ~/.gbs.conf file: >>> >>> > >>> >>> > buildroot = /tmp/ >>> >>> > >>> >>> > >>> >>> > On Thu, Jul 18, 2013 at 8:55 AM, Iovene, Salvatore >>> >>> > <[email protected]> wrote: >>> >>> >> >>> >>> >> On Thu, Jul 18, 2013 at 2:49 PM, João Paulo Ventura >>> >>> >> <[email protected]> wrote: >>> >>> >> > As a temporary solution I've created a new GBS-ROOT at the /tmp/ >>> >>> >> > directory. >>> >>> >> >>> >>> >> Thanks Joao Paulo. >>> >>> >> Can you elaborate with more details on how to do it, please? >>> >>> >> >>> >>> >> Thanks! >>> >>> >> Salvatore. >>> >>> >> >>> >>> >> >>> >>> >> >>> >>> >> -- >>> >>> >> Salvatore Iovene <[email protected]> >>> >>> >> Linux Software Engineer >>> >>> >> Intel Open Source Technology Center, Finland >>> >>> >> Tel.: +358504804026 >>> >>> > >>> >>> > >>> >>> > >>> >>> > >>> >>> > -- >>> >>> > Joao Paulo Fernandes Ventura >>> >>> > Software Analyst at ProFUSION Embedded Systems >>> >>> > Computing Engineer at University of Campinas >>> >>> >>> >>> >>> >>> >>> >>> -- >>> >>> Salvatore Iovene <[email protected]> >>> >>> Linux Software Engineer >>> >>> Intel Open Source Technology Center, Finland >>> >>> Tel.: +358504804026 >>> >>> _______________________________________________ >>> >>> Application-dev mailing list >>> >>> [email protected] >>> >>> https://lists.tizen.org/listinfo/application-dev >>> >> >>> >> >>> >> >>> >> >>> >> -- >>> >> Warm Regards >>> >> --Dev >>> >> OpenPegasus Developer/Committer >>> >> >>> >> (\__/) >>> >> (='.'=) This is Bunny. Copy and paste bunny >>> >> (")_(") to help him gain world domination. >>> > >>> > >>> > >>> > >>> > -- >>> > Joao Paulo Fernandes Ventura >>> > Software Analyst at ProFUSION Embedded Systems >>> > Computing Engineer at University of Campinas >>> >>> >>> >>> -- >>> Salvatore Iovene <[email protected]> >>> Linux Software Engineer >>> Intel Open Source Technology Center, Finland >>> Tel.: +358504804026 >>> _______________________________________________ >>> Application-dev mailing list >>> [email protected] >>> https://lists.tizen.org/listinfo/application-dev > > > > -- > Salvatore Iovene <[email protected]> > Linux Software Engineer > Intel Open Source Technology Center, Finland > Tel.: +358504804026 > _______________________________________________ > Application-dev mailing list > [email protected] > https://lists.tizen.org/listinfo/application-dev
-- Salvatore Iovene <[email protected]> Linux Software Engineer Intel Open Source Technology Center, Finland Tel.: +358504804026 _______________________________________________ Application-dev mailing list [email protected] https://lists.tizen.org/listinfo/application-dev
