From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-106336-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1NWxBI-00043n-7V
	for garchives@archives.gentoo.org; Mon, 18 Jan 2010 19:22:32 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BEA5BE0C6D;
	Mon, 18 Jan 2010 19:21:56 +0000 (UTC)
Received: from mail-pz0-f199.google.com (mail-pz0-f199.google.com [209.85.222.199])
	by pigeon.gentoo.org (Postfix) with ESMTP id 8DDD4E0C6D
	for <gentoo-user@lists.gentoo.org>; Mon, 18 Jan 2010 19:21:56 +0000 (UTC)
Received: by pzk37 with SMTP id 37so2325124pzk.10
        for <gentoo-user@lists.gentoo.org>; Mon, 18 Jan 2010 11:21:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=RPmQEzcvnIi2FWaaUZqqXL/WyjI5Qnx7XeZJBWefreQ=;
        b=DiP8F74mMD0JAg0c4ryr6e+A59Fawh9GWyVriM4gvfwtRn/YIHjKQ8bVmuNwtYv5wj
         QQJBoo4xwkLuwfKUf32SOVy0PQdfCwnOKKJmfTwn4eLrRWn73blT9HxfYqcrAxc85l03
         ml5zdXzUIsnHuIQK/F458K9GWueq5rxOHXHMc=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        b=xXSDJKFLT0juoyxsF1Dz0JtEGvih7tE/G/zhK7WLnZo8WRdrvF2kZUq/kTi2ryxnrg
         nEig9UpCobe1BTqmvZ7yC4L4cNziXqisTd1vbporzB6kQOoRQKdU+4ihUWj7JIq09X9N
         zWZ9gYf1mH26gCDW7rwZVB3T2ldg+x4ytqmK0=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.115.67.5 with SMTP id u5mr1234970wak.26.1263842513281; Mon, 18 
	Jan 2010 11:21:53 -0800 (PST)
In-Reply-To: <fecdbac61001181034tc7830d4oe672881b41fe72d@mail.gmail.com>
References: <49bf44f11001171959q54e8a080o1702253c15a495b2@mail.gmail.com>
	 <201001180849.16433.alan.mckinnon@gmail.com>
	 <49bf44f11001180704x6e4bbfam9a28d100d6b731a9@mail.gmail.com>
	 <fecdbac61001181034tc7830d4oe672881b41fe72d@mail.gmail.com>
Date: Mon, 18 Jan 2010 11:21:53 -0800
Message-ID: <49bf44f11001181121g3ba4204ckf2db0f1429a4dbd6@mail.gmail.com>
Subject: Re: [gentoo-user] Can you rewrite this 1996 qfile command?
From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 811bf371-3165-4287-8d1b-0b1d03d07d9e
X-Archives-Hash: 53ead031f451ff002807eb30940c8a3b

>>>> I've hit a bug that won't let me start an xfce4 session. =A0I think it
>>>> was caused by upgrading glibc, and it is pretty well described in this
>>>> nearly 4-year-old bug:
>>>>
>>>> http://bugs.gentoo.org/125909
>>>>
>>>> The solution is presented as:
>>>>
>>>> qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf - =A0-F%F#s | xargs qf=
ile
>>>>
>>>> but I get:
>>>>
>>>> qlist: invalid option -- 'l'
>>>> qlist: invalid option -- '['
>>>>
>>>> Removing the -l fixes the first invalid option, but I don't know how
>>>> to fix the second. =A0Does anyone know how to rewrite this command so =
it
>>>> will work?
>>>
>>>
>>> I can't see how you can get those errors, unless you have a broken qlis=
t
>>> that
>>> is outputing something dodgy from the "qlist -ICv"
>>>
>>> If it persists, copy-paste your input and the output from your terminal
>>> into a
>>> mail. Or run
>>>
>>> qlist -o $(qlist -ICv) | less
>>>
>>> and examine that closely for errors
>>
>> I was making a transcription error before, but after correcting it, it
>> still doesn't work:
>>
>> # qlist -o $(qlist -ICv) | scanelf -Bs__guard -qf - =A0-F%F#s | xargs qf=
ile
>> Usage: qfile <opts> <filename> : list all pkgs owning files
>>
>> Options: -[ef:m:oRx:vqChV]
>> =A0 -e, --exact =A0 =A0 =A0 =A0 =A0* Exact match
>> =A0 -f, --from =A0 =A0 <arg> * Read arguments from file <arg> ("-" for s=
tdin)
>> =A0 -m, --max-args <arg> * Treat from file arguments by groups of <arg>
>> (defaults to 5000)
>> =A0 -o, --orphans =A0 =A0 =A0 =A0* List orphan files
>> =A0 -R, --root-prefix =A0 =A0* Assume arguments are already prefixed by =
$ROOT
>> =A0 -x, --exclude =A0<arg> * Don't look in package <arg>
>> =A0 -v, --verbose =A0 =A0 =A0 =A0* Make a lot of noise
>> =A0 -q, --quiet =A0 =A0 =A0 =A0 =A0* Tighter output; suppress warnings
>> =A0 -C, --nocolor =A0 =A0 =A0 =A0* Don't output color
>> =A0 -h, --help =A0 =A0 =A0 =A0 =A0 * Print this help and exit
>> =A0 -V, --version =A0 =A0 =A0 =A0* Print version and exit
>>
>> Does anyone know what might be wrong?
>
> Solar's one-liner is likely working perfectly here. The one-liner just
> doesn't find any binaries with the ancient SSP symbol, and thus args
> for qfile are empty -- leading into qfile printing its usage.
>
> Everything seems to be just fine there, so we might need to back up to
> the point where you decided that this bug was a match for your
> problem. Did you get the same error? From which program exactly? Have
> you installed binaries that are not in portage's installed files'
> lists?

Thanks guys, I'm just going to emerge -e world and move on. :)

- Grant