Your message dated Fri, 5 Jul 2024 10:03:06 +0200
with message-id <864825be-7ae8-44d0-a60f-6fcbdf2ee...@debian.org>
and subject line Fixed: llvm-toolchain-18: autopkgtest fails on amd64
has caused the Debian Bug report #1070910,
regarding llvm-toolchain-18: autopkgtest fails on amd64
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1070910: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070910
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: llvm-toolchain-18
Version: 1:18.1.5-2
Severity: serious
X-Debbugs-Cc: sramac...@debian.org
https://ci.debian.net/packages/l/llvm-toolchain-18/testing/amd64/46304375/#S6
150s # Builds the test application
150s clang++-$VERSION -std=c++20 \
150s -nostdinc++ \
150s -isystem /usr/lib/llvm-$VERSION/include/c++/v1/ \
150s -L /usr/lib/llvm-$VERSION/lib \
150s -fmodule-file=std=std.pcm \
150s -fmodule-file=std.compat=std.compat.pcm \
150s std.pcm \
150s std.compat.pcm \
150s -lc++ \
150s foo.cpp
151s
151s # Runs the test application
151s # The output should be
151s # Hello modular world
151s # Hello compat modular world
151s ./a.out
151s Hello modular world
151s Hello compat modular world
151s
151s if test ! -f /usr/lib/llvm-$VERSION/include/cxxabi.h; then
151s echo "Install libc++abi-$VERSION-dev";
151s exit -1;
151s fi
151s
151s # Force the usage of libc++abi
151s clang++-$VERSION -stdlib=libc++ -lc++abi foo.cpp -o o
151s foo.cpp:1:1: error: unknown type name 'import'
151s 1 | import std;
151s | ^
151s foo.cpp:2:1: error: unknown type name 'import'
151s 2 | import std.compat;
151s | ^
151s foo.cpp:2:11: error: expected ';' after top level declarator
151s 2 | import std.compat;
151s | ^
151s | ;
151s foo.cpp:5:3: error: 'std' is not a class, namespace, or enumeration
151s 5 | std::cout << "Hello modular world\n";
151s | ^
151s foo.cpp:2:8: note: 'std' declared here
151s 2 | import std.compat;
151s | ^
151s foo.cpp:6:5: error: no
member named 'printf' in the global namespace
151s 6 | ::printf("Hello compat modular world\n");
151s | ~~^
151s 5 errors generated.
151s autopkgtest [23:36:28]: test command1: -----------------------]
Cheers
--
Sebastian Ramacher
--- End Message ---
--- Begin Message ---
thanks
--- End Message ---