Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2015 09:04:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199834] www/netsurf does not build on ARM and amd64
Message-ID:  <bug-199834-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199834

            Bug ID: 199834
           Summary: www/netsurf does not build on ARM and amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: usenet@ulrich-grey.de

COMPILE: src/surface/x.c
cc -MMD -MP -std=c99 -D_BSD_SOURCE -D_POSIX_C_SOURCE=200112L
-I/usr/local/DEVEL/ports/www/netsurf/work/netsurf-full-3.0/src/libnsfb-0.1.0/include/
-I/usr/local/DEVEL/ports/www/netsurf/work/netsurf-full-3.0/src/libnsfb-0.1.0/src
 -O -pipe -mfloat-abi=softfp  -I/usr/local/include -DLIBICONV_PLUG
-fno-strict-aliasing -D_ALIGNED="__attribute__((aligned))" -O -pipe
-mfloat-abi=softfp  -I/usr/local/include -DLIBICONV_PLUG -fno-strict-aliasing
-DBUILD_TARGET_gtk -DBUILD_HOST_FreeBSD -Wno-error -I/usr/local/include/SDL
-I/usr/local/include  -D_REENTRANT -D_THREAD_SAFE   -DNSFB_NEED_HINTS_ALLOC
-DNSFB_NEED_ICCCM_API_PREFIX -DNSFB_XCBPROTO_MAJOR_VERSION=1
-DNSFB_XCBPROTO_MINOR_VERSION=11 -I/usr/local/include    -o
build-FreeBSD-gtk-release-lib-static/src_surface_x.o -c src/surface/x.c
src/surface/x.c:919:13: error: use of undeclared identifier 'fd_set'
            fd_set rfds;
            ^
src/surface/x.c:920:28: error: variable has incomplete type 'struct timeval'
            struct timeval tv;
                           ^
src/surface/x.c:920:20: note: forward declaration of 'struct timeval'
            struct timeval tv;
                   ^
src/surface/x.c:924:13: warning: implicit declaration of function 'FD_ZERO' is
invalid in C99 [-Wimplicit-function-declaration]
            FD_ZERO(&rfds);
            ^
src/surface/x.c:924:22: error: use of undeclared identifier 'rfds'
            FD_ZERO(&rfds);
                     ^
src/surface/x.c:925:13: warning: implicit declaration of function 'FD_SET' is
invalid in C99 [-Wimplicit-function-declaration]
            FD_SET(confd, &rfds);
            ^
src/surface/x.c:925:28: error: use of undeclared identifier 'rfds'
            FD_SET(confd, &rfds);
                           ^
src/surface/x.c:930:22: warning: implicit declaration of function 'select' is
invalid in C99 [-Wimplicit-function-declaration]
            retval = select(confd + 1, &rfds, NULL, NULL, &tv);
                     ^
src/surface/x.c:930:41: error: use of undeclared identifier 'rfds'
            retval = select(confd + 1, &rfds, NULL, NULL, &tv);
                                        ^
3 warnings and 5 errors generated.
/usr/local/DEVEL/ports/www/netsurf/work/netsurf-full-3.0/prefix-gtk/share/netsurf-buildsystem/makefiles/Makefile.top:573:
recipe for target 'build-FreeBSD-gtk-release-lib-static/src_surface_x.o' failed
gmake[3]: *** [build-FreeBSD-gtk-release-lib-static/src_surface_x.o] Error 1
gmake[3]: Leaving directory
'/usr/local/DEVEL/ports/www/netsurf/work/netsurf-full-3.0/src/libnsfb-0.1.0'
Makefile:80: recipe for target
'/usr/local/DEVEL/ports/www/netsurf/work/netsurf-full-3.0/prefix-gtk/build-stamp'
failed
gmake[2]: ***
[/usr/local/DEVEL/ports/www/netsurf/work/netsurf-full-3.0/prefix-gtk/build-stamp]
Error 2
gmake[2]: Leaving directory
'/usr/local/DEVEL/ports/www/netsurf/work/netsurf-full-3.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.



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