Bug 200166 - audio/tagtool: fix runtime problem
Summary: audio/tagtool: fix runtime problem
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-13 09:54 UTC by valery
Modified: 2015-05-20 19:48 UTC (History)
1 user (show)

See Also:


Attachments
patch to src/Makefile.in (381 bytes, patch)
2015-05-13 09:54 UTC, valery
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description valery 2015-05-13 09:54:42 UTC
Created attachment 156744 [details]
patch to src/Makefile.in

Env : 10.1-STABLE FreeBSD 10.1-STABLE #0 r278590 amd64 
PORTNAME=       tagtool
PORTVERSION=    0.12.3
PORTREVISION=   12

* Desc : since a long time, tagtool doesn't work anymore due to libglade dynl problem ; running tagtool lead to these errors : 
==>
(tagtool:6899): libglade-WARNING **: could not find signal handler 'cb_file_refresh'.
(tagtool:6899): libglade-WARNING **: could not find signal handler 'cb_vor_comment_row_activated'.
(tagtool:6899): libglade-WARNING **: could not find signal handler 'cb_vor_view_button'.
//...//
<==
This way, callbacks never do what they must do, app is completely useless.
Ok.

* Solution : 
adding -rdynamic to ld solve the trouble.
So, applying the attached patch ("patch-src_Makefile.in") solve the problem.
Copy patch-src_Makefile.in to audio/tagtool/files/., make extract && make patch && make.

* Note : at final stage, you'll see a ld warning : 
/usr/bin/ld: warning: cannot find entry symbol xport-dynamic; defaulting to 000000000040c5b0

but it seem to be ok using common functionnalities of tagtool.

Regards,

--
Valéry Seys
Paris /\
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-05-20 19:00:47 UTC
A commit references this bug:

Author: amdmi3
Date: Wed May 20 19:00:09 UTC 2015
New revision: 386879
URL: https://svnweb.freebsd.org/changeset/ports/386879

Log:
  - Fix runtime problem, applications was unusable [1]
  - Remove unneeded REINPLACE

  PR:		200166 [1]
  Submitted by:	valery@vslash.com [1]
  MFH:		2015Q2

Changes:
  head/audio/tagtool/Makefile
  head/audio/tagtool/files/patch-configure
  head/audio/tagtool/files/patch-src_Makefile.in
  head/audio/tagtool/files/patch-src__main.c
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-05-20 19:48:52 UTC
A commit references this bug:

Author: amdmi3
Date: Wed May 20 19:48:35 UTC 2015
New revision: 386885
URL: https://svnweb.freebsd.org/changeset/ports/386885

Log:
  MFH: r386879

  - Fix runtime problem, applications was unusable [1]
  - Remove unneeded REINPLACE

  PR:		200166 [1]
  Submitted by:	valery@vslash.com [1]
  Approved by:	ports-secteam (erwin)

Changes:
_U  branches/2015Q2/
  branches/2015Q2/audio/tagtool/Makefile
  branches/2015Q2/audio/tagtool/files/patch-configure
  branches/2015Q2/audio/tagtool/files/patch-src_Makefile.in
  branches/2015Q2/audio/tagtool/files/patch-src__main.c