From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Marshall Subject: Fwd: Packaging a cmake C++ header only library requiring C++17 Date: Thu, 28 Nov 2019 13:11:51 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000dcd9da05986c0c9b" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41441) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaOH4-0002Kp-VZ for help-guix@gnu.org; Thu, 28 Nov 2019 13:12:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaOGu-0004kH-Oo for help-guix@gnu.org; Thu, 28 Nov 2019 13:12:11 -0500 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:46106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaOGu-0004P4-GK for help-guix@gnu.org; Thu, 28 Nov 2019 13:12:08 -0500 Received: by mail-qk1-x735.google.com with SMTP id f5so5073432qkm.13 for ; Thu, 28 Nov 2019 10:12:04 -0800 (PST) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org --000000000000dcd9da05986c0c9b Content-Type: text/plain; charset="UTF-8" Hello, nckd and I have gone back and forth over a few days in IRC trying to help me out here. I am trying to package magic-enum ( https://github.com/Neargye/magic_enum ) which is a C++ header only library requiring at least C++ 17, and uses the cmake build system. The problem which we can't figure out is why the compiler being used is the default for `gcc` at 7.4 while there is explicit use and dependency on `gcc` 9.2 via `gcc-9`. We're stumped. Attached are the latest package definitions, build log, and cli invocation and output. --000000000000dcd9da05986c0c9b Content-Type: application/bzip2; name="0545hcvyz4p07jc5xz4crak2cvpxpv-magic-enum-0.6.3.drv.bz2" Content-Disposition: attachment; filename="0545hcvyz4p07jc5xz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Sp4zX8CKqqqq8p pHzii6kGU8TjOSoSeucmDX9nBmbnSzG/3HJ6MF4uaXYj6oyu2HTM58169jPWfScIwWrY0LC9HKWO bwekd097c7YVSpJVKdrU5LtxGxzdxpffPJ0o+ZuhqNjW0D3NTuM5mZGOYr1i98oyU9bri3oMUXu5 dJIXH8uo4pPafE7r8u5mVMq1ljuRthZJxLox3t+OYqV0Jn0puJ4mRtNDkwLGh86FZ5Y8ZrWRiQ93 r6kg5w7WqZZJk7mKHhTvu3Cc19SChaCU4Jpzg1O2TAQw7AatdUGeUkY5yNq3G8Y7vU9GB6mVhJG5 wkbc3sWmuo959WyYMRwMM0eyaTyeTBnO2jLNzIplcDR4oskg2OhlRgy0HfxkkMZrLyejtM5xR7GI y+6DD3GK1CpkLLLVm+3iquKx1pkX2WOi5zX2XRf0JbaVJgiohbKKKVS+kxmKxnbCx9KJqrZEoLMx bLefXDPDqG1PjqoTSDABYIbg0komsyEbwIYagx3kHeCGoEzkk5hEUYiIiIKpGOTRJIZEm9uz3DDC aRemeMRuKiSMcjek9qT+FICi3zSDFiBFnP9q4wWeTZF0mJxVVu/qX7zXbM5saHStaUg9a58FsO9e 8WZ1Ol8npOL2TfJR2YtY2yd257mKNSV7lp3LJvnsa49cyno90NOg5My8yTKcHcO47GDzOLvU0m85 rZ8WhyW97bOw6xCj1ubofCHhD0a3TPg60HYzI+alp5OR4GE5x3JifA8zkcGhUjV1nhNuWM5zc2DP GR6mZkOlGxyZmBweB6OR0d51PwRvRgmLvZTazus6nBic1RMx2wsHU5RldZkml2uRyeSY4YO1sf+h /6HIci4//i7kinChISpb6bw= --000000000000dcd9da05986c0c9b Content-Type: application/octet-stream; name="magic-enum.scm" Content-Disposition: attachment; filename="magic-enum.scm" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k3j0p1iu1 KGRlZmluZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBtYWdpYy1lbnVtKQogICM6dXNlLW1vZHVsZSAo Z3VpeCBwYWNr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9yIG1vZGVybiBDKyssIHdvcmsgd2l0 aCBhbnkgZW51bSB0eXBlIHdpdGhvdXQgYW55IG1hY3JvIG9yIGJvaWxlcnBsYXRlIGNvZGUiKQog ICAgKGRlc2NyaXB0aW9uICJIZWFkZXItb25seSBDKysxNyBsaWJyYXJ5IHByb3ZpZGVzIHN0YXRp YyByZWZsZWN0aW9uIGZvciBlbnVtcywgd29yayB3aXRoIGFueSBlbnVtIHR5cGUgd2l0aG91dCBh bnkgbWFjcm8gb3IgYm9pbGVycGxhdGUgY29kZS4iKQogICAgKGhvbWUtcGFnZSAiaHR0cHM6Ly9n aXRodWIuY29tL05lYXJneWUvbWFnaWNfZW51bSIpCiAgICAobGljZW5zZSBleHBhdCkpKQoKCm1h Z2ljLWVudW0= --000000000000dcd9da05986c0c9b Content-Type: application/octet-stream; name=stdout Content-Disposition: attachment; filename=stdout Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k3j0p6wi2 YW5hZG9uQGdvb2RhZHZpY2VtYWxsYXJkOn4vRG9jdW1lbnRzL2NvZGUvZ3VpeC1wYWNrYWdlcyQg Z3VpeCBwYWNrYWdlIC0taW5zdGFsbC1mcm9tLWZpbGU9bWFnaWMtZW51bS5zY20Kc3Vic3RpdHV0 ZTogL2dudS9zdG9yZS9xMTlsMDR2ZDJ6YTgwbWsxODQ1cHo3cjhjejI5cWs0My1iYXNoLW1pbmlt YWwtNC40LjIzL2Jpbi9iYXNoOiB3YXJuaW5nOiBzZXRsb2NhbGU6IExDX0FMTDogY2Fubm90IGNo YW5nZSBsb2NhbGUgKGVuX1VTLnV0ZjgpCnN1YnN0aXR1dGU6IC9nbnUvc3RvcmUvcTE5bDA0dmQy emE4MG1rMTg0NXB6N3I4Y3oyOXFrNDMtYmFzaC1taW5pbWFsLTQuNC4yMy9iaW4vYmFzaDogd2Fy bmluZzogc2V0bG9jYWxlOiBMQ19BTEw6IGNhbm5vdCBjaGFuZ2UgbG9jYWxlIChlbl9VUy51dGY4 KQpz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