Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238960 - 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
Summary: dev-util/kbuild-0.1.4 - kmk_builtin_mv: rename y.tab.c to /var/tmp/portage/de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-28 17:01 UTC by Richard Little
Modified: 2010-06-04 05:37 UTC (History)
8 users (show)

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


Attachments
emerge output (emerge_kbuild-0.1.4.txt,3.64 KB, text/plain)
2008-09-28 17:06 UTC, Richard Little
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Little 2008-09-28 17:01:37 UTC
kbuild-0.1.4 fails to emerge. I tried down-grading to 0.1.3, but it crashes dies at the same point.It fails to find a file "arith.c"

Reproducible: Always

Steps to Reproduce:
1.emerge -v =dev-util/kbuild-0.1.4
2.
3.
Comment 1 Richard Little 2008-09-28 17:06:07 UTC
Created attachment 166690 [details]
emerge output
Comment 2 Richard Little 2008-09-28 17:07:07 UTC
# 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
Comment 3 Richard Little 2008-09-28 17:11:31 UTC
btw, I'm a bugzilla noob. Any criticism would be welcome. thanks.
Comment 4 Sergey Urzhumskov 2008-09-29 03:16:44 UTC
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

Comment 5 Sergey Urzhumskov 2008-09-29 03:18:02 UTC
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
Comment 6 Richard Little 2008-09-29 05:05:46 UTC
That worked. Many thanks! 
Comment 7 Benedikt Waldvogel 2008-11-02 14:31:10 UTC
Worked for me, too.
Comment 8 Beetle B. 2008-11-05 21:33:25 UTC
Worked for me, too.
Comment 9 Robert Obryk 2009-02-20 19:33:14 UTC
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.
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-06-03 18:13:54 UTC
does this still happen with kbuild-0.1.5-r1 and/or kbuild-0.1.5_p2?
Comment 11 Sergey Urzhumskov 2010-06-04 02:50:09 UTC
Never ran into this bug again since 2008. I guess it's fixed in 0.1.5 and can be closed.
Comment 12 Richard Little 2010-06-04 05:37:52 UTC
(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