Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Problems with asn-rcc #636

Open
Janik-Haag opened this issue May 16, 2023 · 0 comments
Open

Build Problems with asn-rcc #636

Janik-Haag opened this issue May 16, 2023 · 0 comments

Comments

@Janik-Haag
Copy link

I'm currently trying to package UERANSIM for NixOS but having some trouble getting it to build, I pasted you the build log and the package definition below. From what I have read in #341 you are using your own propriatary fork of asn1c so I might have todo some patching?

{ lib
, stdenv
, fetchFromGitHub
, cmake
, lksctp-tools
, gcc
, iproute2
}:

let
  inherit (stdenv) isLinux;
in

stdenv.mkDerivation rec {
  pname = "ueransim";
  version = "3.2.6";

  src = fetchFromGitHub {
    owner = "aligungr";
    repo = "UERANSIM";
    rev = "v${version}";
    hash = "sha256-wl5AiLxMgANV9El/it0Ihegv0+rzIntRATqDVTH8SUA=";
  };

  nativeBuildInputs = [
    cmake
    gcc
  ];

  buildInputs = [
    lksctp-tools
    iproute2
  ];

  meta = {
    description = "Open source 5G UE and RAN (gNodeB) implementation";
    homepage = "https://github.com/aligungr/UERANSIM";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ janik ];
  };
}

Build log in a gist because it broke the 65536 chars issue limit.
https://gist.github.com/Janik-Haag/c3025b9e16414a47b59545dda332cb18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant