| View previous topic :: View next topic |
| Author |
Message |
nightshade2069 Tux's lil' helper

Joined: 08 Dec 2006 Posts: 140
|
Posted: Thu Sep 20, 2007 3:43 pm Post subject: vnc-4.1.2-r4 with USE=server option |
|
|
For those that are having problems where gentoo wants to emerge the following packages
[ebuild UD] x11-proto/renderproto-0.9.2 [0.9.3]
[ebuild UD] x11-drivers/xf86-input-keyboard-1.1.1-r1 [1.2.2]
[ebuild UD] x11-base/xorg-server-1.3.0.0 [1.4-r1]
because you have used the server option when emerging VNC after you have upgraded to xorg 1.4 you will need to edit the ebuild.
in the vnc-4.1.2-r4.ebuild
Change from:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.2-r4.ebuild,v 1.1 2007/09/04 13:20:37 armin76 Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit eutils toolchain-funcs multilib autotools
XSERVER_VERSION="1.3.0.0"
PATCH="${P}-r4-patches-0.1"
Change to:
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/vnc/vnc-4.1.2-r4.ebuild,v 1.1 2007/09/04 13:20:37 armin76 Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
inherit eutils toolchain-funcs multilib autotools
XSERVER_VERSION="1.4"
PATCH="${P}-r4-patches-0.1"
Then do the following:
ebuild vnc-4.1.2-r4.ebuild digest
This should resolve the issue with xorg and vnc wanting to downgrade. You will need to do this every time you emerge --sync
Some one needs to update the ebuild of the vnc |
|
| Back to top |
|
 |
Sadako Advocate


Joined: 05 Aug 2004 Posts: 3744 Location: sleeping in the bathtub
|
Posted: Thu Sep 20, 2007 3:55 pm Post subject: |
|
|
Nice find, you should file a bug about this on bugs.gentoo.org, these kind of ebuild fixes are typically fixed very quickly once the devs know about it. _________________ "You have to invite me in" |
|
| Back to top |
|
 |
LavaJoe Developer


Joined: 27 Jul 2006 Posts: 24 Location: Colorado, USA
|
Posted: Thu Sep 20, 2007 5:25 pm Post subject: |
|
|
Yep, here's the bug: https://bugs.gentoo.org/show_bug.cgi?id=193047
The above fix did not work for me, since I have the "server" USE flag set, which tries to apply the xorg-x11-server-source patches. Since the new xorg code is different enough, the patches fail. I have successfully generated new patches (#17, #21, and #29), I can get the unpack to work, but now I am getting a compile failure - looking into it.
If you have the server USE flag set, I do not understand how you would have success with just changing 1.3.0.0 to 1.4. |
|
| Back to top |
|
 |
nightshade2069 Tux's lil' helper

Joined: 08 Dec 2006 Posts: 140
|
Posted: Fri Sep 28, 2007 6:46 pm Post subject: |
|
|
Lavajoe,
I donot know how it worked either to be honest. I am the one that is also working on the bug reports post as well. but it works every time for me. I got another gentoo box that I have had off now for 7 months and forgot about till the other day and it is doing all the updates now and worked with no problem. The other one that I started to get the errors on with the trying to downgrade to 1.3.0.0 was a fresh install from the 2007.0 cd. wish i could help you all out more. just give me the info you need and I will try and get it for you all. |
|
| Back to top |
|
 |
LavaJoe Developer


Joined: 27 Jul 2006 Posts: 24 Location: Colorado, USA
|
Posted: Fri Sep 28, 2007 7:24 pm Post subject: |
|
|
| nightshade2069 wrote: | Lavajoe,
I donot know how it worked either to be honest. I am the one that is also working on the bug reports post as well. but it works every time for me. I got another gentoo box that I have had off now for 7 months and forgot about till the other day and it is doing all the updates now and worked with no problem. The other one that I started to get the errors on with the trying to downgrade to 1.3.0.0 was a fresh install from the 2007.0 cd. wish i could help you all out more. just give me the info you need and I will try and get it for you all. |
Hi - if you can save your emerge build log and attach it to the bug, that might help.
-Thanks, Joe |
|
| Back to top |
|
 |
nightshade2069 Tux's lil' helper

Joined: 08 Dec 2006 Posts: 140
|
Posted: Fri Sep 28, 2007 7:41 pm Post subject: |
|
|
[/quote]
Hi - if you can save your emerge build log and attach it to the bug, that might help.
-Thanks, Joe[/quote]
emerge log posted for you.
There was some modification to the ebuild as I did my own patch for now for the change of the xorg server from 1.3.0.0 to 1.4 |
|
| Back to top |
|
 |
LavaJoe Developer


Joined: 27 Jul 2006 Posts: 24 Location: Colorado, USA
|
Posted: Fri Sep 28, 2007 7:52 pm Post subject: |
|
|
| nightshade2069 wrote: |
emerge log posted for you.
There was some modification to the ebuild as I did my own patch for now for the change of the xorg server from 1.3.0.0 to 1.4 |
Ah, no, I meant the actual build log. I mean, build vnc and capture the entire emerge output (you could also just do "script foo" before emerging, and then turn off script after...
-Joe |
|
| Back to top |
|
 |
nightshade2069 Tux's lil' helper

Joined: 08 Dec 2006 Posts: 140
|
Posted: Fri Sep 28, 2007 8:45 pm Post subject: |
|
|
| posted new information for you. |
|
| Back to top |
|
 |
LavaJoe Developer


Joined: 27 Jul 2006 Posts: 24 Location: Colorado, USA
|
Posted: Fri Sep 28, 2007 9:00 pm Post subject: |
|
|
| nightshade2069 wrote: | | posted new information for you. |
Yep, you are not building the server. You have USE="-server", which disabled this. If you build with with USE="server", you should see the patch crash.
-Joe |
|
| Back to top |
|
 |
nightshade2069 Tux's lil' helper

Joined: 08 Dec 2006 Posts: 140
|
Posted: Fri Sep 28, 2007 9:43 pm Post subject: |
|
|
| LavaJoe wrote: | | nightshade2069 wrote: | | posted new information for you. |
Yep, you are not building the server. You have USE="-server", which disabled this. If you build with with USE="server", you should see the patch crash.
-Joe |
yup. I see it. but not sure as I said on the bug report in order to get the xrdp to install you must compile vnc with the use=server option. so no telling what has happend since I did this install. now I am at a stump as well.. i will work on it as well and see what i come up with.. |
|
| Back to top |
|
 |
LavaJoe Developer


Joined: 27 Jul 2006 Posts: 24 Location: Colorado, USA
|
Posted: Fri Sep 28, 2007 9:50 pm Post subject: |
|
|
| nightshade2069 wrote: | | LavaJoe wrote: | | nightshade2069 wrote: | | posted new information for you. |
Yep, you are not building the server. You have USE="-server", which disabled this. If you build with with USE="server", you should see the patch crash.
-Joe |
yup. I see it. but not sure as I said on the bug report in order to get the xrdp to install you must compile vnc with the use=server option. so no telling what has happend since I did this install. now I am at a stump as well.. i will work on it as well and see what i come up with.. |
I think that vnc needs to be officially bumped with a new patch set. It's a matter of whether the patch set is yet available. I tried fixing the patches myself, and it was a large job, only to uncover more compile issues. I stopped there, as I was getting in too deep going down the patch path.
-Joe |
|
| Back to top |
|
 |
nightshade2069 Tux's lil' helper

Joined: 08 Dec 2006 Posts: 140
|
Posted: Tue Oct 02, 2007 9:14 pm Post subject: |
|
|
| well after running in to the problem agian on a system I was updating. I came up with a really yucky work around.. and boy do i mean yucky, I posted it on bug report but to sum it up. you have to downgrade to xorg 1.3.0.0 emerge vnc with the use server option. mask and unmerge several packaged then do the world update. then unmask the packages edit the ebuild and then go for it. and cross your fingers.. but so far it has worked on 3 systems.. |
|
| Back to top |
|
 |
|