Bug 8099 - nVIDIA rpm package generator nvidia-mgabuild.sh fails on nVIDIA 310.19
Summary: nVIDIA rpm package generator nvidia-mgabuild.sh fails on nVIDIA 310.19
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Anssi Hannula
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-16 20:53 CET by Bert Aerts
Modified: 2012-11-22 20:46 CET (History)
0 users

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Bert Aerts 2012-11-16 20:53:35 CET
http://onse.fi/nvidia-mgabuild/
has a very nice rpm package generator straight from the nVIDIA .run files.

From
http://www.nvidia.co.uk/object/linux-display-amd64-310.19-driver-uk.html
you can download NVIDIA-Linux-x86_64-310.19.run

With this latest driver the generator fails completely.

+ error_fatal 'unhandled parameter /'
+ echo 'Error: unhandled parameter /.'
Error: unhandled parameter /.
+ exit 1
error: Bad exit status from /tmp/nvidia-mgabuild.OoOdBz/tmp/rpm-tmp.rj2xlW (%install)


RPM build errors:
    Bad exit status from /tmp/nvidia-mgabuild.OoOdBz/tmp/rpm-tmp.rj2xlW (%install)

Building package failed!

I already reported errors generated by the script on nVIDIA 304.37 and emailed the author of nvidia-mgabuild.sh Anssi Hannula but I never got a reply.

Therefore I create a bug report this time.

The other problem with the recent nVIDIA .run files is that the file nvidia-current.ko.xz is no longer created but instead nvidia.ko.xz is installed.

This requires some manual work: e.g.

  /lib/modules/3.3.8-desktop-2.mga2/dkms/drivers/video/
  cp nvidia.ko.xz nvidia-current.ko.xz
  /lib/modules/3.3.8-desktop-2.mga2/dkms/drivers/char/drm
  cp ../../video/nvidia-current.ko.xz .
  /var/lib/dkms/nvidia-current/304.51-1custom.nvidia.mga2/3.3.8-desktop-2.mga2/x86_64/module
  cp nvidia.ko.xz nvidia-current.ko.xz

I have Mageia 2 x86_64.

So I hope someone can update Anssi's script...
Manuel Hiebel 2012-11-17 14:15:18 CET

Assignee: bugsquad => anssi.hannula

Comment 1 Anssi Hannula 2012-11-22 00:16:52 CET
I'm very sorry for the long delay.

The script has now been updated to work with new driver packages.

Thanks for the report. Please reopen if any issues remain.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 2 Bert Aerts 2012-11-22 20:46:23 CET
Thanks Anssi, your script works perfectly again!

Note You need to log in before you can comment on or make changes to this bug.