Subject: Problems with 2006Q3
To: None <pkgsrc-users@netbsd.org>
From: Hrvoje =?utf-8?q?Habjani=C4=87?= <hrvoje.habjanic@zg.t-com.hr>
List: pkgsrc-users
Date: 11/02/2006 09:53:03
Hi!

Where to start? Huh, ok, first-things-first. :-)

I did try to "bootstrap" pkgsrc 2006Q3 (tar archive on site), on Alpha Tru64 
5.1B. I tried using built-in make and cc compiler. It didn't go far - it 
broke on registering pax package which required patch. It downloads new 
version of patch, which requires digest, which requires patch. End.

In general, default "make" is broken. I installed GNU make using tachometer 
and rpm packages. I still encountered the same problem - while 
in "registering packages" phase, again it requested patch package and broke. 
I did try to bootstrap same "tar" archive on linux and it went without 
problems! Wierd.

I did try many different options (CC, CFLAGS, LDFLAGS ..) - nothing helped.

Finaly, did give up on "tar" archive and switch to cvs version (as recommended 
on site). This time, bootstrap went successufuly! The difference is that cvs 
version is missing some files in pkgtools/pax directory.

# ls -al pkgsrc.cvs/pkgtools/pax/
total 25
drwxr-xr-x   3 root     system      8192 Oct 26 18:34 .
drwxr-xr-x  50 root     system      8192 Oct 26 18:34 ..
drwxr-xr-x   2 root     system      8192 Oct 26 18:34 CVS
-rw-r--r--   1 root     system       592 Jul 14 22:11 Makefile
# ls -al pkgsrc/pkgtools/pax/
total 49
drwxr-xr-x   6 234      125         8192 Oct 17 13:16 .
drwxr-xr-x  61 234      125         8192 Oct 17 13:16 ..
drwxr-xr-x   2 234      125         8192 Oct 17 13:16 CVS
-rw-r--r--   1 234      125          592 Jul 14 22:11 Makefile
drwxr-xr-x   3 234      125         8192 Oct 17 13:16 files
drwxr-xr-x   3 234      125         8192 Oct 17 13:16 patches
drwxr-xr-x   3 234      125         8192 Oct 17 13:16 pkg

I'm guessing that tar archive is somewhat broken for Tru64. I suggest you 
replace tar on the site .... Probably someone else is also confused as i 
was. :-)

In the end, i installed gcc 3.4.6, and used gmake + gcc combination to 
successufuly bootstrap. I did even manage to compile some packages. But, 
again, i soon enough run to problems, again. I't send pacthes in few 
following mails.

Anyhow, line which worked for me was:

CC=gcc CFLAGS="-D__arch64__" CXX=g++ MAKE=gmake ./bootstrap

Few patches follow.

H.