Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158519 - sys-fs/fuse-2.6.0 and 2.6.1 compile failure
Summary: sys-fs/fuse-2.6.0 and 2.6.1 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-18 23:52 UTC by Jasmine
Modified: 2006-12-19 12:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for fuse-2.6.1.ebuild file (fuse-2.6.1.ebuild.patch,588 bytes, patch)
2006-12-18 23:55 UTC, Jasmine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jasmine 2006-12-18 23:52:31 UTC
--------------- with sys-fs/fuse-2.6.0 -------------------------
make: *** No rule to make target `/fs'.  Stop.

!!! ERROR: sys-fs/fuse-2.6.0 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  fuse-2.6.0.ebuild, line 49:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  majver=2.6
                          fusemoduledir=//lib/modules/2.6.17-gentoo-r8 /fs all.


--------------- with sys-fs/fuse-2.6.1 -------------------------
make: *** No rule to make target `/fs'.  Stop.

!!! ERROR: sys-fs/fuse-2.6.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  fuse-2.6.1.ebuild, line 48:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  majver=2.6
                          fusemoduledir=//lib/modules/2.6.17-gentoo-r8 /fs all.


Looks like the module path specified in BUILD_PARAMS doesn't expand like it's supposed to. First, ${ROOT} just evaluates to '/'
Second, ${KV_DIR} was being returned with an added trailing space (wtf?)
Third, module subdir for fuse is '/kernel/fs/fuse', and not just '/fs'

quick fix, in the ebuild, change this:
BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR}
               fusemoduledir=${ROOT}/lib/modules/${KV_FULL}/fs"

to this:
BUILD_PARAMS="majver=${KV_MAJOR}.${KV_MINOR}
               fusemoduledir=${D}/lib/modules/${KV_FULL/\ //}/kernel/fs/fuse"
Comment 1 Jasmine 2006-12-18 23:55:31 UTC
Created attachment 104344 [details, diff]
patch for fuse-2.6.1.ebuild file
Comment 2 Jasmine 2006-12-19 01:45:46 UTC
check patch
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-12-19 02:55:17 UTC
Don't resolve bugs that are not fixed in the tree.
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-12-19 09:38:31 UTC
thanks, fixed the space issue. The path does not really matter and I prefer one-dir paths.
Comment 5 Jasmine 2006-12-19 11:18:49 UTC
sorry, i won't set the status to RESOLVED any more until it is fixed in the tree.
Thanks for the note, Jakub.


Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-12-19 12:41:30 UTC
its fixed in the tree, and FIXED is correctly because I set it.