On 06/06/12 13:49, Nikos Chantziaras wrote:
On 06/06/12 13:37, Hinnerk van Bruinehsen wrote:
On 06.06.2012 12:25, Nikos Chantziaras wrote:
I wish to build a binary package of glibc-2.14.1-r3. I don't want to
actually install it on my system. Just build a tbz2 for it to use on
another system. Is there a way to do that? Portage aborts when
emerging an older glibc and won't let you proceed, so I can't just
install it normally and them build a binpkg.

you should be able to use:

ebuild<path-to-ebuild>/glibc-2.14.1-r3.ebuild package


It still aborts with

* Sanity check to keep you from breaking your system:
* Downgrading glibc is not supported and a sure way to destruction
* ERROR: sys-libs/glibc-2.14.1-r3 failed (setup phase):
* aborting to save your system

Is there an override for that?

(Answering my own question.)  Simply moving:

  /var/db/pkg/sys-libs/glibc-2.15-r2

somewhere else works (and back again after building the package.) The nice thing here is that I can do:

  PKGDIR=$HOME/pkg ebuild glibc-2.14.1-r3.ebuild package

as a regular user instead of as root, pretty much guaranteeing that there won't be any hidden screwups.


Reply via email to