pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37496: bmake bootstrap machine_arch

>Number:         37496
>Category:       pkg
>Synopsis:       bmake bootstrap machine_arch
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 07 10:40:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc

System: SunOS 5.10 Generic_120012-14 i86pc


bmake is called twice by bootstrap in pkgsrc.
Once for Boostrapping bmake, once for Installing packages.

Probleme is with my own achitecture x86_64 on solaris, i patch bootstrap with 
the following at the
 "Boostrapping bmake" stage and add "--with-machine_arch=$machine_arch"

But on second call, the build of bmake is not correct because of missing the 
in the Makefile of devel/bmake

see fix



I fix Makefile's bmake like that:
.if ${OPSYS} == "SunOS" && exists(/usr/xpg4/bin/sh)
BOOTSTRAP_ARGS+=        --with-defshell=/usr/xpg4/bin/sh

#must be same as first bootstrap
.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "x86_64"
BOOTSTRAP_ARGS+=        --with-machine_arch=x86_64

BUT it would be
BOOTSTRAP_ARGS+=        --with-machine_arch=${MACHINE_ARCH}

the result is:
MACHINE_ARCH MUST not be changed beetween bootstrap and install/package.

Home | Main Index | Thread Index | Old Index