* [gentoo-user] Stroppy perl-cleaner
@ 2015-02-14 11:33 Peter Humphrey
2015-02-14 11:53 ` Neil Bothwick
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Peter Humphrey @ 2015-02-14 11:33 UTC (permalink / raw
To: gentoo-user
Hello list,
What is perl-cleaner objecting to here? It all seems pretty anodyne to me:
$ alias perl-cleaner
alias perl-cleaner='sudo perl-cleaner --all -- --ask --usepkg --jobs=3 --keep-going'
$ perl-cleaner
***************************************************************************
You are supplying additional command line options for the package manager.
This is NOT RECOMMENDED, not tested, and may lead to incorrect, incomplete,
confusing, and/or nonfunctional results. You are on your own now.
***************************************************************************
--
Rgds
Peter.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Stroppy perl-cleaner
2015-02-14 11:33 [gentoo-user] Stroppy perl-cleaner Peter Humphrey
@ 2015-02-14 11:53 ` Neil Bothwick
2015-02-14 14:11 ` Peter Humphrey
2015-02-14 11:55 ` Alexander Kapshuk
2015-02-14 11:56 ` bitlord
2 siblings, 1 reply; 8+ messages in thread
From: Neil Bothwick @ 2015-02-14 11:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
On 14 February 2015 11:33:49 GMT+00:00, Peter Humphrey <peter@prh.myzen.co.uk> wrote:
> Hello list,
>
> What is perl-cleaner objecting to here? It all seems pretty anodyne to
> me:
>
> $ alias perl-cleaner
> alias perl-cleaner='sudo perl-cleaner --all -- --ask --usepkg --jobs=3
> --keep-going'
> $ perl-cleaner
>
> ***************************************************************************
> You are supplying additional command line options for the package
> manager.
> This is NOT RECOMMENDED, not tested, and may lead to incorrect,
> incomplete,
> confusing, and/or nonfunctional results. You are on your own now.
> ***************************************************************************
>
> --
> Rgds
> Peter.
Your use of -- to supply extra arguments to emerge. It means you may be using unsupported options so if it breaks, the pieces are all yours.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
[-- Attachment #2: Type: text/html, Size: 1218 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Stroppy perl-cleaner
2015-02-14 11:33 [gentoo-user] Stroppy perl-cleaner Peter Humphrey
2015-02-14 11:53 ` Neil Bothwick
@ 2015-02-14 11:55 ` Alexander Kapshuk
2015-02-14 11:56 ` bitlord
2 siblings, 0 replies; 8+ messages in thread
From: Alexander Kapshuk @ 2015-02-14 11:55 UTC (permalink / raw
To: Gentoo mailing list
[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]
On Sat, Feb 14, 2015 at 1:33 PM, Peter Humphrey <peter@prh.myzen.co.uk>
wrote:
> Hello list,
>
> What is perl-cleaner objecting to here? It all seems pretty anodyne to me:
>
> $ alias perl-cleaner
> alias perl-cleaner='sudo perl-cleaner --all -- --ask --usepkg --jobs=3
> --keep-going'
> $ perl-cleaner
>
> ***************************************************************************
> You are supplying additional command line options for the package manager.
> This is NOT RECOMMENDED, not tested, and may lead to incorrect, incomplete,
> confusing, and/or nonfunctional results. You are on your own now.
> ***************************************************************************
>
> --
> Rgds
> Peter.
>
>
> /usr/sbin/perl-cleaner:541,544
--)
shift
ADDITIONAL_OPTIONS="${ADDITIONAL_OPTIONS} $@"
break
/usr/sbin/perl-cleaner:555,557
if [[ ! -z "${ADDITIONAL_OPTIONS}" ]] ; then
options_warning
fi
/usr/sbin/perl-cleaner:424,435
options_warning() {
cat << EOF_WARNING
***************************************************************************
You are supplying additional command line options for the package manager.
This is NOT RECOMMENDED, not tested, and may lead to incorrect, incomplete,
confusing, and/or nonfunctional results. You are on your own now.
***************************************************************************
EOF_WARNING
}
[-- Attachment #2: Type: text/html, Size: 1991 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Stroppy perl-cleaner
2015-02-14 11:33 [gentoo-user] Stroppy perl-cleaner Peter Humphrey
2015-02-14 11:53 ` Neil Bothwick
2015-02-14 11:55 ` Alexander Kapshuk
@ 2015-02-14 11:56 ` bitlord
2015-02-14 14:09 ` Peter Humphrey
2 siblings, 1 reply; 8+ messages in thread
From: bitlord @ 2015-02-14 11:56 UTC (permalink / raw
To: gentoo-user
On Sat, 14 Feb 2015 11:33:49 +0000
Peter Humphrey <peter@prh.myzen.co.uk> wrote:
> Hello list,
>
> What is perl-cleaner objecting to here? It all seems pretty anodyne
> to me:
>
> $ alias perl-cleaner
> alias perl-cleaner='sudo perl-cleaner --all -- --ask --usepkg
> --jobs=3 --keep-going' $ perl-cleaner
>
> ***************************************************************************
> You are supplying additional command line options for the package
> manager. This is NOT RECOMMENDED, not tested, and may lead to
> incorrect, incomplete, confusing, and/or nonfunctional results. You
> are on your own now.
> ***************************************************************************
>
You are using something which is not recommended by developers, that is
'-- <extra portage parameters>', telling perl-cleaner to pass
additional package manager parameters, not sure why is not recommended,
but it warns you, also in 'perl-cleaner --help' or man page it says it
is not recommended to do that.
There is probably case when you can do
something wrong, but also it can be safe too passing some parameters
which don't affect build like '--ask'.
One case which may be problematic (or not, just guessing) is --jobs=N,
what will happen if one perl module depend on the other, and they are
building at the same time?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Stroppy perl-cleaner
2015-02-14 11:56 ` bitlord
@ 2015-02-14 14:09 ` Peter Humphrey
0 siblings, 0 replies; 8+ messages in thread
From: Peter Humphrey @ 2015-02-14 14:09 UTC (permalink / raw
To: gentoo-user
On Saturday 14 February 2015 12:56:09 bitlord wrote:
> On Sat, 14 Feb 2015 11:33:49 +0000
>
> Peter Humphrey <peter@prh.myzen.co.uk> wrote:
> > Hello list,
> >
> > What is perl-cleaner objecting to here? It all seems pretty anodyne
> > to me:
> >
> > $ alias perl-cleaner
> > alias perl-cleaner='sudo perl-cleaner --all -- --ask --usepkg
> > --jobs=3 --keep-going' $ perl-cleaner
> >
> > ********************************************************************
> > ******* You are supplying additional command line options for the
> > package manager. This is NOT RECOMMENDED, not tested, and may lead
> > to incorrect, incomplete, confusing, and/or nonfunctional results.
> > You are on your own now.
> > ********************************************************************
> > *******
> You are using something which is not recommended by developers, that
> is '-- <extra portage parameters>', telling perl-cleaner to pass
> additional package manager parameters, not sure why is not
> recommended, but it warns you, also in 'perl-cleaner --help' or man
> page it says it is not recommended to do that.
>
> There is probably case when you can do something wrong, but also it
> can be safe too passing some parameters which don't affect build like
> '--ask'. One case which may be problematic (or not, just guessing) is
> --jobs=N, what will happen if one perl module depend on the other, and
> they are building at the same time?
Then portage will sort them out according to dependencies, as usual.
--
Rgds
Peter.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Stroppy perl-cleaner
2015-02-14 11:53 ` Neil Bothwick
@ 2015-02-14 14:11 ` Peter Humphrey
2015-02-14 15:19 ` Alan McKinnon
2015-02-14 20:34 ` Neil Bothwick
0 siblings, 2 replies; 8+ messages in thread
From: Peter Humphrey @ 2015-02-14 14:11 UTC (permalink / raw
To: gentoo-user
On Saturday 14 February 2015 11:53:23 Neil Bothwick wrote:
> Your use of -- to supply extra arguments to emerge. It means you may
> be using unsupported options so if it breaks, the pieces are all
> yours.
Yes, I can read the words, Neil ;-) I just want to know whether it's
safe to ignore the warning even when issued with such vigour. As I said,
I can't see anything dangerous in the arguments I pass in the alias.
--
Rgds
Peter.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Stroppy perl-cleaner
2015-02-14 14:11 ` Peter Humphrey
@ 2015-02-14 15:19 ` Alan McKinnon
2015-02-14 20:34 ` Neil Bothwick
1 sibling, 0 replies; 8+ messages in thread
From: Alan McKinnon @ 2015-02-14 15:19 UTC (permalink / raw
To: gentoo-user
On 14/02/2015 16:11, Peter Humphrey wrote:
> On Saturday 14 February 2015 11:53:23 Neil Bothwick wrote:
>
>> Your use of -- to supply extra arguments to emerge. It means you may
>> be using unsupported options so if it breaks, the pieces are all
>> yours.
>
> Yes, I can read the words, Neil ;-) I just want to know whether it's
> safe to ignore the warning even when issued with such vigour. As I said,
> I can't see anything dangerous in the arguments I pass in the alias.
>
Those should be safe, none of your selected options change the final output.
Personally, I think the warning is going a tad overboard, but hey to
each dev his own
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Stroppy perl-cleaner
2015-02-14 14:11 ` Peter Humphrey
2015-02-14 15:19 ` Alan McKinnon
@ 2015-02-14 20:34 ` Neil Bothwick
1 sibling, 0 replies; 8+ messages in thread
From: Neil Bothwick @ 2015-02-14 20:34 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 852 bytes --]
On Sat, 14 Feb 2015 14:11:32 +0000, Peter Humphrey wrote:
> > Your use of -- to supply extra arguments to emerge. It means you may
> > be using unsupported options so if it breaks, the pieces are all
> > yours.
>
> Yes, I can read the words, Neil ;-) I just want to know whether it's
> safe to ignore the warning even when issued with such vigour. As I
> said, I can't see anything dangerous in the arguments I pass in the
> alias.
Nor can I. The warning is really saying you are using an
unsupported combination of options. Rather than saying they are unsafe,
it is saying they are not certain to be safe. The decision is yours, but
my reaction to the warning is along the like of "OK, whatever" and then I
do it anyway.
Neil
living life on the edge!
--
Neil Bothwick
When you choke a smurf, what color does it turn?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-02-14 20:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-14 11:33 [gentoo-user] Stroppy perl-cleaner Peter Humphrey
2015-02-14 11:53 ` Neil Bothwick
2015-02-14 14:11 ` Peter Humphrey
2015-02-14 15:19 ` Alan McKinnon
2015-02-14 20:34 ` Neil Bothwick
2015-02-14 11:55 ` Alexander Kapshuk
2015-02-14 11:56 ` bitlord
2015-02-14 14:09 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox