First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 230273
Alias:
Product:
Component:
Status: NEW
Resolution:
Assigned To: Ricardo Mendoza <ricmm@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: boris64 <genzilla@boris64.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
nvidia-drivers-173.14.09-r1-ebuild.patch nvidia-drivers-173.14.09-r1-ebuild.patch patch boris64 2008-06-30 21:59 0000 582 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 230273 depends on: Show dependency tree
Show dependency graph
Bug 230273 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)









View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-30 21:57 0000
x11-drivers/nvidia-drivers-173.14.09 does not respect custom cflags,
because there's a correct path to a Makefile missing in that ebuild.

emerge output (i used version 177.13, but this error seems to be in every
ebuild that has "custom-cflags" as use flag:
------------------
...
 * Checking for MTRR support ...                                               
                                                                     [ ok ]
 * Checking for Paravirtualized guest support ...
>>> Unpacking source...
Creating directory NVIDIA-Linux-x86_64-177.13-pkg2
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64
177.13...........................................................................................................................................
 * Applying NVIDIA_glx-defines.patch ...                                       
                                                                     [ ok ]
 * Applying NVIDIA_glx-glheader.patch ...                                      
                                                                     [ ok ]
 * Applying NVIDIA_i2c-hwmon.patch ...                                         
                                                                     [ ok ]
sed: can't read Makefile.*: Datei oder Verzeichnis nicht gefunden
 * Converting NVIDIA-Linux-x86_64-177.13-pkg2/usr/src/nv/Makefile.kbuild to use
M= instead of SUBDIRS= ...                                           [ ok ]
>>> Source unpacked.
...
------------------

As you see, the ebuild tries to patch Makefile.* in ${S}, which doesn't exist.
As an easy workaround it should be enough to use "${NV_SRC}"/Makefile.* here.

I'll attach a patch.

thx in advance ;)

Reproducible: Always

Steps to Reproduce:
1. emerge nvidia-drivers

------- Comment #1 From boris64 2008-06-30 21:59:28 0000 -------
Created an attachment (id=159027) [edit]
nvidia-drivers-173.14.09-r1-ebuild.patch

nvidia-drivers-173.14.09-r1-ebuild.patch

First Last Prev Next    No search results available      Search page      Enter new bug