Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194991 - =sys-fs/avfs-0.9.7-r1 doesn't install avfs.h and virtual.h
Summary: =sys-fs/avfs-0.9.7-r1 doesn't install avfs.h and virtual.h
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-07 13:12 UTC by adapi
Modified: 2007-10-13 13:18 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description adapi 2007-10-07 13:12:21 UTC
The header files avfs.h and virtual.h are missing when trying to emerge worker-2.15.0 with the avfs use flag, after emerging sys-fs/avfs-0.9.7-r1.
(I also use the unicode flag, but I think it is irrelevant for this problem.)

Reproducible: Always

Steps to Reproduce:
1. echo "sys-fs/avfs ~amd64" >> /etc/portage/package.keywords
2. emerge sys-fs/avfs
3. echo "app-misc/worker ~amd64" >> /etc/portage/package.keywords
4. echo "app-misc/worker avfs unicode" >> /etc/portage/package.use
5. emerge app-misc/worker
Actual Results:  
...
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../src/aguix   -D_REENTRANT  -I/usr/include -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS  -march=k8 -O2 -pipe -fcheck-new -Wall -MT bookmarkdb.o -MD -MP -MF ".deps/bookmarkdb.Tpo" -c -o bookmarkdb.o bookmarkdb.cc; \
        then mv -f ".deps/bookmarkdb.Tpo" ".deps/bookmarkdb.Po"; else rm -f ".deps/bookmarkdb.Tpo"; exit 1; fi
In file included from basic_actions.h:26,
                 from basic_actions.cc:22:
wdefines.h:35:23: error: virtual.h: No such file or directory
In file included from avfssupport.hh:25,
                 from avfssupport.cc:22:
wdefines.h:35:23: error: virtual.h: No such file or directory
In file included from bookmarkdb.hh:25,
                 from bookmarkdb.cc:1:
wdefines.h:35:23: error: virtual.h: No such file or directory
avfssupport.cc: In function ‘std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > AVFSSupport::getAVFSModules()’:
avfssupport.cc:57: error: ‘virt_open’ was not declared in this scope
avfssupport.cc:60: error: ‘virt_read’ was not declared in this scope
avfssupport.cc:65: error: ‘virt_close’ was not declared in this scope
make[2]: *** [avfssupport.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [bookmarkdb.o] Error 1
make[2]: *** [basic_actions.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-misc/worker-2.15.0/work/worker-2.15.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/worker-2.15.0/work/worker-2.15.0/src'
make: *** [all-recursive] Error 1
 * 
 * ERROR: app-misc/worker-2.15.0 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   worker-2.15.0.ebuild, line 23:   Called die
 * 
 * make failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/worker-2.15.0/temp/build.log'.
 * 

 * Messages for package app-misc/worker-2.15.0:

 * 
 * ERROR: app-misc/worker-2.15.0 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   worker-2.15.0.ebuild, line 23:   Called die
 * 
 * make failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-misc/worker-2.15.0/temp/build.log'.
 * 


Expected Results:  
>>> app-misc/worker-2.15.0 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.


The quick & dirty fix to the problem is to copy the avfs.h and virtual.h from the include directory in the avfs-0.9.7.tar.bz2 package to /usr/include and then emerge worker, which works. The two header files can then be removed after installation.
Comment 1 Tobias Scherbaum (RETIRED) gentoo-dev 2007-10-07 13:39:53 UTC
You have avfs-0.9.7 or 0.9.7-r1 installed?
Comment 2 adapi 2007-10-07 14:10:30 UTC
I use sys-fs/avfs-0.9.7-r1
Comment 3 Tobias Scherbaum (RETIRED) gentoo-dev 2007-10-07 15:15:35 UTC
(In reply to comment #2)
> I use sys-fs/avfs-0.9.7-r1
> 

Please check then if /usr/include/avfs.h and /usr/include/virtual.h are installed on your system. If not please re-emerge sys-fs/avfs-0.9.7-r1 and try again.
Comment 4 adapi 2007-10-07 15:41:12 UTC
I now ran:

emerge =sys-fs/avfs-0.9.7-r1
emerge =app-misc/worker-2.15.0

...and got the same error. I checked which files avfs installed, and there were no avfs.h nor virtual.h installed.
So, it seems that the bug lies in the avfs package and not in the worker package. Worker with the avfs flag activated can't compile without avfs.h and virtual.h.
Comment 5 Tobias Scherbaum (RETIRED) gentoo-dev 2007-10-07 15:49:11 UTC
(In reply to comment #4)
> So, it seems that the bug lies in the avfs package and not in the worker
> package. Worker with the avfs flag activated can't compile without avfs.h and
> virtual.h.
> 

Correct, re-assigning
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2007-10-12 21:59:14 UTC
I bumped avfs to version 0.9.8.

I can reproduce this neither in the old nor in the new version, can you test it again with the new one please?
Comment 7 adapi 2007-10-13 13:18:46 UTC
I checked that virtual.h and avfs.h were not installed, emerged avfs-0.9.8, which installed both header files, and finally I successfully emerged worker-2.15.0.
Thanks!