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
> >
> > _______________________________________________
> > General mailing list
> > General@...
> > https://lists.tizen.org/listinfo/general
>
>
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)
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general