From owner-freebsd-ports@FreeBSD.ORG Mon Nov 24 17:02:46 2014 Return-Path: Delivered-To: freebsd-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 6B9351C1; Mon, 24 Nov 2014 17:02:46 +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 20923FBA; Mon, 24 Nov 2014 17:02:46 +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 684F7233C2; Mon, 24 Nov 2014 17:02:39 +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; Mon, 24 Nov 2014 17:02:39 +0000 From: Dave To: freebsd-ports@freebsd.org Subject: Re: [SOLVED] multimedia/x264 build failure, linker error Date: Mon, 24 Nov 2014 17:02:35 +0000 Message-ID: <24936541.dtFOE5QvMi@amd.asgard.uk> User-Agent: KMail/4.14.2 (FreeBSD/9.3-RELEASE-p5; KDE/4.14.2; amd64; ; ) In-Reply-To: <2718486.HeFL0Qyace@amd.asgard.uk> References: <2002873.iA6NuqLZfy@amd.asgard.uk> <2718486.HeFL0Qyace@amd.asgard.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Gradwell-MongoId: 547364af.59c5-7a25-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net Cc: freebsd-multimedia@freebsd.org 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: Mon, 24 Nov 2014 17:02:46 -0000 It appears I may have missed an announcement somewhere. pkg delete x264 lists the installed dependances make deinstall in multimedia/x264 make install in mulimedia/libx264 make deinstall reinstall clean in the dependant ports, eg mencoder, mplayer, ffmpeg, gstreamer-plugins-x264 So, is multimedia/x264 deprecated now in favour of multimedia/libx264? There's nothing in /usr/ports/UPDATING On Saturday 22 November 2014 21:18:50 Dave wrote: > Sorry, forgot to mention, did a portsnap fetch update first and uname -a > gives > > Box 1 > FreeBSD amd.asgard.uk 9.3-RELEASE-p5 FreeBSD 9.3-RELEASE-p5 #0: Mon Nov 3 > 22:38:58 UTC 2014 root@amd64- > builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > Box 2 > FreeBSD webmaker.asgard.uk 9.3-RELEASE-p5 FreeBSD 9.3-RELEASE-p5 #0: Mon Nov > 3 22:02:57 UTC 2014 root@amd64- > builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > On Saturday 22 November 2014 20:42:55 Dave wrote: > > 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) > > > > _______________________________________________ > > freebsd-ports@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"