public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "michi.henning at canonical dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/19708] New: See who runs out of patience first?
Date: Fri, 01 Jan 2016 00:00:00 -0000	[thread overview]
Message-ID: <bug-19708-9487@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=19708

            Bug ID: 19708
           Summary: See who runs out of patience first?
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: michi.henning at canonical dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

Referring to bug 19706 again.

I start out with the following suppressions:

[suppress_function]
    name_regexp = boost::.*
    change_kind = all
    allow_other_aliases = false

[suppress_function]
    name_regexp = std::.*
    change_kind = all
    allow_other_aliases = false

[suppress_function]
    name_regexp = unity::scopes::testing::.*
    change_kind = all
    allow_other_aliases = false

[suppress_function]
    name_regexp = unity::scopes::internal::.*
    change_kind = all
    allow_other_aliases = false

Now I run abidiff. I get (trailing lines for run_scope suppressed):

2 functions with some indirect sub-type change:

  [C]'method unity::scopes::ActivationQueryBase::ActivationQueryBase(const
unity::scopes::Result&, const unity::scopes::ActionMetadata&)' at
ActivationQueryBase.cpp:29:1 has some indirect sub-type changes:
    parameter 1 of type 'const unity::scopes::Result&' has sub-type changes:
      in referenced type 'const unity::scopes::Result':
        in unqualified underlying type 'class unity::scopes::Result' at
Result.h:50:1:
          no data member change (1 filtered);

  [C]'method void unity::scopes::Runtime::run_scope(unity::scopes::ScopeBase*,
const std::__cxx11::string&)' at Runtime.h:120:1 has some indirect sub-type
changes:
    parameter 1 of type 'unity::scopes::ScopeBase*' has sub-type changes:
      in pointed to type 'class unity::scopes::ScopeBase' at ScopeBase.h:133:1:
        no member function changes (6 filtered);

        1 data member change:
         type of 'std::unique_ptr<unity::scopes::internal::ScopeBaseImpl,
std::default_delete<unity::scopes::internal::ScopeBaseImpl> >
unity::scopes::ScopeBase::p' changed:
          ...

OK, so I add the following suppressions:

[suppress_function]
    name = unity::scopes::Runtime::run_scope
    change_kind = function-subtype-change
    allow_other_aliases = false

[suppress_function]
    name_regexp = unity::scopes::ActivationQueryBase::ActivationQueryBase
    change_kind = function-subtype-change
    allow_other_aliases = false

This gets rid of the complaint about run_scope and the constructor, but now I
get this:

1 function with some indirect sub-type change:

  [C]'method unity::scopes::internal::ActivationQueryBaseImpl*
unity::scopes::ActivationQueryBase::fwd()' at ActivationQueryBase.cpp:80:1 has
some indirect sub-type changes: 
    return type changed:
      in pointed to type 'class
unity::scopes::internal::ActivationQueryBaseImpl' at
ActivationQueryBaseImpl.h:36:1:
        1 data member change:
         type of 'unity::scopes::Result
unity::scopes::internal::ActivationQueryBaseImpl::result_' changed:
           no data member change (1 filtered);

OK, fair enough, I edit the previous suppression to look like this instead and
try again.

[suppress_function]
    name_regexp = unity::scopes::ActivationQueryBase::.*
    change_kind = function-subtype-change
    allow_other_aliases = false

I no longer get the complaints about ActivationQueryBase, but:

1 function with some indirect sub-type change:

  [C]'method unity::scopes::ActivationResponse::ActivationResponse(const
unity::scopes::Result&)' at ActivationResponse.h:80:1 has some indirect
sub-type changes:
    parameter 1 of type 'const unity::scopes::Result&' has sub-type changes:
      in referenced type 'const unity::scopes::Result':
        in unqualified underlying type 'class unity::scopes::Result' at
Result.h:50:1:
          no data member change (1 filtered);

Fine, I'm getting the hang of it now and add:

[suppress_function]
    name_regexp = unity::scopes::ActivationResponse::.*
    change_kind = function-subtype-change
    allow_other_aliases = false

Now I get:

1 function with some indirect sub-type change:

  [C]'method
unity::scopes::CategorisedResult::CategorisedResult(unity::scopes::CategorisedResult&&)'
at CategorisedResult.h:41:1 has some indirect sub-type changes:
    parameter 1 of type 'unity::scopes::CategorisedResult&&' has sub-type
changes:
      in referenced type 'class unity::scopes::CategorisedResult' at
CategorisedResult.h:41:1:
        no base class change (1 filtered);

At that point, I lost patience.

It seems like a game of whack-a-mole: every time I add a suppression, a new
complaint pops up and, when I suppress that complaint, I get yet another
different complaint.

This isn't workable as is. Is there any way around this? (If possible, with
1.0.rc2?)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2016-02-23  6:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-01  0:00 michi.henning at canonical dot com [this message]
2016-01-01  0:00 ` [Bug default/19708] " michi.henning at canonical dot com

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=bug-19708-9487@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libabigail@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).