View previous topic :: View next topic |
Author |
Message |
dark-wulf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11255638254e7daa88de5e5.jpg)
Joined: 02 Feb 2006 Posts: 40
|
Posted: Thu Jun 22, 2006 8:14 am Post subject: emerge nvidia-glx faild [SOLVED] |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Thu Jun 22, 2006 9:49 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dark-wulf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11255638254e7daa88de5e5.jpg)
Joined: 02 Feb 2006 Posts: 40
|
Posted: Thu Jun 22, 2006 5:56 pm Post subject: |
|
|
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 or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Fri Jun 23, 2006 12:28 am Post subject: |
|
|
Try making the directories manually, it shouldn't overwrite those. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dark-wulf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11255638254e7daa88de5e5.jpg)
Joined: 02 Feb 2006 Posts: 40
|
Posted: Sat Jun 24, 2006 9:59 am Post subject: |
|
|
/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 |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Sat Jun 24, 2006 10:31 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dark-wulf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11255638254e7daa88de5e5.jpg)
Joined: 02 Feb 2006 Posts: 40
|
Posted: Sat Jun 24, 2006 11:02 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Sat Jun 24, 2006 11:17 am Post subject: |
|
|
What does ls -ld /var/tmp/portage give? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dark-wulf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11255638254e7daa88de5e5.jpg)
Joined: 02 Feb 2006 Posts: 40
|
Posted: Sat Jun 24, 2006 11:22 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Sat Jun 24, 2006 11:36 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dark-wulf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11255638254e7daa88de5e5.jpg)
Joined: 02 Feb 2006 Posts: 40
|
Posted: Sat Jun 24, 2006 11:36 am Post subject: |
|
|
Nvidia-installer returns no error.... _________________ Gentoo rulez!!!
Gentoo for every one!!!
Gentoo for president!!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dark-wulf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11255638254e7daa88de5e5.jpg)
Joined: 02 Feb 2006 Posts: 40
|
Posted: Sat Jun 24, 2006 11:48 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
artificio Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 15 Sep 2004 Posts: 183
|
Posted: Sat Jun 24, 2006 11:53 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
chrismortimore l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/19354068744703907eb4d1.jpg)
Joined: 03 Dec 2005 Posts: 721 Location: Edinburgh, UK
|
Posted: Sat Jun 24, 2006 4:23 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
amdunlock Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 24 Apr 2004 Posts: 409 Location: Darmstadt Germany
|
Posted: Sat Jul 01, 2006 1:35 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
dark-wulf n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/11255638254e7daa88de5e5.jpg)
Joined: 02 Feb 2006 Posts: 40
|
Posted: Sat Jul 08, 2006 8:27 am Post subject: |
|
|
IT WORKS IT WORKS
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 |
|
![](templates/gentoo/images/spacer.gif) |
|