Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2020 08:57:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247517] x11-toolkits/gtk30 fails with X11=off
Message-ID:  <bug-247517-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 247517
           Summary: x11-toolkits/gtk30 fails with X11=3Doff
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: girgen@FreeBSD.org
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

With OPTIONS_UNSET=3DX11, x11-toolkits/gtk30 still expects X11. Perhaps the=
re's
no way around it? In my case, x11-toolkits/gtk30 is pulled in by
emulators/qemu, but I=C3=A4d prefer to build without X11 still.

It fails since the graphics/libexpoxy *does* honor OPTIONS_UNSET=3DX11.

=3D>> Building x11-toolkits/gtk30
build started at Tue Jun 23 16:30:07 CEST 2020
port directory: /usr/ports/x11-toolkits/gtk30
package name: gtk3-3.24.20
building for: FreeBSD 121-amd64-git-job-01 12.1-RELEASE-p1 FreeBSD
12.1-RELEASE-p1 amd64
maintained by: gnome@FreeBSD.org
Makefile ident:=20
Poudriere version: 3.3.3
Host OSVERSION: 1201000
Jail OSVERSION: 1201000
Job Id: 01

---Begin Environment---
SHELL=3D/bin/csh
OSVERSION=3D1201000
UNAME_v=3DFreeBSD 12.1-RELEASE-p1
UNAME_r=3D12.1-RELEASE-p1
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
STATUS=3D1
HOME=3D/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
LOCALBASE=3D/usr/local
USER=3Droot
LIBEXECPREFIX=3D/usr/local/libexec/poudriere
POUDRIERE_VERSION=3D3.3.3
MASTERMNT=3D/usr/local/poudriere/data/.m/121-amd64-git/ref
POUDRIERE_BUILD_TYPE=3Dbulk
PACKAGE_BUILDING=3Dyes
SAVED_TERM=3Dscreen
PWD=3D/usr/local/poudriere/data/.m/121-amd64-git/ref/.p/pool
P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS
MASTERNAME=3D121-amd64-git
SCRIPTPREFIX=3D/usr/local/share/poudriere
OLDPWD=3D/usr/local/poudriere/data/.m/121-amd64-git/ref/.p
SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=3D/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=3D
PKGENV=3D
FLAVOR=3D
DEPENDS_ARGS=3D
MAKE_ARGS=3D
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for gtk3-3.24.=
20:
     ATK_BRIDGE=3Don: AT-SPI ATK bridge support (requires X11)
     BROADWAY=3Don: Enable GDK Broadway backend for showing GTK+ in the
webbrowser using HTML5 and web sockets.
     CLOUDPRINT=3Doff: Cloud printing support
     COLORD=3Don: Color profile support
     CUPS=3Don: CUPS printing system support
     DEBUG=3Doff: Build with debugging support
     WAYLAND=3Don: GDK Wayland backend
     X11=3Don: GDK X11 backend
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
gnome@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-introspection --with-atk-bridge --enable-broadway-backend
--disable-cloudprint --enable-colord --enable-cups --enable-wayland-backend
--enable-x11-backend --x-libraries=3D/usr/local/lib
--x-includes=3D/usr/local/include --prefix=3D/usr/local ${_LATE_CONFIGURE_A=
RGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=3Dgmake ac_cv_path_PERL=3D/usr/local/bin/perl
ac_cv_path_PERL_PATH=3D/usr/local/bin/perl  PERL_USE_UNSAFE_INC=3D1
PKG_CONFIG=3Dpkgconf XDG_DATA_HOME=3D/wrkdirs/usr/ports/x11-toolkits/gtk30/=
work=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/x11-toolkits/gtk30/work=20
HOME=3D/wrkdirs/usr/ports/x11-toolkits/gtk30/work TMPDIR=3D"/tmp"
PATH=3D/wrkdirs/usr/ports/x11-toolkits/gtk30/work/.bin:/sbin:/bin:/usr/sbin=
:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
SHELL=3D/bin/sh CONFIG_SHELL=3D/bin/sh CMAKE_PREFIX_PATH=3D"/usr/local"
LANG=3Den_US.UTF-8 LC_ALL=3Den_US.UTF-8
CONFIG_SITE=3D/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=3D2621=
44
--End CONFIGURE_ENV--

--MAKE_ENV--
GI_SCANNER_DISABLE_CACHE=3D1
XDG_CACHE_HOME=3D/wrkdirs/usr/ports/x11-toolkits/gtk30/work PERL_USE_UNSAFE=
_INC=3D1
XDG_DATA_HOME=3D/wrkdirs/usr/ports/x11-toolkits/gtk30/work=20
XDG_CONFIG_HOME=3D/wrkdirs/usr/ports/x11-toolkits/gtk30/work=20
HOME=3D/wrkdirs/usr/ports/x11-toolkits/gtk30/work TMPDIR=3D"/tmp"
PATH=3D/wrkdirs/usr/ports/x11-toolkits/gtk30/work/.bin:/sbin:/bin:/usr/sbin=
:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
NO_PIE=3Dyes MK_DEBUG_FILES=3Dno MK_KERNEL_SYMBOLS=3Dno SHELL=3D/bin/sh NO_=
LINT=3DYES
LANG=3Den_US.UTF-8 LC_ALL=3Den_US.UTF-8 PREFIX=3D/usr/local  LOCALBASE=3D/u=
sr/local=20
CC=3D"cc" CFLAGS=3D"-O2 -pipe  -fstack-protector-strong -isystem /usr/local=
/include
-fno-strict-aliasing "  CPP=3D"cpp" CPPFLAGS=3D"-fno-omit-frame-pointer -is=
ystem
/usr/local/include"  LDFLAGS=3D" -fstack-protector-strong "
LIBS=3D"-L/usr/local/lib"  CXX=3D"c++" CXXFLAGS=3D"-O2 -pipe -fstack-protec=
tor-strong
-isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/inclu=
de "
 MANPREFIX=3D"/usr/local" BSD_INSTALL_PROGRAM=3D"install  -s -m 555"=20
BSD_INSTALL_LIB=3D"install  -s -m 0644"  BSD_INSTALL_SCRIPT=3D"install  -m =
555"=20
BSD_INSTALL_DATA=3D"install  -m 0644"  BSD_INSTALL_MAN=3D"install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
LIBVERSION=3D0.2404.16 ATK_BRIDGE=3D"" NO_ATK_BRIDGE=3D"@comment " BROADWAY=
=3D""
NO_BROADWAY=3D"@comment " CLOUDPRINT=3D"@comment " NO_CLOUDPRINT=3D"" COLOR=
D=3D""
NO_COLORD=3D"@comment " CUPS=3D"" NO_CUPS=3D"@comment " DEBUG=3D"@comment "=
 NO_DEBUG=3D""
WAYLAND=3D"" NO_WAYLAND=3D"@comment " X11=3D"" NO_X11=3D"@comment "
GTK2_VERSION=3D"2.10.0"  GTK3_VERSION=3D"3.0.0" OSREL=3D12.1 PREFIX=3D%D
LOCALBASE=3D/usr/local  RESETPREFIX=3D/usr/local LIB32DIR=3Dlib PERL_VERSIO=
N=3D5.30.3=20
PERL_VER=3D5.30  PERL5_MAN1=3Dlib/perl5/site_perl/man/man1=20
PERL5_MAN3=3Dlib/perl5/site_perl/man/man3  SITE_PERL=3Dlib/perl5/site_perl=
=20
SITE_ARCH=3Dlib/perl5/site_perl/mach/5.30 DOCSDIR=3D"share/doc/gtk"=20
EXAMPLESDIR=3D"share/examples/gtk"  DATADIR=3D"share/gtk"  WWWDIR=3D"www/gt=
k"=20
ETCDIR=3D"etc/gtk"
--End PLIST_SUB--

--SUB_LIST--
 ATK_BRIDGE=3D"" NO_ATK_BRIDGE=3D"@comment " BROADWAY=3D"" NO_BROADWAY=3D"@=
comment "
CLOUDPRINT=3D"@comment " NO_CLOUDPRINT=3D"" COLORD=3D"" NO_COLORD=3D"@comme=
nt " CUPS=3D""
NO_CUPS=3D"@comment " DEBUG=3D"@comment " NO_DEBUG=3D"" WAYLAND=3D""
NO_WAYLAND=3D"@comment " X11=3D"" NO_X11=3D"@comment " PREFIX=3D/usr/local
LOCALBASE=3D/usr/local  DATADIR=3D/usr/local/share/gtk
DOCSDIR=3D/usr/local/share/doc/gtk EXAMPLESDIR=3D/usr/local/share/examples/=
gtk=20
WWWDIR=3D/usr/local/www/gtk ETCDIR=3D/usr/local/etc/gtk
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=3Dyes
BATCH=3Dyes
WRKDIRPREFIX=3D/wrkdirs
PORTSDIR=3D/usr/ports
PACKAGES=3D/packages
DISTDIR=3D/distfiles
FORCE_PACKAGE=3Dyes
PACKAGE_BUILDING=3Dyes
PACKAGE_BUILDING_FLAVORS=3Dyes
#### /usr/local/etc/poudriere.d/make.conf ####
# make.conf
WITH_PKGNG=3Dyes
WWWOWN=3Dnobody
WWWGRP=3Dnogroup

# for nagios:
WWW_GROUP=3Dwww
WWW_OWNER=3Dwww

JAVA_VERSION=3D1.8+

# For RT:
WEB_USER=3D       www
WEB_GROUP=3D      www

DEFAULT_VERSIONS=3D pgsql=3D12 mysql=3D5.7 apache=3D2.4 php=3D7.4
#php=3D7.3
# linux=3Dc6_64 default is not c7
# bdb=3D48 default is now 5, 6 has license problems

OPTIONS_UNSET?=3D X11 NLS
WITH_PKGNG=3DYES

WANT_OPENLDAP_SASL=3Dyes

#RUBY_VER=3D2.3

WITH_CCACHE_BUILD=3Dyes
CCACHE_DIR=3D/var/cache/ccache

ALLOW_UNSUPPORTED_SYSTEM=3Dyes
WITH_CCACHE_BUILD=3Dyes
CCACHE_DIR=3D/root/.ccache

...
---
...


mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=3D\"Gdk\"
-DG_LOG_USE_STRUCTURED=3D1 -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk
-fvisibility=3Dhidden -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS
-DGLIB_MIN_REQUIRED_VERSION=3DGLIB_VERSION_2_56
-DGLIB_MAX_ALLOWED_VERSION=3DGLIB_VERSION_2_58 -I/usr/local/include/pango-1=
.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include/cairo
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/gio-unix-2.0/
-I/usr/local/include/libepoll-shim -I/usr/local/lib/libffi-3.2.1/include
-I/usr/local/include/libdrm -D_THREAD_SAFE -pthread -fno-omit-frame-pointer
-isystem /usr/local/include -I/usr/local/include -I/usr/local/include
-D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -Wall -MT gdkdisplay-x11.lo -MD -MP=
 -MF
.deps/gdkdisplay-x11.Tpo -c gdkdisplay-x11.c  -fPIC -DPIC -o
.libs/gdkdisplay-x11.o
In file included from gdkdisplay-x11.c:40:
./gdkglcontext-x11.h:28:10: fatal error: 'epoxy/glx.h' file not found
#include <epoxy/glx.h>
         ^~~~~~~~~~~~~
1 error generated.
gmake[5]: *** [Makefile:741: gdkdisplay-x11.lo] Error 1
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.20/gdk/x11'
gmake[4]: *** [Makefile:1713: all-recursive] Error 1
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.20/gdk'
gmake[3]: *** [Makefile:1136: all] Error 2
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.20/gdk'
gmake[2]: *** [Makefile:748: all-recursive] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.20'
gmake[1]: *** [Makefile:621: all] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/x11-toolkits/gtk30/work/gtk+-3.24.20'
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-toolkits/gtk30
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for gtk3-3.24.20
build of x11-toolkits/gtk30 | gtk3-3.24.20 ended at Tue Jun 23 16:31:28 CEST
2020
build time: 00:01:22
!!! build failure encountered !!!

--=20
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-247517-7788>