I had the same problem last week. I was using Ubuntu 13.04 64-bits. It happened after I update the system. If you try
$ sudo chroot GBS-ROOT/local/BUILD-ROOTS/scratch.i586.0/ # ls > /dev/null you will notice the same error message. As a temporary solution I've created a new GBS-ROOT at the /tmp/ directory. As a permanent solution, I reinstalled my whole system :-\. On Thu, Jul 18, 2013 at 4:34 AM, Iovene, Salvatore < salvatore.iov...@intel.com> wrote: > Hi, > I'm trying to write a .spec file for my app (it's a very simple one, > no build required: it only needs to install files in > /usr/share/myapp). > > When I do: > > gbs -v lb -A i586 > > I get errors like this: > > [ 220s] /etc/profile: line 44: /dev/null: Permission denied > [ 220s] /etc/profile: line 59: /dev/null: Permission denied > [ 220s] /etc/profile: line 59: /dev/null: Permission denied > > and > > [ 220s] + mkdir -p /usr/share/myapp > [ 220s] mkdir: cannot create directory `/usr/share/myapp': Permission > denied > > I looked around and the files in > ~/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.0 belong to root:root, but > that must be the root in the chroot, because running "gbs lb" with > sudo doesn't help. > > What am I missing? > > Thanks in advance, > Salvatore. > > > > -- > Salvatore Iovene <salvatore.iov...@intel.com> > Linux Software Engineer > Intel Open Source Technology Center, Finland > Tel.: +358504804026 > _______________________________________________ > Application-dev mailing list > Application-dev@lists.tizen.org > https://lists.tizen.org/listinfo/application-dev > -- Joao Paulo Fernandes Ventura Software Analyst at ProFUSION Embedded Systems Computing Engineer at University of Campinas
_______________________________________________ Application-dev mailing list Application-dev@lists.tizen.org https://lists.tizen.org/listinfo/application-dev