pkgsrc-Users archive

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

pkgsrc under Vista64 with SUA


Has anyone been able to bootstrap and use pkgsrc under Vista64 and SUA
(a.k.a. SFU, Interix)? The manual says "NO",
apparently it needs some work to be done. I need it to replace cygwin,
whose latest versions for some reason give abysmal fork/exec times.

SUA was installed with all options (sans perl, as per the suggestion).
Bootstrap fails because config.guess fails -

./config.guess: unable to guess system type

This script, last modified 2007-03-06, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from*checkout*/config/config/config.guess

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <> in order to provide the needed
information to handle your system.

config.guess timestamp = 2007-03-06

uname -m = genuineintel
uname -r = 6.0
uname -s = Interix
uname -v = 10.0.6030.0

/usr/bin/uname -p = Intel64_Family_6_Model_23_Stepping_6
/bin/uname -X     =
System = Interix
Node = uksup1
Release = 6.0
Version = 10.0.6030.0
Machine = genuineintel
Processor = Intel64_Family_6_Model_23_Stepping_6
HostSystem = Windows
HostRelease = 6.0
HostVersion = SP1

hostinfo               =
/bin/universe          =
/usr/bin/arch -k       =
/bin/arch              =
/usr/bin/oslevel       =
/usr/convex/getsysinfo =

UNAME_MACHINE = genuineintel
UNAME_VERSION = 10.0.6030.0

Slight modification in config.guess:

$ diff -u config.guess.ORIG config.guess
--- config.guess.ORIG   Fri Dec 12 11:42:00 2008
+++ config.guess        Fri Dec 12 11:19:37 2008
@@ -796,7 +796,7 @@
                echo i586-pc-interix${UNAME_RELEASE}
                exit ;;
-           EM64T | authenticamd)
+           EM64T | authenticamd | genuineintel)
                echo x86_64-unknown-interix${UNAME_RELEASE}
                exit ;;
        esac ;;

makes it work. I actually downloaded the bootstrap binary and was
trying to bmake bash, which brought digest to
the fore, so this is from that one. It built correctly, but the
installation failed:

$ bmake install
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/download-vulnerability-list'.
===> Installing for digest-20080510
id: 197612: No such user
/bin/sh: test: =: missing second argument
id: 197612: No such user
=> Becoming ``197612'' to make su-install-all (/bin/su)
id: 197612: No such user
su: unknown login
*** Error code 1

bmake: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

bmake: stopped in /usr/pkgsrc/pkgtools/digest
$ id
uid=1050079(ci) gid=1049089(Domain Users) groups=1049089(Domain Users), 65792(+E
veryone), 131617(+Users), 131616(+Administrators), 66820(+INTERACTIVE), 66827(+A
uthenticated Users), 66831(+This Organization), 4095(CurrentSession), 66048(+LOC
AL), 1049805(sql-rw-customers), 1050082(Opera Users), 1049088(Domain Admins), 10
50080(ftp-homes-read), 1050081(hdesk-users), 1050083(Support), 1049817(training)
, 1050632, 1050178, 1049679(DELCAM.COM$), 1049683, 1053028, 1049976(dkk), 105139
0, 1049836(SophosAdministrator), 405504(Mandatory Label+High Mandatory Level)

[[ this is obviously an AD installation with user mapping server, not IDMU ]]

I don't know where this 197612 user comes from. It probably has been
(together with another GID) guessed
during the build of the binary of the bootstrap. I had to replace the
corresponding *OWN and *GRP variables in
/usr/pkg/share/mk/ with my own id/gid values.

After that building seems to be working it did already patch and is
going throough libtool and the rest right now.

(a few minutes later) - more packages are failing because of
config.guess not returning anything - is it possible to set an
environment variable or perhaps something in the make files to avoid
this ? I am editing config.guess files as the errors come.

Chavdar Ivanov

Jay Leno  - "The reason there are two senators for each state is so
that one can be the designated driver."

Home | Main Index | Thread Index | Old Index