Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2011 11:16:01 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        "Julian H. Stacey" <jhs@berklix.com>
Cc:        "Michael V. Buzuverov" <star_guardian@inbox.ru>, freebsd-arch@freebsd.org
Subject:   Re: FreeBSD problems and preliminary ways to solve
Message-ID:  <CAGH67wQrSfn3V2WtSK_Sx%2B5RUWeeQ7mJ%2B7WhK9GWMZu2xMayJw@mail.gmail.com>
In-Reply-To: <201108251716.p7PHFx2p055073@fire.js.berklix.net>
References:  <E1QuG4e-00005r-00.star_guardian-inbox-ru@f294.mail.ru> <201108251716.p7PHFx2p055073@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 25, 2011 at 10:15 AM, Julian H. Stacey <jhs@berklix.com> wrote:
> Hi,
>> From: =A0 =A0 =A0 =A0 =3D?UTF-8?B?TWljaGFlbCBWLiBCdXp1dmVyb3Y=3D?=3D <st=
ar_guardian@inbox.ru>
>> Date: =A0 =A0 =A0 =A0 Fri, 19 Aug 2011 07:48:48 +0400
>
> =3D?UTF-8?B?TWljaGFlbCBWLiBCdXp1dmVyb3Y=3D?=3D wrote:
>> --=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D1194597977=3D=3D
>> Content-Type: text/plain; charset=3Dutf-8
>> Content-Transfer-Encoding: base64
>
> Please do not post Ascii text with Base 64 !
> Though it works with
> =A0http://lists.freebsd.org/pipermail/freebsd-arch/2011-August/011424.htm=
l
> It fails with
> =A0http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3D92494+0+archive/2011/fr=
eebsd-arch/20110821.freebsd-arch
> & fails with exmh-2.7.2
> =A0 =A0 =A0 =A0FreeBSD-8.2-RELEASE /usr/ports/mail/exmh2
> & ptobably fails with search engines later.
>
> I had to mouse copy:...
>
>> Now, package creation process is "build -> install -> package". I believ=
e that sequence "build -> package -> install"
>> is more correct and efficient.

The problem is that pkg_install wasn't properly designed to deal with
chrooted package environments, and instead everything is installed
directly to the target system and packaged from the target system
(chroot functionality is really broken in pkg_add // pkg_create
provided the right inputs, despite it being documented in the manpage
:)..).

If you do build -> package -> install, people that use ports will
grumble and moan about the additional overhead required copying and
installing things.

But we really need to get out of the building everything from scratch
business and into binary package installation, so yes.. I think the
above proposed workflow makes sense. Even though some might complain
that builds are now taking longer, it adds a minimal amount of
overhead to do the above flow and is just cleaner and saner than the
backwards way we currently do things in ports. And a lot of this can
be fixed externally if people add a minimum amount of intelligence to
their build systems to fine tune their build dependencies, instead of
hammer approaches like I've seen in some build systems where things
are nuked and rebuilt from scratch every time the build is run.

Thanks,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wQrSfn3V2WtSK_Sx%2B5RUWeeQ7mJ%2B7WhK9GWMZu2xMayJw>