Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2015 14:42:44 +0800
From:      Ben Woods <woodsb02@gmail.com>
To:        Bob Willcox <bob@immure.com>
Cc:        ports list <freebsd-ports@freebsd.org>
Subject:   Re: multimedia/x264 build failure
Message-ID:  <CAOc73CBUNrXHnHA3__YjGs5MftOnkuE1XwMZx7Uo7MjjpqcSoA@mail.gmail.com>
In-Reply-To: <20150206205419.GD96060@rancor.immure.com>
References:  <20150206205419.GD96060@rancor.immure.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This issue was discussed in November here:
https://lists.freebsd.org/pipermail/freebsd-ports/2014-November/096717.html

The result was an entry being added to UPDATING, which can be found here:
https://docs.freebsd.org/cgi/getmsg.cgi?fetch=2729771+0+/usr/local/www/db/text/2014/svn-ports-all/20141130.svn-ports-all

"With the recent split of multimedia/x264 in library and binary and
library components, if an application that uses libx264 is updated
before x264 itself, multimedia/libx264 will conflict with the existing
x264 package. Delete
this package before continuing any update that depends on it:

# pkg delete -f x264

Install the updated x264 and/or upgrade the other applications that
depend on libx264, such as ffmpeg."


Regards,

Ben


On Saturday, February 7, 2015, Bob Willcox <bob@immure.com> wrote:

> I'm getting the following error when trying to build x264:
>
> 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 -L/usr/local/lib -lm -pthread
> x264.o: In function `main':
> x264.c:(.text+0x1aea): undefined reference to `x264_encoder_open_142'
> cc: error: linker command failed with exit code 1 (use -v to see
> invocation)
> Makefile:177: recipe for target 'x264' failed
> gmake[1]: *** [x264] Error 1
> gmake[1]: Leaving directory
> '/usr/ports/multimedia/x264/work/x264-snapshot-20140827-2245-stable'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/multimedia/x264
>
>
> Also, I get these warnings on every compilation:
>
> cc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -O2 -pipe
> -fstack-protector -fno-strict-aliasing -Wall -I. -I. -I/usr/local/include
> -std=gnu99 -fomit-frame-pointer -fno-tree-vectorize   -c -o output/mp4.o
> output/mp4.c
> warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
> '-Wno-uninitialized'?
>       [-Wunknown-warning-option]
> warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
> '-Wno-uninitialized'?
>       [-Wunknown-warning-option]
>
> But they don't seem to be failing the build (it's the link error shown
> above).
>
> I'm currently at revision 378554 (just updated minutes ago).
>
> System info:
>
> FreeBSD vader.immure.com 10.1-STABLE FreeBSD 10.1-STABLE #0 r276511: Thu
> Jan  1 16:19:21 CST 2015     bob@vader.immure.com:/usr/obj/usr/src/sys/GENERIC
> amd64
>
>
> Bob
>
> --
> Bob Willcox    | You climb to reach the summit, but once
> bob@immure.com <javascript:;> | there, discover that all roads lead down.
> Austin, TX     |       -- Stanislaw Lem, "The Cyberiad"
> _______________________________________________
> freebsd-ports@freebsd.org <javascript:;> mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org
> <javascript:;>"
>


-- 

--
From: Benjamin Woods
woodsb02@gmail.com



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