From nobody@FreeBSD.org  Thu Jul 25 15:38:18 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 13F84F12
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Jul 2013 15:38:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 0190C2FC1
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Jul 2013 15:38:18 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6PFcHlN023318
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Jul 2013 15:38:17 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6PFcHii023315;
	Thu, 25 Jul 2013 15:38:17 GMT
	(envelope-from nobody)
Message-Id: <201307251538.r6PFcHii023315@oldred.freebsd.org>
Date: Thu, 25 Jul 2013 15:38:17 GMT
From: Alfred Bartsch <bartsch@dssgmbh.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: audio/chromaprint does not build with poudriere
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         180846
>Category:       ports
>Synopsis:       audio/chromaprint does not build with poudriere
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    jhale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 25 15:40:01 UTC 2013
>Closed-Date:    Tue Mar 04 14:07:15 CET 2014
>Last-Modified:  Tue Mar 04 14:07:15 CET 2014
>Originator:     Alfred Bartsch
>Release:        FreeBSD 8.4-STABLE
>Organization:
Data-Service-GmbH
>Environment:
FreeBSD dsst1pkg.incore 8.4-STABLE FreeBSD 8.4-STABLE #0 r253040: Wed Jul 10 00:10:12 CEST 2013     root@dsssrvt1.incore:/usr/obj/usr/src/sys/SERVER64  amd64
>Description:
audio/chromaprint does not build within poudriere (clean environment)

output of poudriere build log:

..
/usr/bin/ld: warning: libiconv.so.3, needed by /usr/local/lib/ffmpeg1/libavcodec1.so, not found (try using -rpath or -rpat
h-link)
/usr/local/lib/ffmpeg1/libavcodec1.so: undefined reference to `libiconv_open'
/usr/local/lib/ffmpeg1/libavcodec1.so: undefined reference to `libiconv_close'
/usr/local/lib/ffmpeg1/libavcodec1.so: undefined reference to `libiconv'
*** Error code 1

Stop in /wrkdirs/usr/ports/audio/chromaprint/work/.build.
*** Error code 1

Stop in /wrkdirs/usr/ports/audio/chromaprint/work/.build.
*** Error code 1

Stop in /wrkdirs/usr/ports/audio/chromaprint/work/.build.
*** Error code 1

Stop in /usr/ports/audio/chromaprint.
===>  Cleaning for chromaprint-0.7_1
build of /usr/ports/audio/chromaprint ended at Tue Jul 23 23:08:58 CEST 2013
build time: 00:00:40

>How-To-Repeat:
poudriere bulk ... audio/chromaprint
>Fix:
Adding "USES+= ICONV" to Makefile solves this issue for me.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->jhale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Jul 25 15:40:09 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180846 

From: "Jason E. Hale" <jhale@freebsd.org>
To: bug-followup@freebsd.org, bartsch@dssgmbh.de
Cc: wg@freebsd.org
Subject: Re: ports/180846: audio/chromaprint does not build with poudriere
Date: Wed, 02 Oct 2013 11:28:01 -0400

 This appears to be a problem with the multimedia/ffmpeg1 port (maintainer 
 CC'd).  If I run:
 
 $ cd /usr/ports/multimedia/ffmpeg1 && make run-depends-list
 
 converters/libiconv does not show up in the list.  I believe this is because 
 the logic for including iconv should be before <bsd.port.pre.mk>.  While 
 investigating this, it seams a bigger problem for ffmpeg arose in r328869 as 
 the options helper macros need to be before <bsd.port.options.mk>.  Now there 
 isn't much that shows up in the build-depends-list or run-depends-list.
 
 -- 
 Jason E. Hale - jhale@
 FreeBSD Ports Committer
 KDE/FreeBSD Team

From: William Grzybowski <william88@gmail.com>
To: "Jason E. Hale" <jhale@freebsd.org>
Cc: bug-followup@freebsd.org, bartsch@dssgmbh.de, 
	William Grzybowski <wg@freebsd.org>
Subject: Re: ports/180846: audio/chromaprint does not build with poudriere
Date: Wed, 2 Oct 2013 12:45:28 -0300

 On Wed, Oct 2, 2013 at 12:28 PM, Jason E. Hale <jhale@freebsd.org> wrote:
 > This appears to be a problem with the multimedia/ffmpeg1 port (maintainer
 > CC'd).  If I run:
 >
 > $ cd /usr/ports/multimedia/ffmpeg1 && make run-depends-list
 >
 > converters/libiconv does not show up in the list.  I believe this is because
 > the logic for including iconv should be before <bsd.port.pre.mk>.  While
 > investigating this, it seams a bigger problem for ffmpeg arose in r328869 as
 > the options helper macros need to be before <bsd.port.options.mk>.  Now there
 > isn't much that shows up in the build-depends-list or run-depends-list.
 
 Thanks for the heads up, I'll take a look in a bit.
 
 
 -- 
 William Grzybowski
 ------------------------------------------
 Curitiba/PR - Brasil

From: William Grzybowski <william88@gmail.com>
To: "Jason E. Hale" <jhale@freebsd.org>
Cc: bug-followup@freebsd.org, bartsch@dssgmbh.de, 
	William Grzybowski <wg@freebsd.org>
Subject: Re: ports/180846: audio/chromaprint does not build with poudriere
Date: Wed, 2 Oct 2013 13:15:56 -0300

 On Wed, Oct 2, 2013 at 12:45 PM, William Grzybowski <william88@gmail.com> wrote:
 > On Wed, Oct 2, 2013 at 12:28 PM, Jason E. Hale <jhale@freebsd.org> wrote:
 >> This appears to be a problem with the multimedia/ffmpeg1 port (maintainer
 >> CC'd).  If I run:
 >>
 >> $ cd /usr/ports/multimedia/ffmpeg1 && make run-depends-list
 >>
 >> converters/libiconv does not show up in the list.  I believe this is because
 >> the logic for including iconv should be before <bsd.port.pre.mk>.  While
 >> investigating this, it seams a bigger problem for ffmpeg arose in r328869 as
 >> the options helper macros need to be before <bsd.port.options.mk>.  Now there
 >> isn't much that shows up in the build-depends-list or run-depends-list.
 >
 > Thanks for the heads up, I'll take a look in a bit.
 
 This should be fixed in r329064, can you confirm, please?
 
 Thank you
 
 -- 
 William Grzybowski
 ------------------------------------------
 Curitiba/PR - Brasil

From: "Jason E. Hale" <jhale@freebsd.org>
To: William Grzybowski <william88@gmail.com>
Cc: bug-followup@freebsd.org, bartsch@dssgmbh.de, William Grzybowski <wg@freebsd.org>
Subject: Re: ports/180846: audio/chromaprint does not build with poudriere
Date: Wed, 02 Oct 2013 09:49:01 -0700 (PDT)

 This is a multi-part message in MIME format.
 
 --nextPart2000953.09e8NSHnGO
 Content-Transfer-Encoding: 7Bit
 Content-Type: text/plain; charset="us-ascii"
 
 On Wednesday, October 02, 2013 13:15:56 William Grzybowski wrote:
 > > On Wed, Oct 2, 2013 at 12:28 PM, Jason E. Hale <jhale@freebsd.org> wrote:
 > >> This appears to be a problem with the multimedia/ffmpeg1 port (maintainer
 > >> CC'd).  If I run:
 > >> 
 > >> $ cd /usr/ports/multimedia/ffmpeg1 && make run-depends-list
 > >> 
 > >> converters/libiconv does not show up in the list.  I believe this is
 > >> because the logic for including iconv should be before
 > >> <bsd.port.pre.mk>.  While investigating this, it seams a bigger problem
 > >> for ffmpeg arose in r328869 as the options helper macros need to be
 > >> before <bsd.port.options.mk>.  Now there isn't much that shows up in the
 > >> build-depends-list or run-depends-list.> 
 > 
 > This should be fixed in r329064, can you confirm, please?
 > 
 
 I believe that achieved the desired behavior at least from a run-depends-list 
 standpoint.  I don't have a poudriere setup, so I'm not sure if it solves this 
 PR yet.  I would think it would, now that libiconv is a proper dependency.  
 Also, I noticed a few small typos in ffmpeg1 and ffmpeg2.  I attached a patch 
 that should apply to both Makefiles.
 
 -- 
 Jason E. Hale - jhale@
 FreeBSD Ports Committer
 KDE/FreeBSD Team
 --nextPart2000953.09e8NSHnGO
 Content-Disposition: attachment; filename="ffmpeg1.diff"
 Content-Transfer-Encoding: 7Bit
 Content-Type: text/x-patch; charset="ISO-8859-1"; name="ffmpeg1.diff"
 
 Index: Makefile
 ===================================================================
 --- Makefile	(revision 329071)
 +++ Makefile	(working copy)
 @@ -58,11 +58,11 @@
  
  # Opencore AMR WB
  AMR_WB_LIB_DEPENDS=	libopencore-amrwb.so:${PORTSDIR}/audio/opencore-amr
 -AMR_WB_CONFIGURE_EMABLE=	libopencore-amrwb
 +AMR_WB_CONFIGURE_ENABLE=	libopencore-amrwb
  
  # ass
  ASS_LIB_DEPENDS=	libass.so:${PORTSDIR}/multimedia/libass
 -ASS_CONFIGURE_EMABLE=	libass
 +ASS_CONFIGURE_ENABLE=	libass
  
  # cdio
  CDIO_LIB_DEPENDS=	libcdio.so:${PORTSDIR}/sysutils/libcdio
 
 --nextPart2000953.09e8NSHnGO--
 

From: William Grzybowski <william88@gmail.com>
To: "Jason E. Hale" <jhale@freebsd.org>
Cc: bug-followup@freebsd.org, bartsch@dssgmbh.de, 
	William Grzybowski <wg@freebsd.org>
Subject: Re: ports/180846: audio/chromaprint does not build with poudriere
Date: Wed, 2 Oct 2013 13:52:33 -0300

 On Wed, Oct 2, 2013 at 1:49 PM, Jason E. Hale <jhale@freebsd.org> wrote:
 > On Wednesday, October 02, 2013 13:15:56 William Grzybowski wrote:
 >> > On Wed, Oct 2, 2013 at 12:28 PM, Jason E. Hale <jhale@freebsd.org> wrote:
 >> >> This appears to be a problem with the multimedia/ffmpeg1 port (maintainer
 >> >> CC'd).  If I run:
 >> >>
 >> >> $ cd /usr/ports/multimedia/ffmpeg1 && make run-depends-list
 >> >>
 >> >> converters/libiconv does not show up in the list.  I believe this is
 >> >> because the logic for including iconv should be before
 >> >> <bsd.port.pre.mk>.  While investigating this, it seams a bigger problem
 >> >> for ffmpeg arose in r328869 as the options helper macros need to be
 >> >> before <bsd.port.options.mk>.  Now there isn't much that shows up in the
 >> >> build-depends-list or run-depends-list.>
 >>
 >> This should be fixed in r329064, can you confirm, please?
 >>
 >
 > I believe that achieved the desired behavior at least from a run-depends-list
 > standpoint.  I don't have a poudriere setup, so I'm not sure if it solves this
 > PR yet.  I would think it would, now that libiconv is a proper dependency.
 > Also, I noticed a few small typos in ffmpeg1 and ffmpeg2.  I attached a patch
 > that should apply to both Makefiles.
 
 Committed, thanks and sorry for the trouble :)
 
 
 -- 
 William Grzybowski
 ------------------------------------------
 Curitiba/PR - Brasil
State-Changed-From-To: open->closed 
State-Changed-By: tijl 
State-Changed-When: Tue Mar 4 14:05:25 CET 2014 
State-Changed-Why:  
Closing iconv related PR; audio/chromaprint builds fine on pkg build cluster. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=180846 
>Unformatted:
