From: "Arttu V." <arttuv69@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Can you rewrite this 1996 qfile command?
Date: Mon, 18 Jan 2010 20:34:04 +0200 [thread overview]
Message-ID: <fecdbac61001181034tc7830d4oe672881b41fe72d@mail.gmail.com> (raw)
In-Reply-To: <49bf44f11001180704x6e4bbfam9a28d100d6b731a9@mail.gmail.com>
On 1/18/10, Grant <emailgrant@gmail.com> wrote:
>>> I've hit a bug that won't let me start an xfce4 session. I 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 - -F%F#s | xargs qfile
>>>
>>> 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. Does 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 qlist
>> 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 - -F%F#s | xargs qfile
> Usage: qfile <opts> <filename> : list all pkgs owning files
>
> Options: -[ef:m:oRx:vqChV]
> -e, --exact * Exact match
> -f, --from <arg> * Read arguments from file <arg> ("-" for stdin)
> -m, --max-args <arg> * Treat from file arguments by groups of <arg>
> (defaults to 5000)
> -o, --orphans * List orphan files
> -R, --root-prefix * Assume arguments are already prefixed by $ROOT
> -x, --exclude <arg> * Don't look in package <arg>
> -v, --verbose * Make a lot of noise
> -q, --quiet * Tighter output; suppress warnings
> -C, --nocolor * Don't output color
> -h, --help * Print this help and exit
> -V, --version * 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?
--
Arttu V.
next prev parent reply other threads:[~2010-01-18 18:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 3:59 [gentoo-user] Can you rewrite this 1996 qfile command? Grant
2010-01-18 6:49 ` Alan McKinnon
2010-01-18 15:04 ` Grant
2010-01-18 15:12 ` Grant
2010-01-18 18:08 ` Alan McKinnon
2010-01-18 18:34 ` Arttu V. [this message]
2010-01-18 19:21 ` Grant
2010-01-19 0:29 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fecdbac61001181034tc7830d4oe672881b41fe72d@mail.gmail.com \
--to=arttuv69@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox