View previous topic :: View next topic |
Author |
Message |
Green_Flash n00b
Joined: 20 Feb 2024 Posts: 5
|
Posted: Tue Feb 20, 2024 7:58 pm Post subject: Pinephone phoc dont build cause of meson |
|
|
Hi,
i successfully installed Gentoo on the pinephone and the last package i need to start my phosh WM, is phoc, the compositor.
First i used this overlay, https://github.com/stealthgun/gjdwebserver-overlay, but unfortunately the owner archived it a few weeks ago.
dev-util/meson was changed to dev-build/meson so i forked the repo and changed all the "dev-util" names to "dev-build" names in the dependency's. (This is the only change i made)
But now, x11-wm/phoc-0.30.0 won`t compile due to an error. im not a programmer or developer, and i dont have clue what to do now.
Has someone successfully installed phosh on the pinephone before and is willing to help me?
The output and logs are below this text. If i forgot anything, let me know, I am relatively new to all this.
Direct Output Error:
meson.build:43:17: ERROR: Automatic wrap-based subproject downloading is disabled
A full log can be found at /var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-0.30.0-build/meson-logs/meson-log.txt
* ERROR: x11-wm/phoc-0.30.0::gjdwebserver failed (configure phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_configure
* environment, line 2654: Called meson_src_configure
* environment, line 2068: Called die
* The specific snippet of code:
* "${mesonargs[@]}" ) || die
*
* If you need support, post the output of `emerge --info '=x11-wm/phoc-0.30.0::gjdwebserver'`,
* the complete build log and the output of `emerge -pqv '=x11-wm/phoc-0.30.0::gjdwebserver'`.
* The complete build log is located at '/var/tmp/portage/x11-wm/phoc-0.30.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/phoc-0.30.0/temp/environment'.
* Working directory: '/var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-v0.30.0'
* S: '/var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-v0.30.0'
>>> Failed to emerge x11-wm/phoc-0.30.0, Log file:
>>> '/var/tmp/portage/x11-wm/phoc-0.30.0/temp/build.log'
* Messages for package x11-wm/phoc-0.30.0:
* ERROR: x11-wm/phoc-0.30.0::gjdwebserver failed (configure phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_configure
* environment, line 2654: Called meson_src_configure
* environment, line 2068: Called die
* The specific snippet of code:
* "${mesonargs[@]}" ) || die
emerge --info =x11-wm/phoc-0.30.0::gjdwebserver:
Portage 3.0.61 (python 3.11.7-final-0, default/linux/arm64/17.0/desktop/gnome/systemd, gcc-13, glibc-2.38-r10, 6.7.1-pinephone aarch64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.7.1-pinephone-aarch64-with-glibc2.38
KiB Mem: 3057328 total, 318896 free
KiB Swap: 60081148 total, 60054100 free
Timestamp of repository gentoo: Wed, 14 Feb 2024 10:10:01 +0000
Head commit of repository gentoo: f5f77958c503a234dcf58feabeeb04922ccc986c
Head commit of repository bingch: b9b17b072cc6c8eaf2ab3d52abcc9a81a2fd09df
Head commit of repository gjdwebserver: 06176b2302417df88c8c8f9ff8b44a8ed94e3c0f
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p4) 2.41.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.1_p16-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.27.9::gentoo
dev-build/libtool: 2.4.7-r1::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.3.2::gentoo
dev-lang/perl: 5.38.2-r1::gentoo
dev-lang/python: 3.11.7::gentoo, 3.12.1_p1::gentoo
dev-lang/rust-bin: 1.74.1::gentoo
sys-apps/baselayout: 2.14-r2::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-apps/systemd: 254.8-r1::gentoo
sys-devel/binutils: 2.41-r3::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.2.1_p20240113-r1::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 17.0.6::gentoo
sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r10::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-jobs: 1
sync-rsync-verify-max-age: 3
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
bingch
location: /var/db/repos/bingch
sync-type: git
sync-uri: https://gitlab.com/bingch/gentoo-overlay.git
masters: gentoo
volatile: True
gjdwebserver
location: /var/db/repos/gjdwebserver
sync-type: git
sync-uri: https://github.com/Gr33nFlash/gjdwebserver-overlay.git
masters: gentoo
volatile: True
Binary Repositories:
gentoobinhost
priority: 1
sync-uri: https://gentoo.osuosl.org/releases/arm64/binpackages/17.0/arm64
ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="*"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crypto+crc -mtune=cortex-a53 -O2 -pipe -fomit-frame-pointer -ftree-vectorize"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=armv8-a+crypto+crc -mtune=cortex-a53 -O2 -pipe -fomit-frame-pointer -ftree-vectorize"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=armv8-a+crypto+crc -mtune=cortex-a53 -O2 -pipe -fomit-frame-pointer -ftree-vectorize"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa arm64 bluetooth branding bzip2 cairo cdda cdr chromium cli colord crypt cups dbus dhcpcd dri dts dvdr eds eg25-manager encode evo exif flac fortran gdbm gif gles2 gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc mad mng mp3 mp4 mpeg nautilus ncurses networkmanager nls ogg omemo opengl openmp p-boot pam pango pcre pdf phosh pinephone png policykit ppds pulseaudio qt5 readline samba sdl seccomp sound spell split-usr ssl startup-notification svg sysprof systemd test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="lima" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
emerge -pqv '=x11-wm/phoc-0.30.0::gjdwebserver:
[ebuild N ] x11-wm/phoc-0.30.0 USE="introspection systemd -test"
cat /var/tmp/portage/x11-wm/phoc-0.30.0/temp/build.log
* Package: x11-wm/phoc-0.30.0:0
* Repository: gjdwebserver
* Maintainer: gjdijkman@gjdwebserver.nl
* Upstream: https://source.puri.sm/Librem5/phoc/-/issues
* USE: arm64 elibc_glibc introspection kernel_linux systemd
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking phoc-v0.30.0.tar.gz to /var/tmp/portage/x11-wm/phoc-0.30.0/work
>>> Unpacking gmobile-f4d4e5740c3e4b2de40864ab8a9e7b7f957d6aec.tar.gz to /var/tmp/portage/x11-wm/phoc-0.30.0/work
>>> Source unpacked in /var/tmp/portage/x11-wm/phoc-0.30.0/work
>>> Preparing source in /var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-v0.30.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-v0.30.0 ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/x11-wm/phoc-0.30.0/temp/meson.aarch64-unknown-linux-gnu.arm64.ini -Db_pch=false -Dwerror=false -Db_lto=false --buildtype plain -Dtests=false -Dembed-wlroots=disabled /var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-v0.30.0 /var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-0.30.0-build
The Meson build system
Version: 1.3.2
Source dir: /var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-v0.30.0
Build dir: /var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-0.30.0-build
Build type: native build
WARNING: Project targets '>= 0.56.0' but uses feature introduced in '0.63.0': Wrap files with diff_files.
Project name: phoc
Project version: 0.30.0
C compiler for the host machine: aarch64-unknown-linux-gnu-gcc (gcc 13.2.1 "aarch64-unknown-linux-gnu-gcc (Gentoo 13.2.1_p20240113-r1 p12) 13.2.1 20240113")
C linker for the host machine: aarch64-unknown-linux-gnu-gcc ld.bfd 2.41
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: YES (/usr/bin/aarch64-unknown-linux-gnu-pkg-config) 2.1.1
Run-time dependency gio-2.0 found: YES 2.78.4
Run-time dependency glesv2 found: YES 3.2
Run-time dependency glib-2.0 found: YES 2.78.4
Run-time dependency gobject-2.0 found: YES 2.78.4
Run-time dependency gnome-desktop-3.0 found: YES 44.0
Run-time dependency gsettings-desktop-schemas found: YES 45.0
Run-time dependency libinput found: YES 1.24.0
Run-time dependency libdrm found: YES 2.4.120
Run-time dependency pixman-1 found: YES 0.42.2
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency wayland-protocols found: YES 1.32
Run-time dependency wayland-server found: YES 1.22.0
Run-time dependency xkbcommon found: YES 1.6.0
Library m found: YES
meson.build:43:17: ERROR: Automatic wrap-based subproject downloading is disabled
A full log can be found at /var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-0.30.0-build/meson-logs/meson-log.txt
* ERROR: x11-wm/phoc-0.30.0::gjdwebserver failed (configure phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_configure
* environment, line 2654: Called meson_src_configure
* environment, line 2068: Called die
* The specific snippet of code:
* "${mesonargs[@]}" ) || die
*
* If you need support, post the output of `emerge --info '=x11-wm/phoc-0.30.0::gjdwebserver'`,
* the complete build log and the output of `emerge -pqv '=x11-wm/phoc-0.30.0::gjdwebserver'`.
* The complete build log is located at '/var/tmp/portage/x11-wm/phoc-0.30.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/phoc-0.30.0/temp/environment'.
* Working directory: '/var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-v0.30.0'
* S: '/var/tmp/portage/x11-wm/phoc-0.30.0/work/phoc-v0.30.0'
thanks in advance |
|
Back to top |
|
|
Green_Flash n00b
Joined: 20 Feb 2024 Posts: 5
|
Posted: Tue Feb 20, 2024 8:16 pm Post subject: Re: Pinephone phoc dont build cause of meson |
|
|
I am sorry that this post ended up in the "unsupported software" category. i actually created this post on the gentoo on arm thread.
Now i dont know how to move it... |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22578
|
Posted: Tue Feb 20, 2024 10:25 pm Post subject: |
|
|
Welcome to the forums.
Threads are moved by moderators. In this case, it was moved to Unsupported Software because it involves an overlay (and worse, an abandoned overlay), not the main Gentoo tree.
If I had to guess based on the output, the build system gets confused by the lack of some prerequisite, but cannot download it. The standard advice in this case is to contact the ebuild maintainer. However, since you wrote that the maintainer placed the overlay in archive status, there may not be anyone who can support this ebuild. You could try contacting the author of phoc, or using a window manager that is supported by an active maintainer. |
|
Back to top |
|
|
Green_Flash n00b
Joined: 20 Feb 2024 Posts: 5
|
Posted: Wed Feb 21, 2024 9:54 am Post subject: |
|
|
Hu wrote: | Welcome to the forums.
Threads are moved by moderators. In this case, it was moved to Unsupported Software because it involves an overlay (and worse, an abandoned overlay), not the main Gentoo tree.
If I had to guess based on the output, the build system gets confused by the lack of some prerequisite, but cannot download it. The standard advice in this case is to contact the ebuild maintainer. However, since you wrote that the maintainer placed the overlay in archive status, there may not be anyone who can support this ebuild. You could try contacting the author of phoc, or using a window manager that is supported by an active maintainer. |
Thank you for your answer.
I think i have no other choice but to go with KDE or something like this.
Its a shame about the repository . I really wanted to make phosh ... anyway |
|
Back to top |
|
|
gjdijkman n00b
Joined: 23 May 2024 Posts: 1
|
Posted: Thu May 23, 2024 9:18 pm Post subject: |
|
|
Funny thing is: I'm back and the overlay is back online with PinePhone stuff.
Phosh is back working in the overlay: https://git.gjdwebserver.nl/gjdwebserver/gjdwebserver-overlay
As an extra bonus if you are using a PinePhone Pro I now have a binaryhost for that: https://blog.gjdwebserver.nl/ords/f?p=107:HOME:::::ARTICLE:gjdwebserver-binaryhost-packages
Hu wrote: | Welcome to the forums.
Threads are moved by moderators. In this case, it was moved to Unsupported Software because it involves an overlay (and worse, an abandoned overlay), not the main Gentoo tree.
If I had to guess based on the output, the build system gets confused by the lack of some prerequisite, but cannot download it. The standard advice in this case is to contact the ebuild maintainer. However, since you wrote that the maintainer placed the overlay in archive status, there may not be anyone who can support this ebuild. You could try contacting the author of phoc, or using a window manager that is supported by an active maintainer. |
The overlay was not abandoned but I removed the Phone stuff. Which is now sorted agian. |
|
Back to top |
|
|
Green_Flash n00b
Joined: 20 Feb 2024 Posts: 5
|
Posted: Fri May 24, 2024 6:00 am Post subject: |
|
|
Wow thank you for replying to this
I will soon try your new overlay |
|
Back to top |
|
|
Green_Flash n00b
Joined: 20 Feb 2024 Posts: 5
|
Posted: Wed Sep 11, 2024 8:24 am Post subject: Issue with your new overlay |
|
|
Hey, sorry that i have to ask here but i can't open an issue in your new overlay without having an account and registration is turned off.
So, i want to emerge x11-wm/phoc but it requires gui-libs/wlroots-0.17.0. I got this old version but the needed USE flag "phoc-patch" is not available with this "official" package. You have version 0.17.4 with this USE flag in your repo, but as i said, phoc requires =gui-libs/wlroots-0.17.0 with USE flag "phoc-patch". I am not sure, if i made something wrong or you have to adjust this. Would be nice, if you could look that up
gjdijkman wrote: | Funny thing is: I'm back and the overlay is back online with PinePhone stuff.
Phosh is back working in the overlay: https://git.gjdwebserver.nl/gjdwebserver/gjdwebserver-overlay
As an extra bonus if you are using a PinePhone Pro I now have a binaryhost for that: https://blog.gjdwebserver.nl/ords/f?p=107:HOME:::::ARTICLE:gjdwebserver-binaryhost-packages
Hu wrote: | Welcome to the forums.
Threads are moved by moderators. In this case, it was moved to Unsupported Software because it involves an overlay (and worse, an abandoned overlay), not the main Gentoo tree.
If I had to guess based on the output, the build system gets confused by the lack of some prerequisite, but cannot download it. The standard advice in this case is to contact the ebuild maintainer. However, since you wrote that the maintainer placed the overlay in archive status, there may not be anyone who can support this ebuild. You could try contacting the author of phoc, or using a window manager that is supported by an active maintainer. |
The overlay was not abandoned but I removed the Phone stuff. Which is now sorted agian. |
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|