Bug 194533 - multimedia/plexhometheater iconv errors
Summary: multimedia/plexhometheater iconv errors
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Adam Weinberger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-22 16:05 UTC by Ben Woods
Modified: 2014-10-23 19:45 UTC (History)
1 user (show)

See Also:


Attachments
Patch to resolve PR194533: multimedia/plexhometheater iconv issues (850 bytes, patch)
2014-10-22 16:07 UTC, Ben Woods
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Woods freebsd_committer 2014-10-22 16:05:36 UTC
When running the plexhometheater player, the following line is repeatedly printed into the log output.
ERROR: convert_checked iconv_open() failed from UTF-8 to WCHAR_T, errno=22(Invalid argument)

This is because the plexhometheater port currently uses the iconv in base, which does not provide the wchar_t functionality. The port needs to be changed to instead use libiconv from ports.
Comment 1 Adam Weinberger freebsd_committer 2014-10-22 16:07:22 UTC
You'll want USES=iconv:wchar_t
Comment 2 Ben Woods freebsd_committer 2014-10-22 16:07:28 UTC
Created attachment 148561 [details]
Patch to resolve PR194533: multimedia/plexhometheater iconv issues

This patch changes port multimedia/plexhometheater from using base iconv to libiconv from ports. This resolves the issue reported under PR194533.
Comment 3 Adam Weinberger freebsd_committer 2014-10-22 16:26:17 UTC
Committed. Good work, as always.
Comment 4 commit-hook freebsd_committer 2014-10-22 16:26:19 UTC
A commit references this bug:

Author: adamw
Date: Wed Oct 22 16:25:56 UTC 2014
New revision: 371361
URL: https://svnweb.freebsd.org/changeset/ports/371361

Log:
  Use iconv port, for wchar_t.

  When running the plexhometheater player, the following line is repeatedly
  printed into the log output.

  ERROR: convert_checked iconv_open() failed from UTF-8 to WCHAR_T, errno=22(Invalid argument)

  This is because the plexhometheater port currently uses the iconv in base,
  which does not provide the wchar_t functionality.

  PR:		194533
  Submitted by:	Ben Woods (maintainer)

Changes:
  head/multimedia/plexhometheater/Makefile
Comment 5 Ben Woods freebsd_committer 2014-10-23 14:47:05 UTC
Thanks Adam. Do we need to bump PORTREVISION?
Comment 6 Adam Weinberger freebsd_committer 2014-10-23 19:45:06 UTC
(In reply to Ben Woods from comment #5)
> Thanks Adam. Do we need to bump PORTREVISION?

Yup!
Comment 7 commit-hook freebsd_committer 2014-10-23 19:45:44 UTC
A commit references this bug:

Author: adamw
Date: Thu Oct 23 19:45:11 UTC 2014
New revision: 371402
URL: https://svnweb.freebsd.org/changeset/ports/371402

Log:
  Bump PORTREVISION for r371361, which changed the iconv library.

  PR:		194533
  Submitted by:	Ben Woods (maintainer)

Changes:
  head/multimedia/plexhometheater/Makefile