Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285803 - app-cdr/nero should do the post installation with nero --perform-post-installation
Summary: app-cdr/nero should do the post installation with nero --perform-post-install...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-21 02:45 UTC by churchmice
Modified: 2009-09-23 12:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch of the ebuild (nero.patch,408 bytes, patch)
2009-09-21 02:47 UTC, churchmice
Details | Diff
Strace result from debian machine (log.tar.bz2,620.37 KB, application/octet-stream)
2009-09-21 02:50 UTC, churchmice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description churchmice 2009-09-21 02:45:00 UTC
Nero is a commercial product with a trial version of 30 days. But once i have emerged nero, it keeps saying that "your demo version has expired". So i decided to try the deb which i downloaded from nero website on a debian machine, it works fine with a trial period of 30 days. After a careful investigation with strace (-f option needed) , i found on the debian machine, the deb package would issue "/usr/bin/nero --perform-post-installation" command, and this would create a file located in /var/lib/nero/config.nero9.dat. Comparing this with the gentoo machine,which lacks the /var/lib/nero/config.nero9.dat, the nero product would say that "your version has expired".
So this is where the problem truly lies, the ebuild should execute the missing configuration command. I patched the ebuild a little and it succeeds as expected. This bug is of course not related with x86, all platform is affected as well.The patch is attached as below.
Thank you for your work.

Reproducible: Always

Steps to Reproduce:
1. emerge nero
2. run nero with trial product key
3. It says "demo version expired"

Actual Results:  
Nero says "demo version expired" and refuses to run.

Expected Results:  
Nero runs with a trial period of 30 days.
Comment 1 churchmice 2009-09-21 02:47:16 UTC
Created attachment 204765 [details, diff]
Patch of the ebuild

Actually all the ebuild are affected
Comment 2 churchmice 2009-09-21 02:50:26 UTC
Created attachment 204767 [details]
Strace result from debian machine
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-09-23 12:41:31 UTC
awesome, thank you. it always puzzled me why it didn't work :)

 23 Sep 2009; Samuli Suominen <ssuominen@gentoo.org> nero-4.0.0.0.ebuild:
  Execute nero --perform-post-installation in pkg_postinst wrt #285803,
  thanks to churchmice <firefoxelectric at gmail.com>.