[PATCH] `make clean` fails in karmic kernels because ubuntu/gfs is missing

Bug #393517 reported by Anders Kaseorg
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released

Bug Description

The patch “UBUNTU: [Config] Dropped gfs” deleted the ubuntu/gfs directory without removing
  obj-$(CONFIG_GFS_FS) += gfs/
from ubuntu/Makefile. This causes `make clean` (which descends into obj-y, obj-m, obj-n, and obj-) to fail as follows:

$ make clean
scripts/Makefile.clean:17: /home/anders/wd/linux-source-2.6.31/ubuntu/gfs/Makefile: No such file or directory
make[2]: *** No rule to make target `/home/anders/wd/linux-source-2.6.31/ubuntu/gfs/Makefile'. Stop.
make[1]: *** [ubuntu/gfs] Error 2
make: *** [_clean_ubuntu] Error 2

This also causes Ksplice to fail for similar reasons.

The attached patch fixes the problem by commenting the GFS line from ubuntu/Makefile.

Tags: bitesize patch
Revision history for this message
Anders Kaseorg (andersk) wrote :
tags: added: bitesize
Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Thanks Anders, I'll notify the kernel team.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: patch
Revision history for this message
Manoj Iyer (manjo) wrote :

Anders, thanks for the patch, GFS has been removed from karmic in 2.6.31-1.14 by apw (Andy Whitcroft)

Changed in linux (Ubuntu):
status: Triaged → Won't Fix
Anders Kaseorg (andersk)
Changed in linux (Ubuntu):
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers