ports/171304: multimedia/vlc doesn't compile

Greg Lewis glewis at FreeBSD.org
Tue Sep 4 02:40:10 UTC 2012


>Number:         171304
>Category:       ports
>Synopsis:       multimedia/vlc doesn't compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 04 02:40:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Greg Lewis
>Release:        FreeBSD 8.3-RELEASE-p3 i386
>Organization:
FreeBSD
>Environment:
System: FreeBSD misty.eyesbeyond.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Sat Jun 23 13:28:02 PDT 2012 glewis at misty.eyesbeyond.com:/usr/obj/usr/src/sys/MISTY i386


>Description:

On my machine, vlc will fail to compile misc/cpu.c, emitting errors like
this:

misc/cpu.c:129: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'

>How-To-Repeat:
Just try and build the port.  I suspect your processor has to support
certain MMX or SSE features.

>Fix:

Use a newer version of GCC.  I actually believe 4.4 or better should work.

Index: Makefile
===================================================================
--- Makefile	(revision 303631)
+++ Makefile	(working copy)
@@ -25,6 +25,8 @@
 BUILD_DEPENDS=	ffmpeg${FFMPEG_SUFFIX}>0.11:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
 RUN_DEPENDS=	ffmpeg${FFMPEG_SUFFIX}>0.11:${PORTSDIR}/multimedia/ffmpeg${FFMPEG_SUFFIX}
 
+USE_GCC=	4.6+
+
 OPTIONS_DEFINE=	A52 AALIB ASS AVAHI CACA DBUS DIRAC DOCS DTS DVDREAD \
 		DVDNAV FAAD FLAC FLUID FRIBIDI GLX GNOMEVFS GNUTLS GOOM \
 		HTTPD JACK LIVEMEDIA LUA MAD MATROSKA MODPLUG MPEG2 MTP \
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list