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

Bug #393517 reported by Anders Kaseorg on 2009-06-29
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Unassigned

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.

Anders Kaseorg (andersk) wrote :
tags: added: bitesize

Thanks Anders, I'll notify the kernel team.

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
tags: added: patch
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) on 2009-07-09
Changed in linux (Ubuntu):
status: Won't Fix → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers