2024.05.21 00:24 vitaly-zdanevich Please help to finish and review my new simple ebuild for lua: multipart-post
# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 LUA_COMPAT=( lua5-{1..4} luajit ) inherit lua DESCRIPTION="HTTP Multipart Post helper that does just that." HOMEPAGE="https://github.com/catwell/lua-multipart-post" SRC_URI="https://github.com/catwell/lua-$PN/archive/refs/tags/v$PV.tar.gz -> lua-${P}.tar.gz" S="$WORKDIlua-$P" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" REQUIRED_USE="${LUA_REQUIRED_USE}" RDEPEND="dev-lua/luasocket[${LUA_USEDEP}]" # Require cwtes, which is not in the tree yet RESTRICT="test" DOCS=( README.md ) lua_src_install() { emake DESTDIR="${ED}" INSTALL_LMOD="$(lua_get_lmod_dir)" install } src_install() { lua_foreach_impl lua_src_install einstalldocs }Getting error:
make -j32 DESTDIR=/vatmp/portage/dev-lua/multipart-post-1.4/image INSTALL_LMOD=/usshare/lua/5.1 installI have no experience with lua, and this is my first ebuild for a lua package, thanks for the help.
make: *** No rule to make target 'install'. Stop.
* ERROR: dev-lua/multipart-post-1.4::guru failed (install phase):
* emake failed
2024.04.01 11:58 vitaly-zdanevich Trying to write an ebuild for evernote-backup: installed without error, but command is not added to $PATH
# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=poetry inherit distutils-r1 DESCRIPTION="Sync *.enex from Evernote server to local SQLite" HOMEPAGE=" https://github.com/vzhd1701/evernote-backup https://pypi.org/project/evernote-backup/ " SRC_URI="https://github.com/vzhd1701/$PN/releases/download/v$PV/${P/-/_}.tar.gz" S="$WORKDI${P/-/_}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" src_install() { rm "$ED/CHANGELOG.md" # Against the error: # * The following unexpected files/directories were found top-level # * in the site-packages directory: # /uslib/python3.11/site-packages/CHANGELOG.md }Log:
# emerge -a evernote-backupAnd what now?
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 0.83 s (backtrack: 0/20).
[ebuild R ~] net-misc/evernote-backup-1.9.3
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-misc/evernote-backup-1.9.3::guru
* evernote_backup-1.9.3.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking evernote_backup-1.9.3.tar.gz to /vatmp/portage/net-misc/evernote-backup-1.9.3/work
>>> Source unpacked in /vatmp/portage/net-misc/evernote-backup-1.9.3/work
>>> Preparing source in /vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3 ...
* Build system packages:
* dev-python/gpep517 : 15
* dev-python/installer : 0.7.0
* dev-python/poetry-core : 1.9.0
>>> Source prepared.
>>> Configuring source in /vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3 ...
>>> Source configured.
>>> Compiling source in /vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3 ...
* python3_11: running distutils-r1_run_phase distutils-r1_python_compile
* Building the wheel for evernote_backup-1.9.3 via poetry.core.masonry.api
python3.11 -m gpep517 build-wheel --prefix=/usr --backend poetry.core.masonry.api --output-fd 3 --wheel-dir /vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3-python3_11/wheel
2024-04-01 13:35:10,667 gpep517 INFO Building wheel via backend poetry.core.masonry.api
2024-04-01 13:35:10,721 poetry.core.masonry.builders.wheel INFO Building wheel
2024-04-01 13:35:10,732 poetry.core.masonry.builders.wheel INFO Built evernote_backup-1.9.3-py3-none-any.whl
2024-04-01 13:35:10,732 gpep517 INFO The backend produced /vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3-python3_11/wheel/evernote_backup-1.9.3-py3-none-any.whl
* Installing evernote_backup-1.9.3-py3-none-any.whl to /vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3-python3_11/install
python3.11 -m gpep517 install-wheel --destdir=/vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3-python3_11/install --interpreter=/usbin/python3.11 --prefix=/usr --optimize=all /vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3-python3_11/wheel/evernote_backup-1.9.3-py3-none-any.whl
2024-04-01 13:35:10,780 gpep517 INFO Installing /vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3-python3_11/wheel/evernote_backup-1.9.3-py3-none-any.whl into /vatmp/portage/net-misc/evernote-backup-1.9.3/work/evernote_backup-1.9.3-python3_11/install
2024-04-01 13:35:10,819 gpep517 INFO Installation complete
>>> Source compiled.
>>> Test phase [not enabled]: net-misc/evernote-backup-1.9.3
>>> Install net-misc/evernote-backup-1.9.3 into /vatmp/portage/net-misc/evernote-backup-1.9.3/image
rm: cannot remove '/vatmp/portage/net-misc/evernote-backup-1.9.3/image/CHANGELOG.md': No such file or directory
>>> Completed installing net-misc/evernote-backup-1.9.3 into /vatmp/portage/net-misc/evernote-backup-1.9.3/image
* Final size of build directory: 1260 KiB (1.2 MiB)
* Final size of installed tree: 4 KiB
>>> Installing (1 of 1) net-misc/evernote-backup-1.9.3::guru
>>> Completed (1 of 1) net-misc/evernote-backup-1.9.3::guru
* GNU info directory index is up-to-date.
$ evernote-backupShould I create a bin? But in the package I do not see such file..
bash: evernote-backup: command not found
2024.04.01 08:04 vitaly-zdanevich Trying to write an ebuild for evernote-backup, it is on Python, using Poetry for packaging (I never heard about it), I got error "Unable to obtain build-backend from pyproject.toml", please help
# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) # PYPI_NO_NORMALIZE=1 DISTUTILS_USE_PEP517=poetry DISTUTILS_SINGLE_IMPL=1 inherit distutils-r1 DESCRIPTION="Sync *.enex from Evernote server to local SQLite" HOMEPAGE=" https://github.com/vzhd1701/evernote-backup https://pypi.org/project/evernote-backup/ " SRC_URI="https://github.com/vzhd1701/$PN/releases/download/v$PV/bin_evernote_backup_${PV}_linux_x64.tar.gz" S="${WORKDIR}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64"Thanks for the help!
2024.03.19 22:40 vitaly-zdanevich Please review my ebuild for the demo of great game: Armies of Exigo.
# Copyright 1999-2024 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit wrapper DESCRIPTION="Single and multiplayer demo of Armies of Exigo (like WarCraft III), Windows" HOMEPAGE="https://en.wikipedia.org/wiki/Armies_of_Exigo" NAME=AoX_SPDemo_Install.exe SRC_URI="https://archive.org/download/ArmiesOfExigoDemo/$NAME" # TODO add multiplayer demo KEYWORDS="~amd64" S="${WORKDIR}" LICENSE="all-rights-reserved" SLOT="0" RESTRICT="strip" RDEPEND="games-emulation/conty" QA_PREBUILT="*" src_install() { conty=conty_lite_dwarfs.sh install -D "$DISTDI$NAME" "$ED/opt/armies-of-exigo/$NAME" single=armies-of-exigo-demo-single make_wrapper "${single}-install" " mkdir \$HOME/armies-of-exigo mkdir \$HOME/armies-of-exigo/$single env WINEPREFIX=\$HOME/armies-of-exigo/$single $conty wine /opt/armies-of-exigo/$NAME" path="\$HOME/armies-of-exigo/$single/drive_c/Program Files (x86)/Electronic Arts/Armies of Exigo - Single Player Demo/Exigo_spdemo.exe" make_wrapper "$single" "env WINEPREFIX=\$HOME/armies-of-exigo/$single $conty wine \"$path\"" # TODO how on uninstall remove $HOME/armies-of-exigo ? }
2024.03.17 15:54 vitaly-zdanevich Please help finish my ebuild: it need to fetch tar.bz2 PLUS a few non-archive files (.desktop, .xml) - how to handle such case? In log I see "unpack lossless-cut-3.59.1.desktop: file format not recognized. Ignoring."
# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit desktop xdg DESCRIPTION="Lossless video/audio editing: export media without reencoding, powered by ffmpeg" HOMEPAGE="https://mifi.no/losslesscut/ https://github.com/mifi/lossless-cut" NAME="LosslessCut-linux-x64" SRC_URI="https://github.com/mifi/lossless-cut/releases/download/v${PV}/${NAME}.tar.bz2 https://raw.githubusercontent.com/mifi/lossless-cut/masteno.mifi.losslesscut.desktop -> $P.desktop https://raw.githubusercontent.com/mifi/lossless-cut/masteno.mifi.losslesscut.appdata.xml https://raw.githubusercontent.com/mifi/lossless-cut/mastesrc/icon.svg " S="${WORKDIR}/${NAME}" KEYWORDS="~amd64" LICENSE="GPL-2" SLOT="0" RESTRICT="strip" QA_PREBUILT="usbin/losslesscut-bin" src_prepare() { default # Fix XDG desktop entry Exec sed -i -e 's,/app/bin/run.sh,losslesscut-bin,' \ $P.desktop die } src_install() { newbin losslesscut losslesscut-bin domenu no.mifi.losslesscut.desktop doicon no.mifi.losslesscut.svg insinto /usshare/metainfo doins no.mifi.losslesscut.appdata.xml }The error:
2024.02.26 03:27 DenisVsDoge Completely borked installation
2024.02.25 00:34 vitaly-zdanevich Writing a new simple ebuild for i3-restore: in src_install() I use dosym, but the target software needs to be called from the same directory, what should I do? wrap with `cd dir` and `cd -`?
/usbin/i3-save: line 12: /usbin/utils/common.bash: No such file or directorySee this line
2024.02.23 07:55 Petross404 How does sed extract the value of a ${var} in an ebuild?
# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools flag-o-matic DESCRIPTION="A text-based widget toolkit written in C++." HOMEPAGE="https://github.com/gansm/finalcut" SRC_URI="https://github.com/gansm/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPLv3" SLOT="0" KEYWORDS="~amd64" DEPEND="" RDEPEND="${DEPEND}" BDEPEND="" src_prepare() { test-flag-CXX -std=c++14 die "A C++14 capable compiler is required to build ${PN}" sed -i -e 's/${PACKAGE}/finalcut-0.9.0/g' Makefile.am die "Sed died!" default eautoreconf }The ${PACKAGE} part is literal (that's the string I want to remove) but finalcut-0.9.0 isn't quite the right way to do it and it will bite me to a version bump. So, how can I tell sed to replace with the value of ${P} not the string itself?
2024.02.11 10:46 vitaly-zdanevich Please help finish my first Java ebuild for openrefine (a popular tool, I need it for mass uploading of photos to Wikimedia Commons)
2024.02.09 20:01 Usual_Office_1740 Dependency conflict help?
WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: dev-libs/expat:0 (dev-libs/expat-2.6.0:0/0::gentoo, ebuild scheduled for merge) USE="unicode -examples -static-libs -test" ABI_X86="32 (64) (-x32)" conflicts withWhat is the next step? Is this a slots issue? Current installed version is dev-libs/expat-2.5.0.
2024.01.05 16:48 Medium-Meringue-7317 Help - Permitted development extension - no building warrant
2024.01.05 16:20 Medium-Meringue-7317 Help - Permitted development extension - no building warrant
2023.12.30 08:32 oneghost2 Help with customizing gentoo-kernel ebuild
EAPI=8 KERNEL_IUSE_MODULES_SIGN=1 inherit kernel-build toolchain-funcs MY_P=linux-${PV%.*} GENPATCHES_P=genpatches-${PV%.*}-$(( ${PV##*.} + 2 )) CONFIG_VER=6.6.4-gentoo GENTOO_CONFIG_VER=g11 DESCRIPTION="Linux kernel built with Gentoo patches and PS3 patches" HOMEPAGE=" https://wiki.gentoo.org/wiki/Project:Distribution_Kernel https://www.kernel.org/ " SRC_URI+=" https://cdn.kernel.org/pub/linux/kernel/v$(ver_cut 1).x/${MY_P}.tar.xz https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.base.tar.xz https://dev.gentoo.org/~mpagano/dist/genpatches/${GENPATCHES_P}.extras.tar.xz https://github.com/projg2/gentoo-kernel-config/archive/${GENTOO_CONFIG_VER}.tar.gz -> gentoo-kernel-config-${GENTOO_CONFIG_VER}.tar.gz https://raw.githubusercontent.com/damiandudycz/ps3/main/kernel/patches-ps3.tar.xz https://raw.githubusercontent.com/damiandudycz/ps3/main/kernel/config/config-ps3-${PV}.tar.xz " S=${WORKDIR}/${MY_P} LICENSE="GPL-2" KEYWORDS="~ppc64" IUSE="debug hardened" REQUIRED_USE="" RDEPEND=" !sys-kernel/gentoo-kernel-bin:${SLOT} " BDEPEND=" debug? ( dev-util/pahole ) " PDEPEND="" QA_FLAGS_IGNORED=" ussrc/linux-.*/scripts/gcc-plugins/.*.so ussrc/linux-.*/vmlinux ussrc/linux-.*/arch/powerpc/kernel/vdso.*/vdso.*.so.dbg " src_prepare() { local PATCHES=( "${WORKDIR}"/*.patch ) default local myversion="-gentoo-ps3-dist" use hardened && myversion+="-hardened" echo "CONFIG_LOCALVERSION=\"${myversion}\"" > "${T}"/version.config die local dist_conf_path="${WORKDIR}/gentoo-kernel-config-${GENTOO_CONFIG_VER}" local merge_configs=( "${T}"/version.config ) # Generate default ps3_defconfig file ARCH=powerpc make ps3_defconfig use debug merge_configs+=( "${dist_conf_path}"/no-debug.config ) if use hardened; then merge_configs+=( "${dist_conf_path}"/hardened-base.config ) tc-is-gcc && merge_configs+=( "${dist_conf_path}"/hardened-gcc-plugins.config ) if [[ -f "${dist_conf_path}/hardened-${ARCH}.config" ]]; then merge_configs+=( "${dist_conf_path}/hardened-${ARCH}.config" ) fi fi # this covers ppc64 and aarch64_be only for now merge_configs+=( "${dist_conf_path}/big-endian.config" ) use secureboot && merge_configs+=( "${dist_conf_path}/secureboot.config" ) kernel-build_merge_configs "${merge_configs[@]}" }And emerge result:
>>> Emerging (1 of 1) sys-kernel/gentoo-kernel-ps3-6.6.8::local * linux-6.6.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] * genpatches-6.6-10.base.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] * genpatches-6.6-10.extras.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] * gentoo-kernel-config-g11.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * patches-ps3.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] * config-ps3-6.6.8.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] * Checking whether python3_12 is suitable ... * dev-lang/python:3.12 ... [ ok ] * Using python3.12 to build (via PYTHON_COMPAT iteration) >>> Unpacking source... >>> Unpacking linux-6.6.tar.xz to /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work >>> Unpacking genpatches-6.6-10.base.tar.xz to /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work >>> Unpacking genpatches-6.6-10.extras.tar.xz to /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work >>> Unpacking gentoo-kernel-config-g11.tar.gz to /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work >>> Unpacking patches-ps3.tar.xz to /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work >>> Unpacking config-ps3-6.6.8.tar.xz to /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.macl' >>> Source unpacked in /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work >>> Preparing source in /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6 ... * Applying 0009-ps3disk-blk_mq_queue_stopped.patch ... [ ok ] * Applying 0010-ps3stor-multiple-regions.patch ... [ ok ] * Applying 0011-ps3stor-send-cmd-timeout.patch ... [ ok ] * Applying 0030-ps3flash.patch ... [ ok ] * Applying 0035-ps3-partition.patch ... patching file block/partitions/Kconfig Hunk #1 succeeded at 264 with fuzz 1 (offset 2 lines). patching file block/partitions/Makefile Hunk #1 succeeded at 20 (offset -1 lines). patching file block/partitions/core.c Hunk #1 succeeded at 11 with fuzz 2. patching file block/partitions/ps3.c patching file block/partitions/ps3.h [ ok ] * Applying 0040-ps3sysmgr-lpar-reboot.patch ... [ ok ] * Applying 0050-ps3sysmgr-char-device.patch ... [ ok ] * Applying 0060-ps3avmgr-char-device.patch ... patching file drivers/ps3/ps3av.c Hunk #1 succeeded at 12 with fuzz 2 (offset -1 lines). Hunk #2 succeeded at 27 (offset 1 line). Hunk #3 succeeded at 53 (offset 1 line). Hunk #4 succeeded at 927 with fuzz 1 (offset 1 line). Hunk #5 succeeded at 1055 (offset 1 line). Hunk #6 succeeded at 1092 (offset 1 line). [ ok ] * Applying 0070-ps3dispmgr.patch ... [ ok ] * Applying 0080-ps3rom-vendor-specific-command.patch ... [ ok ] * Applying 0100-lv1call-repo-node-lparid-param.patch ... [ ok ] * Applying 0110-lv1call-add-hvcalls-114-115.patch ... [ ok ] * Applying 0120-lv1call-add-storage-region-hvcalls.patch ... [ ok ] * Applying 0140-ps3strgmngr.patch ... patching file drivers/chaMakefile Hunk #1 succeeded at 40 with fuzz 2 (offset -3 lines). patching file arch/powerpc/platforms/ps3/Kconfig Hunk #1 succeeded at 198 with fuzz 2 (offset 10 lines). patching file arch/powerpc/include/uapi/asm/Kbuild patching file arch/powerpc/include/asm/ps3strgmngr.h patching file drivers/chaps3strgmngr.c [ ok ] * Applying 0150-ps3jupiter.patch ... [ ok ] * Applying 0160-gelic-disable-eurus-ctrl-iface.patch ... [ ok ] * Applying 0170-gelic-wireless-print-cmd-status.patch ... [ ok ] * Applying 0180-lv1call-add-undocumented-spe-hvcalls.patch ... [ ok ] * Applying 0190-export-spe-irq-setup-destroy.patch ... [ ok ] * Applying 0200-export-event-receive-port-destroy.patch ... [ ok ] * Applying 0210-ps3encdec.patch ... patching file arch/powerpc/include/asm/ps3.h Hunk #1 succeeded at 317 (offset -11 lines). Hunk #2 succeeded at 339 (offset -11 lines). patching file arch/powerpc/platforms/ps3/platform.h Hunk #1 succeeded at 77 (offset -12 lines). patching file arch/powerpc/platforms/ps3/device-init.c Hunk #1 succeeded at 608 (offset -13 lines). patching file arch/powerpc/platforms/ps3/system-bus.c Hunk #1 succeeded at 164 (offset -11 lines). Hunk #2 succeeded at 205 (offset -11 lines). patching file drivers/ps3/ps3stor_lib.c Hunk #1 succeeded at 78 (offset -12 lines). patching file arch/powerpc/platforms/ps3/Kconfig Hunk #1 succeeded at 205 (offset 13 lines). patching file drivers/chaMakefile Hunk #1 succeeded at 41 with fuzz 2 (offset -3 lines). patching file drivers/chaps3encdec.c [ ok ] * Applying 0220-spuisofs.patch ... [ ok ] * Applying 0230-spuldrfs.patch ... [ ok ] * Applying 0240-ps3lv1call.patch ... patching file drivers/chaMakefile Hunk #1 succeeded at 43 with fuzz 2 (offset -3 lines). patching file arch/powerpc/platforms/ps3/Kconfig Hunk #1 succeeded at 229 (offset 9 lines). patching file drivers/chaps3lv1call/Makefile patching file drivers/chaps3lv1call/generic_lv1call.S patching file drivers/chaps3lv1call/ps3lv1call_misc.c [ ok ] * Applying 0250-lv1call-add-debug-console-hvcalls.patch ... [ ok ] * Applying 0260-udbg-lv1-console.patch ... [ ok ] * Applying 0700-ps3vram-mod-ps3fb.patch ... [ ok ] * Applying 1000-ps3disk-fix-bvec-memcpy.patch ... [ ok ] * Applying 1000_linux-6.6.1.patch ... [ ok ] * Applying 1001_linux-6.6.2.patch ... [ ok ] * Applying 1002_linux-6.6.3.patch ... [ ok ] * Applying 1003_linux-6.6.4.patch ... [ ok ] * Applying 1004_linux-6.6.5.patch ... [ ok ] * Applying 1005_linux-6.6.6.patch ... [ ok ] * Applying 1006_linux-6.6.7.patch ... [ ok ] * Applying 1007_linux-6.6.8.patch ... [ ok ] * Applying 1510_fs-enable-link-security-restrictions-by-default.patch ... [ ok ] * Applying 1700_sparc-address-warray-bound-warnings.patch ... [ ok ] * Applying 1730_parisc-Disable-prctl.patch ... [ ok ] * Applying 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch ... patching file net/bluetooth/hci_conn.c Hunk #1 succeeded at 2348 with fuzz 1 (offset 1076 lines). [ ok ] * Applying 2410_iwlwifi-rfkill-fix.patch ... [ ok ] * Applying 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch ... [ ok ] * Applying 2910_bfp-mark-get-entry-ip-as--maybe-unused.patch ... [ ok ] * Applying 2920_sign-file-patch-for-libressl.patch ... [ ok ] * Applying 3000_Support-printing-firmware-info.patch ... [ ok ] * Applying 4567_distro-Gentoo-Kconfig.patch ... [ ok ] * Applying ps3-gelic-skb-alloc.patch ... patching file mm/page_alloc.c Hunk #1 succeeded at 286 with fuzz 1 (offset -52 lines). [ ok ] HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf # # configuration written to .config # Using .config as base Merging /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/temp/version.config Value of CONFIG_LOCALVERSION is redefined by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/temp/version.config: Previous value: CONFIG_LOCALVERSION="" New value: CONFIG_LOCALVERSION="-gentoo-ps3-dist" Merging /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config Value of CONFIG_DEBUG_INFO is redefined by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Previous value: CONFIG_DEBUG_INFO=y New value: # CONFIG_DEBUG_INFO is not set Value of CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is redefined by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Previous value: CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y New value: # CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set Value of CONFIG_DEBUG_RODATA_TEST is redundant by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Value of CONFIG_DEBUG_VM is redundant by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Value of CONFIG_DEBUG_VM_PGTABLE is redundant by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Value of CONFIG_DEBUG_SHIRQ is redundant by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Value of CONFIG_DEBUG_LIST is redefined by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Previous value: CONFIG_DEBUG_LIST=y New value: # CONFIG_DEBUG_LIST is not set Value of CONFIG_BUG_ON_DATA_CORRUPTION is redundant by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Value of CONFIG_KGDB is redundant by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Value of CONFIG_DEBUG_KERNEL is redefined by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/no-debug.config: Previous value: CONFIG_DEBUG_KERNEL=y New value: # CONFIG_DEBUG_KERNEL is not set Merging /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/big-endian.config Value of CONFIG_CPU_BIG_ENDIAN is redundant by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/big-endian.config: Value of CONFIG_CPU_LITTLE_ENDIAN is redundant by fragment /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/gentoo-kernel-config-g11/big-endian.config: # # merged configuration written to .config (needs make) # >>> Source prepared. >>> Configuring source in /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6 ... make -j5 -l2 O=/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/modprep V=1 HOSTCC=powerpc64-unknown-linux-gnu-gcc HOSTCXX=powerpc64-unknown-linux-gnu-g++ 'HOSTCFLAGS=-O3 -pipe -mcpu=cell -mtune=cell -mabi=altivec -maltivec -flto' 'HOSTLDFLAGS=-Wl,-O1 -Wl,--as-needed' CROSS_COMPILE=powerpc64-unknown-linux-gnu- AS=powerpc64-unknown-linux-gnu-as CC=powerpc64-unknown-linux-gnu-gcc LD=powerpc64-unknown-linux-gnu-ld.bfd AR=powerpc64-unknown-linux-gnu-ar NM=powerpc64-unknown-linux-gnu-nm STRIP=powerpc64-unknown-linux-gnu-strip OBJCOPY=powerpc64-unknown-linux-gnu-objcopy OBJDUMP=powerpc64-unknown-linux-gnu-objdump ARCH=powerpc olddefconfig make -C /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/modprep \ -f /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6/Makefile olddefconfig make[1]: Entering directory '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/modprep' make --no-print-directory -C /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/modprep \ -f /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6/Makefile olddefconfig make -f /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6/scripts/Makefile.build obj=scripts/basic *** *** The source tree is not clean, please run 'make ARCH=powerpc mrproper' *** in /vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6 *** make[2]: *** [/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6/Makefile:651: outputmakefile] Error 1 make[1]: *** [/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6/Makefile:234: __sub-make] Error 2 make[1]: Leaving directory '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/modprep' make: *** [Makefile:234: __sub-make] Error 2 * ERROR: sys-kernel/gentoo-kernel-ps3-6.6.8::local failed (configure phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-kernel/gentoo-kernel-ps3-6.6.8::local'`, * the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-kernel-ps3-6.6.8::local'`. * The complete build log is located at '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/temp/build.log'. * The ebuild environment file is located at '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/temp/environment'. * Working directory: '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6' * S: '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6' >>> Failed to emerge sys-kernel/gentoo-kernel-ps3-6.6.8, Log file: >>> '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/temp/build.log' * Messages for package sys-kernel/gentoo-kernel-ps3-6.6.8: * sys-kernel/linux-firmware not found installed on your system. * This package provides various firmware files that may be needed * for your hardware to work. If in doubt, it is recommended * to pause or abort the build process and install it before * resuming. * * If you decide to install linux-firmware later, you can rebuild * the initramfs via issuing a command equivalent to: * * emerge --config sys-kernel/gentoo-kernel-ps3:6.6.8 * Messages for package sys-kernel/gentoo-kernel-ps3-6.6.8: * ERROR: sys-kernel/gentoo-kernel-ps3-6.6.8::local failed (configure phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-kernel/gentoo-kernel-ps3-6.6.8::local'`, * the complete build log and the output of `emerge -pqv '=sys-kernel/gentoo-kernel-ps3-6.6.8::local'`. * The complete build log is located at '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/temp/build.log'. * The ebuild environment file is located at '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/temp/environment'. * Working directory: '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6' * S: '/vatmp/portage/sys-kernel/gentoo-kernel-ps3-6.6.8/work/linux-6.6'I think also, that for some reason my configuration file is overwritten or lost, when I later run make menuconfig in work/linux-6.6 I see:
# using defaults found in arch/powerpc/configs/ppc64_defconfig
2023.12.05 19:32 blamblambunny Qt Slot Problems / Rebuild
[ebuild N ] dev-python/webencodings-0.5.1-r2 [ebuild N ] dev-python/html5lib-1.1-r1 [ebuild N ] dev-qt/qtbase-6.5.3-r1 [ebuild N ] dev-qt/qttools-6.5.3 [ebuild N ] dev-qt/qttranslations-6.5.3 [ebuild N ] dev-qt/qtshadertools-6.5.3 [ebuild NS ] dev-qt/qtcharts-6.5.3 [5.15.10] [ebuild NS ] dev-qt/qtserialport-6.5.3 [5.15.10] [ebuild NS ] dev-qt/qtsvg-6.5.3 [5.15.10] [ebuild NS ] dev-qt/qtdeclarative-6.5.3 [5.15.10-r3] [ebuild NS ] dev-qt/qt3d-6.5.3 [5.15.10] [ebuild NS ] dev-qt/qtwebchannel-6.5.3 [5.15.10] [ebuild NS ] dev-qt/qtpositioning-6.5.3 [5.15.10] [ebuild NS ] dev-qt/qtwebengine-6.5.3 [5.15.10_p20230815] [ebuild NS ] dev-qt/qtmultimedia-6.5.3 [5.15.10]Thanks!
2023.11.14 05:14 PandaSoli Updating binary kernel - No space left on device
2023.08.28 15:09 vitaly-zdanevich Creating an ebuild for Geeknote: "cannot copy autocomplete script completion/bash_completion/_geeknote to /etc/bash_completion.d, got root ?", SANDBOX ACCESS VIOLATION
2023-08-28 16:51:36,468 wheel INFO installing to build/bdist.linux-x8664/wheel 2023-08-28 16:51:36,468 root INFO running install * ACCESS DENIED: open_wr: /etc/bash_completion.d/_geeknote 2023-08-28 16:51:36,472 root INFO running install_lib 2023-08-28 16:51:36,474 root INFO creating build/bdist.linux-x86_64 2023-08-28 16:51:36,474 root INFO creating build/bdist.linux-x86_64/wheel 2023-08-28 16:51:36,474 root INFO creating build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,474 root INFO copying build/lib/geeknote/storage.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,474 root INFO copying build/lib/geeknote/init_.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,474 root INFO copying build/lib/geeknote/out.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,474 root INFO copying build/lib/geeknote/editor.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,474 root INFO copying build/lib/geeknote/argparser.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,475 root INFO copying build/lib/geeknote/tools.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,475 root INFO copying build/lib/geeknote/log.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,475 root INFO copying build/lib/geeknote/oauth.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,475 root INFO copying build/lib/geeknote/gclient.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,475 root INFO copying build/lib/geeknote/gnsync.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,475 root INFO copying build/lib/geeknote/geeknote.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,475 root INFO copying build/lib/geeknote/config.py -> build/bdist.linux-x86_64/wheel/geeknote 2023-08-28 16:51:36,475 root WARNING warning: install_lib: byte-compiling is disabled, skipping.Verifying ebuild manifests
Emerging (1 of 1) dev-python/geeknote-2.0.20::guru Unpacking source... * Repository id: jeffkowalskigeeknote.git * To override fetched repository properties, use: * EGIT_OVERRIDE_REPO_JEFFKOWALSKI_GEEKNOTE * EGIT_OVERRIDE_BRANCH_JEFFKOWALSKI_GEEKNOTE * EGIT_OVERRIDE_COMMIT_JEFFKOWALSKI_GEEKNOTE * EGIT_OVERRIDE_COMMIT_DATE_JEFFKOWALSKI_GEEKNOTE * * Fetching https://github.com/jeffkowalski/geeknote ... git fetch https://github.com/jeffkowalski/geeknote +HEAD:refs/git-r3/HEAD git symbolic-ref refs/git-r3/dev-python/geeknote/0/main_ refs/git-r3/HEAD * Checking out https://github.com/jeffkowalski/geeknote to /vatmp/portage/dev-python/geeknote-2.0.20/work/geeknote-2.0.20 ... git checkout --quiet refs/git-r3/HEAD GIT update repository: https://github.com/jeffkowalski/geeknote at the commit: 4bf762b185191385484432e0b2922a4e9bc1050f Source unpacked in /vatmp/portage/dev-python/geeknote-2.0.20/work Preparing source in /vatmp/portage/dev-python/geeknote-2.0.20/work/geeknote-2.0.20 ... * Build system packages: * dev-python/gpep517 : 13 * dev-python/installer : 0.7.0 * dev-python/setuptools : 67.8.0-r1 * dev-python/setuptools-rust : 1.6.0 * dev-python/setuptools-scm : 7.1.0 * dev-python/wheel : 0.40.0 Source prepared. Configuring source in /vatmp/portage/dev-python/geeknote-2.0.20/work/geeknote-2.0.20 ... Source configured. Compiling source in /vatmp/portage/dev-python/geeknote-2.0.20/work/geeknote-2.0.20 ... * python311: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for geeknote-2.0.20 via setuptools.build_meta:legacy_ gpep517 build-wheel --backend setuptools.buildmeta:legacy_ --output-fd 3 --wheel-dir /vatmp/portage/dev-python/geeknote-2.0.20/work/geeknote-2.0.20-python311/wheel 2023-08-28 16:51:36,422 gpep517 INFO Building wheel via backend setuptools.build_meta:legacy_ 2023-08-28 16:51:36,438 root INFO running bdistwheel 2023-08-28 16:51:36,461 root INFO running build 2023-08-28 16:51:36,461 root INFO running build_py 2023-08-28 16:51:36,464 root INFO creating build 2023-08-28 16:51:36,464 root INFO creating build/lib 2023-08-28 16:51:36,464 root INFO creating build/lib/geeknote 2023-08-28 16:51:36,464 root INFO copying geeknote/storage.py -> build/lib/geeknote 2023-08-28 16:51:36,464 root INFO copying geeknote/init_.py -> build/lib/geeknote 2023-08-28 16:51:36,464 root INFO copying geeknote/out.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root INFO copying geeknote/editor.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root INFO copying geeknote/argparser.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root INFO copying geeknote/tools.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root INFO copying geeknote/log.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root INFO copying geeknote/oauth.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root INFO copying geeknote/gclient.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root INFO copying geeknote/gnsync.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root INFO copying geeknote/geeknote.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root INFO copying geeknote/config.py -> build/lib/geeknote 2023-08-28 16:51:36,465 root WARNING warning: build_py: byte-compiling is disabled, skipping.
but I did chmod and chown: ls -lh /etc/bash_completion.d/ total 16K drwxrwxrwx 2 vitaly vitaly 4.0K Aug 28 16:47 _geeknoteFailed to emerge dev-python/geeknote-2.0.20, Log file: ```
2023.08.27 23:21 vitaly-zdanevich Trying to create an ebuild for dev-python/evernote: "Unable to obtain build-backend from pyproject.toml"
pkgcheck scan returns onlyEmerging (1 of 1) dev-python/evernote-1.25.1::guru * evernote-1.25.1.gh.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] Unpacking source... Unpacking evernote-1.25.1.gh.tar.gz to /vatmp/portage/dev-python/evernote-1.25.1/work Source unpacked in /vatmp/portage/dev-python/evernote-1.25.1/work Preparing source in /vatmp/portage/dev-python/evernote-1.25.1/work/evernote-sdk-python3-1.25.1 ... * Build system packages: * dev-python/gpep517 : 13 * dev-python/installer : 0.7.0 * dev-python/setuptools : 67.8.0-r1 * dev-python/setuptools-rust : 1.6.0 * dev-python/setuptools-scm : 7.1.0 * dev-python/wheel : 0.40.0 Source prepared. Configuring source in /vatmp/portage/dev-python/evernote-1.25.1/work/evernote-sdk-python3-1.25.1 ... Source configured. Compiling source in /vatmp/portage/dev-python/evernote-1.25.1/work/evernote-sdk-python3-1.25.1 ... * python3_11: running distutils-r1_run_phase distutils-r1_python_compile * ERROR: dev-python/evernote-1.25.1::guru failed (compile phase): * Unable to obtain build-backend from pyproject.toml * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3924: Called distutils-r1_src_compile * environment, line 1946: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 787: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3548: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3105: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3103: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1226: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1928: Called distutils-r1_python_compile * environment, line 1747: Called distutils_pep517_install '/vatmp/portage/dev-python/evernote-1.25.1/work/evernote-sdk-python3-1.25.1-python3_11/install' * environment, line 2273: Called _distutils-r1_get_backend * environment, line 577: Called die * The specific snippet of code: * die "Unable to obtain build-backend from pyproject.toml"; ```
PythonMismatchedPackageName: package name does not match remote-id, recommended name: 'evernote3'Thank you for help.
2023.07.20 15:11 volkosobik What does it want from me?
submitted by volkosobik to Gentoo [link] [comments] |
2023.05.21 23:25 Some_Wiimmfi__guy Steam installation attempt: libdrm slot conflict
2023.04.25 06:07 Cielnova "Multiple package instances within a single package slot have been pulled" error giving me grief
2023.04.07 22:28 vitaly-zdanevich Adopting ebuild for guru: media-font/firago, no error but looks like the font is not installed :(
# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 MY_FONT_TYPES=( otf +ttf ) MY_PN="FiraGO" MY_PV="${PV/.}" MY_P="Download_Folder_${MY_PN}_${MY_PV}" FONT_S=( ${MY_PN}_{O,T}TF_${MY_PV}/{Italic,Roman} ) inherit font DESCRIPTION="A continuation of FiraSans" HOMEPAGE="https://bboxtype.com/typefaces/FiraGO" SRC_URI="https://bboxtype.com/downloads/${MY_PN}/${MY_P}.zip" LICENSE="OFL-1.1" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" BDEPEND="app-arch/unzip" S="${WORKDIR}/${MY_P}/Fonts" DOCS=( ${MY_PN}_${MY_PV}_CHANGE_LOG.rtf )Installation log:
# emerge -a media-fonts/firagobut no new font neither in /usshare/fonts/ nor in fc-list.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 1.87 s.
[ebuild R ~] media-fonts/firago-1.001
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-fonts/firago-1.001::guru
* Download_Folder_FiraGO_1001.zip BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking Download_Folder_FiraGO_1001.zip to /vatmp/portage/media-fonts/firago-1.001/work
>>> Source unpacked in /vatmp/portage/media-fonts/firago-1.001/work
>>> Preparing source in /vatmp/portage/media-fonts/firago-1.001/work/Download_Folder_FiraGO_1001/Fonts ...
>>> Source prepared.
>>> Configuring source in /vatmp/portage/media-fonts/firago-1.001/work/Download_Folder_FiraGO_1001/Fonts ...
>>> Source configured.
>>> Compiling source in /vatmp/portage/media-fonts/firago-1.001/work/Download_Folder_FiraGO_1001/Fonts ...
>>> Source compiled.
>>> Test phase [not enabled]: media-fonts/firago-1.001
>>> Install media-fonts/firago-1.001 into /vatmp/portage/media-fonts/firago-1.001/image
* Creating fonts.scale & fonts.dir in Italic
* Creating fonts.scale & fonts.dir in Roman
* Creating fonts.scale & fonts.dir in Italic
* Creating fonts.scale & fonts.dir in Roman
>>> Completed installing media-fonts/firago-1.001 into /vatmp/portage/media-fonts/firago-1.001/image
* Final size of build directory: 85468 KiB (83.4 MiB)
* Final size of installed tree: 108 KiB
>>> Installing (1 of 1) media-fonts/firago-1.001::guru
* Cleaning up font directories ... [ ok ]
* Updating global fontcache ... [ ok ]
* Updating global fontcache ... [ ok ]
* GNU info directory index is up-to-date.
2023.04.05 20:54 vitaly-zdanevich I wrote an AppImage ebuild - should it be unpacked on install?