[Bug 213973] x11-toolkits/libgdiplus Building fails because of tests
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Nov 5 15:05:45 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213973
--- Comment #1 from Andrej Ebert <andrej at ebert.su> ---
I have the same problem on:
FreeBSD 199-SERVER 11.0-STABLE FreeBSD 11.0-STABLE #3 r308338: Sat Nov 5
14:00:11 CET 2016 root at 199-SERVER:/usr/obj/usr/src/sys/MASK amd64
At first I thought the problem was that the port doesn't pull in or check for
the required x11/libX11 library, at least on my system. But manually installing
it changes nothing.
A portmaster -f run (rebuilding all ports depended on) on sonarr (the port I
needed libgdiplus for in the first place) changed nothing.
poudriere testport on 10.3 & 11 RELEASE jails builds and installs it
successfully, but curiously pulls in a lot more dependencies than my real
system with the following make.conf (comments stripped):
CPUTYPE?=bdver2
MALLOC_PRODUCTION=YES
SVN=/usr/bin/svn
SVN_UPDATE=yes
MAKE_JOBS_NUMBER?=9
BUILD_OPTIMIZED=YES
WITH_CPUFLAGS=YES
OPTIONS_UNSET=X11
OPTIONS_UNSET=ALSA DEBUG FONTCONFIG CUPS NLS GUI KDE4 KDE QT QT4 GTK GTK1 GTK2
OPTIONS_SET=OPTIMIZED_CFLAGS
NO_SENDMAIL=YES
NO_GUI=YES
MK_PROFILE=no
WITHOUT_GALLIUM=YES
WITHOUT_DEBUG=YES
DEFAULT_VERSIONS=php=7.0 mysql=5.6 apache=2.4 perl5=5.24
APACHE_PORT=www/apache24
KERNCONF=MASK
BATCH_DELETE_OLD_FILES=YES
WITH_OPENSSL_PORT=YES
DEFAULT_VERSIONS+=ssl=libressl
horde_dir=/usr/local/www/horde5
So I think it has something to do with the "OPTIONS_UNSET=X11" knob, but since
neither sonarr nor libgdiplus have any options, I went digging to the
dependencies of libgdiplus, an the only direct dependency to have an X11 knob
is graphics/cairo, OPENGL, X11 and XCB options where disabled for the port on
my system. After enabling X11 and rebuilding, it pulled these additional
dependencies:
Installation of x11/libXext (libXext-1.3.3_1,1)
Installation of x11/renderproto (renderproto-0.11.1)
Installation of x11/libXrender (libXrender-0.9.10)
And libgdiplus built sucessfully.
I think some or all of them should be added as a direct dependency for
x11-toolkits/libgdiplus (since I think we aren't the only ones building as much
as we can without the X11 stuff), if someone (Alex, for example) can confirm my
workaround works.
This should also explain why no one could reproduce bug #198066.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-mono
mailing list