Flaw in print/acroread7 (was: Re: [ru@FreeBSD.org: [patch] mixed i386/amd64 ports semi-broken])

Jean-Yves Lefort jylefort at FreeBSD.org
Mon Jan 30 01:45:28 PST 2006


On Mon, 30 Jan 2006 10:23:37 +0100
Alexander Leidinger <Alexander at Leidinger.net> wrote:

> Kris Kennaway <kris at obsecurity.org> wrote:
> 
> >> But since it
> >> passes ARCH as a make argument, it breaks things such as:
> >>
> >> .if (${ARCH} == "amd64")
> >> ARCH=           i386
> >> RPMFLAGS+=      --ignorearch
> >> .endif
> >
> > How many ports do that?
> 
> Nearly every linux port which is known to work on amd64 does something like
> this.
> 
> >> because the ARCH=i386 assignment is overriden by the ARCH passed on
> >> the submake command line. Removing ARCH from .MAKEFLAGS should fix the
> >> issue without breaking ports.
> >
> > Perhaps you can just do the same thing, and pass in the new ARCH to
> > the port build as a make argument.
> 
> I want to highlight the fact, that the current way of doing it highlighted
> the "bug" that acroread7 isn't "certified" for the use on amd64. Someone has
> to handle the ARCH part in the acroread port as other linux-XXX ports on
> amd64 handle this. If it works on amd64, a committer who isn't bored to
> interact with Trevor should then commit this "certification" (it's just
> setting ARCH to i386 in the amd64 case).
>
> Are there other ports which are affected by this? If yes, how many of them
> are not linux ports?
> 
> I only expect linux ports to be affected by the current way of handling ARCH
> in bsd.port.mk. And they are affected by this, because nobody cared to test
> them in the appropriate way on amd64 and commit/submit the "blessing" for
> amd64.

It's not a bug in acroread7. It's a bug in bpm which causes ARCH to be
read-only in submakes, or it's a bug in the ports which try to
override ARCH without success since it's read-only in submakes;
someone should decide.

-- 
Jean-Yves Lefort

jylefort at FreeBSD.org
http://lefort.be.eu.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060130/9208391a/attachment.bin


More information about the freebsd-ports mailing list