Bug 232808 - devel/sdl12 build failure preventing build of emulators/virtualbox-ose on 13.0-CURRENT r339737
Summary: devel/sdl12 build failure preventing build of emulators/virtualbox-ose on 13....
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kubilay Kocak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-30 09:03 UTC by Graham Perrin
Modified: 2018-10-30 10:25 UTC (History)
3 users (show)

See Also:


Attachments
full log (121.48 KB, text/plain)
2018-10-30 09:03 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2018-10-30 09:03:55 UTC
Created attachment 198765 [details]
full log

From an incomplete run of poudriere, for Oracle VirtualBox: 

…
[00:01:37] [01] [00:00:00] Building math/mpfr | mpfr-4.0.1_1
[00:01:37] [02] [00:00:00] Building devel/sdl12 | sdl-1.2.15_12,2
[00:02:48] [02] [00:01:11] Finished devel/sdl12 | sdl-1.2.15_12,2: Failed: build
[00:02:48] [02] [00:01:11] Skipping emulators/virtualbox-ose | virtualbox-ose-5.2.20: Dependent port devel/sdl12 | sdl-1.2.15_12,2 failed
… 

From the attached .log file: 

…
libtool: compile:  cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -I./include -fvisibility=hidden -I/usr/local/include -DXTHREADS -DHAVE_USBHID_H -DUSBHID_NEW -D_REENTRANT -D_THREAD_SAFE -Wall -c ./src/video/aalib/SDL_aavideo.c -o build/SDL_aavideo.o >/dev/null 2>&1
/bin/sh ./libtool --mode=compile cc -O2 -pipe  -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include -I./include  -fvisibility=hidden  -I/usr/local/include -DXTHREADS -DHAVE_USBHID_H -DUSBHID_NEW -D_REENTRANT -D_THREAD_SAFE -Wall -c ./src/joystick/bsd/SDL_sysjoystick.c  -o build/SDL_sysjoystick.lo
libtool: compile:  cc -O2 -pipe -DLIBICONV_PLUG -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -I./include -fvisibility=hidden -I/usr/local/include -DXTHREADS -DHAVE_USBHID_H -DUSBHID_NEW -D_REENTRANT -D_THREAD_SAFE -Wall -c ./src/joystick/bsd/SDL_sysjoystick.c  -fPIC -DPIC -o build/.libs/SDL_sysjoystick.o
./src/joystick/bsd/SDL_sysjoystick.c:69:10: fatal error: 'sys/joystick.h' file not found
#include <sys/joystick.h>
         ^~~~~~~~~~~~~~~~
1 error generated.
gmake[1]: *** [build-deps:1811: build/SDL_sysjoystick.lo] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/sdl12/work/SDL-1.2.15'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/sdl12
=>> Cleaning up wrkdir
===>  Cleaning for sdl-1.2.15_12,2
build of devel/sdl12 | sdl-1.2.15_12,2 ended at Tue Oct 30 08:29:17 GMT 2018
build time: 00:01:11
!!! build failure encountered !!!
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2018-10-30 10:25:15 UTC
joy(4) was removed in base r339563, which was then reverted in base r339763

Please update base to a revision after that and try again. Re-open the issue if the problem is still observed.