Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 158519
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefan Schweizer <genstef@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jasmine <jasmine.aura@yahoo.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
fuse-2.6.1.ebuild.patch patch for fuse-2.6.1.ebuild file patch Jasmine 2006-12-18 23:55 0000 588 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158519 depends on: Show dependency tree
Bug 158519 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-18 23:52 0000
--------------- 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 From Jasmine 2006-12-18 23:55:31 0000 -------
Created an attachment (id=104344) [details]
patch for fuse-2.6.1.ebuild file

------- Comment #2 From Jasmine 2006-12-19 01:45:46 0000 -------
check patch

------- Comment #3 From Jakub Moc (RETIRED) 2006-12-19 02:55:17 0000 -------
Don't resolve bugs that are not fixed in the tree.

------- Comment #4 From Stefan Schweizer 2006-12-19 09:38:31 0000 -------
thanks, fixed the space issue. The path does not really matter and I prefer
one-dir paths.

------- Comment #5 From Jasmine 2006-12-19 11:18:49 0000 -------
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 From Stefan Schweizer 2006-12-19 12:41:30 0000 -------
its fixed in the tree, and FIXED is correctly because I set it.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug