From: Alexander Khryukin <alexander@mezon.ru>
To: poky@yoctoproject.org
Subject: Re: building rpm distro
Date: Thu, 04 Oct 2012 14:33:18 +0400 [thread overview]
Message-ID: <1349346798.6218.8.camel@localhost> (raw)
In-Reply-To: <1349346365.6218.6.camel@localhost>
В Чт., 04/10/2012 в 14:26 +0400, Alexander Khryukin пишет:
> В Чт., 04/10/2012 в 11:24 +0100, Richard Purdie пишет:
> > On Thu, 2012-10-04 at 13:35 +0400, Alexander Khryukin wrote:
> > > Hello.
> > > I'm trying to build mandriva distro for arm cortex-a8 device
> > > I succesfully built image via "bitbake core-image-sato" and i can chroot
> > > into.
> > > Next step it's i want to build some packages on my arm board
> > > via rpmbuild tool
> > >
> > >
> > > rpmbuild --rebuild ed-1.6-5.src.rpm
> > > Installing ed-1.6-5.src.rpm
> > > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.20532
> > > + umask 022
> > > + cd /usr/src/rpm/BUILD
> > > + cd /usr/src/rpm/BUILD
> > > + rm -rf ed-1.6
> > > + /bin/gzip -dc /usr/src/rpm/SOURCES/ed-1.6.tar.gz
> > > + /bin/tar -xf -
> > > + STATUS=0
> > > + '[' 0 -ne 0 ']'
> > > + cd ed-1.6
> > > + exit 0
> > > Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.20532
> > > + umask 022
> > > + cd /usr/src/rpm/BUILD
> > > + cd ed-1.6
> > > + %configure2_5x --bindir=/bin --exec-prefix=/ CFLAGS=-O2 CXXFLAGS=-O2
> > > LDFLAGS=
> > > /var/tmp/rpm-tmp.20532: line 22: fg: no job control
> > > error: Bad exit status from /var/tmp/rpm-tmp.20532 (%build)
> > >
> > >
> > > RPM build errors:
> > > Bad exit status from /var/tmp/rpm-tmp.20532 (%build)
> > >
> > >
> > > It's not happens because gcc, make, and other buid-essential packages
> > > not installed and poky not generates gcc.rpm package.
> > >
> > > Might someone have any solution?
> >
> > Build an image that includes gcc and other tools such as
> > core-image-sato-sdk?
> >
> > Cheers,
> >
> > Richard
> >
> >
> >
>
> Nope just "bitbake core-image-sato"
>
>
> . oe-init-build-env
>
> ### Shell environment set up for builds. ###
>
> You can now run 'bitbake <target>'
>
> Common targets are:
> core-image-minimal
> core-image-sato
> meta-toolchain
> meta-toolchain-sdk
> adt-installer
> meta-ide-support
>
>
> You mean meta-toolchain-sdk ?
>
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
Also in meta/lib/oe/distro_check.py
i see function
def get_latest_released_mandriva_source_package_list():
"Returns list of all the name os packages in the latest mandriva
distro"
latest =
find_latest_numeric_release("http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/devel/")
package_names =
get_source_package_list_from_url("http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/devel/%s/SRPMS/main/release/" % latest, "main")
# package_names +=
get_source_package_list_from_url("http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/official/%s/SRPMS/contrib/release/" % latest, "contrib")
package_names +=
get_source_package_list_from_url("http://distrib-coffee.ipsl.jussieu.fr/pub/linux/MandrivaLinux/devel/%s/SRPMS/main/updates/" % latest, "updates")
package_list=clean_package_list(package_names)
return latest, package_list
It will downloads SRPMs from repo and build them, right?
next prev parent reply other threads:[~2012-10-04 10:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-04 9:35 building rpm distro Alexander Khryukin
2012-10-04 10:24 ` Richard Purdie
2012-10-04 10:26 ` Alexander Khryukin
2012-10-04 10:33 ` Alexander Khryukin [this message]
2012-10-04 10:40 ` Richard Purdie
2012-10-04 10:39 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1349346798.6218.8.camel@localhost \
--to=alexander@mezon.ru \
--cc=poky@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.