Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14763 - [kernel26] build third-party module failed because of missing Makefile

Attached to Project: Arch Linux
Opened by Sergej Pupykin (sergej) - Tuesday, 19 May 2009, 12:24 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 15 June 2009, 13:43 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I got following error while building drbd:

==========================================
$ LC_ALL= make -j1

Calling toplevel makefile of kernel source tree, which I believe is in
KDIR=/lib/modules/2.6.29-ARCH/build

test -f ../scripts/adjust_drbd_config_h.sh && \
KDIR=/lib/modules/2.6.29-ARCH/build O= /bin/bash ../scripts/adjust_drbd_config_h.sh
/lib/modules/2.6.29-ARCH/build ~/aur/drbd/src/drbd-8.3.1/drbd
make[2]: /usr/src/linux-2.6.29-ARCH/Documentation/DocBook/Makefile: No such file or directory
make[2]: *** No rule to make target `/usr/src/linux-2.6.29-ARCH/Documentation/DocBook/Makefile'. Stop.
make[1]: *** [help] Error 2
~/aur/drbd/src/drbd-8.3.1/drbd
==========================================

drbd does not include Documentation/DocBook/Makefile.

Also may be it would be better to keep whole Documentation directory...
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 15 June 2009, 13:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.6.30
Comment by Tobias Powalowski (tpowa) - Wednesday, 20 May 2009, 06:14 GMT
how about patching out help? It's not needed and hsould be easy to remove from building
Comment by Sergej Pupykin (sergej) - Wednesday, 20 May 2009, 13:27 GMT
I can build it with

make -C /usr/src/linux-2.6.29-ARCH SUBDIRS=`pwd` DRBDSRC=`pwd` modules_install INSTALL_MOD_PATH=$pkgdir

but not sure if it is right.
Comment by Tobias Powalowski (tpowa) - Thursday, 11 June 2009, 09:54 GMT
added to .30 series

Loading...