From owner-freebsd-multimedia@freebsd.org Sun Aug 6 00:08:05 2017 Return-Path: Delivered-To: freebsd-multimedia@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 46B7ADD2C1C for ; Sun, 6 Aug 2017 00:08:05 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 25D9968986 for ; Sun, 6 Aug 2017 00:08:05 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 221A0DD2C1A; Sun, 6 Aug 2017 00:08:05 +0000 (UTC) Delivered-To: multimedia@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 21AA7DD2C19 for ; Sun, 6 Aug 2017 00:08:05 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-pf0-x22d.google.com (mail-pf0-x22d.google.com [IPv6:2607:f8b0:400e:c00::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EBE1668985 for ; Sun, 6 Aug 2017 00:08:04 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-pf0-x22d.google.com with SMTP id t86so20757466pfe.2 for ; Sat, 05 Aug 2017 17:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to; bh=jmpzaco09wtdjbM06iP21tid1Ur7XnTAdMRZhSsqnLE=; b=clUnEScsiymgWNsVvB6uxla8oieRY3ILN67WMVu8ychY2125Jpro7pTRjNHp+wWkOp F9KDvn6X4th3/R9AJEWb9L7jS8K5Iq93Zke1UTYRpI7Fe10ZAWZ4Qozl6vgnfo80TB2w rjxWlbgfA7NCk7A4x7lMq+BeRJU+4hmKwIxfzX/DqUZBtrcC4JFI+qLZBiJtztktH8gf 6fIKsw1Hz2DDeFRvsqUefF9wHqlRFQeZHQuqE1DtTPlMdgdi3XM1GfvOZTg3Lo7i4cQB /MQRGZ/4jtTclo99z9GnAhpMDECZAwBzoK+N0I9KzOzRhMwkIRhhvsqFQ3z+Dt/m5IFF wNyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=jmpzaco09wtdjbM06iP21tid1Ur7XnTAdMRZhSsqnLE=; b=jbaGlybyyoKQu91bikbBANY3UFimfW+Lb6f4sICVydD7zbyA/VS0WDtdw965S/T3l4 8SzKlcfF2y86C9Ufk/viNUQh+NQrOiav/nuLUzK2o1ebAqdhZN3/NgV2nLZTD6Ehk+mU RVlL/Bd0IGd1GSFBSRQrEtB8oyeR17PLw6QpJ73tXDUMnj9qchbceqhm864TjN7mFiJ0 i8+dX66+KYd9yi09PWvW1eNF69O2PRWYnBBp17gyWZAfj8dmGjI2VexED5E1+1L4v+mZ PVPdsjlyGwjxV5IYpdwk5SoJCDNYQ+8QePc8BEgFDpHgDiSyxu9jxatrUMW12wh0BA89 Jxww== X-Gm-Message-State: AIVw112WYaYRmkIfXcrXX6vdo1Y8oXjromeDVKXBbp10KqJn+NgnsCyZ YFgxEdhBYbP0BjQVfxSZXNNtLKp/DFwqDH8= X-Received: by 10.99.36.7 with SMTP id k7mr6672601pgk.325.1501978084110; Sat, 05 Aug 2017 17:08:04 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.100.165.42 with HTTP; Sat, 5 Aug 2017 17:08:03 -0700 (PDT) From: Kevin Oberman Date: Sat, 5 Aug 2017 17:08:03 -0700 X-Google-Sender-Auth: JuH27GS6bhDUd9JzrrL6H39ZZDk Message-ID: Subject: Update multimedia/avidmux to 2.6.19 To: multimedia@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Aug 2017 00:08:05 -0000 I am attempting to update multimedia/avidemux to a modern release and convert it to use Qt5 as Qt4 is rotting and upstream supports Qt5. Worse, when compiled with Qt4, it frequently is dumping core due to a change in the kernel to more thoroughly check memory use (committed by kib in 320666). I have hit a problem that I don't really know how to approach due to my unfamiliarity with cmake and C++. The problem is with cmake/admCheckMiscLibs.cmake. There is a patch for the old port, but the line modified has been re-written to include the change made by the current patch, but now is not working. the current/old patch is: --- cmake/admCheckMiscLibs.cmake.orig 2015-05-30 14:09:29 UTC +++ cmake/admCheckMiscLibs.cmake @@ -67,7 +67,7 @@ ENDIF (UNIX AND NOT APPLE) MESSAGE(STATUS "Checking for execinfo") MESSAGE(STATUS "*********************") -FIND_HEADER_AND_LIB(execinfo execinfo.h execinfo backtrace_symbols) +FIND_HEADER_AND_LIB(EXECINFO execinfo.h execinfo backtrace_symbols) PRINT_LIBRARY_INFO("execinfo" EXECINFO_FOUND "${LIBEXECINFO_INCLUDE_DIR}" "${LIBEXECINFO_LIBRARY_DIR}") IF (LIBEXECINFO_INCLUDE_DIR) Since the line is now: FIND_HEADER_AND_LIB(EXECINFO execinfo.h c backtrace_symbols) I just tried leaving it as-is, but I get this error: CMake Error at /usr/ports/multimedia/avidemux-new/work/avidemux_2.6.19/cmake/admCheckMiscLibs.cmake:83 (ADM_COMPILE): ADM_COMPILE Macro invoked with incorrect arguments for macro named: ADM_COMPILE Call Stack (most recent call first): /usr/ports/multimedia/avidemux-new/work/avidemux_2.6.19/cmake/admMainChecks.cmake:164 (INCLUDE) CMakeLists.txt:28 (include) -- Does not work, without Change Dir: /usr/ports/multimedia/avidemux-new/work/.build/CMakeFiles/CMakeTmp Run Build Command:"/usr/local/bin/gmake" "cmTC_8e4e2/fast" gmake[2]: Entering directory '/usr/ports/multimedia/avidemux-new/work/.build/CMakeFiles/CMakeTmp' gmake -f CMakeFiles/cmTC_8e4e2.dir/build.make CMakeFiles/cmTC_8e4e2.dir/build gmake[3]: Entering directory '/usr/ports/multimedia/avidemux-new/work/.build/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_8e4e2.dir/execinfo.cpp.o /usr/local/bin/g++5 -I/usr/local/include -O2 -pipe -fno-omit-frame-pointer -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -I/usr/local/include -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc5 -o CMakeFiles/cmTC_8e4e2.dir/execinfo.cpp.o -c /usr/ports/multimedia/avidemux-new/work/avidemux_2.6.19/cmake/cmake_compile_check/execinfo.cpp Linking CXX executable cmTC_8e4e2 /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8e4e2.dir/link.txt --verbose=1 /usr/local/bin/g++5 -O2 -pipe -fno-omit-frame-pointer -DLIBICONV_PLUG -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5 -fno-strict-aliasing -I/usr/local/include -DLIBICONV_PLUG -Wl,-rpath=/usr/local/lib/gcc5 CMakeFiles/cmTC_8e4e2.dir/execinfo.cpp.o -o cmTC_8e4e2 CMakeFiles/cmTC_8e4e2.dir/execinfo.cpp.o: In function `print_trace()': execinfo.cpp:(.text+0x19): undefined reference to `backtrace' execinfo.cpp:(.text+0x27): undefined reference to `backtrace_symbols' collect2: error: ld returned 1 exit status gmake[3]: *** [CMakeFiles/cmTC_8e4e2.dir/build.make:98: cmTC_8e4e2] Error 1 gmake[3]: Leaving directory '/usr/ports/multimedia/avidemux-new/work/.build/CMakeFiles/CMakeTmp' gmake[2]: *** [Makefile:126: cmTC_8e4e2/fast] Error 2 gmake[2]: Leaving directory '/usr/ports/multimedia/avidemux-new/work/.build/CMakeFiles/CMakeTmp' -- Does not work, with (NOTE: The error report just stops at this point.) Can anyone provide a pointer as to what is wrong and how to fix it? While the name is poor as it now supports most popular CODECs and muxiplexors and has no special AVI ties, it is a very handy little "quick" video editor/fmpeg front-end that I find far superior to HandBrake. Thanks in advance! -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683