Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems installing Cairo Dock in Gentoo MATE
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
brick_danger
n00b
n00b


Joined: 09 Mar 2021
Posts: 15

PostPosted: Tue Jun 01, 2021 5:24 pm    Post subject: Progress? Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Jun 01, 2021 6:00 pm    Post subject: Reply with quote

Moved from Desktop Environments to Unsupported Software.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Jun 01, 2021 6:01 pm    Post subject: Reply with 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
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
brick_danger
n00b
n00b


Joined: 09 Mar 2021
Posts: 15

PostPosted: Tue Jun 01, 2021 6:11 pm    Post subject: Reply with quote

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. :D
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Jun 01, 2021 6:25 pm    Post subject: Reply with quote

brick_danger wrote:
You don't say. :D

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
View user's profile Send private message
brick_danger
n00b
n00b


Joined: 09 Mar 2021
Posts: 15

PostPosted: Tue Jun 01, 2021 6:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Jun 01, 2021 8:02 pm    Post subject: Reply with quote

For some reason something went wrong, try to download this http://sisyphus.ru/cgi-bin/srpm.pl/Sisyphus/cairo-dock-plugins/getpatch/0
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
brick_danger
n00b
n00b


Joined: 09 Mar 2021
Posts: 15

PostPosted: Wed Jun 02, 2021 5:19 am    Post subject: Reply with quote

That worked! Thank you. You are a fine human.
Back to top
View user's profile Send private message
K17
n00b
n00b


Joined: 10 Aug 2021
Posts: 5

PostPosted: Tue Aug 10, 2021 11:54 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Aug 10, 2021 12:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
K17
n00b
n00b


Joined: 10 Aug 2021
Posts: 5

PostPosted: Tue Aug 10, 2021 1:48 pm    Post subject: Reply with quote

Here's emerge --info output: https://dpaste.com/GQRZSZ7YZ
Here's emerge --info '=x11-plugins/cairo-dock-plugins-3.4.1::sabayon' output: http://dpaste.com/7UEYAZHQU
And here's build.log: http://sprunge.us/FlHfET

Here's also emerge -pqv '=x11-plugins/cairo-dock-plugins-3.4.1::sabayon' output: https://dpaste.com/CB4MWGYT6
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Tue Aug 10, 2021 1:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
K17
n00b
n00b


Joined: 10 Aug 2021
Posts: 5

PostPosted: Tue Aug 10, 2021 2:03 pm    Post subject: Reply with quote

That worked
Thank you!
Back to top
View user's profile Send private message
Schievel
n00b
n00b


Joined: 13 Sep 2021
Posts: 27

PostPosted: Sat Nov 27, 2021 11:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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