Package Details: v8-3.14 3.14.5-7

Git Clone URL: https://aur.archlinux.org/v8-3.14.git (read-only, click to copy)
Package Base: v8-3.14
Description: A fast and modern javascript engine (old 3.14 version required R package V8)
Upstream URL: http://code.google.com/p/v8
Licenses: BSD
Conflicts: v8
Provides: v8
Submitter: kageurufu
Maintainer: hpmachining
Last Packager: hpmachining
Votes: 6
Popularity: 0.000000
First Submitted: 2015-02-13 01:28 (UTC)
Last Updated: 2021-10-04 01:57 (UTC)

Latest Comments

1 2 3 Next › Last »

hpmachining commented on 2022-06-24 14:48 (UTC)

Thank you for the report. I just built with gcc 12.1.0 in a clean chroot and didn't get any errors. Are you using a fully up to date Arch Linux system? What version is your gcc? If you continue to have issues with building errors, please post the error message.

MatejSpindler commented on 2022-06-24 08:10 (UTC)

Build fails with GCC 12.

Can be fixed with adding "-Wno-error=dangling-pointer" to CXXFLAGS

hpmachining commented on 2021-01-14 21:57 (UTC)

How do you build your AUR packages? To remove the source download, just delete it from wherever it is being downloaded to.

onekk commented on 2021-01-14 18:20 (UTC)

No luck, I have installed the v8-3.14-bin package, starting from a a fresh install maybe there are some quirks.

BTW how to remove the source download?

hpmachining commented on 2021-01-14 17:43 (UTC)

I don't know why it is not validating for you. Everything works on my end and the checksum in the PKGBUILD is correct. Try removing your source download and start fresh, if you haven't already.

onekk commented on 2021-01-14 15:39 (UTC)

Error is generated by the validation of the zipped sources

v8-3.14.5.tar.bz2 ... sha5sum not correct

hpmachining commented on 2021-01-14 14:03 (UTC)

Please post logs in English.

onekk commented on 2021-01-14 11:36 (UTC)

Build bug from AUR:

==> Creazione del pacchetto: v8-3.14 3.14.5-6 (gio 14 gen 2021, 12:33:17)
==> Download dei sorgenti in corso...
  -> È stato trovato v8-3.14.5.tar.bz2
  -> È stato trovato 0001_kfreebsd.patch
  -> È stato trovato 0002_mips.patch
  -> È stato trovato 0002_mips_r15102_backport.patch
  -> È stato trovato 0002_mips_r19121_backport.patch
  -> È stato trovato 0003_armv4t_disable_vfp.patch
  -> È stato trovato 0004_hurd.patch
  -> È stato trovato 0008_mksnapshot_stdout.patch
  -> È stato trovato 0011_use_system_gyp.patch
  -> È stato trovato 0012_loongson_force_cache_flush.patch
  -> È stato trovato 0013_gcc_48_compat.patch
  -> È stato trovato 0014_cve_2013_6639_6640.patch
  -> È stato trovato 0015-Backport-Utils-ApiCheck.patch
  -> È stato trovato 0016-remove-this-null.patch
  -> È stato trovato 0017_increase_stack_size_for_test.patch
  -> È stato trovato fix_CVE-2014-5256.patch
  -> È stato trovato nodejsREPLACE_INVALID_UTF8.patch
  -> È stato trovato strict_overflow.patch
  -> È stato trovato dont-assume-hardfloat-means-vfpv3.diff
  -> È stato trovato gcc7-fix.patch
==> Validazione di source file con sha256sums...
    v8-3.14.5.tar.bz2 ... NON RIUSCITO
    0001_kfreebsd.patch ... Verificato
    0002_mips.patch ... Verificato
    0002_mips_r15102_backport.patch ... Verificato
    0002_mips_r19121_backport.patch ... Verificato
    0003_armv4t_disable_vfp.patch ... Verificato
    0004_hurd.patch ... Verificato
    0008_mksnapshot_stdout.patch ... Verificato
    0011_use_system_gyp.patch ... Verificato
    0012_loongson_force_cache_flush.patch ... Verificato
    0013_gcc_48_compat.patch ... Verificato
    0014_cve_2013_6639_6640.patch ... Verificato
    0015-Backport-Utils-ApiCheck.patch ... Verificato
    0016-remove-this-null.patch ... Verificato
    0017_increase_stack_size_for_test.patch ... Verificato
    fix_CVE-2014-5256.patch ... Verificato
    nodejsREPLACE_INVALID_UTF8.patch ... Verificato
    strict_overflow.patch ... Verificato
    dont-assume-hardfloat-means-vfpv3.diff ... Verificato
    gcc7-fix.patch ... Verificato
==> ERRORE: Uno o più file non hanno superato il controllo di validità!
error downloading sources: v8-3.14

hpmachining commented on 2020-05-21 23:11 (UTC)

@artemklevtsov I added a CXXFLAG to build with gcc 10. Should work now.

artemklevtsov commented on 2020-05-21 03:32 (UTC)

Build fails with the following error:

  g++ '-DENABLE_DEBUGGER_SUPPORT' '-DENABLE_EXTRA_CHECKS' '-DV8_TARGET_ARCH_X64' '-DBUILDING_V8_SHARED' '-DV8_SHARED' -I../src  -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pthread -fno-rtti -fno-exceptions -pedantic -ansi -fvisibility=hidden -fPIC -fdata-sections -ffunction-sections -O3  -MMD -MF /home/unikum/.cache/yay/v8-3.14/src/v8-3.14.5/out/x64.release/.deps//home/unikum/.cache/yay/v8-3.14/src/v8-3.14.5/out/x64.release/obj.target/v8_base/src/factory.o.d.raw -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fno-delete-null-pointer-checks -std=c++98 -Wno-class-memaccess -Wno-cast-function-type -Wno-error=stringop-truncation -Wno-error=array-bounds -c -o /home/unikum/.cache/yay/v8-3.14/src/v8-3.14.5/out/x64.release/obj.target/v8_base/src/factory.o ../src/factory.cc
In file included from ../src/objects.h:37,
                 from ../src/elements.h:32,
                 from ../src/objects-inl.h:38,
                 from ../src/v8.h:60,
                 from ../src/debug-agent.cc:29:
In static member function 'static unsigned int unibrow::Utf8::Encode(char*, unibrow::uchar, int)',
    inlined from 'static bool v8::internal::DebuggerAgentUtil::SendMessage(const v8::internal::Socket*, v8::internal::Vector<short unsigned int>)' at ../src/debug-agent.cc:401:30:
../src/unicode-inl.h:104:12: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  104 |     str[0] = 0xF0 | (c >> 18);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~
../src/debug-agent.cc: In static member function 'static bool v8::internal::DebuggerAgentUtil::SendMessage(const v8::internal::Socket*, v8::internal::Vector<short unsigned int>)':
../src/debug-agent.cc:373:8: note: at offset -3 to object 'buffer' with size 80 declared here
  373 |   char buffer[kBufferSize];  // Sending buffer both for header and body.
      |        ^~~~~~
In file included from ../src/objects.h:37,
                 from ../src/elements.h:32,
                 from ../src/objects-inl.h:38,
                 from ../src/v8.h:60,
                 from ../src/debug-agent.cc:29:
In static member function 'static unsigned int unibrow::Utf8::Encode(char*, unibrow::uchar, int)',
    inlined from 'static bool v8::internal::DebuggerAgentUtil::SendMessage(const v8::internal::Socket*, v8::internal::Vector<short unsigned int>)' at ../src/debug-agent.cc:401:30:
../src/unicode-inl.h:105:12: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  105 |     str[1] = 0x80 | ((c >> 12) & kMask);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/debug-agent.cc: In static member function 'static bool v8::internal::DebuggerAgentUtil::SendMessage(const v8::internal::Socket*, v8::internal::Vector<short unsigned int>)':
../src/debug-agent.cc:373:8: note: at offset -2 to object 'buffer' with size 80 declared here
  373 |   char buffer[kBufferSize];  // Sending buffer both for header and body.
      |        ^~~~~~
In file included from ../src/objects.h:37,
                 from ../src/elements.h:32,
                 from ../src/objects-inl.h:38,
                 from ../src/v8.h:60,
                 from ../src/debug-agent.cc:29:
In static member function 'static unsigned int unibrow::Utf8::Encode(char*, unibrow::uchar, int)',
    inlined from 'static bool v8::internal::DebuggerAgentUtil::SendMessage(const v8::internal::Socket*, v8::internal::Vector<short unsigned int>)' at ../src/debug-agent.cc:401:30:
../src/unicode-inl.h:106:12: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
  106 |     str[2] = 0x80 | ((c >> 6) & kMask);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/debug-agent.cc: In static member function 'static bool v8::internal::DebuggerAgentUtil::SendMessage(const v8::internal::Socket*, v8::internal::Vector<short unsigned int>)':
../src/debug-agent.cc:373:8: note: at offset -1 to object 'buffer' with size 80 declared here
  373 |   char buffer[kBufferSize];  // Sending buffer both for header and body.
      |        ^~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [tools/gyp/v8_base.target.x64.mk:226: /home/unikum/.cache/yay/v8-3.14/src/v8-3.14.5/out/x64.release/obj.target/v8_base/src/debug-agent.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/unikum/.cache/yay/v8-3.14/src/v8-3.14.5/out'
make: *** [Makefile:179: x64.release] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
checking dependencies...