From owner-freebsd-current@freebsd.org Fri Sep 25 08:26:38 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87BC6A08235 for ; Fri, 25 Sep 2015 08:26:38 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6C90B1E6E for ; Fri, 25 Sep 2015 08:26:38 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: by mailman.ysv.freebsd.org (Postfix) id 69801A08234; Fri, 25 Sep 2015 08:26:38 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F34BA08233 for ; Fri, 25 Sep 2015 08:26:38 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: from mail.xtaz.uk (tao.xtaz.uk [IPv6:2001:8b0:202::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1787F1E6D; Fri, 25 Sep 2015 08:26:38 +0000 (UTC) (envelope-from fbsd@xtaz.co.uk) Received: by mail.xtaz.uk (Postfix, from userid 1001) id 49CD120AEE8F; Fri, 25 Sep 2015 09:26:36 +0100 (BST) Date: Fri, 25 Sep 2015 09:26:36 +0100 From: Matt Smith To: Don Lewis Cc: lists@opsec.eu, dim@FreeBSD.org, rkoberman@gmail.com, current@freebsd.org, leo@mediatomb.cc Subject: Re: Port compilation fails on HEAD. works on 9 and 10 STABLE Message-ID: <20150925082636.GD15788@xtaz.uk> Mail-Followup-To: Matt Smith , Don Lewis , lists@opsec.eu, dim@FreeBSD.org, rkoberman@gmail.com, current@freebsd.org, leo@mediatomb.cc References: <20150925064640.GB15788@xtaz.uk> <201509250800.t8P80Lr2016930@gw.catspoiler.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201509250800.t8P80Lr2016930@gw.catspoiler.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Sep 2015 08:26:38 -0000 On Sep 25 01:00, Don Lewis wrote: >On 25 Sep, Matt Smith wrote: >> On Sep 24 21:52, Kurt Jaeger wrote: >>>Hi! >>> >>>> > > Try dropping the attached patch in net/mediatomb/files. I submitted it >>>> > > in March, in PR198436: >>>> > > >>>> > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198436 >>>> > >>>> > Eh, now with an actual patch. :) >>>> >>>> Thanks, helps to build it. Still fails on 9.3a, but I *have* to go >>>> to bed now. >>> >>>It's done. >>> >> >> This seems to create a run time dependency on GCC. Should it not just be >> a build time dependency which allows you to uninstall GCC afterwards? > >If the executable(s) link to any of the shared libraries bundled with >the gcc port, then gcc needs to be a run time dependency. If you point >ldd at one of the executables, what does it say? > Good point. I remember now that some things like against libgcc provided with the GCC package. If this is the case then I apologise for the noise and feel free to ignore me! Unfortunately I don't currently have access to the box where I compiled it using GCC last night using the updated port. I only have access to another box where it was compiled using clang (on -STABLE). This shows the below. So I can see that it is linked against libgcc, although in this case the base system version. $ ldd `which mediatomb` /usr/local/bin/mediatomb: libthr.so.3 => /lib/libthr.so.3 (0x80094b000) librt.so.1 => /usr/lib/librt.so.1 (0x800b6f000) libsqlite3.so.0 => /usr/local/lib/libsqlite3.so.0 (0x800d75000) libmagic.so.4 => /usr/lib/libmagic.so.4 (0x801029000) libz.so.6 => /lib/libz.so.6 (0x801248000) libavformat.so.56 => /usr/local/lib/libavformat.so.56 (0x80145e000) libavutil.so.54 => /usr/local/lib/libavutil.so.54 (0x801821000) libffmpegthumbnailer.so.4 => /usr/local/lib/libffmpegthumbnailer.so.4 (0x801a86000) libexpat.so.1 => /usr/local/lib/libexpat.so.1 (0x801c9b000) libc++.so.1 => /usr/lib/libc++.so.1 (0x801ec1000) libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x802180000) libm.so.5 => /lib/libm.so.5 (0x80239c000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8025c5000) libc.so.7 => /lib/libc.so.7 (0x8027d3000) libavcodec.so.56 => /usr/local/lib/libavcodec.so.56 (0x802c00000) libssl.so.8 => /usr/local/lib/libssl.so.8 (0x803f0e000) libcrypto.so.8 => /usr/local/lib/libcrypto.so.8 (0x804200000) libbz2.so.4 => /usr/lib/libbz2.so.4 (0x804651000) libswscale.so.3 => /usr/local/lib/libswscale.so.3 (0x804863000) libpng16.so.16 => /usr/local/lib/libpng16.so.16 (0x804af5000) libjpeg.so.8 => /usr/local/lib/libjpeg.so.8 (0x804d27000) libswresample.so.1 => /usr/local/lib/libswresample.so.1 (0x804f80000) libx264.so.144 => /usr/local/lib/libx264.so.144 (0x80519b000) libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0 (0x8054fd000) libfdk-aac.so.1 => /usr/local/lib/libfdk-aac.so.1 (0x805776000) liblzma.so.5 => /usr/lib/liblzma.so.5 (0x805a43000) -- Matt