Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2014 21:18:50 +0000
From:      Dave <dave@dgmm.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: multimedia/x264 build failure, linker error
Message-ID:  <2718486.HeFL0Qyace@amd.asgard.uk>
In-Reply-To: <2002873.iA6NuqLZfy@amd.asgard.uk>
References:  <2002873.iA6NuqLZfy@amd.asgard.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2718486.HeFL0Qyace>