Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge nvidia-glx faild [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dark-wulf
n00b
n00b


Joined: 02 Feb 2006
Posts: 40

PostPosted: Thu Jun 22, 2006 8:14 am    Post subject: emerge nvidia-glx faild [SOLVED] Reply with quote

I had this problem befor but this is now on a new gentoo installation :-( and i can't finde any solution.
If anybody got an idea i would be vary happy.

Code:

emerge nvidia-glx
Calculating dependencies... done!
>>> Emerging (1 of 1) media-video/nvidia-glx-1.0.8762 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking NVIDIA-Linux-x86-1.0-8762-pkg1.run ;-)
>>> checking NVIDIA-FreeBSD-x86-1.0-8762.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86-1.0-8762-pkg1.run to /var/tmp/portage/nvidia-glx- 1.0.8762/work
unpack NVIDIA-Linux-x86-1.0-8762-pkg1.run: file format not recognized. Ignoring.
>>> Unpacking NVIDIA-FreeBSD-x86-1.0-8762.tar.gz to /var/tmp/portage/nvidia-glx- 1.0.8762/work
/usr/portage/media-video/nvidia-glx/nvidia-glx-1.0.8762.ebuild: line 71: cd: /va r/tmp/portage/nvidia-glx-1.0.8762/work/NVIDIA-Linux-x86-1.0-8762-pkg1: No such f ile or directory
/usr/portage/media-video/nvidia-glx/nvidia-glx-1.0.8762.ebuild: line 72: cd: /va r/tmp/portage/nvidia-glx-1.0.8762/work/NVIDIA-Linux-x86-1.0-8762-pkg1/doc: No su ch file or directory
 * Applying NVIDIA_glx-1.0.6629-defines.patch ...

 * Failed Patch: NVIDIA_glx-1.0.6629-defines.patch !
 *  ( /usr/portage/media-video/nvidia-glx/files/1.0.6629/NVIDIA_glx-1.0.6629-def ines.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/nvidia-glx-1.0.8762/temp/NVIDIA_glx-1.0.6629-defines.patch -10927.out


!!! ERROR: media-video/nvidia-glx-1.0.8762 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_unpack
  ebuild.sh, line 711:   Called src_unpack
  nvidia-glx-1.0.8762.ebuild, line 74:   Called epatch '/usr/portage/media-video /nvidia-glx/files/1.0.6629/NVIDIA_glx-1.0.6629-defines.patch'
  eutils.eclass, line 335:   Called die

!!! Failed Patch: NVIDIA_glx-1.0.6629-defines.patch!
!!! If you need support, post the topmost build error, and the call stack if rel evant.


/var/tmp/portage/nvidia-glx-1.0.8762/temp/NVIDIA_glx-1.0.6629-defines.patch -10927.out

Code:

***** NVIDIA_glx-1.0.6629-defines.patch *****

=============================================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/media-video/nvidia-glx/files/1.0.6629/NVIDIA_glx-1.0.6629-defines.pa$
=============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h
|--- NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h   2002-12-09 21:26:55.000000000 +0100
|+++ NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h       2003-01-30 18:20:23.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/media-video/nvidia-glx/files/1.0.6629/NVIDIA_glx-1.0.6629-defines.pa$
=============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h
|--- NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h   2002-12-09 21:26:55.000000000 +0100
|+++ NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h       2003-01-30 18:20:23.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/media-video/nvidia-glx/files/1.0.6629/NVIDIA_glx-1.0.6629-defines.pa$
=============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h
|--- NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h   2002-12-09 21:26:55.000000000 +0100
|+++ NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h       2003-01-30 18:20:23.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=============================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/media-video/nvidia-glx/files/1.0.6629/NVIDIA_glx-1.0.6629-defines.pa$
=============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h
|--- NVIDIA_GLX-1.0-4191/usr/include/GL/glx.h   2002-12-09 21:26:55.000000000 +0100
|+++ NVIDIA_GLX-1.0-4191.new/usr/include/GL/glx.h       2003-01-30 18:20:23.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

_________________
Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!!


Last edited by dark-wulf on Sat Jul 08, 2006 8:09 am; edited 1 time in total
Back to top
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Thu Jun 22, 2006 9:49 am    Post subject: Reply with quote

Have you tried unpacking the source manually? It seems like it's not patching because it can't find the file to patch, because that's not in the proper place (/var/tmp/portage/etc...). Did you use an older livecd for this install, here's my emerge output for nvidia-glx...

Code:
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86-1.0-8762-pkg1
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-8762...............................................
 * Applying NVIDIA_glx-1.0.6629-defines.patch ...                         [ ok ]
 * Applying NVIDIA_glx-1.0.6629-glheader.patch ...                        [ ok
Back to top
View user's profile Send private message
dark-wulf
n00b
n00b


Joined: 02 Feb 2006
Posts: 40

PostPosted: Thu Jun 22, 2006 5:56 pm    Post subject: Reply with quote

It was the lates minimal installcd with lates portage and stage and when i run the nvidia installer no glx is installed too.
I can't extract it because tmp dir is cleand up when starting emerge.
:evil:
_________________
Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!!
Back to top
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Fri Jun 23, 2006 12:28 am    Post subject: Reply with quote

Try making the directories manually, it shouldn't overwrite those.
Back to top
View user's profile Send private message
dark-wulf
n00b
n00b


Joined: 02 Feb 2006
Posts: 40

PostPosted: Sat Jun 24, 2006 9:59 am    Post subject: Reply with quote

/var/tmp/portage/nvidia-glx-1.0.8762/work is cleand up when i start emerge....
And if i use Nvidia installer glx is not installed either

Code:

# eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
#

_________________
Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!!
Back to top
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Sat Jun 24, 2006 10:31 am    Post subject: Reply with quote

So the directory structure's there, but it's not unpacking anything. This may be a bit extreme but have you tried removing everything in /var/tmp/portage and /usr/portage and running another emerge --sync?
Back to top
View user's profile Send private message
dark-wulf
n00b
n00b


Joined: 02 Feb 2006
Posts: 40

PostPosted: Sat Jun 24, 2006 11:02 am    Post subject: Reply with quote

i deleted everything and tried to replace the nvidia.bin with the one from nvidia... no chance nothing helps :-(

i will try the nvidia-installer once more and check the messeges.
_________________
Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!!
Back to top
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Sat Jun 24, 2006 11:17 am    Post subject: Reply with quote

What does ls -ld /var/tmp/portage give?
Back to top
View user's profile Send private message
dark-wulf
n00b
n00b


Joined: 02 Feb 2006
Posts: 40

PostPosted: Sat Jun 24, 2006 11:22 am    Post subject: Reply with quote

Code:

# ls -ld /var/tmp/portage
drwxrwxr-x 15 portage portage 4096 24. Jun 11:36 /var/tmp/portage

_________________
Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!!
Back to top
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Sat Jun 24, 2006 11:36 am    Post subject: Reply with quote

Huh, the only difference so far is I get is that it's owned by root...
Not that it should make a difference since changing ownership doesn't change my ability to write to that directory.

Code:
ls -ld /var/tmp/portage
drwxrwxr-x 5 root portage 4096 Jun 23 03:37 /var/tmp/portage


Last edited by artificio on Sat Jun 24, 2006 11:41 am; edited 1 time in total
Back to top
View user's profile Send private message
dark-wulf
n00b
n00b


Joined: 02 Feb 2006
Posts: 40

PostPosted: Sat Jun 24, 2006 11:36 am    Post subject: Reply with quote

Nvidia-installer returns no error....
_________________
Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!!
Back to top
View user's profile Send private message
dark-wulf
n00b
n00b


Joined: 02 Feb 2006
Posts: 40

PostPosted: Sat Jun 24, 2006 11:48 am    Post subject: Reply with quote

Code:

unpack NVIDIA-Linux-x86-1.0-8762-pkg1.run: file format not recognized. Ignoring.

this error i only get when i merge nvidia-glx all other packages work, so i don't think it's an problem with rigths
_________________
Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!!
Back to top
View user's profile Send private message
artificio
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 183

PostPosted: Sat Jun 24, 2006 11:53 am    Post subject: Reply with quote

Well, if it's a problem with the system I have no clue. There might be some way to manually have nvidia-glx opengl be recognized (if the nvidia installer worked correctly, which it seems like it did), or you could try sync'ing/downloading the packages from another server if every other package works, it could be that that package on that server is borked, if you haven't already that is.
Back to top
View user's profile Send private message
chrismortimore
l33t
l33t


Joined: 03 Dec 2005
Posts: 721
Location: Edinburgh, UK

PostPosted: Sat Jun 24, 2006 4:23 pm    Post subject: Reply with quote

dark-wulf wrote:
/var/tmp/portage/nvidia-glx-1.0.8762/work is cleand up when i start emerge....
And if i use Nvidia installer glx is not installed either

Code:

# eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
#
It is installed. The nvidia installer overwrites the xorg-x11 libraries, so eselecting xorg-x11 will select the nvidia libraries.
_________________
Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB 7200rpm Maxtor DiamondMax 10, 2x320GB WD 7200rpm Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB 5400rpm IBM TravelStar, Nvidia 5200Go 64MB
Back to top
View user's profile Send private message
amdunlock
Guru
Guru


Joined: 24 Apr 2004
Posts: 409
Location: Darmstadt Germany

PostPosted: Sat Jul 01, 2006 1:35 pm    Post subject: Reply with quote

Hi,

i guess, that the if command in the ebuild goes into the for bsd archives created else arm. so i think that it would help that you add "-x86-fbsd" to your useflags.

Greetings, Oliver
_________________
-2500+ @ 3200+ ---- 512MB-Ram watercooled Htf X Triple @ 3 x 5V - Abit AN7 s*cking microguru - Geforce 6800 - Audigy 2 -=Gentoo Stage 2004.2 @ ext3=-
Back to top
View user's profile Send private message
dark-wulf
n00b
n00b


Joined: 02 Feb 2006
Posts: 40

PostPosted: Sat Jul 08, 2006 8:27 am    Post subject: Reply with quote

IT WORKS IT WORKS :D

This is the solution thanks very much.

Just one smal question is still open, why did the original nvidia installer fail too?
_________________
Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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