From owner-freebsd-ports@freebsd.org Thu Oct 1 18:20:02 2015 Return-Path: Delivered-To: freebsd-ports@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 53C22A0C4AE for ; Thu, 1 Oct 2015 18:20:02 +0000 (UTC) (envelope-from violet@sm.msk.ru) 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 3C4341815 for ; Thu, 1 Oct 2015 18:20:02 +0000 (UTC) (envelope-from violet@sm.msk.ru) Received: by mailman.ysv.freebsd.org (Postfix) id 38E1FA0C4AC; Thu, 1 Oct 2015 18:20:02 +0000 (UTC) Delivered-To: ports@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 1E7D7A0C4AB for ; Thu, 1 Oct 2015 18:20:02 +0000 (UTC) (envelope-from violet@sm.msk.ru) Received: from xide.reclama.ru (xide.reclama.ru [46.4.49.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.sm.msk.ru", Issuer "sm private network CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AC4A81811 for ; Thu, 1 Oct 2015 18:19:55 +0000 (UTC) (envelope-from violet@sm.msk.ru) Received: from user Date: Thu, 1 Oct 2015 21:19:14 +0300 From: Violet Organization: Private person X-Priority: 3 (Normal) Message-ID: <1083239992.20151001211914@sm.msk.ru> To: Kurt Jaeger CC: ports@freebsd.org Subject: perl modules building error (was: Re: ZoneMinder /zmu dies on FreeBSD 10.2) In-Reply-To: <20151001123230.GE5560@home.opsec.eu> References: <74739526.20150929190146@sm.msk.ru> <20150929171241.GA5560@home.opsec.eu> <285714120.20151001151842@sm.msk.ru> <20151001123230.GE5560@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (xide.reclama.ru [46.4.49.166]); Thu, 01 Oct 2015 21:19:22 +0300 (MSK) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 18:20:02 -0000 Hi Kurt, Trying to change the library. Binaries appear to get linked. Got an error building perl modules: that's an infinite cycle. Please help. No idea where to look. The current version is available at the same place, http://sm.msk.ru/files/zoneminder128.tar.bz2 -rw-r--r-- 1 root wheel 23847 Oct 1 21:07 zoneminder128.tar.bz2 orc# md5 zoneminder128.tar.bz2 MD5 (zoneminder128.tar.bz2) = 56f9dbe94630058b3c9a2039d6e1d85b [ 94%] Built target zmstreamer /usr/local/bin/cmake -E cmake_echo_color --switch= --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=56,57 "Built target zmu" [ 98%] Built target zmu /usr/local/bin/cmake -E cmake_echo_color --switch= --blue --bold --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=51 "Building ZoneMinder perl modules" [100%] Building ZoneMinder perl modules Generating a Unix-style MakefilePerl Writing MakefilePerl for ZoneMinder Writing MYMETA.yml and MYMETA.json /usr/local/bin/cmake -E cmake_echo_color --switch= --blue --bold --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=51 "Building ZoneMinder perl modules" [100%] Building ZoneMinder perl modules Generating a Unix-style MakefilePerl Writing MakefilePerl for ZoneMinder Writing MYMETA.yml and MYMETA.json /usr/local/bin/cmake -E cmake_echo_color --switch= --blue --bold --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=51 "Building ZoneMinder perl modules" [100%] Building ZoneMinder perl modules Generating a Unix-style MakefilePerl Writing MakefilePerl for ZoneMinder Writing MYMETA.yml and MYMETA.json /usr/local/bin/cmake -E cmake_echo_color --switch= --blue --bold --progress-dir=/usr/ports/multimedia/zoneminder/work/ZoneMinder-1.28.1/CMakeFiles --progress-num=51 "Building ZoneMinder perl modules" [100%] Building ZoneMinder perl modules And yes, the new `zmu' crashes just like the old one, looks I am doing all correct.. ;) orc# find . -name zmu ./work/ZoneMinder-1.28.1/src/zmu orc# ./work/ZoneMinder-1.28.1/src/zmu Segmentation fault (core dumped) orc# gdb -c zmu.core ./work/ZoneMinder-1.28.1/src/zmu GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `zmu'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done. ... Loaded symbols for /libexec/ld-elf.so.1 #0 0x0000000000000000 in ?? () [New Thread 812c06400 (LWP 103135/)] (gdb) bt #0 0x0000000000000000 in ?? () #1 0x000000080468b8c8 in ?? () from /usr/local/lib/gcc48/libstdc++.so.6 #2 0x00000008049371c0 in ?? () from /usr/local/lib/gcc48/libstdc++.so.6 #3 0x00007fffffffda20 in ?? () #4 0x0000000000000000 in ?? () (gdb) You wrote on 2015-10-01, 15:32:30: > Hi! >> Looks like we need to update ffmpeg0 to some current version. > It looks like there's a dependency on ffmpeg0, but we also have > much newer ffmpeg's in the ports tree. So it's probably a > question of getting zoneminder to use the newer versions. >> Looked at it and did not understand - there really is v.0.7.17 in use >> while the modern is 2.8 or I miss something? > Yes. Because those multimedia libs are so complex, sometimes > it's difficult to get a new release to integrate. >> Please point me to a right source and I will try to compile >> those libraries. > For ffmpeg, it's easy: multimedia/ffmpeg, which is already 2.8.1 -- Best regards, Violet mailto:violet@sm.msk.ru