Hi Anoop,
Since this subject is a technical one, please use the dev mailing list
"[email protected]" instead of the general mailing list
"[email protected]".
Regarding the previous issue (bashism) I think it has been corrected but
if you find other similar issues, please, report them to us, send us a
patch or directly push a correction in gerrit (for the latter solution,
you might need to read that first:
https://source.tizen.org/documentation/developer-guide/getting-started-guide).
I don't have the error you have but recently we had some issues building
some packages. Those issues are now corrected. Please, fetch the latest
sources from meta-tizen and try a rebuild. Note that you can use a
script for that which will also update the other meta; how to use the
scripts is explained here:
https://wiki.tizen.org/wiki/Build_Tizen_with_Yocto#Using_scripts (fetch
the latest version of the script first).
If you still have this error, it might be another "bashism" (sorry...).
If not it seems that a file can't be found so checking if this file
exists in the source directory may be a good start.
If you have other issues, please let us know either by mail or by
filling a bug report (https://bugs.tizen.org).
Kevin
On 29/07/2014 14:07, Anoop wrote:
Kévin THIERRY <kevin.thierry@...> writes:
Hi,
This is due to "bashism" (our mistake). I will make a patch to correct
that. In the meantime you can edit the file:
meta-tizen/recipes-tizen/rpm/rpm-extaconf.inc and replace all "export"
calls looking like this one: "export CCFLAGS+=" -fPIC "" with "export
CCFLAGS="${CCFLAGS} -fPIC "".
Please, if you encounter other technical issues, use the mailing list:
"dev@...". Thanks.
Kevin
On 25/07/2014 14:45, Anoop wrote:
command used
bitbake -v tizen-common-core-image-minimal-dev
Summary: 1 task failed:
virtual:native:/home/sfm/yocto_temp/meta-tizen/recipes-
tizen/rpm/rpm_git.bb, do_compile
+ CPPFLAGS=-isystem/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include -I/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include/nss3
+ export CPPFLAGS
+ export LDFLAGS=-L/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib -L/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -
Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -
Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -
Wl,-
Bsymbolic-functions -ffunction-sections
+ export CCFLAGS+= -fPIC
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/run.do_compile.26826: 120: export: CCFLAGS+: bad variable name
+ bb_exit_handler
+ ret=2
+ echo WARNING: exit code 2 from a shell command.
WARNING: exit code 2 from a shell command.
+ exit 2
ERROR: Function failed: do_compile (log file is located at
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/log.do_compile.26826)
*****do compile log file*****
DEBUG: Executing shell function do_compile
+
cd
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-r0/git
+
do_compile
+
cd
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-r0/git
+
LANG=C
+
export
LANG
+
unset
DISPLAY
+
LD_AS_NEEDED=1
+
export
LD_AS_NEEDED
+
pkg-config
--cflags
nss
+ CPPFLAGS=-isystem/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include -I/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include/nss3
+ export CPPFLAGS
+ export LDFLAGS=-L/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib -L/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -
Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -
Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -
Wl,-
Bsymbolic-functions -ffunction-sections
+ export CCFLAGS+= -fPIC
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/run.do_compile.26826: 120: export: CCFLAGS+: bad variable name
+ bb_exit_handler
+ ret=2
+ echo WARNING: exit code 2 from a shell command.
WARNING: exit code 2 from a shell command.
+ exit 2
+ cd /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/git
+ do_compile
+ cd /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/git
+ LANG=C
+ export LANG
+ unset DISPLAY
+ LD_AS_NEEDED=1
+ export LD_AS_NEEDED
+ pkg-config --cflags nss
+ CPPFLAGS=-isystem/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include -I/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/include/nss3
+ export CPPFLAGS
+ export LDFLAGS=-L/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib -L/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -
Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -
Wl,-
rpath-link,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib -Wl,-
rpath,/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/lib -Wl,-O1 -
Wl,-
Bsymbolic-functions -ffunction-sections
+ export CCFLAGS+= -fPIC
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/run.do_compile.26826: 120: export: CCFLAGS+: bad variable name
+ bb_exit_handler
+ ret=2
+ echo WARNING: exit code 2 from a shell command.
WARNING: exit code 2 from a shell command.
+ exit 2
ERROR: Function failed: do_compile (log file is located at
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/log.do_compile.26826)
Request inputs to resolve this error
Hi Kevin,
thank you for your valuable inputs i could resolve the stated error.
But rpm-native threw another error. Below mentioned are the details
+ rm -f /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib/rpm/cpanflute /home/sfm/yocto_temp/build/tmp/work/i686-
linux/rpm-native/git-r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib/rpm/cpanflute2
+ install -m 755 scripts/find-supplements{,.ksyms}
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib/rpm
install:
cannot stat `scripts/find-supplements{,.ksyms}'
: No such file or directory
+ bb_exit_handler
+ ret=1
+ echo WARNING: exit code 1 from a shell command.
WARNING: exit code 1 from a shell command.
+ exit 1
ERROR: Function failed: do_install (log file is located at
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/log.do_install.5616)
ERROR: Logfile of failure stored in:
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/log.do_install.5616
NOTE: recipe rpm-native-git-r0: task do_install: Failed
ERROR: Task 86 (virtual:native:/home/sfm/yocto_temp/meta-tizen/recipes-
tizen/rpm/rpm_git.bb, do_install) failed with exit code '1'
***** do install log file*****
+ rm -rf doc/manual/Makefile*
+ rm -f /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib/rpmpopt
+ rm -rf /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/{fr,ja,ko,pl,ru,sk}
+ rm -f /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/locale/de/LC_MESSAGES/rpm.mo
+ rm -f /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib/rpm/cpanflute /home/sfm/yocto_temp/build/tmp/work/i686-
linux/rpm-native/git-r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib/rpm/cpanflute2
+ install -m 755 scripts/find-supplements{,.ksyms}
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib/rpm
install:
cannot stat `scripts/find-supplements{,.ksyms}'
: No such file or directory
+ bb_exit_handler
+ ret=1
+ echo WARNING: exit code 1 from a shell command.
WARNING: exit code 1 from a shell command.
+ exit 1
image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/src/packages/RPMS/x86_64
+ chmod 755 /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/src/packages/RPMS/x86_64
+ mkdir -p /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/var/lib/rpm
+ gzip -9 /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man1/gendiff.1 /home/sfm/yocto_temp/build/tmp/work/i686-
linux/rpm-native/git-r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpm.8 /home/sfm/yocto_temp/build/tmp/work/i686-
linux/rpm-native/git-r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpm2cpio.8
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpmbuild.8
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpmdb.8 /home/sfm/yocto_temp/build/tmp/work/i686-
linux/rpm-native/git-r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpmdeps.8 /home/sfm/yocto_temp/build/tmp/work/i686-
linux/rpm-native/git-r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpmgraph.8
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpmkeys.8 /home/sfm/yocto_temp/build/tmp/work/i686-
linux/rpm-native/git-r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpmqpack.8
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpmsign.8 /home/sfm/yocto_temp/build/tmp/work/i686-
linux/rpm-native/git-r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/man8/rpmspec.8
+ export RPM_BUILD_ROOT
+ chmod 755 doc/manual
+ rm -rf doc/manual/Makefile*
+ rm -f /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib/rpmpopt
+ rm -rf /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/man/{fr,ja,ko,pl,ru,sk}
+ rm -f /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/share/locale/de/LC_MESSAGES/rpm.mo
+ rm -f /home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib/rpm/cpanflute /home/sfm/yocto_temp/build/tmp/work/i686-
linux/rpm-native/git-r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-
linux/usr/lib/rpm/cpanflute2
+ install -m 755 scripts/find-supplements{,.ksyms}
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/image/home/sfm/yocto_temp/build/tmp/sysroots/i686-linux/usr/lib/rpm
install: cannot stat `scripts/find-supplements{,.ksyms}': No such file or
directory
+ bb_exit_handler
+ ret=1
+ echo WARNING: exit code 1 from a shell command.
WARNING: exit code 1 from a shell command.
+ exit 1
ERROR: Function failed: do_install (log file is located at
/home/sfm/yocto_temp/build/tmp/work/i686-linux/rpm-native/git-
r0/temp/log.do_install.5616)
_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev