Hello Qiang,

Thanks Qiang, for your prompt reply.

I have checked that most of my packages are getting failed while building
complete Tizen source code on CentOS-6.3 machine.

*ISSUE 1:*
Most of failed packages are failing with following lines in their log.
     " *gcc: Internal error: Segmentation fault (program cc1)* "
My build is in progress, till now packages failed with this message are:
===========================================================================
[root@localhost fail]# grep -r " gcc: Internal error: Segmentation fault
(program cc1)" .
./libpng-1.2.46-1/log:[   56s] gcc: Internal error: Segmentation fault
(program cc1)
./libpng-1.2.46-1/log:[   57s] gcc: Internal error: Segmentation fault
(program cc1)
./swig-1.3.40-1/log:[  121s] gcc: Internal error: Segmentation fault
(program cc1)
./sqlite-3.7.9-3/log:[  147s] gcc: Internal error: Segmentation fault
(program cc1)
./libcap-2.21-1/log:[   21s] gcc: Internal error: Segmentation fault
(program cc1)
./gcc-4.5.3-1/log:[  119s] gcc: Internal error: Segmentation fault (program
cc1)
./gzip-1.3.14-1/log:[  247s] gcc: Internal error: Segmentation fault
(program cc1)
./sharutils-4.7-2/log:[  131s] gcc: Internal error: Segmentation fault
(program cc1)
./ccache-3.1.6-1/log:[   73s] gcc: Internal error: Segmentation fault
(program cc1)
./libzypp-9.8.3-1/log:[  171s] gcc: Internal error: Segmentation fault
(program cc1)
./cpio-2.8-3/log:[  279s] gcc: Internal error: Segmentation fault (program
cc1)
./gawk-3.1.5-1/log:[  210s] gcc: Internal error: Segmentation fault
(program cc1)
./gawk-3.1.5-1/log:[  213s] gcc: Internal error: Segmentation fault
(program cc1)
./gawk-3.1.5-1/log:[  223s] gcc: Internal error: Segmentation fault
(program cc1)
./gawk-3.1.5-1/log:[  224s] gcc: Internal error: Segmentation fault
(program cc1)
./capi-network-bluetooth-0.1.15-1/log:[   86s]   gcc: Internal error:
Segmentation fault (program cc1)
./e2fs-static-1.41.11-1/log:[  175s] gcc: Internal error: Segmentation
fault (program cc1)
./kernel-2.6.36-1/log:[   89s] gcc: Internal error: Segmentation fault
(program cc1)
./unifdef-2.3-1/log:[   29s] gcc: Internal error: Segmentation fault
(program cc1)
./avahi-0.6.30-16/log:[  321s] gcc: Internal error: Segmentation fault
(program cc1)
./yasm-1.2.0-1/log:[   56s] gcc: Internal error: Segmentation fault
(program cc1)
./yasm-1.2.0-1/log:[   56s] gcc: Internal error: Segmentation fault
(program cc1)
./dbus-python-0.83.1-2/log:[  214s] gcc: Internal error: Segmentation fault
(program cc1)
./dbus-python-0.83.1-2/log:[  214s] gcc: Internal error: Segmentation fault
(program cc1)
./zlib-1.2.5-2.7/log:[   15s] gcc: Internal error: Segmentation fault
(program cc1)
./zlib-1.2.5-2.7/log:[   17s] gcc: Internal error: Segmentation fault
(program cc1)
./zlib-1.2.5-2.7/log:[   20s] gcc: Internal error: Segmentation fault
(program cc1)
./lcms2-2.3-2slp2/log:[  126s] gcc: Internal error: Segmentation fault
(program cc1)
./lcms2-2.3-2slp2/log:[  131s] gcc: Internal error: Segmentation fault
(program cc1)
./sysvinit-2.87-1/log:[   19s] gcc: Internal error: Segmentation fault
(program cc1)
./mingetty-1.08-3.9/log:[   10s] gcc: Internal error: Segmentation fault
(program cc1)
./gconf-dbus-2.16.0-1/log:[  219s] gcc: Internal error: Segmentation fault
(program cc1)
./unzip-6.0-9/log:[   12s] gcc: Internal error: Segmentation fault (program
cc1)
./unzip-6.0-9/log:[   13s] gcc: Internal error: Segmentation fault (program
cc1)
./crash-worker-sdk-0.1.1-4/log:[   53s] gcc: Internal error: Segmentation
fault (program cc1)
./xorg-x11-xinput-1.6.0-2/log:[  182s] gcc: Internal error: Segmentation
fault (program cc1)
./kmod-5-1/log:[  114s] gcc: Internal error: Segmentation fault (program
cc1)
./libusb-1.0.9-15/log:[   36s] gcc: Internal error: Segmentation fault
(program cc1)
./freetype-2.4.9-1/log:[   40s] checking whether cpp computation of bit
length in ftconfig.in works... gcc: Internal error: Segmentation fault
(program cc1)
./freetype-2.4.9-1/log:[  116s] gcc: Internal error: Segmentation fault
(program cc1)
./freetype-2.4.9-1/log:[  116s] gcc: Internal error: Segmentation fault
(program cc1)
./gupnp-0.18.0-1/log:[   78s] gcc: Internal error: Segmentation fault
(program cc1)
./gupnp-0.18.0-1/log:[   79s] gcc: Internal error: Segmentation fault
(program cc1)
./gupnp-0.18.0-1/log:[   85s] gcc: Internal error: Segmentation fault
(program cc1)
./rpm-installer-0.1.12-1/log:[  189s] gcc: Internal error: Segmentation
fault (program cc1)
./libarchive-2.8.3-1/log:[  307s] gcc: Internal error: Segmentation fault
(program cc1)
./eglibc-2.13-1/log:[  141s] gcc: Internal error: Segmentation fault
(program cc1)
./eglibc-2.13-1/log:[  142s] gcc: Internal error: Segmentation fault
(program cc1)
./eglibc-2.13-1/log:[  163s] gcc: Internal error: Segmentation fault
(program cc1)
./libxslt-1.1.16-1/log:[  185s] gcc: Internal error: Segmentation fault
(program cc1)
./libxslt-1.1.16-1/log:[  186s] gcc: Internal error: Segmentation fault
(program cc1)
./libxslt-1.1.16-1/log:[  190s] gcc: Internal error: Segmentation fault
(program cc1)
./nettle-2.1-1/log:[   93s] gcc: Internal error: Segmentation fault
(program cc1)
./nasm-2.08rc7-2.16/log:[   49s] gcc: Internal error: Segmentation fault
(program cc1)
./sphinxbase-0.7-1/log:[  102s] gcc: Internal error: Segmentation fault
(program cc1)
./sphinxbase-0.7-1/log:[  102s] gcc: Internal error: Segmentation fault
(program cc1)
./capi-social-contacts-0.1.7-1/log:[  230s] gcc: Internal error:
Segmentation fault (program cc1)
./capi-social-contacts-0.1.7-1/log:[  231s] gcc: Internal error:
Segmentation fault (program cc1)
./capi-social-contacts-0.1.7-1/log:[  231s] gcc: Internal error:
Segmentation fault (program cc1)
./diffutils-3.0-1/log:[  401s] gcc: Internal error: Segmentation fault
(program cc1)
./system-server-0.1.51-1/log:[   75s] gcc: Internal error: Segmentation
fault (program cc1)
./libexif-0.6.19-1/log:[   55s] gcc: Internal error: Segmentation fault
(program cc1)
./libexif-0.6.19-1/log:[   55s] gcc: Internal error: Segmentation fault
(program cc1)
./libexif-0.6.19-1/log:[   55s] gcc: Internal error: Segmentation fault
(program cc1)
./ug-memo-efl-0.1.1-38/log:[   89s] gcc: Internal error: Segmentation fault
(program cc1)
./bzip2-1.0.5-2/log:[   15s] gcc: Internal error: Segmentation fault
(program cc1)
./bzip2-1.0.5-2/log:[   18s] gcc: Internal error: Segmentation fault
(program cc1)
./stt-0.1.1-1/log:[   70s] gcc: Internal error: Segmentation fault (program
cc1)
./stt-0.1.1-1/log:[   71s] gcc: Internal error: Segmentation fault (program
cc1)
./stt-0.1.1-1/log:[   74s] gcc: Internal error: Segmentation fault (program
cc1)
./liboil-0.3.17-2.13/log:[  172s] gcc: Internal error: Segmentation fault
(program cc1)
./libijs-0.35-1/log:[   53s] gcc: Internal error: Segmentation fault
(program cc1)
./python-pyOpenSSL-0.12-1/log:[   18s] gcc: Internal error: Segmentation
fault (program cc1)
./perl-XML-Parser-2.36-3/log:[   60s] gcc: Internal error: Segmentation
fault (program cc1)
./make-3.81-1/log:[  105s] gcc: Internal error: Segmentation fault (program
cc1)
./make-3.81-1/log:[  110s] gcc: Internal error: Segmentation fault (program
cc1)
./nspr-4.8.7-1/log:[  110s] gcc: Internal error: Segmentation fault
(program cc1)
./speex-1.2rc1-2.23/log:[   93s] gcc: Internal error: Segmentation fault
(program cc1)
./wget-1.12-1/log:[  183s] gcc: Internal error: Segmentation fault (program
cc1)
./perl-HTML-Parser-3.69-3/log:[   17s] gcc: Internal error: Segmentation
fault (program cc1)
./texinfo-4.13-7/log:[  235s] gcc: Internal error: Segmentation fault
(program cc1)
./capi-uix-face-0.1.33-1/log:[  131s] gcc: Internal error: Segmentation
fault (program cc1)
./byacc-1.9.20091027-2/log:[   20s] gcc: Internal error: Segmentation fault
(program cc1)
./byacc-1.9.20091027-2/log:[   23s] gcc: Internal error: Segmentation fault
(program cc1)
./byacc-1.9.20091027-2/log:[   25s] gcc: Internal error: Segmentation fault
(program cc1)
./byacc-1.9.20091027-2/log:[   27s] gcc: Internal error: Segmentation fault
(program cc1)
./sed-4.1.5-1/log:[  108s] gcc: Internal error: Segmentation fault (program
cc1)
./sed-4.1.5-1/log:[  108s] gcc: Internal error: Segmentation fault (program
cc1)
./xmlsec1-1.2.14-1/log:[  112s] gcc: Internal error: Segmentation fault
(program cc1)
./xmlsec1-1.2.14-1/log:[  115s] gcc: Internal error: Segmentation fault
(program cc1)
./ncurses-5.7-4/log:[  198s] gcc: Internal error: Segmentation fault
(program cc1)
./ncurses-5.7-4/log:[  198s] gcc: Internal error: Segmentation fault
(program cc1)
./ncurses-5.7-4/log:[  201s] gcc: Internal error: Segmentation fault
(program cc1)
./giflib-4.1.6-9/log:[  115s] gcc: Internal error: Segmentation fault
(program cc1)
./ed-1.4-1/log:[   18s] gcc: Internal error: Segmentation fault (program
cc1)
./ed-1.4-1/log:[   20s] gcc: Internal error: Segmentation fault (program
cc1)
./zip-2.31-1.2.2/log:[  556s] gcc: Internal error: Segmentation fault
(program cc1)
./pam-1.1.5-1/log:[  227s] gcc: Internal error: Segmentation fault (program
cc1)
./libtheora-1.1.1-2/log:[  112s] gcc: Internal error: Segmentation fault
(program cc1)
./findutils-4.2.31-1/log:[  239s] gcc: Internal error: Segmentation fault
(program cc1)
./bootchart-1.15-1/log:[    5s] gcc: Internal error: Segmentation fault
(program cc1)
./connman-1.3-1/log:[  164s] gcc: Internal error: Segmentation fault
(program cc1)
./connman-1.3-1/log:[  167s] gcc: Internal error: Segmentation fault
(program cc1)
./eobj-1.7.1+svn.78409+build01-1/log:[  272s] gcc: Internal error:
Segmentation fault (program cc1)
./insserv-1.12.0-1/log:[   26s] gcc: Internal error: Segmentation fault
(program cc1)
./libnl-1.1-1/log:[   21s] gcc: Internal error: Segmentation fault (program
cc1)
./libnl-1.1-1/log:[   57s] gcc: Internal error: Segmentation fault (program
cc1)
./gst-plugins-ugly-0.10.19-3/log:[ 1063s] gcc: Internal error: Segmentation
fault (program cc1)
./gst-plugins-ugly-0.10.19-3/log:[ 1064s] gcc: Internal error: Segmentation
fault (program cc1)
./strace-4.5.20-1/log:[  145s] gcc: Internal error: Segmentation fault
(program cc1)
./strace-4.5.20-1/log:[  145s] gcc: Internal error: Segmentation fault
(program cc1)
./strace-4.5.20-1/log:[  145s] gcc: Internal error: Segmentation fault
(program cc1)
./nss-3.12.9-3/log:[   35s] gcc: Internal error: Segmentation fault
(program cc1)
./libgsf-1.14.21-1/log:[  236s] gcc: Internal error: Segmentation fault
(program cc1)
./libgsf-1.14.21-1/log:[  249s] gcc: Internal error: Segmentation fault
(program cc1)
./capi-web-favorites-0.0.1-1/log:[  128s]   gcc: Internal error:
Segmentation fault (program cc1)
./libvorbis-1.3.2-2/log:[   96s] gcc: Internal error: Segmentation fault
(program cc1)
./libvorbis-1.3.2-2/log:[   97s] gcc: Internal error: Segmentation fault
(program cc1)
./xz-5.0.3-1/log:[  154s] gcc: Internal error: Segmentation fault (program
cc1)
./libxml2-2.7.8-8.5/log:[  186s] gcc: Internal error: Segmentation fault
(program cc1)
./atk-2.2.0-1/log:[   87s] gcc: Internal error: Segmentation fault (program
cc1)
./atk-2.2.0-1/log:[   88s] gcc: Internal error: Segmentation fault (program
cc1)
./libmm-radio-0.2.0-1/log:[  368s] gcc: Internal error: Segmentation fault
(program cc1)
./e2fsprogs-1.41.11-2/log:[  211s] gcc: Internal error: Segmentation fault
(program cc1)
./patch-2.6.1.169-1/log:[  369s] gcc: Internal error: Segmentation fault
(program cc1)
./patch-2.6.1.169-1/log:[  370s] gcc: Internal error: Segmentation fault
(program cc1)
./nodejs-0.6.14-1/log:[   67s] gcc: Internal error: Segmentation fault
(program cc1)
[root@localhost fail]#
===========================================================================

*ISSUE2:*
For few of the failed packges like
          libmm-session-0.2.1-1/libmm-session.spec
          u-boot-1.3.4-1/u-boot.spec
          edbus-1.7.1+tarball+build01-1/edbus.spec
          alarm-manager-0.4.53-2/alarm-manager.spec
          lua-5.1.4-6/lua.spec
I checked *.spec file and found
*           %prep
           %setup -q
*I changed to
*           %prep
           %setup -q -n %{name}-%{version}
*
With this changes build for above packages move forward and not failing at
point where it was failing before.
I checked that only "%setup -q" is present in many packages.

*ISSUE3:*
I checked that if I restart my build on CentOS-6.3 machine with following
command
                     *$ gbs build --exclude=libgcc-x86 -A armv7l --threads=8
*
then it would *re-configure* all previously configured packages

While while building on Ubuntu-12.04, it would on configure only those
packages for which configuration was failed last time.

Thus re-configuring all 900 packages on centOS machine is taking lot of my
time, I think this issue needs to be fixed specifically for CentOS machine.

--
Regards,
Yogesh Gaur.

On Wed, Mar 13, 2013 at 7:55 PM, Zhang, Qiang Z <[email protected]>wrote:

>  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

Reply via email to