Hi.
I run linux Mint 13 which is based off of the Ubuntu 12.04 tree.
I followed the instructions
https://source.tizen.org/documentation/developer-guide/environment-setup (basing it on Ubuntu 12.04 path)
https://source.tizen.org/documentation/developer-guide/installing-development-tools (again basing it on Ubuntu 12.04 path)
This all went fine and the tools appear solid.
pulled down the complete sources
and then:
me@dev /media/GIT/Tizen $ accel_pkgs="bash,bzip2-libs,c-ares,cmake,coreutils,diffutils,eglibc,elfutils-libelf,elfutils-libs,elfutils,fdupes,file,findutils,gawk,gmp,gzip,libacl,libattr,libcap,libcurl,libfile,libgcc,liblua,libstdc++,make,mpc,mpfr,ncurses-libs,nodejs,nspr,nss-softokn-freebl,nss,openssl,patch,popt,rpm-build,rpm-libs,rpm,sed,sqlite,tar,xz-libs,zlib,binutils,gcc"
me@dev /media/GIT/Tizen $ export TIZEN_BUILD_ROOT=/media/GBS-ROOT; gbs build -B /media/GBS-ROOT -A armv7l --threads=4 --clean-once --exclude=${accel_pkgs},filesystem,aul,libmm-sound,libtool
However upon trying to do a build like this I get constant errors in the logs like
/etc/profile.d/colorls.sh: line 3: /dev/null: Permission denied (lots of these)
-bash: /dev/null: Permission denied (lots of these)
4s] Testing C library type with cc ... ./Configure: line 2657: /dev/null: Permission denied
[ 4s] done
[ 4s] Cannot determine C library type; assuming it is not glibc. (Which is obviously wrong)
The only reference I can find to this error anywhere is in the kernel udev tree https://lkml.org/lkml/2009/9/17/376
And even elevating the build to root permissions does not allevaite the issue.
okay so I found /media/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7l.0/dev/null and the perms look right on it?
Gotta be something to do with the way the system is treating the devices...
Really would love to know what...
how I can fix these permissions issues to let a build go through without error.
Many thanks.
I'm using the guide https://source.tizen.org/documentation/developer-guide/building-packages-locally
[general] tmpdir=/var/tmp/ profile = profile.tizen2.2 work_dir=. [repo.tizen2.2_arm] url=${work_dir}/pre-built/toolchain-arm/ [repo.tizen2.2_x86] url=${work_dir}/pre-built/toolchain-x86/ [repo.tizen2.2] url = http://download.tizen.org/releases/2.2/tizen-2.2/ [profile.tizen2.2] repos=repo.tizen2.2_arm, repo.tizen2.2_x86, repo.tizen2.2 buildconf=${work_dir}/scm/meta/build-config/build.conf
EDIT: okay so I tried
me@dev /media/GIT/Tizen $ gbs build -A i586 --threads=4 --clean-once --exclude=gcc,cmake,filesystem,aul,libmm-sound,libtool
and got the same fails.
I did note:
info: parsing package data...
warning: mmfw-sysconf-cleansdk-e4x12: build arch not compatible: armv4l armv5l armv6l armv7l armv4b armv5l armv5b armv5el armv5eb armv5tel armv5teb armv6el armv6eb armv7el armv7eb armv7hl armv7nhl armv8el
warning: mmfw-sysconf-cleansdk-target: build arch not compatible: armv4l armv5l armv6l armv7l armv4b armv5l armv5b armv5el armv5eb armv5tel armv5teb armv6el armv6eb armv7el armv7eb armv7hl armv7nhl armv8el
if that is of any relevance?
Thanks