4.14 header packages need to add dependency on libelf-dev?
stevenpusser
Status: Contributor
Joined: 14 Jan 2017
Posts: 90
Reply Quote
That was added as a new kernel build-depends, but then the headers don't pull it in. Virtual Box from the Oracle repository then fails to build with

:: Code ::
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.14.0-2.3-liquorix-amd64/build SUBDIRS=/var/tmp/vbox.0 SRCROOT=/var/tmp/vbox.0 -j4 modules
make[1]: warning: -jN forced in submake: disabling jobserver mode.
Makefile:944: *** "Cannot generate ORC metadata for CONFIG_ORC_UNWINDER=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel".  Stop.
/var/tmp/vbox.0/Makefile.include.footer:101: recipe for target 'vboxdrv' failed
make: *** [vboxdrv] Error 2

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4128
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
If I understand you right, you have to preinstall the dependencies before installing the oracle vbox deb, that's for example how svmi does it for oracle vbox package, it checks for and installs dependencies prior to the oracle vbox deb install. svmi is often out of date though so I don't test it as much as I used to, but that's how it works.

If the package isn't in the stable pool distro, you're in trouble though.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
stevenpusser,

Nice catch! Just added libelf-dev to headers template. I haven't tested it, but I'm pretty sure it'll fix it

github.com/damentz/liquorix-package/commit/2ab7e38e3898c601877bf7e3a4b82c783f5bb030

Next release will include this change.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours