Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

HOWTO: build qemu from cvs (incl. accelerator)

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
58 posts
  • Previous
  • 1
  • 2
  • 3
Author
Message
djm
Arch/Herd Tester
Arch/Herd Tester
User avatar
Posts: 690
Joined: Mon Apr 12, 2004 1:00 pm
Location: Wadham College, Oxford

Re: Security Violation: A file exists that is not in the man

  • Quote

Post by djm » Mon Apr 25, 2005 10:46 am

dobh wrote:Hi,

I moved from qemu-cvs to lu_zeros ebuild.

When I try to emerge it, the following error appears:

>>> Downloading http://dev.gentoo.org/~lu_zero/distfile ... 09.tar.bz2
--13:26:37-- http://dev.gentoo.org/%7Elu_zero/distfi ... 09.tar.bz2
=> `/usr/portage/distfiles/qemu-0.6.2.20050309.tar.bz2'
Resolving dev.gentoo.org... 134.68.220.30
Connecting to dev.gentoo.org[134.68.220.30]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 974,674 [application/x-tar]

100%[===============================================================================>] 974,674 426.44K/s

13:26:40 (425.32 KB/s) - `/usr/portage/distfiles/qemu-0.6.2.20050309.tar.bz2' saved [974674/974674]

!!! Security Violation: A file exists that is not in the manifest.
!!! File: files/kqemu-sysfs.patch


What shoud I do?
FEATURES="-strict" emerge qemu

FEATURES="strict" means that the file size of ebuilds and patches in the portage tree are checked, instead of just the things that get downloaded to distfiles. Until recently if was off by default, but that changed (on x86, at least).


Or, doing emerge --digest qemu should do the trick too
the forums.gentoo.org poster formally known as metal leper
Top
somas1
n00b
n00b
Posts: 64
Joined: Wed Jul 14, 2004 12:49 pm

  • Quote

Post by somas1 » Wed Apr 27, 2005 7:31 pm

zybl0re wrote:Okay, I'm not sure what's going on here, but I'm following the directions of the thread poster exactly (as far as I can tell), but when it get to the emerge step, I get

Code: Select all

tinomen portage # emerge qemu-cvs
Calculating dependencies   
emerge: there are no ebuilds to satisfy "qemu-cvs".
the tar extracted to /usr/local/portage... what's going on? I'm sure this must be some simple little thing I'm overlooking. :(

edit: okay, a dude ssh'd into my machine and helped me out. I needed to add /usr/local/portage to PORTDIR_OVERLAY in make.conf
qemu-cvs is compiling right now. :)
I've added

Code: Select all

PORTDIR_OVERLAY="/usr/local/portage"
to /etc/make.conf but I still get "there are no ebuilds to satisfy "qemu-cvs""

What am I doing wrong?
Top
xming
Guru
Guru
User avatar
Posts: 441
Joined: Tue Jul 02, 2002 7:32 pm
Contact:
Contact xming
Website

  • Quote

Post by xming » Wed Apr 27, 2005 8:53 pm

I get this while emerging qemu with kqemu

Code: Select all

make[1]: Entering directory `/var/tmp/portage/qemu-0.6.2.20050309/work/qemu/kqemu'
make -C /usr/src/linux M=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.11.7-reiser4'
  CC [M]  /var/tmp/portage/qemu-0.6.2.20050309/work/qemu/kqemu/kmod.o
In file included from include/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /var/tmp/portage/qemu-0.6.2.20050309/work/qemu/kqemu/kmod.c:5:
include/asm/system.h:306:23: warning: null character(s) preserved in literal
include/asm/system.h:306:23: missing terminating " character
In file included from include/asm/processor.h:18,
                 from include/asm/thread_info.h:17,
                 from include/linux/thread_info.h:21,
                 from include/linux/spinlock.h:12,
                 from include/linux/capability.h:45,
                 from include/linux/sched.h:7,
                 from include/linux/module.h:10,
                 from /var/tmp/portage/qemu-0.6.2.20050309/work/qemu/kqemu/kmod.c:5:
include/asm/system.h:311: error: syntax error before "kernel"

any ideas?

xming
http://wojia.be
Top
djm
Arch/Herd Tester
Arch/Herd Tester
User avatar
Posts: 690
Joined: Mon Apr 12, 2004 1:00 pm
Location: Wadham College, Oxford

  • Quote

Post by djm » Thu Apr 28, 2005 8:36 pm

qemu 0.7 is out and it's in portage (including the kernel module if you set the kqemu use flag), so (emerge sync &&) emerge qemu is now the way to get this


it's almost certainly keyworded as ~x86, btw
the forums.gentoo.org poster formally known as metal leper
Top
somas1
n00b
n00b
Posts: 64
Joined: Wed Jul 14, 2004 12:49 pm

  • Quote

Post by somas1 » Fri Apr 29, 2005 12:00 am

djm wrote:qemu 0.7 is out and it's in portage (including the kernel module if you set the kqemu use flag), so (emerge sync &&) emerge qemu is now the way to get this


it's almost certainly keyworded as ~x86, btw
Okay I've got .7 loaded with kqemu and I copied over a 6 gig .img file loaded with ubuntu that I've been using under the windows port of qemu for weeks. This .img will boot and will load basic services but will crash before loading a desktop. Is this (.7) working for anyone?
Top
xming
Guru
Guru
User avatar
Posts: 441
Joined: Tue Jul 02, 2002 7:32 pm
Contact:
Contact xming
Website

  • Quote

Post by xming » Mon May 02, 2005 9:55 pm

ok, I solved my problem, it was due to corrupted kernel headers, now running 0.7 :)
http://wojia.be
Top
hpux
n00b
n00b
Posts: 14
Joined: Mon Nov 24, 2003 11:41 pm
Location: Oregon State University
Contact:
Contact hpux
Website

  • Quote

Post by hpux » Thu May 05, 2005 6:20 am

I dont know if this is the problem you had, I had the same error, but the problem that I had was remidied by loading the new kqemu module that is created when you install using the accelerator.

However, now BeOS doesn't boot in qemu anymore... we'll see how it goes...
Top
asouldja
n00b
n00b
Posts: 18
Joined: Fri Dec 17, 2004 7:23 pm
Location: Belgium

  • Quote

Post by asouldja » Sat May 21, 2005 11:16 pm

I've just installed qemu like such:

Code: Select all

USE="kqemu softmmu" emerge qemu
kqemu files are there but I can't load any module even after a modules-update or reboot.

also tried:

Code: Select all

emerge qemu-cvs
but nothing....
Top
Post Reply

58 posts
  • Previous
  • 1
  • 2
  • 3

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic