Bug 12091 - The package is out of date as of kernel version 3.10.0
Summary: The package is out of date as of kernel version 3.10.0
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2013-12-23 11:46 CET by Pascal COMBES
Modified: 2019-04-04 13:09 CEST (History)
5 users (show)

See Also:
Source RPM: dkms-acpi_call-0.1-2.mga3
CVE:
Status comment:


Attachments

Description Pascal COMBES 2013-12-23 11:46:17 CET
Description of problem:
DKMS will no be able to compile the module acpi_call.

That is due to the fact that the way the proc file systeme is handled has been changed in the new kernel version (>3.10.0). The main problem is that create_proc_entry() has been replaced by proc_create().
The signature of the read/write operation has been modified too.

Version-Release number of selected component (if applicable):
0.1-2.mga3

How reproducible:
I only tried once, but I suppose it will fail everytime as the kernel has been changed.

Steps to Reproduce:
1. Select package dkms-acpi_call-0.1-2.mga3 in repository
2. Restart your computer.
3. cat the make.log in /var/lib/dkms/acpi_call or subdirs. You will see build failures.

Solution:
I took the new file from git an replaced the old source. It seems to work now.

I think all you will have to do is to update the package.

Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2013-12-23 11:49:21 CET
Hi, thanks for reporting this bug.
As there is no maintainer for this package I added the committers in CC.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
CC: (none) => shlomif, tmb

Comment 2 Shlomi Fish 2013-12-23 12:14:34 CET
Hi Pascal,

(In reply to Pascal COMBES from comment #0)
> Description of problem:
> DKMS will no be able to compile the module acpi_call.
> 
> That is due to the fact that the way the proc file systeme is handled has
> been changed in the new kernel version (>3.10.0). The main problem is that
> create_proc_entry() has been replaced by proc_create().
> The signature of the read/write operation has been modified too.
> 
> Version-Release number of selected component (if applicable):
> 0.1-2.mga3
> 
> How reproducible:
> I only tried once, but I suppose it will fail everytime as the kernel has
> been changed.
> 
> Steps to Reproduce:
> 1. Select package dkms-acpi_call-0.1-2.mga3 in repository
> 2. Restart your computer.
> 3. cat the make.log in /var/lib/dkms/acpi_call or subdirs. You will see
> build failures.
> 
> Solution:
> I took the new file from git an replaced the old source. It seems to work
> now.

Just a note - which git repository did you use - this one - https://github.com/mkottman/acpi_call or this one - https://github.com/Bumblebee-Project/acpi_call ?

Regards,

-- Shlomi Fish
Comment 3 Pascal COMBES 2013-12-23 18:54:35 CET
Hello Shlomi,
    Sorry for the delay, I tried to answer by mail but it did not work. I thought it would be automatically appended to comments.
    I used the first git repository (https://github.com/mkottman/acpi_cal), the other one is a fork of it and is not up-to-date any more.
    As I said the function create_proc_entry() used at line 314 doesn't exist any more (after kernel version 3.10). It has been replaced by proc_create().
    Regards,
Pascal COMBES.
Comment 4 Shlomi Fish 2013-12-23 19:37:51 CET
Hi Pascal,

(In reply to Pascal COMBES from comment #3)
> Hello Shlomi,
>     Sorry for the delay, I tried to answer by mail but it did not work. I
> thought it would be automatically appended to comments.
>     I used the first git repository (https://github.com/mkottman/acpi_cal),
> the other one is a fork of it and is not up-to-date any more.
>     As I said the function create_proc_entry() used at line 314 doesn't
> exist any more (after kernel version 3.10). It has been replaced by
> proc_create().
>     Regards,
> Pascal COMBES.

thanks for the reply. I can try updating this in Cauldron first, but we may wish to wait after Mageia 4 is released and the package freeze is over. In the meanwhile, we can prepare an update for Mageia 3. What do you think?

Regards,

-- Shlomi Fish
Comment 5 Thomas Backlund 2013-12-23 19:54:05 CET
If it's currently broken, we better fix it before mga4 release.

You can request a freeze push once you have fixed it...
Comment 6 Shlomi Fish 2013-12-23 20:04:23 CET
(In reply to Thomas Backlund from comment #5)
> If it's currently broken, we better fix it before mga4 release.
> 
> You can request a freeze push once you have fixed it...

good point but the problem is that, judging by the GitHub Bugtracker (see https://github.com/mkottman/acpi_call/issues ), the package won't build with kernel-3.12.x which is what Cauldron/Mga4 have.

Regards,

-- Shlomi Fish
Comment 7 Pascal COMBES 2013-12-23 20:17:46 CET
Hello,
    As far as I'm concerned, every thing is (or at least seems so far) OK. The fix I gave in bug description does the job.
    I put it on bug tracker because I thought it should be officially fixed because other may have the same problem.
    Regards,
Pascal COMBES.
Comment 8 Samuel Verschelde 2014-02-11 17:40:48 CET
valid in mga4 too.

CC: (none) => stormi

Comment 9 Rémi Verschelde 2015-02-14 01:55:53 CET
Closing as OLD, the dkms-acpi_call package in mga3 and mga4 was never really used nor supported. Users wanting to use it functionalities should check the upstream repo directly.

(The package was imported for bumblebee I reckon, but it was never used since it has been superseded by the dkms-bbswitch package).

Status: NEW => RESOLVED
CC: (none) => remi
Resolution: (none) => OLD

ankit saini 2019-04-04 12:24:07 CEST

CC: (none) => ankiesaini147


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