View previous topic :: View next topic |
Author |
Message |
brick_danger n00b
Joined: 09 Mar 2021 Posts: 15
|
Posted: Tue Jun 01, 2021 5:24 pm Post subject: Progress? |
|
|
Got to here. Please let me know if you need more output:
Code: |
* ERROR: x11-plugins/cairo-dock-plugins-3.4.1::pinkbyte failed (prepare phase):
* patch -p1 failed with /etc/portage/patches/x11-plugins/cairo-dock-plugins-3.4.1/cairo-dock-plugins-3.4.1-gcc10-extern.patch
* Call stack:
* ebuild.sh, line 125: Called src_prepare
* environment, line 2197: Called cmake-utils_src_prepare
Installing /var/tmp/portage/dev-util/gtk-doc-1.33.2/work/gtk-doc-1.33.2/style/style.css to /var/tmp/portage/dev-util/gtk-doc-1.33.2/image/usr/share/gtk-doc/data
* environment, line 1003: Called default_src_prepare
* phase-functions.sh, line 920: Called __eapi6_src_prepare
* environment, line 253: Called eapply_user
* environment, line 1228: Called eapply '/etc/portage/patches/x11-plugins/cairo-dock-plugins-3.4.1/cairo-dock-plugins-3.4.1-gcc10-extern.patch'
* environment, line 1198: Called _eapply_patch '/etc/portage/patches/x11-plugins/cairo-dock-plugins-3.4.1/cairo-dock-plugins-3.4.1-gcc10-extern.patch'
* environment, line 1136: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/x11-plugins/cairo-dock-plugins-3.4.1/cairo-dock-plugins-3.4.1-gcc10-extern.patch'
* isolated-functions.sh, line 112: Called die
* The specific snippet of code:
* die "$@"
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue Jun 01, 2021 6:00 pm Post subject: |
|
|
Moved from Desktop Environments to Unsupported Software. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue Jun 01, 2021 6:01 pm Post subject: |
|
|
It's seems that your patch /etc/portage/patches/x11-plugins/cairo-dock-plugins-3.4.1/cairo-dock-plugins-3.4.1-gcc10-extern.patch fails to apply _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
brick_danger n00b
Joined: 09 Mar 2021 Posts: 15
|
Posted: Tue Jun 01, 2021 6:11 pm Post subject: |
|
|
Quote: | It's seems that your patch /etc/portage/patches/x11-plugins/cairo-dock-plugins-3.4.1/cairo-dock-plugins-3.4.1-gcc10-extern.patch fails to apply |
You don't say. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue Jun 01, 2021 6:25 pm Post subject: |
|
|
brick_danger wrote: | You don't say. |
You should try to apply patch manually and see where and why it fails.
How did you download the patch? I tried to patch manually and it seems to work.
Code: | cairo-dock-plugins-3.4.1 $ patch -p1 --dry-run < ../cairo-dock-plugins-3.4.1-gcc10-extern.patch
checking file dock-rendering/src/rendering-config.c |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
brick_danger n00b
Joined: 09 Mar 2021 Posts: 15
|
Posted: Tue Jun 01, 2021 6:41 pm Post subject: |
|
|
Quote: | How did you download the patch? |
I downloaded it via curl from the Russian website listed earlier in this thread. I am trying it out manually. Seems like it is hung. Do I have this correct:
Code: | /var/lib/layman/pinkbyte/x11-plugins/cairo-dock-plugins/files # patch -p1 --dry-run cairo-dock-plugins-3.4.1-gcc10-extern.patch |
Here is the patch:
Code: | --- cairo-dock-plugins-3.4.1/dock-rendering/src/rendering-config.c.gcc10 2015-02-20 01:13:47.000000000 +0900
+++ cairo-dock-plugins-3.4.1/dock-rendering/src/rendering-config.c 2020-01-23 18:10:47.301788756 +0900
@@ -25,8 +25,8 @@
#include "rendering-config.h"
#include "rendering-rainbow.h"
-extern int iVanishingPointY;double my_fRainbowColor[4];
-double my_fRainbowLineColor[4];
+extern int iVanishingPointY;extern double my_fRainbowColor[4];
+extern double my_fRainbowLineColor[4];
extern double my_fInclinationOnHorizon;
extern double my_fForegroundRatio;
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
|
Back to top |
|
|
brick_danger n00b
Joined: 09 Mar 2021 Posts: 15
|
Posted: Wed Jun 02, 2021 5:19 am Post subject: |
|
|
That worked! Thank you. You are a fine human. |
|
Back to top |
|
|
K17 n00b
Joined: 10 Aug 2021 Posts: 5
|
Posted: Tue Aug 10, 2021 11:54 am Post subject: |
|
|
I have the same problem with merging cairo-dock-plugins. I applied patches from messages in this topic (not both at the same time) and added CFLAGS="-D_POSIX_C_SOURCE=200809L" to command, but I keep getting the same error:
Code: |
make[1]: Leaving directory '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.4.1/work/cairo-dock-plugins-3.4.1_build'
make: *** [Makefile:156: all] Error 2
* ERROR: x11-plugins/cairo-dock-plugins-3.4.1::sabayon failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=x11-plugins/cairo-dock-plugins-3.4.1::sabayon'`,
* the complete build log and the output of `emerge -pqv '=x11-plugins/cairo-dock-plugins-3.4.1::sabayon'`.
* The complete build log is located at '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.4.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.4.1/temp/environment'.
* Working directory: '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.4.1/work/cairo-dock-plugins-3.4.1_build'
* S: '/var/tmp/portage/x11-plugins/cairo-dock-plugins-3.4.1/work/cairo-dock-plugins-3.4.1'
|
The actions were helpful though, because at first time it stopped at 16%, after adding CFLAFS it stopped at 36% and now it stops at 44% - there's some progress here.
Maybe I did something wrong, but I don't know what |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue Aug 10, 2021 12:11 pm Post subject: |
|
|
K17,
welcome to gentoo forum!
You should post your emerge --info and full build.log with wgetpaste _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
K17 n00b
Joined: 10 Aug 2021 Posts: 5
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30905 Location: here
|
Posted: Tue Aug 10, 2021 1:54 pm Post subject: |
|
|
Code: | /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cd-rendering.dir/rendering-config.c.o:(.bss+0x0): multiple definition of `my_fRainbowColor'; CMakeFiles/cd-rendering.dir/rendering-init.c.o:(.bss+0xa0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cd-rendering.dir/rendering-config.c.o:(.bss+0x20): multiple definition of `my_fRainbowLineColor'; CMakeFiles/cd-rendering.dir/rendering-init.c.o:(.bss+0xc0): first defined here
collect2: error: ld returned 1 exit status |
It's a upstream bug, try to apply this patch with /etc/portage/patches _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
K17 n00b
Joined: 10 Aug 2021 Posts: 5
|
Posted: Tue Aug 10, 2021 2:03 pm Post subject: |
|
|
That worked
Thank you! |
|
Back to top |
|
|
Schievel n00b
Joined: 13 Sep 2021 Posts: 27
|
Posted: Sat Nov 27, 2021 11:04 pm Post subject: |
|
|
I just wanted to point this out real quick, because I ran into this problem today, where the plugins package can not be compiled because 'gldi' is not found.
In the compile instructions it says
Quote: | Rem: For 64bits (x86_64) architectures, the libraries are installed in a 'lib' directory by default. If your distribution uses lib64 and /usr/lib64 is not a link to /usr/lib (Fedora, Suse, etc), simply add the flag "FORCE_LIB64":
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DFORCE_LIB64=yes |
apparently gentoo is also such a system, at least /usr/lib64 is not a link to /usr/lib on my gentoo.
Therefore this did the trick for me. Run the cmake command of the core package with this and then the plugins package wont complain anymore.
I know its been a while and this thread is old, but maybe this is helpful for some people. |
|
Back to top |
|
|
|