From owner-freebsd-ports@FreeBSD.ORG Tue Feb 11 22:55:56 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 056C44D0 for ; Tue, 11 Feb 2014 22:55:56 +0000 (UTC) Received: from vms173001pub.verizon.net (vms173001pub.verizon.net [206.46.173.1]) by mx1.freebsd.org (Postfix) with ESMTP id D51F21BFD for ; Tue, 11 Feb 2014 22:55:55 +0000 (UTC) Received: from [192.168.1.3] ([unknown] [173.60.122.163]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N0U00509T0E4F70@vms173001.mailsrvcs.net> for freebsd-ports@freebsd.org; Tue, 11 Feb 2014 16:55:33 -0600 (CST) Date: Tue, 11 Feb 2014 14:55:26 -0800 (PST) From: jcv To: Kevin Oberman Subject: Re: mediatomb In-reply-to: Message-id: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 22:55:56 -0000 On Tue, 11 Feb 2014, Kevin Oberman wrote: > On Tue, Feb 11, 2014 at 12:16 PM, jcv wrote: > Hi - I am seeing alot of emails regarding libiconv..  Is there a work > around for mediatomb per chance?? > > ===>  Building for mediatomb-0.12.1_11 > --- all --- > /usr/bin/make  all-recursive > --- all-recursive --- > Making all in tombupnp > --- all-recursive --- > Making all in build > Making all in build > --- mediatomb --- > c++ -I../src  -I../tombupnp/ixml/inc  -I../tombupnp/threadutil/inc > -I../tombupnp/upnp/inc  -I..    -I/usr/local/include/mysql -pipe > -fno-strict-aliasing -g -DNDEBUG  -I/usr/local/include > -I/usr/local/include  -I/usr/local/include    -D_THREAD_SAFE > -I/usr/local/include  -I/usr/local/include  -I/usr/local/include > -I/usr/local/include   -O2 -pipe -fno-strict-aliasing   -pthread >  -lmagic -o mediatomb mediatomb-main.o libmediatomb.a > ../tombupnp/build/libtombupnp.a  -L/usr/local/lib    -L/usr/local/lib > -L/usr/local/lib        -L/usr/local/lib -L/usr/local/lib > -L/usr/local/lib    -pthread    -L/usr/local/lib/mysql -lmysqlclient_r > -pthread -lm      -L/usr/local/lib -ljs  -lmagic  -lid3  -lexif  -lz >  -lrt -D_THREAD_SAFE  -pthread  -lavformat -lavutil >  -lffmpegthumbnailer -lexpat  -lmp4v2        -L/usr/local/lib -lcurl > -lssl -lcrypto -L/usr/lib -lgssapi -lheimntlm -lkrb5 -lhx509 -lcom_err > -lcrypto -lasn1 -lwind -lheimbase -lroken -lcrypt -pthread -lz -lcurl > /usr/bin/ld: : invalid DSO for symbol `libiconv_open' definition > //usr/local/lib/libiconv.so.3: could not read symbols: Bad value > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > *** [mediatomb] Error code 1 > > make[4]: stopped in > /usr/ports/net/mediatomb/work/mediatomb-0.12.1/build > 1 error > > make[4]: stopped in > /usr/ports/net/mediatomb/work/mediatomb-0.12.1/build > *** [all-recursive] Error code 1 > > make[3]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1 > 1 error > > make[3]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1 > *** [all] Error code 2 > > make[2]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1 > 1 error > > make[2]: stopped in /usr/ports/net/mediatomb/work/mediatomb-0.12.1 > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the > failure to > the maintainer. > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/net/mediatomb > *** Error code 1 > > Stop. > make: stopped in /usr/ports/net/mediatomb > root@yeaguy:/usr/ports/net/mediatomb # > > > OK. What version of FreeBSD? Do you have the iconv port installed? > > I have mediatomb running fine under 10.0-RELEASE without the iconv port. > > While the base libiconv is fully POSIX compliant, the port version (GNU iconv) has > several non-POSIX extensions that a few ports require. I have had no issues with > mediatomb using base iconv, but your port build was clearly trying to use a ports > version, /usr/local/lib/libiconv.so.3. The error at least implies that the library > is corrupt. > > If you don't have libiconv installed, libiconv.so.3 is a remnant from pre-upgrade, > so you should delete it. If you are not running 10.0, 10-STABLE (recent), or HEAD, > you should re-install the port. > -- > R. Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com > > Here is my current setup: [vic@yeaguy ~] uname -a FreeBSD yeaguy.com 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 [vic@yeaguy ~] pkg info | grep libic libical-1.0 Implementation of the IETF Calendaring and Scheduling protocols libiconv-1.14_1 A character set conversion library [vic@yeaguy ~] [vic@yeaguy ~] locate libiconv.so.3 /usr/local/lib/libiconv.so.3 [vic@yeaguy ~] From owner-freebsd-ports@FreeBSD.ORG Tue Feb 11 23:00:22 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 804E5699 for ; Tue, 11 Feb 2014 23:00:22 +0000 (UTC) Received: from shrewd.pub.knigma.org (shrewd.ipv6.pub.knigma.org [IPv6:2001:8b0:b0:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 18CA81C2C for ; Tue, 11 Feb 2014 23:00:21 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (authenticated bits=0) by shrewd.pub.knigma.org (8.14.7/8.14.7) with ESMTP id s1BN0K43061716 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 11 Feb 2014 23:00:20 GMT (envelope-from lists@knigma.org) Message-ID: <52FAAB84.5080309@knigma.org> Date: Tue, 11 Feb 2014 23:00:20 +0000 From: Mark Knight User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: Error build the port devel/glib20 References: <1391818627.885938616.ruy8upl9@frv35.fwdcdn.com> <21237.34424.821674.97195@gromit.timing.com> <52F5E52E.6080508@FreeBSD.org> <21239.2377.677399.720444@gromit.timing.com> <52F795C9.1010506@knigma.org> <20140211202120.3147ab66@kalimero.tijl.coosemans.org> <52FA82F2.4040609@knigma.org> <20140211215140.0e382097@kalimero.tijl.coosemans.org> <52FA91BF.6010001@knigma.org> <20140211225719.0c0554f4@kalimero.tijl.coosemans.org> <52FAA232.3000507@knigma.org> <20140211233138.00f95a52@kalimero.tijl.coosemans.org> <20140211234636.13735d28@kalimero.tijl.coosemans.org> In-Reply-To: <20140211234636.13735d28@kalimero.tijl.coosemans.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (shrewd.pub.knigma.org [127.0.0.1]); Tue, 11 Feb 2014 23:00:20 +0000 (GMT) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: markk@knigma.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Feb 2014 23:00:22 -0000 On 11/02/2014 22:46, Tijl Coosemans wrote: > Also, what's the output of "uname -v"? mkn@shrewd$ uname -v FreeBSD 10.0-RELEASE #0 r261574: Fri Feb 7 17:06:49 GMT 2014 root@shrewd.pub.knigma.org:/usr/obj/usr/src/sys/SHREWD -- Mark Knight Mobile: +44 7753 250584. http://www.knigma.org/ Email: markk@knigma.org. Skype: knigma