From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 975B7D8100D for ; Fri, 17 Nov 2023 12:49:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=2CmxayIqguWW55TJBPaIugVe+oCxJEsWMRGGN+UzshY=; c=relaxed/simple; d=groups.io; h=Subject:To:From:User-Agent:MIME-Version:Date:Message-ID:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type; s=20140610; t=1700225359; v=1; b=hKJw6EBWUv8Py1Xva01vkwdSf8vB1Ng2ZtvQmSWWcHYbaCTHSy0qbk1vB4zhBTDcxoALDNcV yemqxqNguW8p9keVdIT7TcKO8ofHKiXkRAxiQCAfBFjRp1T0UGd7MrMA27tQEW0wSqzzvsw+pCg 3Dg/O454cdL4a5E/z6vjnFsQ= X-Received: by 127.0.0.2 with SMTP id 1ot1YY7687511xEGVGE7XGnG; Fri, 17 Nov 2023 04:49:19 -0800 Subject: [edk2-devel] [Bug] Building NetworkPkg fails due to missing SynchronizationLib dependency of BaseCryptLib To: devel@edk2.groups.io From: "CrossedCarpet" X-Originating-Location: PT (213.228.134.29) X-Originating-Platform: Linux Chrome 116 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 17 Nov 2023 04:49:18 -0800 Message-ID: Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,crossedcarpet@hotmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: eblfhQ7771y28FMjszRxXzDTx7686176AA= Content-Type: multipart/alternative; boundary="sZgYCWY8a4avbyEh0Agp" X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=hKJw6EBW; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=hotmail.com (policy=none) --sZgYCWY8a4avbyEh0Agp Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Steps to reproduce: - download and setup edk2 - run: build -a X64 -b DEBUG -t GCC -p NetworkPkg/NetworkPkg.dsc Get the error: build.py... /.../edk2/NetworkPkg/NetworkPkg.dsc(...): error 4000: Instance of library c= lass [SynchronizationLib] is not found in [/.../edk2/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf] [X64] consumed by module [/.../edk2/NetworkPkg/TlsDxe/TlsDxe.inf] Adding this LibClass to NetworkPkg.dsc solves it: SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizatio= nLib.inf I tried to open a bug in bugzilla but I wasn't able to log in or create an = account. How should I do it next time? -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#111398): https://edk2.groups.io/g/devel/message/111398 Mute This Topic: https://groups.io/mt/102646401/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- --sZgYCWY8a4avbyEh0Agp Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Steps to reproduce:
- download and setup edk2
- run:
build -a X64 -b DEBUG -t GCC -p NetworkPkg/Networ= kPkg.dsc

Get the error:
build.py...<= /span>
/.../edk2/Ne= tworkPkg/NetworkPkg.dsc(...): error 4000: Instance of library class [Synchr= onizationLib] is not found
in [/.../edk2/CryptoPkg/= Library/BaseCryptLib/BaseCryptLib.inf] [X64]
consumed by module [/...= /edk2/NetworkPkg/TlsDxe/TlsDxe.inf]

Adding this LibClass to NetworkPkg.dsc solves it:
  Synch= ronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.= inf

I tried to open a bug in bugzilla but I wasn't able to log in or= create an account. How should I do it next time?
_._,_._,_

Groups.io Links:

=20 You receive all messages sent to this group. =20 =20

View/Reply Online (#111398) | =20 | Mute= This Topic | New Topic
Your Subscriptio= n | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_
--sZgYCWY8a4avbyEh0Agp--