Package Details: netcoredbg 3.1.3_1062-1

Git Clone URL: https://aur.archlinux.org/netcoredbg.git (read-only, click to copy)
Package Base: netcoredbg
Description: Debugger for .NET Core runtime
Upstream URL: https://github.com/Samsung/netcoredbg
Licenses: MIT
Submitter: jambon
Maintainer: yataro
Last Packager: yataro
Votes: 7
Popularity: 0.070324
First Submitted: 2019-02-15 02:10 (UTC)
Last Updated: 2025-12-12 12:39 (UTC)

Latest Comments

1 2 Next › Last »

ggnoredo commented on 2025-12-13 21:34 (UTC)

@yataro, yeah thank you very much for the suggestion

yataro commented on 2025-12-13 12:50 (UTC)

@ggnoredo hashsums are fine, I advise you to do a clean build, maybe source archive got corrupted because of network issues (dotnet/runtime archive is pretty heavy).

ggnoredo commented on 2025-12-13 08:51 (UTC)

==> Validating source files with sha256sums...
    netcoredbg-3.1.3-1062.tar.gz ... Passed
    dotnet_runtime_0ada13f.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/USERNAME/.cache/yay/netcoredbg
     context: exit status 1


:: (1/1) Parsing SRCINFO: netcoredbg
==> Making package: netcoredbg 3.1.3_1062-1 (Sat 13 Dec 2025 11:50:19 AM +03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found netcoredbg-3.1.3-1062.tar.gz
  -> Found dotnet_runtime_0ada13f.tar.gz
==> Validating source files with sha256sums...
    netcoredbg-3.1.3-1062.tar.gz ... Passed
    dotnet_runtime_0ada13f.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
 -> error making: netcoredbg-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
netcoredbg - exit status 1

yataro commented on 2025-04-01 08:39 (UTC)

Yeah, CMake 4.0 landed a few days ago. Thanks for the fix

JamesArchibald commented on 2025-04-01 08:03 (UTC)

I'm getting the following error building:

==> Making package: netcoredbg 3.1.2_1054-3 (Tue Apr  1 21:49:29 2025)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: netcoredbg-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
netcoredbg - exit status 4

I've added -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to the PKGBUILD and it then worked.

pigeongenerator commented on 2025-02-28 21:41 (UTC)

Builds just fine, though I did face the following error:

error NU1101: Unable to find package Microsoft.NETCore.App.Host.arch-x64

I found this forum post which seemed to be facing a similar, if not the exact same issue: https://bbs.archlinux.org/viewtopic.php?id=265923 I decided to just remove all dotnet packages (as I had installed more than I was actually using for some reason) and go through the installer which installed the latest ones back. Worked like a charm! :3

prometheus commented on 2023-06-01 22:53 (UTC)

Fails to build.

/home/moss/.cache/yay/netcoredbg/src/netcoredbg-2.2.0-974/src/debugger/waitpid.cpp:23:9: error: use of undeclared identifier 'abort'
        abort();
        ^
/home/moss/.cache/yay/netcoredbg/src/netcoredbg-2.2.0-974/src/debugger/waitpid.cpp:78:13: error: use of undeclared identifier 'WIFEXITED'
        if (WIFEXITED(*status))
            ^
/home/moss/.cache/yay/netcoredbg/src/netcoredbg-2.2.0-974/src/debugger/waitpid.cpp:80:56: error: use of undeclared identifier 'WEXITSTATUS'
            netcoredbg::hook::waitpid.SetExitCode(pid, WEXITSTATUS(*status));
                                                       ^
/home/moss/.cache/yay/netcoredbg/src/netcoredbg-2.2.0-974/src/debugger/waitpid.cpp:82:18: error: use of undeclared identifier 'WIFSIGNALED'
        else if (WIFSIGNALED(*status))
                 ^
/home/moss/.cache/yay/netcoredbg/src/netcoredbg-2.2.0-974/src/debugger/waitpid.cpp:84:122: error: use of undeclared identifier 'WTERMSIG'
            LOGW("Process terminated without exiting; can't get exit code. Killed by signal %d. Assuming EXIT_FAILURE.", WTERMSIG(*status));
                                                                                                                         ^
/home/moss/.cache/yay/netcoredbg/src/netcoredbg-2.2.0-974/src/debugger/waitpid.cpp:84:122: error: use of undeclared identifier 'WTERMSIG'
/home/moss/.cache/yay/netcoredbg/src/netcoredbg-2.2.0-974/src/debugger/waitpid.cpp:85:56: error: use of undeclared identifier 'EXIT_FAILURE'
            netcoredbg::hook::waitpid.SetExitCode(pid, EXIT_FAILURE);
                                                       ^
7 errors generated.
make[2]: *** [src/CMakeFiles/netcoredbg.dir/build.make:414: src/CMakeFiles/netcoredbg.dir/debugger/waitpid.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:229: src/CMakeFiles/netcoredbg.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: netcoredbg-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
netcoredbg - exit status 4

tobbik commented on 2021-06-07 19:58 (UTC) (edited on 2021-06-07 20:00 (UTC) by tobbik)

I was able to build the package with the following PKGBUILD:

pkgname=netcoredbg
pkgver=1.2.0
githubrel=786
pkgrel=1
pkgdesc='Debugger for .NET Core runtime'
url='https://github.com/Samsung/netcoredbg'
license=(MIT)
arch=(x86_64)
depends=(dotnet-host dotnet-runtime dotnet-sdk)
makedepends=(git cmake ninja clang)
optdepends=()
source=("${url}/archive/refs/tags/${pkgver}-${githubrel}.tar.gz")
sha256sums=('818c2df57f3f691d758829c22f532eb96212c63cd9504b4843eb068ee655c2da')

prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}-${githubrel}"
  mkdir -p "${srcdir}/build"
}

build() {
  cd "${srcdir}/build"
  CC=clang CXX=clang++ \
  cmake "${srcdir}/netcoredbg-${pkgver}-${githubrel}" \
     -GNinja \
     -DDOTNET_DIR=/usr/share/dotnet \
     -DCMAKE_INSTALL_PREFIX=/usr/share/dotnet
  ninja
}

package() {
  cd build
  DESTDIR="$pkgdir" ninja install
  mkdir -p "${pkgdir}/usr/bin"
  ln -s /usr/share/dotnet/netcoredbg "${pkgdir}/usr/bin/netcoredbg"
}

There is still a lot of testing to do

luluco250 commented on 2021-03-14 18:59 (UTC)

This package is failing due to the URL "https://github.com/Samsung/netcoredbg/archive/latest.tar.gz" yielding a 404, as well as the "fix.patch" breaking the build for some reason.

I was able to build it by modifying the PKGBUILD to explicitly download and build the 1.2.0-738.tar.gz archive and comment out the step where it patches the source code.

After installing it worked just fine on the open source release of VS Code from the Arch community repo, following the instructions on the wiki.

I believe this should be updated to remove the patching step (why is it needed?) and find some other way to fetch the latest release, properly maintain it or just fetch from git directly, because the program works just fine otherwise.

dszryan commented on 2020-10-21 01:47 (UTC)

build fails

pid_t waitpid(pid_t pid, int *status, int options) noexcept
      ^
/usr/include/sys/wait.h:111:16: note: previous declaration is here
extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options);
               ^
1 error generated.
[9/44] Building CXX object src/debug/netcoredbg/CMakeFiles/netcoredbg.dir/symbolreader.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: netcoredbg