bugGChemPaint - Bugs: bug #18480, undefined-non-weak-symbols in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #18480: undefined-non-weak-symbols in libgchempaint.so.0.6.6

Submitted by:  Julian Sikorski <belegdol>
Submitted on:  Thu 07 Dec 2006 08:44:33 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jean Bréfort <jean_brefort>
Open/Closed: Closed

(Jump to the original submission Jump to the original submission)

Mon 28 May 2007 04:16:59 PM UTC, comment #8:

closed after 0.8.0 release

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sat 09 Dec 2006 07:07:06 AM UTC, comment #7:

OK, so I mark it fixed but keep it opened until 0.8beta release.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Fri 08 Dec 2006 09:35:22 PM UTC, comment #6:

It's not really necessary. Here is what the sponsor wrote:

Yes, I know fixing this issue is not a easy work. My opinion is:

  • If providing -devel package is necessary, this issue should be fixed
  • If not (i.e. providing -devel package is not neccesary for now,

which means that the library included in gchempaint rpm
are only needed by binaries in gchempaint rpm),
just dropping -devel package and leaving this issue as it is
can be allowed.

So basically I have tweaked the spec to wipe out the .so file and headers so that there is no -devel package. Once 0.8.0 is released I'll re-add the files.

Julian Sikorski <belegdol>
Fri 08 Dec 2006 09:21:41 PM UTC, comment #5:

See comment #1 and tell me if it is really necessary to fix the 0.6 branch. No application except gchempaint use libgchempaint.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Fri 08 Dec 2006 07:31:46 PM UTC, comment #4:

Oops, sorry for anonymous posting. I just checked and the fix does not help in case of 0.6.6.

Julian Sikorski <belegdol>
Fri 08 Dec 2006 06:58:30 PM UTC, comment #3:

Thanks for the fix. Will similar fix work for 0.6.6?

Anonymous
Fri 08 Dec 2006 07:38:43 AM UTC, comment #2:

Fixed in HEAD (0.7.6).

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Fri 08 Dec 2006 06:30:27 AM UTC, comment #1:

Hmm, not easily fixed. libgchempaint was not intended to be used by other programs (it should be possible with 0.8.0 but this one is not released yet). At the moment, libgcpcanvas is only used as a static library, so adding -lgcpcanvas to LIBS for libgchempaint just makes libtool fail.
If fixing this bug is a requirement for you, the solution is to build a shared version of libgcpcanvas. Tell me if you need it.
Also, please apply patch for #18159 before releasing.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Thu 07 Dec 2006 08:44:33 PM UTC, original submission:

I am continuing my attempts to include gchempaint in Fedora Extras. One of the problems we hit during the review process was that when rpmlint (an RPM verification tool) is run against an installed package it complains about undefined-non-weak-symbols:
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 g_printable_get_type
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_rich_text_ext_get_type
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_rich_text_ext_set_buffer
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_rich_text_ext_get_iter_location
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_rich_text_ext_get_buffer
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_text_ext_get_type
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_ellipse_ext_get_type
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_bpath_ext_get_type
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_rich_text_ext_get_pango_layout
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 g_printable_export_svg
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_rich_text_ext_get_iter_at_location
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_group_ext_get_type
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_rect_ext_get_type
W: gchempaint undefined-non-weak-symbol /usr/lib/libgchempaint.so.0.6.6 gnome_canvas_line_ext_get_type

The explanation of this message is the following:
The binary contains undefined non-weak symbols. This may indicate improper linkage; check that the binary has been linked as expected.

Further info, as well as the package itself can be found on the redhat bugzilla:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218176

Julian Sikorski <belegdol>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jean_brefort (Posted a comment)
  • -unavailable- added by belegdol (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 28 May 2007 04:16:59 PM UTCjean_brefortOpen/ClosedOpen=>Closed
    Sat 09 Dec 2006 07:07:06 AM UTCjean_brefortStatusConfirmed=>Fixed
    Fri 08 Dec 2006 06:30:27 AM UTCjean_brefortStatusNone=>Confirmed
      Assigned toNone=>jean_brefort

    Back to the top


    Powered by Savane 3.1-cleanup1