Bug 8099

Summary: nVIDIA rpm package generator nvidia-mgabuild.sh fails on nVIDIA 310.19
Product: Mageia Reporter: Bert Aerts <bert.ram.aerts>
Component: RPM PackagesAssignee: Anssi Hannula <anssi.hannula>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: 2   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

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!