From nobody Thu Jun 09 13:39:31 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DD687854366 for ; Thu, 9 Jun 2022 13:39:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LJlZC515qz3lJT for ; Thu, 9 Jun 2022 13:39:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8DBEB249E1 for ; Thu, 9 Jun 2022 13:39:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 259DdVbN041379 for ; Thu, 9 Jun 2022 13:39:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 259DdVwn041378 for ports-bugs@FreeBSD.org; Thu, 9 Jun 2022 13:39:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264573] devel/emscripten: generated system library failed Date: Thu, 09 Jun 2022 13:39:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@sysctl.cz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: yuri@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654781971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=c4uZ73Xa1ciKrCtj2aLxKweaBKlSAr42kOGN+r22AMo=; b=A1ZcT4bQIMLfvZr2NMM2/qOZ2TV9IxoTunlhgCe+p1hKP8D8qyvcJ3EB1o0ucmHmkb0zLX CXumXE60oDa9P8RYwYjbuPwbmwM89bDuOqdd1sjOvlC1ZGlvBHhzUcJYlNf/O6CA20dusj sXA+C3Jt+Z4B8moJ+zdF0aQGCWm34muu8BZotlyUvG0O9z4f5W3drLm8J1UfbUttOcw1r1 QBD9kIVgqtSMwnFyhi8w9YTf0QYrnBuQcKsTbt0yrjYODTImlR/yIu9T+Zcqziqb7PJ4/F 6r7845kq/pB87EbMdhxxNmUF3ysAulCVYvME9HEGLAHo9IcDwYMTWTiCSFTvkQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654781971; a=rsa-sha256; cv=none; b=eOGHQ5qusrQfrp9QRRPV8ZyppLbTj5TjtxXkkMObPJ7flYyrVygvyPEi4vQRVYMggoj4yC 9FAufIx7g3ax5SLBC6NB0RbLPeUQdEkxsnME0ilIZrBz/+yBM7g2qIL9fQuwIO0ba3wIvu 60pv0Z5OabUeO+bxHx3pNYOSirV5Y27U2Dw+RH2Q+fpefdONr4YFqxOFyG4sq5Z97O31Lp 1UdHqiR6jizbjJ7/BaSYylt3rDUEmkp6Qbu9f8H+M+FwpuhbQw0Ga6A7ExB/46ch7mRIvc mC2e2Vy7JknSaYfuXwm+okmPJyE5oDmc0isQUbjUFBAeK/Nu5kImIpRNrzkktQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264573 Bug ID: 264573 Summary: devel/emscripten: generated system library failed Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yuri@freebsd.org Reporter: freebsd@sysctl.cz Flags: maintainer-feedback?(yuri@freebsd.org) Assignee: yuri@freebsd.org Hi, i tried hello world with emcc but i have problem with this: Name : emscripten Version : 2.0.3_1 Installed on : Wed Mar 23 16:24:11 2022 CET Origin : devel/emscripten Architecture : FreeBSD:12:* Prefix : /usr/local Categories : devel www Licenses : MIT, NCSA Maintainer : yuri@FreeBSD.org WWW : https://emscripten.org/ Comment : LLVM-to-Web Compiler emcc main.cpp=20 emcc: warning: LLVM version appears incorrect (seeing "15.0", expected "12.= 0") [-Wversion-check] cache:INFO: generating system library: libc.a... (this will be cached in "/home/maxfx/.emscripten_cache/wasm/libc.a" for subsequent builds) cache:INFO: - ok cache:INFO: generating system library: libcompiler_rt.a... (this will be ca= ched in "/home/maxfx/.emscripten_cache/wasm/libcompiler_rt.a" for subsequent bui= lds) cache:INFO: - ok cache:INFO: generating system library: libc++-noexcept.a... (this will be cached in "/home/maxfx/.emscripten_cache/wasm/libc++-noexcept.a" for subseq= uent builds) /usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.c= pp:174:57: error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call] __root_(move(other.__root_)= ), ^ std:: /usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.c= pp:175:58: error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call] __entry_(move(other.__entry= _)) { ^ std:: /usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.c= pp:257:17: error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call] path root =3D move(__imp_->__root_); ^ std:: /usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.c= pp:291:25: error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call] __imp_->__stack_.push(move(new_s)); ^ std:: /usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.c= pp:345:17: error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call] path root =3D move(stack.top().__root_); ^ std:: /usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.c= pp:379:29: error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call] __imp_->__stack_.push(move(new_it)); ^ std:: /usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.c= pp:390:21: error: unqualified call to 'std::move' [-Werror,-Wunqualified-std-cast-call] path at_ent =3D move(curr_it.__entry_.__p_); ^ std:: 7 errors generated. em++: error: '/usr/local/bin/clang++-devel -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=3D2 -D__EMSCRIPTEN_minor__=3D0 -D__EMSCRIPTEN_tiny__= =3D2 -D_LIBCPP_ABI_VERSION=3D2 -Dunix -D__unix -D__unix__ -Werror=3Dimplicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystem/usr/local/lib/emscripten/system/include/libcxx -Xclang -isystem/usr/local/lib/emscripten/system/lib/libcxxabi/include -Xclang -isystem/usr/local/lib/emscripten/system/include/compat -Xclang -isystem/usr/local/lib/emscripten/system/include -Xclang -isystem/usr/local/lib/emscripten/system/include/libc -Xclang -isystem/usr/local/lib/emscripten/system/lib/libc/musl/arch/emscripten -Xcl= ang -isystem/usr/local/lib/emscripten/system/local/include -Xclang -isystem/usr/local/lib/emscripten/system/include/SSE -Xclang -isystem/usr/local/lib/emscripten/system/include/neon -Xclang -isystem/usr/local/lib/emscripten/system/lib/compiler-rt/include -Xclang -isystem/usr/local/lib/emscripten/system/lib/libunwind/include -Xclang -isystem/home/maxfx/.emscripten_cache/wasm/include -DEMSCRIPTEN -fignore-exceptions -fno-inline-functions -Werror -DLIBCXX_BUILDING_LIBCXXA= BI=3D1 -D_LIBCPP_BUILDING_LIBRARY -Oz -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -fno-exceptions -c -o /tmp/emscripten_temp_f6ncafi7/directory_iterator.o /usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.c= pp -Xclang -isystem/usr/local/lib/emscripten/system/include/SDL -c -o /tmp/emscripten_temp_f6ncafi7/directory_iterator.o -mllvm -combiner-global-alias-analysis=3Dfalse -mllvm -enable-emscripten-sjlj -mll= vm -disable-lsr' failed (1) multiprocessing.pool.RemoteTraceback:=20 """ Traceback (most recent call last): File "/usr/local/lib/python3.8/multiprocessing/pool.py", line 125, in wor= ker result =3D (True, func(*args, **kwds)) File "/usr/local/lib/python3.8/multiprocessing/pool.py", line 48, in maps= tar return list(map(*args)) File "/usr/local/lib/emscripten/tools/system_libs.py", line 80, in run_one_command shared.run_process(cmd, stdout=3Dstdout, stderr=3Dstderr, env=3Dsafe_en= v) File "/usr/local/lib/emscripten/tools/shared.py", line 205, in run_process ret =3D subprocess.run(cmd, check=3Dcheck, input=3Dinput, *args, **kw) File "/usr/local/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/local/lib/emscripten/em++', '-Werror', '-DLIBCXX_BUILDING_LIBCXXABI=3D1', '-D_LIBCPP_BUILDING_LIBRARY', '-Oz', '-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS', '-fno-exceptions', '-c', '/usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.= cpp', '-o', '/tmp/emscripten_temp_f6ncafi7/directory_iterator.o', '-Wno-deprecate= d']' returned non-zero exit status 1. """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/lib/emscripten/emcc.py", line 3250, in sys.exit(run(sys.argv)) File "/usr/local/lib/emscripten/emcc.py", line 2053, in run extra_files_to_link +=3D system_libs.calculate([f for _, f in sorted(temp_files)] + extra_files_to_link, in_temp, link_as_cxx, forced=3Dforced_stdlibs) File "/usr/local/lib/emscripten/tools/system_libs.py", line 1567, in calculate add_library(system_libs_map['libc++']) File "/usr/local/lib/emscripten/tools/system_libs.py", line 1507, in add_library libs_to_link.append((lib.get_path(), need_whole_archive)) File "/usr/local/lib/emscripten/tools/system_libs.py", line 334, in get_p= ath return shared.Cache.get(self.get_filename(), self.build) File "/usr/local/lib/emscripten/tools/cache.py", line 127, in get temp =3D creator() File "/usr/local/lib/emscripten/tools/system_libs.py", line 381, in build create_lib(out_filename, self.build_objects()) File "/usr/local/lib/emscripten/tools/system_libs.py", line 375, in build_objects run_build_commands(commands) File "/usr/local/lib/emscripten/tools/system_libs.py", line 94, in run_build_commands pool.map_async(run_one_command, commands, chunksize=3D1).get(999999) File "/usr/local/lib/python3.8/multiprocessing/pool.py", line 771, in get raise self._value subprocess.CalledProcessError: Command '['/usr/local/lib/emscripten/em++', '-Werror', '-DLIBCXX_BUILDING_LIBCXXABI=3D1', '-D_LIBCPP_BUILDING_LIBRARY', '-Oz', '-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS', '-fno-exceptions', '-c', '/usr/local/lib/emscripten/system/lib/libcxx/filesystem/directory_iterator.= cpp', '-o', '/tmp/emscripten_temp_f6ncafi7/directory_iterator.o', '-Wno-deprecate= d']' returned non-zero exit status 1. --=20 You are receiving this mail because: You are the assignee for the bug.=