Re: Wayland: emulators/snes9x build failure

2021-11-14 Thread Rafael Sadowski
On Sun Nov 14, 2021 at 04:22:52PM +0100, Christian Weisgerber wrote:
> It appears the presence of Wayland causes some bulk build issues.
> Most likely, Wayland is picked up during the configure step and
> used during the build, but since there is no proper *_DEPENDS, it
> is junked in the background.  So the choice would be between disabling
> Wayland support or adding a proper dependency.
> 

Disabled by cmake option.



Wayland: emulators/snes9x build failure

2021-11-14 Thread Christian Weisgerber
It appears the presence of Wayland causes some bulk build issues.
Most likely, Wayland is picked up during the configure step and
used during the build, but since there is no proper *_DEPENDS, it
is junked in the background.  So the choice would be between disabling
Wayland support or adding a proper dependency.


>>> Building on amd64-1 under emulators/snes9x
 BDEPENDS = 
[textproc/intltool;devel/meson;x11/gtk+3;devel/sdl2;graphics/png]
 DIST = [emulators/snes9x:snes9x-1.60.tar.gz]
 FULLPKGNAME = snes9x-1.60p1
 RDEPENDS = 
[x11/gtk+3;graphics/png;devel/sdl2;x11/gtk+3,-guic;devel/desktop-file-utils]
(Junk lock failure for amd64-1 at 1636861005.30062)
Received IO
(Junk lock obtained for amd64-1 at 1636861024.46)
Received IO
Woken up emulators/snes9x
>>> Running depends in emulators/snes9x at 1636861025.07
   last junk was in graphics/ImageMagick
/usr/sbin/pkg_add -aI -Drepair intltool-0.51.0p2 meson-0.60.1v0 png-1.6.37 
sdl2-2.0.16
was: /usr/sbin/pkg_add -aI -Drepair gtk+3-3.24.30 intltool-0.51.0p2 
meson-0.60.1v0 png-1.6.37 sdl2-2.0.16
/usr/sbin/pkg_add -aI -Drepair intltool-0.51.0p2 meson-0.60.1v0 png-1.6.37 
sdl2-2.0.16
>>> Running show-prepare-results in emulators/snes9x at 1636861027.35
===> emulators/snes9x
===> snes9x-1.60p1 depends on: meson->=0.60.1v0 -> meson-0.60.1v0
===> snes9x-1.60p1 depends on: intltool->=0.41.1p0 -> intltool-0.51.0p2
===> snes9x-1.60p1 depends on: sdl2-* -> sdl2-2.0.16
===> snes9x-1.60p1 depends on: png-* -> png-1.6.37
===> snes9x-1.60p1 depends on: gtk+3-* -> gtk+3-3.24.30
===>  Verifying specs:  c++ c++abi pthread SDL2 X11 Xext Xrandr Xv atk-1.0 c 
cairo cairo-gobject epoxy gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 
gtk-3 intl m pango-1.0 pangocairo-1.0 png z
===>  found c++.8.0 c++abi.5.1 pthread.26.1 SDL2.0.10 X11.17.1 Xext.13.0 
Xrandr.7.1 Xv.6.0 atk-1.0.21809.4 c.96.1 cairo.13.1 cairo-gobject.2.1 epoxy.4.1 
gdk-3.2201.1 gdk_pixbuf-2.0.3200.3 gio-2.0.4200.14 glib-2.0.4201.7 
gobject-2.0.4200.14 gtk-3.2201.0 intl.7.0 m.10.1 pango-1.0.3801.2 
pangocairo-1.0.3801.2 png.18.0 z.6.0
gtk+3-3.24.30
intltool-0.51.0p2
meson-0.60.1v0
png-1.6.37
sdl2-2.0.16
(Junk lock released for amd64-1 at 1636861028.19)
distfiles size=2863228
>>> Running patch in emulators/snes9x at 1636861028.21
===> emulators/snes9x
===>  Checking files for snes9x-1.60p1
`/usr/ports/distfiles/snes9x-1.60.tar.gz' is up to date.
>> (SHA256) snes9x-1.60.tar.gz: OK
===>  Extracting for snes9x-1.60p1
===>  Patching for snes9x-1.60p1
===>   Applying OpenBSD patch patch-gtk_meson_build
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|$OpenBSD: patch-gtk_meson_build,v 1.2 2020/02/19 20:31:08 fcambus Exp $
|
|No -ldl on OpenBSD.
|
|Index: gtk/meson.build
|--- gtk/meson.build.orig
|+++ gtk/meson.build
--
Patching file gtk/meson.build using Plan A...
Hunk #1 succeeded at 50.
done
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
>>> Running configure in emulators/snes9x at 1636861028.75
===> emulators/snes9x
===>  Generating configure for snes9x-1.60p1
===>  Configuring for snes9x-1.60p1
The Meson build system
Version: 0.60.1
Source dir: /usr/obj/ports/snes9x-1.60/snes9x-1.60/gtk
Build dir: /usr/obj/ports/snes9x-1.60/build-amd64
Build type: native build
Project name: snes9x-gtk
Project version: 1.60
C compiler for the host machine: cc (clang 11.1.0 "OpenBSD clang version 
11.1.0")
C linker for the host machine: cc ld.lld 11.1.0
C++ compiler for the host machine: c++ (clang 11.1.0 "OpenBSD clang version 
11.1.0")
C++ linker for the host machine: c++ ld.lld 11.1.0
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.70.1
Run-time dependency gthread-2.0 found: YES 2.70.1
Run-time dependency gobject-2.0 found: YES 2.70.1
Run-time dependency sdl2 found: YES 2.0.16
Message: Building with GTK+-3.0
Run-time dependency gtk+-3.0 found: YES 3.24.30
Library X11 found: YES
Library Xext found: YES
Run-time dependency xrandr found: YES 1.5.2
Run-time dependency epoxy found: YES 1.5.9
Run-time dependency wayland-egl found: YES 18.1.0
Run-time dependency xv found: YES 1.0.11
Run-time dependency libpng found: YES 1.6.37
Found CMake: /usr/local/bin/cmake (3.20.3)
Run-time dependency minizip found: NO (tried pkgconfig and cmake)
Run-time dependency zlib found: YES 1.2.11
Checking for function "mkstemp" : YES 
Has header "strings.h" : YES 
Has header "stdint.h" : YES 
Message: Snes9x GTK+ Build Configuration
[Locations] prefix:/usr/local
datadir:   share
appdatadir:/usr/local/share/snes9x
localedir: /usr/local/share/locale
[Options]   Build type:plain