1 |
I need a little coaching on qmerge usage. |
2 |
|
3 |
I'm trying to emerge sys-fs/zfs-fuse. The merge fails on a known bug, |
4 |
a duplicate of another bug... 303623 |
5 |
http://bugs.gentoo.org/show_bug.cgi?id=303623 |
6 |
|
7 |
In the comments... (#3) someone has asked to make the emerge once a |
8 |
specific file is edited to remove Werror calls. |
9 |
|
10 |
Someone replies with these few lines: |
11 |
ebuild /path/to/ebuild unpack |
12 |
edit the file |
13 |
ebuild /path/to/ebuild compile then install then qmerge |
14 |
|
15 |
I did `ebuild unpack' |
16 |
Found the file and made the necessary edits. |
17 |
|
18 |
Then ebuild install. |
19 |
|
20 |
But now looking a t man qmerge... its not at all clear how to install |
21 |
this compiled package with qmerge |
22 |
|
23 |
qmerge <opts> <pkgnames> |
24 |
|
25 |
Would pkgname be the binary `make' left in the build directory at: |
26 |
/var/tmp/portage/sys-fs/zfs-fuse-0.5.0/work/zfs-fuse-0.5.0 |
27 |
|
28 |
under: |
29 |
|
30 |
ls -F ./src/zfs-fuse/zfs-fuse: |
31 |
|
32 |
src/zfs-fuse/zfs-fuse* |
33 |
|
34 |
so something like `qmerge src/zfs-fuse/zfs-fuse*' |
35 |
The man page does say its for intalling binaries. |
36 |
|
37 |
I just don't want to make some mess thats hard to clean up and would |
38 |
rather hear from someone who knows how to use `qmerge'. |
39 |
|
40 |
Or even better some other work around.... The tail of the original |
41 |
emerge failure is inlined below. But its the exact output shown in |
42 |
the bug referenced above. And is the result of having Werror calls in |
43 |
the CCFLAGS |
44 |
|
45 |
There's even a patch from a previous duplicate bug its a simple edit |
46 |
but then you have to go thru creating an edited ebuild and yatta |
47 |
yatta. |
48 |
------- --------- ---=--- --------- -------- |
49 |
tail of emerge -v sys-fs/zfs-fuse |
50 |
|
51 |
[...] |
52 |
|
53 |
>>> Compiling source in /var/tmp/portage/sys-fs/zfs-fuse-0.5.0/work/zfs-fuse-0.5.0/src ... |
54 |
scons: Reading SConscript files ... |
55 |
scons: done reading SConscript files. |
56 |
scons: Building targets ... |
57 |
gcc -o cmd/zdb/ptrace.o -c -pipe -Wall -Werror -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -DLINUX_AIO -ggdb -O2 -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/ptrace.c |
58 |
gcc -o cmd/zdb/zdb.o -c -pipe -Wall -Werror -std=c99 -Wno-switch -Wno-unused -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" -DLINUX_AIO -ggdb -O2 -Ilib/libavl/include -Ilib/libnvpair/include -Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include -Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/zdb.c |
59 |
cc1: warnings being treated as errors |
60 |
cmd/zdb/zdb.c: In function 'zdb_dump_block_raw': |
61 |
cmd/zdb/zdb.c:2007: error: ignoring return value of 'write', declared with attribute warn_unused_result |
62 |
scons: *** [cmd/zdb/zdb.o] Error 1 |
63 |
scons: building terminated because of errors. |
64 |
* ERROR: sys-fs/zfs-fuse-0.5.0 failed: |
65 |
* Make failed |
66 |
|
67 |
[...] |