Hi,
For issue 1:
- remove all *-x86 packages, such as rpm-build-x86,make-x86,grep-x86,...
- perl-Test-Pod, minicom, lockdev, intel-emgd-kmod, perl-HTML-Parser: remove
%{?dist} from Release tag to fix this as workaround, we will fix this issue in
next version.
For issue2: gbs does not support building packages with circle dependency, so
you can use -exclude to exclude one packages in that circle and break circle,
and build the excluded packages finally.
For issue3: --noinit can't be used for build all packages, you can use
--threads=<N> to speed up building. --noinit only suppose to be used for
building one package.
Thanks
Qiang
From: [email protected] [mailto:[email protected]]
On Behalf Of Yogesh Gaur
Sent: Wednesday, March 13, 2013 6:04 PM
To: [email protected]; Yogesh Gaur
Subject: [Tizen General] Tizen Build Issues : CentOS-6.3
Hello All,
I have started building latest complete Tizen source code on CentOS-6.3 machine.
I have faced following issues while executing build command:
Command: $ gbs build --exclude=libgcc-x86 -A armv7l
Issues 1:
/root/GBS-ROOT/local/sources/tizen2.0/rpm-build-x86-MACRO-8/rpm-build-x86.spec:
No such file or directory
/root/GBS-ROOT/local/sources/tizen2.0/perl-HTML-Parser-3.69-3/perl-HTML-Parser.spec:
No such file or directory
/root/GBS-ROOT/local/sources/tizen2.0/make-MACRO-8/make-x86.spec: No such file
or directory
/root/GBS-ROOT/local/sources/tizen2.0/grep-MACRO-8/grep-x86.spec: No such file
or directory
/root/GBS-ROOT/local/sources/tizen2.0/libgcc-x86-MACRO-1/libgcc-x86.spec: No
such file or directory
/root/GBS-ROOT/local/sources/tizen2.0/perl-Test-Pod-1.45-3/perl-Test-Pod.spec:
No such file or directory
/root/GBS-ROOT/local/sources/tizen2.0/minicom-2.5-8/minicom.spec: No such file
or directory
/root/GBS-ROOT/local/sources/tizen2.0/lockdev-1.0.4-0.4.20111007git/lockdev.spec:No
such file or directory
/root/GBS-ROOT/local/sources/tizen2.0/intel-emgd-kmod-3104-1/intel-emgd-kmod.spec:No
such file or directory
For all above cases, I checked that parent directory for the *.spec file was
not created, for workaround I have created directory and copy respective *.spec
file in this directory.
i.e. example
created dir <minicom-2.5-8> at path /root/GBS-ROOT/local/sources/tizen2.0 and
copy minicom.spec file from Tizen source code to build directory.
Issue 2:
info: package dependency resolving ...
warning: circle found: perl-HTML-Parser->perl-libwww-perl->perl-HTML-Parser
info: circle found, exit...
error: <gbs>rpmbuild fails
Workaround:
Modify file "perl-libwww-perl-5.836-1/perl-libwww-perl.spec", comment following
code:
Requires: perl-HTML-Parser >= 3.33 -------> # Requires:
perl-HTML-Parser >= 3.33
BuildRequires: perl(HTML::Entities) -------> # BuildRequires:
perl(HTML::Entities
Issue 3:
With these two changes my build is started but when I tries to restart my build
with --noinit option, I am getting failure log for
"/usr/bin/depanneur" line 361
open(my $file, '<', "$scratch/.guessed_dist") ||
die "read dist name failed: $!";
Whenever I am starting my build without giving --noinit option then, its taking
very long time to start the build and re-configures all previously configured
packages.
Please share if any proper solution exist for the above issues, currently my
build is in progress but I am getting many of the packages build get failed.
--
Regards,
Yogesh Gaur.
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general