Summary: | dev-util/kbuild-0.1.4 - kmk_builtin_mv: rename y.tab.c to /var/tmp/portage/dev-util/kbuild-0.1.4/work/kBuild-0.1.4/out/linux.amd64/release/obj/kmk_ash/arith.c: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Richard Little <rlittle88> |
Component: | [OLD] Development | Assignee: | Markus Ullmann (RETIRED) <jokey> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amackenz-gentoo, andre.hinrichs, gentoo-bugzilla, kinbot, polynomial-c, robryk, swapon, usefuljunk |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge output |
Description
Richard Little
2008-09-28 17:01:37 UTC
Created attachment 166690 [details]
emerge output
# emerge --info Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.6.1-r0, 2.6.26-gentoo x86_64) ================================================================= System uname: 2.6.26-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ Timestamp of tree: Sun, 28 Sep 2008 15:15:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb cairo cdr cli cracklib crypt cups dbus divx4linux dri dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv4 isdnlog jpeg kerberos ldap mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tiff truetype unicode vorbis xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vga" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS btw, I'm a bugzilla noob. Any criticism would be welcome. thanks. This seems to help (only a temporary workaround, whough). After the build process failed, do the following: # cd /var/tmp/portage/dev-util/kbuild-0.1.4/work/kBuild-0.1.4/ # mv arith.tab.c y.tab.c # mv arith.tab.h y.tab.h # ebuild ../../../kbuild-0.1.4/build-info/kbuild-0.1.4.ebuild compile install qmerge Oops, sorry, the last command won't work. Do this instead: # ebuild /usr/portage/dev-util/kbuild/kbuild-0.1.4.ebuild compile install qmerge That worked. Many thanks! Worked for me, too. Worked for me, too. I think that the problem appears only when one has non-vanilla yacc installed. With bison installed, the problem is that, when Makefile calls yacc, the normal bison vresion gets called and not the one which emulates yacc behaviour (ie. default output file name). I am unable to find which package installs the /usr/bin/yacc symlink (qfile yields nothing), but changing it to point to /usr/bin/yacc.bison instead of /usr/bin/bison solves the problem. That said, I am not sure whether it doesn't break anything else. Alas, if it does, that thing breaks also with vanilla yacc installed, so I doubt it. does this still happen with kbuild-0.1.5-r1 and/or kbuild-0.1.5_p2? Never ran into this bug again since 2008. I guess it's fixed in 0.1.5 and can be closed. (In reply to comment #11) > Never ran into this bug again since 2008. I guess it's fixed in 0.1.5 and can > be closed. > I'm now running 0.1.5-r1 and no longer have an issue. I'd suggest closing it too. Thanks, Rich |