[Bug 270525] [PATCH] x11/wdisplays: failed to find its icon during package target

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Mar 2023 15:01:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270525

            Bug ID: 270525
           Summary: [PATCH] x11/wdisplays: failed to find its icon during
                    package target
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: jbeich@FreeBSD.org
          Reporter: milios@ccsys.com
             Flags: maintainer-feedback?(jbeich@FreeBSD.org)
          Assignee: jbeich@FreeBSD.org

Created attachment 241183
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241183&action=edit
git diff

===>  Cleaning for wdisplays-1.1_1
===>  License CC-BY-SA-4.0 CC0-1.0 GPLv3+ MIT accepted by the user
===> Fetching all distfiles required by wdisplays-1.1_1 for building
===>  Extracting for wdisplays-1.1_1
=> SHA256 Checksum OK for artizirk-wdisplays-1.1_GH0.tar.gz.
===>  Patching for wdisplays-1.1_1
===>  Configuring for wdisplays-1.1_1
The Meson build system
Version: 1.0.1
Source dir: /usr/ports/x11/wdisplays/work/wdisplays-1.1
Build dir: /usr/ports/x11/wdisplays/work/wdisplays-1.1/_build
Build type: native build
Project name: network.cycles.wdisplays
Project version: 1.0
C compiler for the host machine: cc (clang 14.0.5 "FreeBSD clang version 14.0.5
(https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)")
C linker for the host machine: cc ld.lld 14.0.5
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program wayland-scanner found: YES (/usr/local/bin/wayland-scanner)
Found pkg-config: /usr/local/bin/pkgconf (1.8.1)
Run-time dependency wayland-client found: YES 1.21.0
Run-time dependency wayland-protocols found: YES 1.31
Configuring resources.xml using configuration
Found pkg-config: /usr/local/bin/pkgconf (1.8.1)
Program glib-compile-resources found: YES
(/usr/local/bin/glib-compile-resources)
Program scour found: YES (/usr/local/bin/scour)
Configuring network.cycles.wdisplays.desktop using configuration
Library m found: YES
Library rt found: YES
Run-time dependency gdk-3.0 found: YES 3.24.34
Run-time dependency gtk+-3.0 found: YES 3.24.34
Run-time dependency epoxy found: YES 1.5.9
Configuring config.h using configuration
Build targets in project: 5

network.cycles.wdisplays 1.0

  User defined options
    buildtype : release
    infodir   : share/info
    mandir    : man
    prefix    : /usr/local
    strip     : True
    b_colorout: never

Found ninja-1.11.1 at /usr/local/bin/ninja
WARNING: Running the setup command as `meson [options]` instead of `meson setup
[options]` is ambiguous and deprecated.
===>  Building for wdisplays-1.1_1

..........<snip>..........

[100% 32/32] cc  -o src/wdisplays
src/wdisplays.p/meson-generated_.._.._resources_wdisplays-resources.c.o
src/wdisplays.p/main.c.o src/wdisplays.p/glviewport.c.o
src/wdisplays.p/headform.c.o src/wdisplays.p/outputs.c.o
src/wdisplays.p/overlay.c.o src/wdisplays.p/render.c.o -Wl,--as-needed
-Wl,--no-undefined -Wl,-O1 -fstack-protector-strong -O2 -pipe
-march=opteron-sse3 -fstack-protector-strong -fno-strict-aliasing
-Wl,-rpath,/usr/local/lib -Wl,-rpath-link,/usr/local/lib -Wl,--start-group
protocol/libclient_protos.a -lm -lrt /usr/local/lib/libwayland-client.so
/usr/local/lib/libepoxy.so /usr/local/lib/libgtk-3.so
/usr/local/lib/libgdk-3.so /usr/local/lib/libpangocairo-1.0.so
/usr/local/lib/libpango-1.0.so /usr/local/lib/libharfbuzz.so
/usr/local/lib/libatk-1.0.so /usr/local/lib/libcairo-gobject.so
/usr/local/lib/libcairo.so /usr/local/lib/libgdk_pixbuf-2.0.so
/usr/local/lib/libgio-2.0.so /usr/local/lib/libgobject-2.0.so
/usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so -Wl,--end-group
===>  Staging for wdisplays-1.1_1
===>   Generating temporary packing list
[  0% 1/1] /usr/local/bin/meson install --no-rebuild
Installing resources/network.cycles.wdisplays.svg to
/usr/ports/x11/wdisplays/work/stage/usr/local/share/icons/hicolor/scalable/apps
Installing src/wdisplays to /usr/ports/x11/wdisplays/work/stage/usr/local/bin
Stripping target 'src/wdisplays'.
Installing
/usr/ports/x11/wdisplays/work/wdisplays-1.1/_build/resources/network.cycles.wdisplays.desktop
to /usr/ports/x11/wdisplays/work/stage/usr/local/share/applications
====> Compressing man pages (compress-man)
===>  Building package for wdisplays-1.1_1
pkg-static: Unable to access file
/usr/ports/x11/wdisplays/work/stage/usr/local/share/icons/hicolor/scalable/apps/wdisplays.svg:No
such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/wdisplays

root@yoda:~ # more /etc/make.conf 
CPUTYPE?=opteron-sse3
DEFAULT_VERSIONS= bdb=18 gcc=12 java=19 llvm=15 lua=5.4 mysql=8.0 nodejs=19
perl5=5.36 pgsql=15 php=8.2 python=3.11 python3=3.11 ruby=3.1 samba=4.16
ssl=openssl

root@yoda:~ # uname -a
FreeBSD yoda.ccsys.com 13.2-RC5 FreeBSD 13.2-RC5
releng/13.2-n254613-0386b9bd6cda NUOS amd64


root@yoda:/usr/ports/x11/wdisplays # find work -type f -name '*.svg'
work/wdisplays-1.1/_build/resources/network.cycles.wdisplays.svg
work/wdisplays-1.1/resources/wdisplays.svg
work/stage/usr/local/share/icons/hicolor/scalable/apps/network.cycles.wdisplays.svg

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