[gentoo-user] Failed to emerge x11-libs/libwnck-43.0-r1
Trying to update the system but I fails at Failed to emerge x11-libs/libwnck-43.0-r1 Here is the output: cat /var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/build.log * Package:x11-libs/libwnck-43.0-r1:3 * Repository: gentoo * Maintainer: gn...@gentoo.org * USE:abi_x86_64 amd64 elibc_glibc introspection kernel_linux startup-notification userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Applying libwnck-43.0-xres-extension.patch ... patching file libwnck/wnck-handle-private.h patching file libwnck/wnck-handle.c patching file meson.build patching file libwnck/xutils.c patching file libwnck/application.c patching file libwnck/window.c patching file libwnck/wnck-resource-usage.c patching file libwnck/xutils.c patching file libwnck/xutils.h patching file libwnck/xutils.c [ ok ] * Applying libwnck-43.0-segfault_in_invalidate_icons.patch ... [ ok ] * == * Applying user patches from /etc/portage/patches ... * Applying diffs.patch ... patching file libwnck/wnck-handle-private.h Hunk #1 succeeded at 28 with fuzz 2 (offset 2 lines). patching file libwnck/wnck-handle.c Hunk #1 succeeded at 34 with fuzz 2 (offset 5 lines). Hunk #2 succeeded at 55 with fuzz 2 (offset 7 lines). Hunk #3 succeeded at 215 with fuzz 1 (offset 44 lines). Hunk #4 FAILED at 331. Hunk #5 succeeded at 435 with fuzz 1 (offset 51 lines). 1 out of 5 hunks FAILED -- saving rejects to file libwnck/wnck-handle.c.rej patching file meson.build Hunk #1 FAILED at 45. 1 out of 1 hunk FAILED -- saving rejects to file meson.build.rej patching file libwnck/xutils.c Hunk #1 FAILED at 1145. Hunk #2 FAILED at 1172. 2 out of 2 hunks FAILED -- saving rejects to file libwnck/xutils.c.rej patching file libwnck/application.c Hunk #1 FAILED at 524. 1 out of 1 hunk FAILED -- saving rejects to file libwnck/application.c.rej patching file libwnck/window.c Hunk #1 FAILED at 510. 1 out of 1 hunk FAILED -- saving rejects to file libwnck/window.c.rej patching file libwnck/wnck-resource-usage.c Hunk #1 FAILED at 126. Hunk #2 FAILED at 138. Hunk #3 FAILED at 250. 3 out of 3 hunks FAILED -- saving rejects to file libwnck/wnck-resource-usage.c.rej patching file libwnck/xutils.c Hunk #1 FAILED at 1147. Hunk #2 FAILED at 1178. Hunk #3 FAILED at 1190. 3 out of 3 hunks FAILED -- saving rejects to file libwnck/xutils.c.rej patching file libwnck/xutils.h Hunk #1 FAILED at 123. 1 out of 1 hunk FAILED -- saving rejects to file libwnck/xutils.h.rej patching file libwnck/xutils.c Hunk #1 succeeded at 1159 with fuzz 2 (offset 3 lines). [ !! ] * ERROR: x11-libs/libwnck-43.0-r1::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2278: Called default * phase-functions.sh, line 872: Called default_src_prepare * phase-functions.sh, line 948: Called __eapi8_src_prepare * environment, line 372: Called eapply_user * environment, line 1115: Called eapply '/etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch' * environment, line 1078: Called _eapply_patch '/etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch' * environment, line 1016: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=x11-libs/libwnck-43.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=x11-libs/libwnck-43.0-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/x11-libs/libwnck-43.0-r1/work/libwnck-43.0' -- Thelma
Re: [gentoo-user] Failed to emerge x11-libs/libwnck-43.0-r1
On 4/15/23 07:48, the...@sys-concept.com wrote: Trying to update the system but I fails at Failed to emerge x11-libs/libwnck-43.0-r1 Here is the output: cat /var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/build.log * Package: x11-libs/libwnck-43.0-r1:3 * Repository: gentoo * Maintainer: gn...@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc introspection kernel_linux startup-notification userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Applying libwnck-43.0-xres-extension.patch ... patching file libwnck/wnck-handle-private.h patching file libwnck/wnck-handle.c patching file meson.build patching file libwnck/xutils.c patching file libwnck/application.c patching file libwnck/window.c patching file libwnck/wnck-resource-usage.c patching file libwnck/xutils.c patching file libwnck/xutils.h patching file libwnck/xutils.c [ ok ] * Applying libwnck-43.0-segfault_in_invalidate_icons.patch ... [ ok ] * == * Applying user patches from /etc/portage/patches ... * Applying diffs.patch ... patching file libwnck/wnck-handle-private.h Hunk #1 succeeded at 28 with fuzz 2 (offset 2 lines). patching file libwnck/wnck-handle.c Hunk #1 succeeded at 34 with fuzz 2 (offset 5 lines). Hunk #2 succeeded at 55 with fuzz 2 (offset 7 lines). Hunk #3 succeeded at 215 with fuzz 1 (offset 44 lines). Hunk #4 FAILED at 331. Hunk #5 succeeded at 435 with fuzz 1 (offset 51 lines). 1 out of 5 hunks FAILED -- saving rejects to file libwnck/wnck-handle.c.rej patching file meson.build Hunk #1 FAILED at 45. 1 out of 1 hunk FAILED -- saving rejects to file meson.build.rej patching file libwnck/xutils.c Hunk #1 FAILED at 1145. Hunk #2 FAILED at 1172. 2 out of 2 hunks FAILED -- saving rejects to file libwnck/xutils.c.rej patching file libwnck/application.c Hunk #1 FAILED at 524. 1 out of 1 hunk FAILED -- saving rejects to file libwnck/application.c.rej patching file libwnck/window.c Hunk #1 FAILED at 510. 1 out of 1 hunk FAILED -- saving rejects to file libwnck/window.c.rej patching file libwnck/wnck-resource-usage.c Hunk #1 FAILED at 126. Hunk #2 FAILED at 138. Hunk #3 FAILED at 250. 3 out of 3 hunks FAILED -- saving rejects to file libwnck/wnck-resource-usage.c.rej patching file libwnck/xutils.c Hunk #1 FAILED at 1147. Hunk #2 FAILED at 1178. Hunk #3 FAILED at 1190. 3 out of 3 hunks FAILED -- saving rejects to file libwnck/xutils.c.rej patching file libwnck/xutils.h Hunk #1 FAILED at 123. 1 out of 1 hunk FAILED -- saving rejects to file libwnck/xutils.h.rej patching file libwnck/xutils.c Hunk #1 succeeded at 1159 with fuzz 2 (offset 3 lines). [ !! ] * ERROR: x11-libs/libwnck-43.0-r1::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2278: Called default * phase-functions.sh, line 872: Called default_src_prepare * phase-functions.sh, line 948: Called __eapi8_src_prepare * environment, line 372: Called eapply_user * environment, line 1115: Called eapply '/etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch' * environment, line 1078: Called _eapply_patch '/etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch' * environment, line 1016: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/x11-libs/libwnck-43.0/diffs.patch' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" On my other systems x11-libs/libwnck-43.0-r1 emerged just find, so I don't know why is it failing, I did emerge --sync again but it doesn't help.
Re: [gentoo-user] Failed to emerge x11-libs/libwnck-43.0-r1
On Sat, Apr 15, 2023 at 08:01:46AM -0600, the...@sys-concept.com wrote: > On 4/15/23 07:48, the...@sys-concept.com wrote: > > Trying to update the system but I fails at > > > > Failed to emerge x11-libs/libwnck-43.0-r1 > > > > Here is the output: > > > > cat /var/tmp/portage/x11-libs/libwnck-43.0-r1/temp/build.log > > [...] > > * Applying user patches from /etc/portage/patches ... > > * Applying diffs.patch ... > > [...] > > On my other systems x11-libs/libwnck-43.0-r1 emerged just find, so I don't > know why is it failing, I did emerge --sync again but it doesn't help. > Your diffs.patch is probably outdated.
Re: [gentoo-user] Failed to emerge x11-libs/libwnck-43.0-r1
On Sat, 15 Apr 2023 07:48:15 -0600, the...@sys-concept.com wrote: > Trying to update the system but I fails at > > Failed to emerge x11-libs/libwnck-43.0-r1 > > Here is the output: > > * Applying user patches from /etc/portage/patches ... > * Applying diffs.patch ... You have a patch file in /etc/portage/patches that is probably no longer needed/valid. Either remove it or rename the directory containing it to specify the currently installed version but exclude the new version. -- Neil Bothwick If you got the words it does not mean you got the knowledge. pgpVPjsoP2hiD.pgp Description: OpenPGP digital signature
[gentoo-user] Re: Converting shell globs to regular expressions
On 2023-04-13, Dr Rainer Woitok wrote: > Greetings, > > does anybody know about some command to convert shell globs (shell pat- > terns) into regular expressions? Back in the old Unix days there was a > "glob" command, but "e-files" only turns up a GNU library. > > I am aware of Python's "fnmatch.translate()" function, but this -- of > course -- returns a Python style regular expression which I can't use > together with "grep" or "gawk". So using this function would require > moving and converting the "grep" and "gawk" specific code from my Shell > script into a separate Python script. This would be doable, if neces- > sary, but I would prefer staying with just my Shell script. > > Any pointers heartily welcome :-) What did the "glob" utility you remember do? Sources at TUHS have a "glob" utility, but it seems to execute a given command after expanding the glob, instead of outputting a translation (which I think is what you're describing?). Do you remember which system did you see this on? Perhaps this could be a question for alt.folklore.computers or a comp.unix.* group on USENET too! The "glob" utility at TUHS: https://minnie.tuhs.org/cgi-bin/utree.pl?file=V5/usr/source/s1/glob.c and the source for its online manual page from V6: https://www.tuhs.org/cgi-bin/utree.pl?file=V6%2Fusr%2Fman%2Fman8%2Fglob.8 -- Nuno Silva
Re: [gentoo-user] Failed to emerge x11-libs/libwnck-43.0-r1
On 4/15/23 08:17, Neil Bothwick wrote: On Sat, 15 Apr 2023 07:48:15 -0600, the...@sys-concept.com wrote: Trying to update the system but I fails at Failed to emerge x11-libs/libwnck-43.0-r1 Here is the output: * Applying user patches from /etc/portage/patches ... * Applying diffs.patch ... You have a patch file in /etc/portage/patches that is probably no longer needed/valid. Either remove it or rename the directory containing it to specify the currently installed version but exclude the new version. Thank you, yes that was it. I remember patching last time, forgot to remove it.
[gentoo-user] Finally got a SSD drive to put my OS on
Howdy, I finally broke down and bought a SSD. It's a Samsung V-Nand 870 EVO 500GB. My current OS sits on a 160GB drive so should be plenty. I plan to even add a boot image for the Gentoo LiveGUI thingy, maybe Knoppix or something plus my usual OS. By the way, caught one for sale for $40.00. It has a production date of 5/2021. My question is this. Do I need anything special in the kernel or special fstab options for this thing? I know at one point there was folks having problems with certain settings. I did some googling and it seems to be worked out but I want to be sure I don't blow this thing up or something. Anything else that makes these special? Any tips or tricks? Dale :-) :-) P. S. I'm hoping this will make my system a little more responsive. Maybe. Either way, that 160GB drive is getting a little full.
Re: [gentoo-user] Finally got a SSD drive to put my OS on
On Sat, Apr 15, 2023 at 3:47 PM Dale wrote: > > Howdy, > > I finally broke down and bought a SSD. It's a Samsung V-Nand 870 EVO > 500GB. My current OS sits on a 160GB drive so should be plenty. I plan > to even add a boot image for the Gentoo LiveGUI thingy, maybe Knoppix or > something plus my usual OS. By the way, caught one for sale for > $40.00. It has a production date of 5/2021. > > My question is this. Do I need anything special in the kernel or > special fstab options for this thing? I know at one point there was > folks having problems with certain settings. I did some googling and it > seems to be worked out but I want to be sure I don't blow this thing up > or something. > > Anything else that makes these special? Any tips or tricks? > > Dale > > :-) :-) > > P. S. I'm hoping this will make my system a little more responsive. > Maybe. Either way, that 160GB drive is getting a little full. > Dale, I have 500GB SSDs and 1TB M.2 drives in all of my machines. No machine boots from a spinning drive anyhmore. Never had any problems. The only thing I've done differently is the errors=remount=ro item below. Other than that if whatever OS you install sets up boot, and the machine boots, then it's just a drive in my experience Best wishes, Mark # / was on /dev/nvme1n1p3 during installation UUID=3fe6798f-653f-42e8-8e96-7ba0d490bfdf / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/nvme0n1p1 during installation UUID=60DF-9F56 /boot/efi vfatumask=0077 0 1
Re: [gentoo-user] Finally got a SSD drive to put my OS on
On 4/15/23 17:24, Mark Knecht wrote: On Sat, Apr 15, 2023 at 3:47 PM Dale mailto:rdalek1...@gmail.com>> wrote: > > Howdy, > > I finally broke down and bought a SSD. It's a Samsung V-Nand 870 EVO > 500GB. My current OS sits on a 160GB drive so should be plenty. I plan > to even add a boot image for the Gentoo LiveGUI thingy, maybe Knoppix or > something plus my usual OS. By the way, caught one for sale for > $40.00. It has a production date of 5/2021. > > My question is this. Do I need anything special in the kernel or > special fstab options for this thing? I know at one point there was > folks having problems with certain settings. I did some googling and it > seems to be worked out but I want to be sure I don't blow this thing up > or something. > > Anything else that makes these special? Any tips or tricks? > > Dale > > :-) :-) > > P. S. I'm hoping this will make my system a little more responsive. > Maybe. Either way, that 160GB drive is getting a little full. > Dale, I have 500GB SSDs and 1TB M.2 drives in all of my machines. No machine boots from a spinning drive anyhmore. Never had any problems. The only thing I've done differently is the errors=remount=ro item below. Other than that if whatever OS you install sets up boot, and the machine boots, then it's just a drive in my experience Best wishes, Mark # / was on /dev/nvme1n1p3 during installation UUID=3fe6798f-653f-42e8-8e96-7ba0d490bfdf / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/nvme0n1p1 during installation UUID=60DF-9F56 /boot/efi vfat umask=0077 0 1 My 5-year old small box running 500GB SSD INTEL SSDSC2BF48 Atom processor, it is ON 24/7 running Asterisk and hylafax. Never had a problem with it. But it is recommended to to run via cron fstrim: 30 18 * * 2 /sbin/fstrim -v /
[gentoo-user] dev-lang/php - making binary
php-7.4 will be getting obsolete in the future and converting my code to php-8 might not be easy. So I want to make a binary of the current dev-lang/php-7.4.33-r2 just in case in the near future they will pull out the old version out of the portage. Will making binary allow me to install dev-lang/php-7.4.33-r2 (binary) with future upgrades (after PHP-7.4 is gone from the portage)? Do I need to make binary of packages dev-lang/php-7.4 depends on? equery d dev-lang/php * These packages depend on dev-lang/php: dev-db/phpmyadmin-5.2.1 (dev-lang/php[ctype,filter,json(+),session,ssl,unicode]) (dev-lang/php[mysqli]) (dev-lang/php[mysql]) media-libs/libvpx-1.12.0-r1 (doc ? dev-lang/php) virtual/httpd-php-7.4 (dev-lang/php:7.4[fpm]) (dev-lang/php:7.4[apache2]) (dev-lang/php:7.4[cgi] Step to make PHP-7.4 binary (am I missing anything)? 1. add package to: /etc/portage/package.use echo " dev-lang/php mysql mysqli gd" >> /etc/portage/package.use 2.) emerge --buildpk dev-lang/php 3.) The binary package file will be created in the /usr/portage/packages directory. 4.) To install the binary package on another Gentoo system, copy the .tbz2 file to the other system's /usr/portage/packages directory and run the following command: emerge --usepkg dev-lang/php Am I missing anything? -- Thelma
Re: [gentoo-user] dev-lang/php - making binary
On Sat, 2023-04-15 at 18:57 -0600, the...@sys-concept.com wrote: > So I want to make a binary of the current dev-lang/php-7.4.33-r2 just > in case in the near future they will pull out the old version out of > the portage. > > Will making binary allow me to install dev-lang/php-7.4.33-r2 > (binary) with future upgrades (after PHP-7.4 is gone from the > portage)? You can keep a copy of the ebuild so even if it's removed from portage you will be able to install it. Even without a copy, you will be able to retrieve it from git history. -- Julien signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Finally got a SSD drive to put my OS on
On 16/4/23 06:47, Dale wrote: Howdy, I finally broke down and bought a SSD. It's a Samsung V-Nand 870 EVO 500GB. My current OS sits on a 160GB drive so should be plenty. I plan to even add a boot image for the Gentoo LiveGUI thingy, maybe Knoppix or something plus my usual OS. By the way, caught one for sale for $40.00. It has a production date of 5/2021. My question is this. Do I need anything special in the kernel or special fstab options for this thing? I know at one point there was folks having problems with certain settings. I did some googling and it seems to be worked out but I want to be sure I don't blow this thing up or something. Anything else that makes these special? Any tips or tricks? Dale :-) :-) P. S. I'm hoping this will make my system a little more responsive. Maybe. Either way, that 160GB drive is getting a little full. look into mount options for SSD's (discard option) and "fstrim" for maintenance. (read up on trimmimg - doing a manual trim before the drive reaches full allocation (they delete files, but do not erase them because erasing is time consuming so its an OS controlled operation) or auto trimming (which can cause serious pauses at awkward times) can prevent serious performance degradation as it has to erase before writing. I am not sure of the current status but in the early days of SSD's, this was serious concern. BillK BillK
Re: [gentoo-user] dev-lang/php - making binary
On Sat, 2023-04-15 at 21:29 -0400, jul...@jroy.ca wrote: > > You can keep a copy of the ebuild so even if it's removed from portage > you will be able to install it. > > Even without a copy, you will be able to retrieve it from git history. This is a better idea. I'll warn you though, PHP upstream has aggressively discontinued support for php-7.4. You may soon find that it stops working with your compiler or OpenSSL, for example, and you'll be vulnerable to the security issues fixed in php-8.x.
[gentoo-user] updating /boot directory EFI
After installing new kernel how to update /boot EFI directory? From my notes, I have: grub-mkconfig -o /boot/grub/grub.cfg grub-install --target=x86_64-efi --efi-directory=/boot or should it be: grub-mkconfig -o /boot/grub/grub.cfg efibootmgr -c -d /dev/nvme0n1p1 -p 1 -L "Gentoo" -l /boot/grub/x86_64-efi/core.efi Boot partition is: /dev/nvme0n1p1 = /boot -- Thelma
Re: [gentoo-user] updating /boot directory EFI
On 4/15/23 22:01, the...@sys-concept.com wrote: After installing new kernel how to update /boot EFI directory? From my notes, I have: grub-mkconfig -o /boot/grub/grub.cfg grub-install --target=x86_64-efi --efi-directory=/boot or should it be: grub-mkconfig -o /boot/grub/grub.cfg efibootmgr -c -d /dev/nvme0n1p1 -p 1 -L "Gentoo" -l /boot/grub/x86_64-efi/core.efi Boot partition is: /dev/nvme0n1p1 = /boot This is not dual boot system, so I don't know why /boot has EFI directory
[gentoo-user] Can I safely switch (no)multilib profile???
When I installed Gentoo on my desktop PC, I could've sworn that I selected... [15] default/linux/amd64/17.1/no-multilib (stable) ...as the profile. ***THINGS HAVE BEEN WORKING FINE FOR A COUPLE OF YEARS.*** While updating tonight, glibc dies with a build error... .[31;01m*.[0m ERROR: sys-libs/glibc-2.36-r7::gentoo failed (unpack phase): .[31;01m*.[0m CONFIG_IA32_EMULATION must be enabled in the kernel to compile a multilib glibc. ...Digging deeper, I ran "eselect profile list" and got... [1] default/linux/amd64/17.1 (stable) * WTF?!? Can I safely eselect profile [15] and emerge update to get back to normal? Also what could possibly change my profile in the first place? -- I've seen things, you people wouldn't believe; Gopher, Netscape with frames, the first Browser Wars. Searching for pages with AltaVista, pop-up windows self-replicating, trying to uninstall RealPlayer. All those moments, will be lost in time like tears in rain... time to die.