Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2013 10:55:45 +0100 (BST)
From:      Anton Shterenlikht <mexas@bris.ac.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/180456: multimedia/x264 on ia64: /usr/include/math.h:236: error: expected ')' before '/' token
Message-ID:  <201307110955.r6B9tjfc024683@mech-cluster241.men.bris.ac.uk>
Resent-Message-ID: <201307111000.r6BA01Rf045715@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         180456
>Category:       ports
>Synopsis:       multimedia/x264 on ia64: /usr/include/math.h:236: error: expected ')' before '/' token
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 11 10:00:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Anton Shterenlikht
>Release:        FreeBSD 10.0-CURRENT ia64
>Organization:
University of Bristol
>Environment:
System: FreeBSD mech-cluster241.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r252055: Fri Jun 21 15:57:18 BST 2013 root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64


	
>Description:

FreeBSD 10.0-CURRENT #5 r252055
Ports tree at 322737

 
Script started on Thu Jul 11 10:52:31 2013
command: make -C /usr/ports/multimedia/x264/ clean all
===>  Cleaning for x264-0.125.2201
===>  License GPLv2 accepted by the user
===>  Found saved configuration for x264-0.125.2201
===>   x264-0.125.2201 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by x264-0.125.2201 for building
===>  Extracting for x264-0.125.2201
=> SHA256 Checksum OK for x264/x264-snapshot-20120721-2245-stable.tar.bz2.
=> SHA256 Checksum OK for x264/example.y4m.bz2.
===>  Patching for x264-0.125.2201
===>  Applying FreeBSD patches for x264-0.125.2201
===>   x264-0.125.2201 depends on package: yasm>=0.6.0 - found
===>   x264-0.125.2201 depends on file: /usr/local/bin/bash - found
===>   x264-0.125.2201 depends on executable: gmake - found
===>   x264-0.125.2201 depends on file: /usr/local/bin/as - found
===>   x264-0.125.2201 depends on package: gpac-libgpac>=0.4.5,1 - found
===>   x264-0.125.2201 depends on shared library: gpac.1 - found
===>  Configuring for x264-0.125.2201
===>   FreeBSD 10 autotools fix applied to /usr/ports/multimedia/x264/work/x264-snapshot-20120721-2245-stable/configure
Warning: PIX_FMT_RGB is missing from libavutil, update for swscale support
Warning: libavformat is not supported without swscale support
./version.sh: git: not found
platform:      IA64
system:        FREEBSD
cli:           yes
libx264:       internal
shared:        yes
static:        yes
asm:           no
interlaced:    yes
avs:           no
lavf:          no
ffms:          no
gpac:          yes
gpl:           yes
thread:        posix
filters:       crop select_every 
debug:         no
gprof:         no
strip:         no
PIC:           yes
visualize:     no
bit depth:     8
chroma format: all

You can run 'make' or 'make fprofiled' now.
===>  Building for x264-0.125.2201
gmake clean
gmake[1]: Entering directory `/usr/ports/multimedia/x264/work/x264-snapshot-20120721-2245-stable'
rm -f  common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/osdep.o common/rectangle.o common/set.o common/quant.o common/deblock.o common/vlc.o common/mvpred.o common/bitstream.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/lookahead.o common/threadpool.o   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   libx264.so.125 *.a *.lib *.exp *.pdb x264 x264.exe .depend TAGS
rm -f checkasm checkasm.exe tools/checkasm.o
rm -f common/mc.gcda common/predict.gcda common/pixel.gcda common/macroblock.gcda common/frame.gcda common/dct.gcda common/cpu.gcda common/cabac.gcda common/common.gcda common/osdep.gcda common/rectangle.gcda common/set.gcda common/quant.gcda common/deblock.gcda common/vlc.gcda common/mvpred.gcda common/bitstream.gcda encoder/analyse.gcda encoder/me.gcda encoder/ratecontrol.gcda encoder/set.gcda encoder/macroblock.gcda encoder/cabac.gcda encoder/cavlc.gcda encoder/encoder.gcda encoder/lookahead.gcda common/threadpool.gcda x264.gcda input/input.gcda input/timecode.gcda input/raw.gcda input/y4m.gcda output/raw.gcda output/matroska.gcda output/matroska_ebml.gcda output/flv.gcda output/flv_bytestream.gcda filters/filters.gcda filters/video/video.gcda filters/video/source.gcda filters/video/internal.gcda filters/video/resize.gcda filters/video/cache.gcda filters/video/fix_vfr_pts.gcda filters/video/select_every.gcda filters/video/crop.gcda filters/video/depth.gcda input/thread.gcda output
 /mp4.gcda common/mc.gcno common/predict.gcno common/pixel.gcno common/macroblock.gcno common/frame.gcno common/dct.gcno common/cpu.gcno common/cabac.gcno common/common.gcno common/osdep.gcno common/rectangle.gcno common/set.gcno common/quant.gcno common/deblock.gcno common/vlc.gcno common/mvpred.gcno common/bitstream.gcno encoder/analyse.gcno encoder/me.gcno encoder/ratecontrol.gcno encoder/set.gcno encoder/macroblock.gcno encoder/cabac.gcno encoder/cavlc.gcno encoder/encoder.gcno encoder/lookahead.gcno common/threadpool.gcno x264.gcno input/input.gcno input/timecode.gcno input/raw.gcno input/y4m.gcno output/raw.gcno output/matroska.gcno output/matroska_ebml.gcno output/flv.gcno output/flv_bytestream.gcno filters/filters.gcno filters/video/video.gcno filters/video/source.gcno filters/video/internal.gcno filters/video/resize.gcno filters/video/cache.gcno filters/video/fix_vfr_pts.gcno filters/video/select_every.gcno filters/video/crop.gcno filters/video/depth.gcno input/thread.gcno o
 utput/mp4.gcno *.dyn pgopti.dpi pgopti.dpi.l!
 ock
gmake[1]: Leaving directory `/usr/ports/multimedia/x264/work/x264-snapshot-20120721-2245-stable'
gmake x264 CFLAGS="-Wshadow -O3 -ffast-math -O2 -pipe -fno-strict-aliasing -Wall -I. -I.  -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/local/include -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize -fprofile-generate" LDFLAGS="-fstack-protector  -fstack-protector -L/usr/local/lib -lm -pthread -fprofile-generate"
gmake[1]: Entering directory `/usr/ports/multimedia/x264/work/x264-snapshot-20120721-2245-stable'
gcc -Wshadow -O3 -ffast-math -O2 -pipe -fno-strict-aliasing -Wall -I. -I.  -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/local/include -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize -fprofile-generate   -c -o x264.o x264.c
gcc -Wshadow -O3 -ffast-math -O2 -pipe -fno-strict-aliasing -Wall -I. -I.  -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/local/include -std=gnu99 -fPIC -fomit-frame-pointer -fno-tree-vectorize -fprofile-generate   -c -o input/input.o input/input.c
In file included from ./common/osdep.h:60,
                 from ./common/common.h:88,
                 from ./x264cli.h:30,
                 from input/input.h:31,
                 from input/input.c:26:
/usr/include/math.h:236: error: expected ')' before '/' token
/usr/include/math.h:320: error: expected ')' before '/' token
In file included from common/osdep.h:60,
                 from common/common.h:88,
                 from x264.c:33:
/usr/include/math.h:236: error: expected ')' before '/' token
/usr/include/math.h:320: error: expected ')' before '/' token
gmake[1]: *** [input/input.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [x264.o] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/x264/work/x264-snapshot-20120721-2245-stable'
gmake: *** [fprofiled] Error 2
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/x264
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/x264

Script done on Thu Jul 11 10:52:48 2013

	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



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