Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431250 - net-libs/webkit-gtk-1.8.2-r300 - cp: cannot stat 'Programs/jsc-3': No such file or directory (parallel make problem?)
Summary: net-libs/webkit-gtk-1.8.2-r300 - cp: cannot stat 'Programs/jsc-3': No such fi...
Status: RESOLVED DUPLICATE of bug 414325
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://savannah.gnu.org/bugs/?30653
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-13 15:45 UTC by Vladimir
Modified: 2012-10-05 05:45 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,365.65 KB, text/plain)
2012-08-14 13:24 UTC, Leszek Salamacha
Details
Compressed GNUmakefile (GNUmakefile.xz,315.48 KB, application/x-xz)
2012-08-18 10:44 UTC, Vladimir
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2012-08-13 15:45:16 UTC
Hello!
  I cannot emerge net-libs/webkit-gtk-1.8.2-r300, because it fails to build with the following error message:


  GEN      Programs/jsc
cp: cannot stat 'Programs/jsc-3': No such file or directory
make: *** [Programs/jsc] Error 1


Reproducible: Always




 emerge --info
Portage 2.2.0_alpha121 (default/linux/amd64/10.0, gcc-4.6.3, unavailable, 3.5.0-gentoo x86_64)
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-Mobile_AMD_Sempron-tm-_Processor_3800+-with-gentoo-2.1
Timestamp of tree: Mon, 13 Aug 2012 07:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.2
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo sage-on-gentoo local
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/home/Install/GNU-Linux/distfiles/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.telepoint.bg/gentoo/ http://distfiles.gentoo.bg http://ftp.gentoo.bg"
LANG="uk_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru uk"
MAKEOPTS="-j1"
PKGDIR="/home/Install/GNU-Linux/binpkg/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sage-on-gentoo /usr/local/overlays"
SYNC="rsync://gentoo.bg/gentoo-portage/"
USE="3dnow 3dnowext 64bit 7zip X a52 aac aalib acpi alsa amd64 amrnb amrwb apm ass bash-completion bzip2 cairo cli consolekit cracklib crypt ctype curl cxx dbus dga djvu dri dts dvd encode exif expat faad fbcon fbcondecor festival ffmpeg fftw flac freetds fuse gd gdbm geoip gif git glut gmp gnuplot gnutls gsl gstreamer gtk gtk3 hddtemp iconv idn imagemagick imlib irc jabber jack jbig jpeg lame laptop latex libcaca libnotify libsamplerate lm_sensors lzo mad matroska mmap mmx mmxext mng modplug modules mudflap multilib nas ncurses nforce2 nls nptl nvidia ogg openal opencore-amr opengl openmp pam pdf plotutils pmu png policykit postscript pppd python qt3support qt4 readline rtc samba sasl sdl session shorten skins slang sndfile sockets speex spell sse sse2 ssl startup-notification svg syslog systray taglib tcl tcpd theora threads timidity truetype udev unicode usb vorbis wavpack webkit wmf x264 xattr xcb xcomposite xinerama xml xosd xpm xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru uk" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-14 12:52:36 UTC
Please attach the entire build log to this bug report.
Comment 2 Leszek Salamacha 2012-08-14 13:24:56 UTC
Created attachment 321314 [details]
build.log
Comment 3 Leszek Salamacha 2012-08-14 13:26:41 UTC
My emerge --info:
Portage 2.1.11.9 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.3.7-zen x86_64)
=================================================================
System uname: Linux-3.3.7-zen-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-2.1
Timestamp of tree: Tue, 14 Aug 2012 11:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.8 [enabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.8
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1, 2.22.90
sys-devel/gcc:            4.3.6-r1, 4.4.7, 4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm skype-eula googleearth AdobeFlash-10 AdobeFlash-10.1 AdobeFlash-10.3 Q3AEULA Oracle-BCLA-JavaSE Intel-SDP PUEL skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/portage/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl en"
MAKEOPTS="-j4 -s"
PKGDIR="/portage/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/portage/var/tmp"
PORTDIR="/portage/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility acl acpi adns aiglx aio alsa amd64 amr ansi ao apache2 arts artworkextra asf atm audacious audiofile audit authdaemond authlib bash-completion bdf berkdb bl bluetooth boundschecking branding browserplugin btrfs bzip2 bzlib cairo calendar caps cdda cddb cdf cdinstall cdparanoia cdr cern chardet chm chroot clearpasswd cli clisp consolekit contrib cracklib crypt cscope css cuda cups curl custom-optimization custreloc cxx d daap dbtool dbus development device-mapper dga dhcp dia dirac directfb divx4linux djvu dlloader dlna dlopen dmx double-precision dpms dri dts dv dvb dvd dvdr dvdread dvi dynagraph ebook ecc edl eds elf emboss emerald enca encode erandom evo excel exif expat fam fame fbcon ffmpeg fftw firefox fits flac flash fltk font-server fontconfig foomaticdb fortran fpx freesound ftp fuse gcj gd gdbm geoip geolocation ggi gif gimp glib glitz glut gmp gnokii gnome-print gnuplot gnutls gphoto2 gpm graphicsmagick graphviz gs gtk gtk3 gtkhtml guile hddtemp hou howl hpn htmlhandbook http hyperspec ical iconv ide idea idn ieee1394 imagemagick imlib inetd insecure-drivers insecure-savers ipalias ipv6 irda irmc ithreads jack jack-tmpfs java javascript jce joystick jpeg jpeg2k justify kdeenablefinal kdehiddenvisibility kig-scripting kpathsea ladspa lame lapack latex lcms lensfun libcaca libffi libkms libnotify libsamplerate libssh2 lirc live lm_sensors logitech-mouse logrotate loop-aes lua lzma lzo mad maildir math mathml matroska mbox md5sum mikmod mjpeg mmap mmx mmxext mng modplug modules mono moonlight motif mozilla moznomail mozsvg mozxmlterm mp2 mp3 mp4 mpeg mpi-threads mplayer mtp mudflap multicall multilib musepack musicbrainz mysql mythtv nas nautilus ncurses neXt netboot netcdf nethack network network-cron newspr njb nls nntp nobsh nologin nptl nsplugin ntfs ntp nvidia obex objc ocaml octave odbc offensive ofx ogdi ogg ogm on-the-fly-crypt openal opencl opencore-amr openexr opengl openmp oss pam pam_chroot pam_timestamp pango parse-clocks pch pcre pcsc-lite pda pdf perl perlsuid pg-intdatetime phonon php physfs plasma plotutils png pnm policykit portaudio postgres postscript povray ppds pppd private-headers profile pulseaudio pwdb python qmail qt3 qt3support qt4 quotas radio rar raw rdesktop readline recode reiserfs remote romio rpm rrdtool rtc ruby samba savedconfig sblive scanner schroedinger sdk sdl semantic-desktop sensord server session sid slang slp smp sms smux sndfile snmp sou soundtouch spamassassin speex spell sqlite srp srt sse sse2 ssl startup-notification static-modules stencil-buffer stlport streamzap subject-rewrite subversion svg sysfs syslog szip t1lib taglib tcl tcltk tcpd templates tetex tga theora threads thumbnail tidy tiff timidity tivo tk toolbar transcode truetype ucs2 udev udisks unicode upnp upower urandom usb userlocales utempter utils v4l v4l2 vaapi vala valias vcd vdpau vdr vhosts vim-syntax vim-with-x visualization vnc vorbis vpx webgl webkit wicd wifi winbind wma wmf wxwidgets wxwindows x264 xanim xattr xcb xcomposite xetex xext xforms xft xine xinerama xml xml2 xmp xorg xosd xpm xprint xscreensaver xulrunner xv xvid xvmc yv12 zlib zvbi" ALSA_CARDS="emu10k1 intel8x0" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="adc65 agfa-cl20 aox barbie canon clicksmart310 digigr8 digita dimera directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak konica largan lg_gsm mars minolta mustek panasonic pccam300 pccam600 polaroid ptp2 ricoh samsung sierra sipix smal sonix sonydscf1 sonydscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba toshiba agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 jl2005a topfield ax203 jl2005c st2205" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev joystick keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" LIRC_DEVICES="devinput inputlirc" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev nv v4l vesa vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 4 Vladimir 2012-08-14 15:59:18 UTC
  Hello!
  I succeed in emerging net-libs/webkit-gtk-1.8.2-r300 with MAKEOPTS="-j1" last night. So it is definitely not a *solution*, however it may serve as a temporary workaround for users.

  Regards,
    Vladimir
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-15 00:51:12 UTC
Yes, it looks like a parallel make issue in one of the subdirs.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-08-15 01:35:23 UTC
(In reply to comment #2)

I don't understand how this could happen. Your build log shows

>   GEN      Programs/jsc
> cp: cannot stat 'Programs/jsc-3': No such file or directory

However, webkit-gtk-1.8.2-r300's GNUmakefile contains

Programs/jsc$(EXEEXT): Programs/jsc-3$(EXEEXT)
	$(AM_V_GEN)cp -f Programs/jsc-3$(EXEEXT) Programs/jsc$(EXEEXT)

In other words, make should not be attempting the jsc target until the jsc-3 target had finished updating. But according to the log, the jsc-3 target was not even started...

Is this a bug in gnu make itself, or am I not seeing something obvious? @base-system, any suggestions?
Comment 7 SpanKY gentoo-dev 2012-08-18 04:39:38 UTC
(In reply to comment #6)

the dependencies do look correct, and it works for me.

Vladimir: can you try doing `emerge webkit-gtk` again and if it fails, attach the GNUmakefile here ?
Comment 8 Vladimir 2012-08-18 10:44:05 UTC
Created attachment 321616 [details]
Compressed GNUmakefile

  Hello!

(In reply to comment #7)
> (In reply to comment #6)
> 
> the dependencies do look correct, and it works for me.
> 
> Vladimir: can you try doing `emerge webkit-gtk` again and if it fails,
> attach the GNUmakefile here ?
  I tried it this morning like you suggested, and it failed with the same error message:
  «Programs/jsc-3»: No such file or directory
Comment 9 SpanKY gentoo-dev 2012-08-18 16:11:05 UTC
(In reply to comment #8)

well, that file looks like it was generated correctly

if you go into the build dir and run `make -j1 Programs/jsc` does it also fail ?
Comment 10 Vladimir 2012-08-18 21:57:44 UTC
(In reply to comment #9)
> (In reply to comment #8)
> 
> well, that file looks like it was generated correctly
> 
> if you go into the build dir and run `make -j1 Programs/jsc` does it also
> fail ?

# cd /var/tmp/portage/net-libs/webkit-gtk-1.8.2-r300/work/webkit-1.8.2
# make -j1 Programs/jsc
  CXX      Source/JavaScriptCore/Programs_jsc_3-jsc.o
  CXXLD    Programs/jsc-3
  GEN      Programs/jsc

So, it looks like everything went OK for this command.
Comment 11 Ben Kohler gentoo-dev 2012-09-13 16:46:42 UTC
A related upstream webkit-gtk bug here: https://bugs.webkit.org/show_bug.cgi?id=79498 points to a gnu make bug here: http://savannah.gnu.org/bugs/?30653 that appears to have been fixed there on Monday.

This may be worth checking out.
Comment 12 Vladimir 2012-09-21 18:56:49 UTC
The same problem with net-libs/webkit-gtk-1.8.3-r300
Comment 14 SpanKY gentoo-dev 2012-10-05 05:45:57 UTC

*** This bug has been marked as a duplicate of bug 414325 ***