From owner-freebsd-ports@FreeBSD.ORG Sat Nov 22 20:44:27 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E589F3B for ; Sat, 22 Nov 2014 20:44:27 +0000 (UTC) Received: from outbound-queue-2.mail.thdo.gradwell.net (outbound-queue-2.mail.thdo.gradwell.net [212.11.70.35]) by mx1.freebsd.org (Postfix) with ESMTP id 0C77A11A for ; Sat, 22 Nov 2014 20:44:26 +0000 (UTC) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-2.mail.thdo.gradwell.net (Postfix) with ESMTP id DCAF12342C for ; Sat, 22 Nov 2014 20:43:12 +0000 (GMT) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username fbsd%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Sat, 22 Nov 2014 20:43:12 +0000 From: Dave To: ports@freebsd.org Subject: multimedia/x264 build failure, linker error Date: Sat, 22 Nov 2014 20:42:55 +0000 Message-ID: <2002873.iA6NuqLZfy@amd.asgard.uk> User-Agent: KMail/4.14.2 (FreeBSD/9.3-RELEASE-p5; KDE/4.14.2; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 5470f560.136ee-4892-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2014 20:44:27 -0000 portupgrade -c x264 [Reading data from pkg(8) ... - 1031 packages found - done] [Gathering depends for multimedia/x264 ............................................................. done] ---> Upgrading 'x264-0.136.2358_4' to 'x264-0.142.2455' (multimedia/x264) ---> Building '/usr/ports/multimedia/x264' ===> Cleaning for x264-0.142.2455 ===> License GPLv2 accepted by the user ===> Found saved configuration for x264-0.142.2455 ===> x264-0.142.2455 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by x264-0.142.2455 for building ===> Extracting for x264-0.142.2455 => SHA256 Checksum OK for x264/x264-snapshot-20140827-2245-stable.tar.bz2. ===> Patching for x264-0.142.2455 ===> Applying FreeBSD patches for x264-0.142.2455 ===> x264-0.142.2455 depends on package: yasm>=0.6.0 - found ===> x264-0.142.2455 depends on file: /usr/local/bin/bash - found ===> x264-0.142.2455 depends on executable: gmake - found ===> x264-0.142.2455 depends on executable: pkgconf - found ===> x264-0.142.2455 depends on shared library: libx264.so - found (/usr/local/lib/libx264.so.136) ===> x264-0.142.2455 depends on shared library: libgpac.so - found (/usr/local/lib/libgpac.so.2.0.0) ===> Configuring for x264-0.142.2455 platform: X86_64 system: FREEBSD cli: yes libx264: system shared: no static: no asm: yes interlaced: yes avs: no lavf: no ffms: no mp4: gpac gpl: yes thread: posix opencl: no filters: crop select_every debug: no gprof: no strip: no PIC: no bit depth: 8 chroma format: all You can run 'make' or 'make fprofiled' now. ===> Building for x264-0.142.2455 dependency file generation... cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o x264.o x264.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o input/input.o input/input.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o input/timecode.o input/timecode.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o input/raw.o input/raw.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o input/y4m.o input/y4m.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o output/raw.o output/raw.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o output/matroska.o output/matroska.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o output/matroska_ebml.o output/matroska_ebml.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o output/flv.o output/flv.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o output/flv_bytestream.o output/flv_bytestream.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/filters.o filters/filters.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/video.o filters/video/video.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/source.o filters/video/source.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/internal.o filters/video/internal.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/resize.o filters/video/resize.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/cache.o filters/video/cache.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/fix_vfr_pts.o filters/video/fix_vfr_pts.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/select_every.o filters/video/select_every.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/crop.o filters/video/crop.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o filters/video/depth.o filters/video/depth.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o input/thread.o input/thread.c cc -Wshadow -O3 -ffast-math -m64 -O2 -pipe -fstack-protector -fno-strict- aliasing -Wall -I. -I. -I/usr/local/include -std=gnu99 -mpreferred-stack- boundary=5 -fomit-frame-pointer -fno-tree-vectorize -c -o output/mp4.o output/mp4.c cc -o x264 x264.o input/input.o input/timecode.o input/raw.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o filters/filters.o filters/video/video.o filters/video/source.o filters/video/internal.o filters/video/resize.o filters/video/cache.o filters/video/fix_vfr_pts.o filters/video/select_every.o filters/video/crop.o filters/video/depth.o input/thread.o output/mp4.o -lgpac - lz -L/usr/local/lib -lx264 -m64 -fstack-protector -fstack-protector - L/usr/local/lib -lm -pthread x264.o: In function `main': x264.c:(.text+0x30d4): undefined reference to `x264_encoder_open_142' Makefile:177: recipe for target 'x264' failed gmake: *** [x264] Error 1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/ports/multimedia/x264. *** [stage] Error code 1 Stop in /usr/ports/multimedia/x264. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20141122-59135-zasg6w env UPGRADE_TOOL=portupgrade UPGRADE_PORT=x264-0.136.2358_4 UPGRADE_PORT_VER=0.136.2358_4 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! multimedia/x264 (x264-0.136.2358_4) (linker error)