Bug#884973: tp-smapi-dkms: tp-smapi doesn't build for 4.15.0-rc?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#884973: tp-smapi-dkms: tp-smapi doesn't build for 4.15.0-rc?

Elimar Riesebieter
Package: tp-smapi-dkms
Version: 0.42-1
Severity: serious
Justification: fails to build from source


Dear maintainer,

tp-smapi doesn't build for the upcoming kernels 4.15:

 /var/lib/dkms/tp_smapi/0.42/build/hdaps.c: In function ‘hdaps_init’:¬
  /var/lib/dkms/tp_smapi/0.42/build/hdaps.c:781:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werr>
    init_timer(&hdaps_timer);¬
    ^~~~~~~~~~¬
    init_timers¬
  /var/lib/dkms/tp_smapi/0.42/build/hdaps.c:782:23: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]¬
    hdaps_timer.function = hdaps_mousedev_poll;

Thanks
Elimar

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-rc4-galadriel-lxtec-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tp-smapi-dkms depends on:
ii  dkms  2.3-3

tp-smapi-dkms recommends no packages.

tp-smapi-dkms suggests no packages.

-- no debconf information
Reply | Threaded
Open this post in threaded view
|

Bug#884973: tp-smapi-dkms: tp-smapi doesn't build for 4.15.0-rc?

Evgeni Golov-2
control: severity -1 important

On Fri, Dec 22, 2017 at 10:03:17AM +0100, Elimar Riesebieter wrote:
> Package: tp-smapi-dkms
> Version: 0.42-1
> Severity: serious
> Justification: fails to build from source

Nope. 4.15 is not in Debian (not even experimental), so it can't be serious.

> tp-smapi doesn't build for the upcoming kernels 4.15:
>
>  /var/lib/dkms/tp_smapi/0.42/build/hdaps.c: In function ‘hdaps_init’:¬
>   /var/lib/dkms/tp_smapi/0.42/build/hdaps.c:781:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werr>
>     init_timer(&hdaps_timer);¬
>     ^~~~~~~~~~¬
>     init_timers¬
>   /var/lib/dkms/tp_smapi/0.42/build/hdaps.c:782:23: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]¬
>     hdaps_timer.function = hdaps_mousedev_poll;

Thanks for the report, I'll have a look with my upstream hat on when I
find some time.

Evgeni

Reply | Threaded
Open this post in threaded view
|

Bug#884973: tp-smapi-dkms: tp-smapi doesn't build for 4.15.0-rc?

Elimar Riesebieter
* Evgeni Golov <[hidden email]> [2017-12-22 12:34 +0100]:

> control: severity -1 important
>
> On Fri, Dec 22, 2017 at 10:03:17AM +0100, Elimar Riesebieter wrote:
> > Package: tp-smapi-dkms
> > Version: 0.42-1
> > Severity: serious
> > Justification: fails to build from source
>
> Nope. 4.15 is not in Debian (not even experimental), so it can't be serious.
>
> > tp-smapi doesn't build for the upcoming kernels 4.15:
> >
> >  /var/lib/dkms/tp_smapi/0.42/build/hdaps.c: In function ‘hdaps_init’:¬
> >   /var/lib/dkms/tp_smapi/0.42/build/hdaps.c:781:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werr>
> >     init_timer(&hdaps_timer);¬
> >     ^~~~~~~~~~¬
> >     init_timers¬
> >   /var/lib/dkms/tp_smapi/0.42/build/hdaps.c:782:23: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]¬
> >     hdaps_timer.function = hdaps_mousedev_poll;
>
> Thanks for the report, I'll have a look with my upstream hat on when I
> find some time.
The patch mentioned in https://github.com/evgeni/tp_smapi/issues/31
works just fine for me.

Elimar
--
  Alles, was viel bedacht wird, wird bedenklich!;-)
         Friedrich Nietzsche

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#884973: tp-smapi-dkms: tp-smapi doesn't build for 4.15.0-rc?

Paul Wise via nm
In reply to this post by Elimar Riesebieter
Package: tp-smapi-dkms
Version: 0.42-1
Followup-For: Bug #884973
Control: severity -1 serious
Control: retitle -1 tp-smapi-dkms: build failure with 4.15.0

Linux 4.15.0 entered sid and tp-smapi-dkms fails to build with it:

DKMS make.log for tp_smapi-0.42 for kernel 4.15.0-1-amd64 (x86_64)
Mon 19 Feb 15:47:59 AWST 2018
make: Entering directory '/usr/src/linux-headers-4.15.0-1-amd64'
  CC [M]  /var/lib/dkms/tp_smapi/0.42/build/thinkpad_ec.o
  CC [M]  /var/lib/dkms/tp_smapi/0.42/build/tp_smapi.o
  CC [M]  /var/lib/dkms/tp_smapi/0.42/build/hdaps.o
/var/lib/dkms/tp_smapi/0.42/build/hdaps.c: In function ‘hdaps_init’:
/var/lib/dkms/tp_smapi/0.42/build/hdaps.c:781:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
  init_timer(&hdaps_timer);
  ^~~~~~~~~~
  init_timers
/var/lib/dkms/tp_smapi/0.42/build/hdaps.c:782:23: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  hdaps_timer.function = hdaps_mousedev_poll;
                       ^
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.15.0-1-common/scripts/Makefile.build:327: recipe for target '/var/lib/dkms/tp_smapi/0.42/build/hdaps.o' failed
make[3]: *** [/var/lib/dkms/tp_smapi/0.42/build/hdaps.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.15.0-1-common/Makefile:1523: recipe for target '_module_/var/lib/dkms/tp_smapi/0.42/build' failed
make[2]: *** [_module_/var/lib/dkms/tp_smapi/0.42/build] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-1-amd64'

-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages tp-smapi-dkms depends on:
ii  dkms  2.3-3

tp-smapi-dkms recommends no packages.

tp-smapi-dkms suggests no packages.

-- no debconf information

--
bye,
pabs

https://wiki.debian.org/PaulWise

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#884973: tp-smapi-dkms: tp-smapi doesn't build for 4.15.0-rc?

Elimar Riesebieter
In reply to this post by Evgeni Golov-2
* Evgeni Golov <[hidden email]> [2017-12-22 12:34 +0100]:

> control: severity -1 important
>
> On Fri, Dec 22, 2017 at 10:03:17AM +0100, Elimar Riesebieter wrote:
> > Package: tp-smapi-dkms
> > Version: 0.42-1
> > Severity: serious
> > Justification: fails to build from source
>
> Nope. 4.15 is not in Debian (not even experimental), so it can't be serious.

4.15 has been arrived in sid..

Elimar
--
  "Talking much about oneself can also
   be a means to conceal oneself."
         -Friedrich Nietzsche