pkgsrc-Bugs archive

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

Re: pkg/36563 (Cannot bootstrap pkgsrc on AIX 5.3 (circular dependency w/ patch and digest))



OBATA Akio wrote:
>  
>  We may reset locale related environment to "C" in bootstrap script.
>  

Very interesting!

On our system, LANG is already set to "C" due to some other application
environment restrictions. But I noticed that LC_ALL was unset.

# locale
LANG=C
LC_COLLATE="C"
LC_CTYPE="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_MESSAGES="C"
LC_ALL=

After Setting LC_ALL to "C", gcc seems happy but I get the following
problem...

===> Registering installed packages
===> running: (cd /usr/pkgsrc/pkgtools/bootstrap-mk-files &&
/usr/pkg/bin/bmake  -DPKG_PRESERVE
MAKECONF=/tmp/pkgbootstrap/mk.conf.example
WRKOBJDIR=/tmp/pkgbootstrap/pkgsrc  bootstrap-register)
=> Registering installation for bootstrap-mk-files-20061111
===> Cleaning for bootstrap-mk-files-20061111
===> running: (cd /usr/pkgsrc/devel/bmake && /usr/pkg/bin/bmake
-DPKG_PRESERVE MAKECONF=/tmp/pkgbootstrap/mk.conf.example
WRKOBJDIR=/tmp/pkgbootstrap/pkgsrc  bootstrap-register)
ERROR: [resolve-dependencies] A package matching ``digest>=20010302'' should
ERROR:     be installed, but one cannot be found.  Perhaps there is a
ERROR:     stale work directory for ../../pkgtools/digest?
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/bmake

Also, Tobias Nygren has made a suggestion regarding this problem on the
tech-pkg mailing list. Perhaps there is something there as well, however
I have verified that `bmake show-depends' does not show any dependencies
for bootstrap-mk-files:

> The bootstrap should never depend on patch being installed.
> Please remove all work directories and supply output of
>       bmake show-depends
> and
>       bmake show-depends VARNAME=BUILD_DEPENDS
> in bootstrap-mk-files.
> 
> To get going, you can install gnu patch manually and set
> TOOLS_PLATFORM.patch?=/path/to/bin/patch in tools.AIX.mk.
> 
> -Tobias



Thanks!

Louis



Home | Main Index | Thread Index | Old Index