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

Bug#261854: marked as done (xlibs: some softlinks not made correctly, installer fails to upgrade)



Your message dated Thu, 29 Jul 2004 02:26:42 +1000
with message-id <20040728162642.GP23526@fooishbar.org>
and subject line Bug#261854: xlibs: some softlinks not made correctly, installer fails to upgrade
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Jul 2004 16:02:17 +0000
>From jdh@hend.net Wed Jul 28 09:02:17 2004
Return-path: <jdh@hend.net>
Received: from lakermmtao07.cox.net [68.230.240.32] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bpqsj-0001q2-00; Wed, 28 Jul 2004 09:02:17 -0700
Received: from hend.net ([68.100.246.2]) by lakermmtao07.cox.net
          (InterMail vM.6.01.03.02.01 201-2131-111-104-103-20040709)
          with ESMTP
          id <20040728160141.BEWS6416.lakermmtao07.cox.net@hend.net>
          for <submit@bugs.debian.org>; Wed, 28 Jul 2004 12:01:41 -0400
Received: (from jdh@localhost)
	by hend.net (8.12.9/8.12.9/Submit) id i6SG1c4W011734;
	Wed, 28 Jul 2004 12:01:38 -0400
Message-Id: <[🔎] 200407281601.i6SG1c4W011734@hend.net>
From: "John D. Hendrickson" <jdh@hend.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xlibs: some softlinks not made correctly, installer fails to upgrade
X-Mailer: reportbug 1.50
Date: Wed, 28 Jul 2004 12:01:38 -0400
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: xlibs
Version: 4.1.0-16
Severity: important



-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux link 2.4.20-mm #1 Tue Feb 24 17:47:00 EST 2004 i586
Locale: LANG=C, LC_CTYPE=C

Versions of packages xlibs depends on:
ii  libc6                         2.2.5-11.2 GNU C Library: Shared libraries an
ii  libfreetype6                  2.0.9-1    FreeType 2 font engine, shared lib
ii  xfree86-common                4.1.0-16   X Window System (XFree86) infrastr
ii  xlibs                         4.1.0-16   X Window System client libraries

Hi,

Two things.  One, xlibs did not install files correctly.  Two, all X packages
now require a new directory structure (which I hate).  Anyway the installer
does nothing to provide this new directory structure.  I made a script which
does this which has done this for me on several machines.

Just did a "dist-upgrade" to sarge

for libs I had xlib's /usr/lib/libXft.so and a couple others in /usr/lib

These are xlibs, not usr libs, they shouldn't even have links into /usr/lib

After remaking the links the installer goofed, it worked.  Somehow the
installer doesn't take into account the present / previous state when making
its links.

I found the ONLY reason libXft need to be in /usr/lib is due to gtk.  While
all else of gnome correctly uses X11R6/lib, gtk uses /usr/lib, oddly.  Fix
that and you fix allot of confusion.  The ./configure for gtk is just flat
wrong.  And using ./configure --prefix=PATH won't help - becuase it is really
wrong - a goof up.


Thanks,

	John D. Hendrickson

jdh@hend.net

johndhendrickson22124@yahoo.com

--------------------------------------------------



#!/bin/sh

# run this script before installing any of the new X packages requiring the
# new directory structure

# (if run afterward it merges files into new home in /etc/X11
#  while user's files likely prevail, that just depends)

cd /etc/X11

x="/usr/X11R6/lib/X11"
xb="/usr/X11/lib/X11"
xx="/etc/X11"
cd $xx/

mkdir -p $x
mkdir -p $xx

# pivot into new place - carefully so nothing gets clobbered or missed
for z in mwm fvwm fvwm95 xkb app-defaults fs lbxproxy proxymngr rstart twm xdm xinit xkb xserver xsm ; do
	echo -ne "$z in /etc/X11 ?"
	if [ -L "$z" ] ; then
		echo "pivoted"
		rm "$xx/$z"
		mv "$x/$z/" "$xx/"
		ln -s "$xx/$z" "$x"
	fi
	if [ ! -L "$x/$z" ] ; then
		echo "	and copied"
		if cp -ar "$x/$z/" "$xx/$z/" ; then
			rm -r "$x/$z/"
			ln -s "$xx/$z" "$x"
		fi
	fi
	if [ -L "$x/$z" ] ; then
		rm "$x/$z"
		ln -s "$xx/$z" "$x"
	fi
	echo ""
done
# fix out of date soft links
cd $xx/
for z in /etc/X11/* ; do
	if [ -L "$z" ] ; then
		X="$(dirname "$(find $z -type l -printf "%l")")"
		echo -ne "$z on to old X11 ? ..."
		if [ c"$X" == c"$xb" ] ; then
			echo "rewrite ln"
			rm "$z"
			ln -s "$x/$(basename $z)" .
		fi
		echo ""
	fi
done



---------------------------------------
Received: (at 261854-done) by bugs.debian.org; 28 Jul 2004 16:26:43 +0000
>From daniel@fooishbar.org Wed Jul 28 09:26:42 2004
Return-path: <daniel@fooishbar.org>
Received: from fooishbar.org (tycho.fooishbar.org) [131.252.208.81] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BprGM-0007U9-00; Wed, 28 Jul 2004 09:26:42 -0700
Received: by tycho.fooishbar.org (Postfix, from userid 1000)
	id ADB28E9C036; Wed, 28 Jul 2004 09:26:42 -0700 (PDT)
Date: Thu, 29 Jul 2004 02:26:42 +1000
From: Daniel Stone <daniels@debian.org>
To: "John D. Hendrickson" <jdh@hend.net>, 261854-done@bugs.debian.org
Subject: Re: Bug#261854: xlibs: some softlinks not made correctly, installer fails to upgrade
Message-ID: <20040728162642.GP23526@fooishbar.org>
References: <[🔎] 200407281601.i6SG1c4W011734@hend.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="pN9MePJoZbRKbUk1"
Content-Disposition: inline
In-Reply-To: <[🔎] 200407281601.i6SG1c4W011734@hend.net>
X-GnuPG-Key: 3CED7EFD
User-Agent: Mutt/1.5.6+20040523i
Delivered-To: 261854-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--pN9MePJoZbRKbUk1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 28, 2004 at 12:01:38PM -0400, John D. Hendrickson wrote:
> Two things.  One, xlibs did not install files correctly.  Two, all X pack=
ages
> now require a new directory structure (which I hate).  Anyway the install=
er
> does nothing to provide this new directory structure.  I made a script wh=
ich
> does this which has done this for me on several machines.
>=20
> Just did a "dist-upgrade" to sarge
>=20
> for libs I had xlib's /usr/lib/libXft.so and a couple others in /usr/lib
>=20
> These are xlibs, not usr libs, they shouldn't even have links into /usr/l=
ib
>=20
> After remaking the links the installer goofed, it worked.  Somehow the
> installer doesn't take into account the present / previous state when mak=
ing
> its links.
>=20
> I found the ONLY reason libXft need to be in /usr/lib is due to gtk.  Whi=
le
> all else of gnome correctly uses X11R6/lib, gtk uses /usr/lib, oddly.  Fix
> that and you fix allot of confusion.  The ./configure for gtk is just flat
> wrong.  And using ./configure --prefix=3DPATH won't help - becuase it is =
really
> wrong - a goof up.

/usr/X11R6 is being moved away from by upstream and everyone else sane
because it's beyond a joke nowadays. Many things -- not just Xft;
fontconfig, Xcursor, Xrender, et al -- are in /usr/lib now. You haven't
been near specific enough. What failed? What 'goofed'? Which installer
were you using? Did you do a complete dist-upgrade? If so, why is your
xlibs package still at 4.1.0-16, which is the woody version?

Closing this bug report as utterly bogus and invalid unless submitter
provides a compelling rationale otherwise.

--=20
Daniel Stone                                                <daniels@debian=
=2Eorg>
Debian: the universal operating system                     http://www.debia=
n.org

--pN9MePJoZbRKbUk1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBB9PCcPClnTztfv0RAqVkAJ4gsiSS9/Nydu/IUr4myg538ZFa7wCfdbtv
IQwkPEbv7/3W9E2FB0mwD9s=
=1jQH
-----END PGP SIGNATURE-----

--pN9MePJoZbRKbUk1--



Reply to: