Xbmc 12 build error

Trying to build xbmc 12. I've tried doing make clean and rebuilding ffmpeg. Everything shows to be up to date with the latest portsnap versions.

TIA

Code:
8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jun 12 00:39:29 UTC 2012     
root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

CC      libavcodec/vcr1.o
CC      libavcodec/vmdav.o
CC      libavcodec/vmnc.o
libavcodec/vc1dec.c: In function 'vc1_decode_p_mb_intfr':
libavcodec/vc1dec.c:3818: warning: 'dmv_y' may be used uninitialized in this function
libavcodec/vc1dec.c:3818: warning: 'dmv_x' may be used uninitialized in this function
CC      libavcodec/vorbis.o
CC      libavcodec/vorbis_data.o
CC      libavcodec/vorbisdec.o
libavcodec/vc1dec.c: In function 'vc1_decode_p_mb_intfi':
libavcodec/vc1dec.c:4030: warning: 'pred_flag' may be used uninitialized in this function
libavcodec/vc1dec.c: In function 'vc1_decode_b_blocks':
libavcodec/vc1dec.c:4305: warning: 'interpmvp' may be used uninitialized in this function
libavcodec/vc1dec.c:4305: note: 'interpmvp' was declared here
CC      libavcodec/vp3.o
CC      libavcodec/vp3_parser.o
CC      libavcodec/vp3dsp.o
CC      libavcodec/vp5.o
CC      libavcodec/vp56.o
{standard input}: Assembler messages:
{standard input}:184: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:228: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:272: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:325: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:429: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:537: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:670: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:714: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:846: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:885: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:919: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:959: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:1009: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:3811: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:4217: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:4586: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:4839: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:5092: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:5345: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:5853: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
gmake[2]: *** [libavcodec/vp5.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:296: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:502: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:561: Error: `(%r8d,%edx)' is not a valid 64 bit base/index expression
{standard input}:650: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:1807: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:1980: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
gmake[2]: *** [libavcodec/vp56.o] Error 1
gmake[2]: Leaving directory `/usr/ports/ports-mgmt/portdowngrade/portdowngrade.uh9ZiON/multimedia/xbmc/work/xbmc-12.0/lib/ffmpeg'
gmake[1]: *** [ffmpeg] Error 2
gmake[1]: Leaving directory `/usr/ports/ports-mgmt/portdowngrade/portdowngrade.uh9ZiON/multimedia/xbmc/work/xbmc-12.0/lib'
gmake: *** [dvdpcodecs] Error 2
*** Error code 1

Stop in /usr/ports/ports-mgmt/portdowngrade/portdowngrade.uh9ZiON/multimedia/xbmc.
*** Error code 1

Stop in /usr/ports/ports-mgmt/portdowngrade/portdowngrade.uh9ZiON/multimedia/xbmc.
 
Current portsnap result.

Code:
CC      libavcodec/v410dec.o
CC      libavcodec/vb.o
CC      libavcodec/vble.o
CC      libavcodec/vc1.o
CC      libavcodec/vc1_parser.o
CC      libavcodec/vc1data.o
CC      libavcodec/vc1dec.o
CC      libavcodec/vc1dsp.o
libavcodec/vc1dsp.c: In function 'ff_vc1dsp_init':
libavcodec/vc1dsp.c:803: warning: assignment from incompatible pointer type
libavcodec/vc1dsp.c:820: warning: assignment from incompatible pointer type
CC      libavcodec/vcr1.o
CC      libavcodec/vmdav.o
CC      libavcodec/vmnc.o
libavcodec/vc1dec.c: In function 'vc1_decode_p_mb_intfr':
libavcodec/vc1dec.c:3818: warning: 'dmv_y' may be used uninitialized in this function
libavcodec/vc1dec.c:3818: warning: 'dmv_x' may be used uninitialized in this function
CC      libavcodec/vorbis.o
CC      libavcodec/vorbis_data.o
CC      libavcodec/vorbisdec.o
libavcodec/vc1dec.c: In function 'vc1_decode_p_mb_intfi':
libavcodec/vc1dec.c:4030: warning: 'pred_flag' may be used uninitialized in this function
libavcodec/vc1dec.c: In function 'vc1_decode_b_blocks':
libavcodec/vc1dec.c:4305: warning: 'interpmvp' may be used uninitialized in this function
libavcodec/vc1dec.c:4305: note: 'interpmvp' was declared here
CC      libavcodec/vp3.o
CC      libavcodec/vp3_parser.o
CC      libavcodec/vp3dsp.o
CC      libavcodec/vp5.o
CC      libavcodec/vp56.o
{standard input}: Assembler messages:
{standard input}:184: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:228: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:272: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:325: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:429: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:537: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:670: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:714: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:846: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:885: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:919: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:959: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:1009: Error: `(%r8d,%eax)' is not a valid 64 bit base/index expression
{standard input}:3811: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:4217: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:4586: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:4839: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:5092: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:5345: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:5853: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
gmake[2]: *** [libavcodec/vp5.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:296: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:502: Error: `(%esi,%edx)' is not a valid 64 bit base/index expression
{standard input}:561: Error: `(%r8d,%edx)' is not a valid 64 bit base/index expression
{standard input}:650: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:1807: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
{standard input}:1980: Error: `(%esi,%eax)' is not a valid 64 bit base/index expression
gmake[2]: *** [libavcodec/vp56.o] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/xbmc/work/xbmc-12.0/lib/ffmpeg'
gmake[1]: *** [ffmpeg] Error 2
gmake[1]: Leaving directory `/usr/ports/multimedia/xbmc/work/xbmc-12.0/lib'
gmake: *** [dvdpcodecs] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/xbmc.
*** Error code 1

Stop in /usr/ports/multimedia/xbmc.
 
Show your make.conf

Just run % cat /etc/make.conf and paste here the output.
 
Code:
PERL_VERSION=5.14.2
Code:
                            ┌──────────────────────────────── xbmc-12.0 ───────────────────────────────────┐
                            │ ┌──────────────────────────────────────────────────────────────────────────┐ │
                            │ │ [x] AIRPLAY          AirPlay support via libplist                        │ │
                            │ │ [ ] AIRTUNES         AirTunes support via libshairport                   │ │
                            │ │ [x] AVAHI            Zeroconf support via Avahi                          │ │
                            │ │ [x] CEC              CEC adapter support                                 │ │
                            │ │ [ ] EXTERNAL_FFMPEG  Use external ffmpeg                                 │ │
                            │ │ [ ] HAL              HAL (Hardware Abstraction Layer) support            │ │
                            │ │ [x] LAME             LAME MP3 audio encoder support                      │ │
                            │ │ [x] LIBBLURAY        Blu-ray discs support via libbluray                 │ │
                            │ │ [x] LIRC             Infrared remote control support                     │ │
                            │ │ [x] MYSQL            MySQL database support                              │ │
                            │ │ [ ] NONFREE          Enable non-free components (rar, ccx, ffmpeg)       │ │
                            │ │ [ ] PULSEAUDIO       PulseAudio sound server support                     │ │
                            │ │ [ ] RTMP             RTMP protocol support via librtmp                   │ │
                            │ │ [x] SFTP             SSH SFTP support via libssh                         │ │
                            │ │ [x] SMB              SMB protocol support                                │ │
                            │ │ [x] VAAPI            VAAPI (GPU video acceleration) support              │ │
                            │ │ [ ] VDPAU            VDPAU (GPU video acceleration) support              │ │
                            │ │ [x] VORBIS           Ogg Vorbis audio encoder                            │ │
                            │ │ [ ] WEBSERVER        Build and/or install internal web server            │ │
                            │ └──────────────────────────────────────────────────────────────────────────┘ │
                            ├──────────────────────────────────────────────────────────────────────────────┤
                            │                       <  OK  >            <Cancel>                           │
                            └──────────────────────────────────────────────────────────────────────────────┘
 
What GCC version are you using?

Please, show output of # pkg_info -Ix gcc to see what gcc port version/s you have installed next to the gcc in the base system.

P.S. You've pasted the port configuration options.
 
Code:
                            ┌───────────────────────────── ffmpeg-0.7.15,1 ────────────────────────────────┐
                            │ ┌──────────────────────────────────────────────────────────────────────────┐ │
                            │ │ [ ] AACPLUS           AAC support via libaacplus                         │ │
                            │ │ [ ] ALSA              ALSA audio architecture support                    │ │
                            │ │ [ ] AMR_NB            AMR Narrow Band audio support (opencore)           │ │
                            │ │ [ ] AMR_WB            AMR Wide Band audio support (opencore)             │ │
                            │ │ [ ] CELT              CELT audio codec support                           │ │
                            │ │ [ ] DEBUG             Install debug symbols                              │ │
                            │ │ [ ] DIRAC             Dirac codec support via libdirac                   │ │
                            │ │ [x] FAAC              FAAC AAC encoder support                           │ │
                            │ │ [x] FFSERVER          Build and install ffserver                         │ │
                            │ │ [x] FREETYPE          TrueType font rendering support                    │ │
                            │ │ [x] FREI0R            Frei0r video plugins support                       │ │
                            │ │ [x] GSM               GSM codec support                                  │ │
                            │ │ [ ] LAME              LAME MP3 audio encoder support                     │ │
                            │ │ [x] OPENCV            OpenCV support                                     │ │
                            │ │ [ ] OPENJPEG          Enhanced JPEG graphics support                     │ │
                            │ │ [ ] OPTIMIZED_CFLAGS  Use extra compiler optimizations                   │ │
                            │ │ [ ] RTMP              RTMP protocol support via librtmp                  │ │
                            │ │ [x] SCHROEDINGER      Dirac codec support via libschroedinger            │ │
                            │ │ [x] SDL               Simple Direct Media Layer support                  │ │
                            │ │ [ ] SPEEX             Speex audio format support                         │ │
                            │ │ [x] THEORA            Ogg Theora video codec support                     │ │
                            │ │ [ ] VAAPI             VAAPI (GPU video acceleration) support             │ │
                            │ │ [ ] VDPAU             VDPAU (GPU video acceleration) support             │ │
                            │ │ [x] VORBIS            Ogg Vorbis audio codec support                     │ │
                            │ │ [ ] VO_AACENC         AAC audio encoding via vo-aacenc                   │ │
                            │ │ [ ] VO_AMRWBENC       AMR Wide Band encoding via vo-amrwbenc             │ │
                            │ │ [x] VPX               VP8 video codec support                            │ │
                            │ │ [ ] X11GRAB           Enable x11 grabbing                                │ │
                            │ │ [x] X264              H.264 video codec support via x264                 │ │
                            │ │ [x] XVID              Xvid MPEG-4 video codec support                    │ │
                            │ └──────────────────────────────────────────────────────────────────────────┘ │
                            ├──────────────────────────────────────────────────────────────────────────────┤
                            │                       <  OK  >            <Cancel>                           │
                            └──────────────────────────────────────────────────────────────────────────────┘
 
Note that if you want show ANY port configuration options, please, use # make showconfig command to do that.
Code:
[CMD]# cd /usr/ports/multimedia/xbmc && make showconfig[/CMD]
===> The following configuration options are available for xbmc-12.0:
     AIRPLAY=on: AirPlay support via libplist
     AIRTUNES=off: AirTunes support via libshairport
     AVAHI=on: Zeroconf support via Avahi
     CEC=on: CEC adapter support
     EXTERNAL_FFMPEG=off: Use external ffmpeg
     HAL=on: HAL (Hardware Abstraction Layer) support
     LAME=on: LAME MP3 audio encoder support
     LIBBLURAY=on: Blu-ray discs support via libbluray
     LIRC=off: Infrared remote control support
     MYSQL=on: MySQL database support
     NONFREE=off: Enable non-free components (rar, ccx, ffmpeg)
     PULSEAUDIO=off: PulseAudio sound server support
     RTMP=on: RTMP protocol support via librtmp
     SFTP=on: SSH SFTP support via libssh
     SMB=on: SMB protocol support
     VAAPI=off: VAAPI (GPU video acceleration) support
     VDPAU=off: VDPAU (GPU video acceleration) support
     VORBIS=on: Ogg Vorbis audio encoder
     WEBSERVER=on: Build and/or install internal web server
===> Use 'make config' to modify these settings

IMHO is more enjoyable to read ;)
 
bluetick said:
Code:
gmake[1]: Leaving directory `/usr/ports/ports-mgmt/portdowngrade/portdowngrade.uh9ZiON/multimedia/xbmc/work/xbmc-12.0/lib'
Looks like you are running this through ports-mgmt/portdowngrade, you might not be building the latest XBMC from ports.
 
Back
Top