emerge pearpc ppc myconfig Couldnt open /dev/net/tun insmod tun.ko ppc myconfig >>>executing 'scripts/ifppc_up.setuid' ... >>>******************************************************************************** >>>couldn't exec 'scripts/ifppc_up.setuid': No such file or directory >>>fork = 4369, 0x00000000 >>>program terminated with exit code 1 >>>main() caught exception: error executing ifconfig. cd /usr/share/pearpc-0.3.1/ scripts are here instead of /usr/share/pearpc-0.3.1/scripts I Moved them ppc myconfig >>>couldn't exec 'scripts/ifppc_up.setuid': Permission denied >>>fork = 4401, 0x00000000 >>>program terminated with exit code 1 >>>main() caught exception: error executing ifconfig. looking at the permissions it showed -rw-r----- for each script chmod 750 if* ppc myconfig >>>/usr/share/pearpc-0.3.1/scripts/ifppc_up: line 11: /sbin/iptables: No such file or directory emerge iptables It still dosent work but that is a problem with my kernel. not a bug. It is also possiable to disable networking in the config file and pearpc will load however i wish to install gentoo ppc and obviously i need networking. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: Pear pc should have run right away. It should have automatically installed all of its depends. It should have also checked that tun.ko was loaded. Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 4 2005, 18:28:51)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.9.5, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -fomit-frame-pointer -pipe -funroll-loops -m3dnow" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -fomit-frame-pointer -pipe -funroll-loops -m3dnow" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib alsa apm arts avi berkdb bitmap-fonts ccache cdr crypt cups curl divx4linux dvdread emboss encode esd examples f77 fam ffmpeg font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 howl imagemagick imlib java jikes jpeg junit kde kerberos libg++ libwww mad maildir mikmod mmx mmx2 motif mozillamp3 mpeg mysql ncurses nls nptl offensive ogg oggvorbis openal opengl oss pam pdflib perl pic pie png python qt quicktime radeon readline samba sdl slang snmp soap spell ssessl svga tcltk tcpd threads tiff truetype truetype-fonts type1-fonts v4l vcd xml xml2 xmms xosd xv xvid zlib video_cards_radeon" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Created attachment 52817 [details] This is my version of the ebuild (The only file i changed) This is a (Possiable) Solution. I Dont know much about e-builds but i tried. It seems to work. In emerge -pe pearpc the following dependency shows up now [ebuild N ] net-firewall/iptables-1.2.11-r3 maybe a warning should be added to the post install information letting the user know that they will need to enable the universial TUN/TAP driver in the kernel.
Comment on attachment 52817 [details] This is my version of the ebuild (The only file i changed) Superceded by my new version
Created attachment 52818 [details] This is my final fix. I Know i shouldnt change permissions post install but it wouldnt work any other way. Added additional Depends moved if* scripts from ./ to ./scripts/ changed ./scripts/if* permissions to ?rwxr-xr-x (Made sure to leave setuid bit alone because some of the scripts need it some dont.)
Assigning to x86@g.o as I no longer maintain pearpc. x86 devs, can someone offer to maintain this (and let me know if you do so).
same thing with nasm (tested on amd64) nasm -O99 -f elf -o jitc_mmu.o -- jitc_mmu.asm gmake[4]: nasm: Polecenie nie znalezione (cmd not found...)
I committed a new ebuild which should fix this bug, thanks