Subject: Re: HEADS UP: deprecation and removal of xorg 6.9
To: Tobias Nygren <tnn@NetBSD.org>
From: Jan Danielsson <jan.m.danielsson@gmail.com>
List: pkgsrc-users
Date: 08/10/2007 22:04:46
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Tobias Nygren wrote:
[---]
> Please let us know if you come across any problems when upgrading.

   This made me cry:

- ----------------------------
=> Required installed package sessreg-[0-9]*: NOT found
=> Verifying package for ../../x11/sessreg
=> Required installed package digest>=20010302: digest-20070803 found
=> Required installed package checkperms>=1.1: checkperms-1.7 found
=> Checksum SHA1 OK for sessreg-1.0.2.tar.bz2
=> Checksum RMD160 OK for sessreg-1.0.2.tar.bz2
===> Installing dependencies for sessreg-1.0.2
=> Required installed package pkg-config>=0.19: pkg-config-0.21nb1 found
=> Required installed package kbproto>=1.0.2: kbproto-1.0.3 found
=> Required installed package xproto>=7.0.9: xproto-7.0.10 found
=> Required installed package libX11>=1.1: libX11-1.1.3 found
===> Overriding tools for sessreg-1.0.2
===> Extracting for sessreg-1.0.2
===> Patching for sessreg-1.0.2
===> Creating toolchain wrappers for sessreg-1.0.2
===> Configuring for sessreg-1.0.2
=> Checking for portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
ERROR: [check-portability.awk] configure: if test "x$enable_pretty_cmds"
== xyes;
ERROR: [check-portability.awk] configure:   test
x$enable_dependency_tracking == xno && AMDEPSHOWCMDSAT='@'

Explanation:
===========================================================================
The "test" command, as well as the "[" command, are not required to know
the "==" operator. Only a few implementations like bash and some
versions of ksh support it.

When you run "test foo == foo" on a platform that does not support the
"==" operator, the result will be "false" instead of "true". This can
lead to unexpected behavior.

There are two ways to fix this error message. If the file that contains
the "test ==" is needed for building the package, you should create a
patch for it, replacing the "==" operator with "=". If the file is not
needed, add its name to the CHECK_PORTABILITY_SKIP variable in the
package Makefile.
===========================================================================

*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/sessreg
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/sessreg
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/xdm
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/meta-pkgs/modular-xorg-apps
- ----------------------------


- --
Kind regards,
Jan Danielsson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)

iD8DBQFGvMTeuPlHKFfKXTYRCgT+AJ97V73ysnLHsO+BM7g3MZKe9+/aCQCgjMPC
W2W1CwbiQz6B8jrjmcRTrYc=
=stgO
-----END PGP SIGNATURE-----