From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id WPMDOAP5vGBssQAAgWs5BA (envelope-from ) for ; Sun, 06 Jun 2021 18:34:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2CF4MwP5vGA5bQAAB5/wlQ (envelope-from ) for ; Sun, 06 Jun 2021 16:34:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2FEA51354A for ; Sun, 6 Jun 2021 18:34:11 +0200 (CEST) Received: from localhost ([::1]:58422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpviz-0005gT-BD for larch@yhetil.org; Sun, 06 Jun 2021 12:34:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpviq-0005gF-C4 for help-guix@gnu.org; Sun, 06 Jun 2021 12:34:00 -0400 Received: from w1.tutanota.de ([81.3.6.162]:34184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpvio-0002fD-Fb for help-guix@gnu.org; Sun, 06 Jun 2021 12:34:00 -0400 Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id BEF39FA013B for ; Sun, 6 Jun 2021 16:33:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1622997234; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=Siy8WERkyuCsKEwGRN4hjQbzZEeH0hkaiT54O+1IHXQ=; b=m0ZCs4VWkYcQQIywea1YMwnhbbKW63O8GF2UuZzd/r1+Lc4jYoPnqkHoOwhf42jL YSf3zrjzPi4zAZLC39ekSbkL0SJ+N7sJImwWi2imV2f4kC2lmA7RgrGRSbDhdmlmBf/ IqPD9L3gmkQIDSV7Q9AE46ooixgwfaNFjsOQRIhQTHbU2KvzIWzD3VFxYBIKHhKSyQe DYI3XrN3LR82hHmF8Ab6+lP7yAe/XqOJS7Twhx7P12xGXIg83rYpcHlu67uuc3Myty5 qQoKQcbEo/zxpKkWQ2lE7goMSzp1UN3D08bYYHPZU1vZh8UHcbtDmnDgY2hO8DGZuWz VEpV1Lsb4w== Date: Sun, 6 Jun 2021 18:33:54 +0200 (CEST) To: Help Guix Message-ID: Subject: Compiling Qt application - error: linux/errno.h: No such file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=81.3.6.162; envelope-from=excalamus@tutanota.com; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: excalamus@tutanota.com From: excalamus--- via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622997251; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Siy8WERkyuCsKEwGRN4hjQbzZEeH0hkaiT54O+1IHXQ=; b=ccKycyl/iOVYEbBmpvfg7xfq0aPR6XXJik4vgdhVBifQmaYE/HDJndloGmKgXr/bOkdcQD Z/U6kmLSYwjsSQ3hcuYUww4iSaQNCCGXL/Yo6cLVXQavnNd9HMjsNfU6+YLEk2Ex9TidwM MZyUua+dOJewK6r2+/wfsc86WhN/HQrf76JZeDuP317wx+s4lIOzDvMdw/wxxLymnMbf1w ZwCXEpIBfSfywsfTKd2k8vM3dBaXdeTNKIV3OHDsD9hXGtdBgDLwLT1Q3A5RxYIDgeqmTi 1NpCoclPfj7ualM0cMEuUrKAA6BLeTBEiibNs3+kexLpWSaImutU/Tiq0fN7PQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622997251; a=rsa-sha256; cv=none; b=C1ZVoZlEvy795ausRqWtNSHrDK96rnMsKNkwpIZoavAi3PapRSUdwGvdegJD2/yulpFqgG 3NXpOalLFvTPON1Vo7oZt05uCfUbbdfD6BwFf25JiVNxXZLfQ1cbkUnZWtWpIkFPLGPOS6 6kHEym8CQqGelas5ZuMoIF0GN5nR1BvLpOe8EJADFO2H78BwTuQGNRyyMitvhHl79d5kl/ m8YnSQANtsnCdHedOQ9mYXKkcvGYEZ1BKMye6J456R/2jxFX94xew2x4xHZXph4OkKVeMx 1wkGEzjPv8aVZ11SYAqgrHA5wgDFvUbFQQ8ftPEu3vOQB0tPkGyMA5ZT8idGGw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tutanota.com header.s=s1 header.b=m0ZCs4VW; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tutanota.com header.s=s1 header.b=m0ZCs4VW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 2FEA51354A X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: f489QEH7qgd0 I'm a Python developer familiar with PySide/PyQt teaching myself how to use= Qt with C++ and following a tutorial on how to compile a Qt application wi= thout QtCreator (https://www.linux.org/threads/c-tutorial-create-qt-applica= tions-without-qtcreator.18409/).=C2=A0=20 I've installed what I believe are the necessary Guix packages: gcc (for g++= ), make, qtbase (for qmake and qtwidgets), and qtdeclarative (because the t= utorial uses that later on).=C2=A0 When trying to compile the basic main wi= ndow I get the following error: g++ -c -pipe -O2 -Wall -Wextra -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS = -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I../../.= guix-profile/include/qt5 -I../../.guix-profile/include/qt5/QtWidgets -I../.= ./.guix-profile/include/qt5/QtGui -I../../.guix-profile/include/qt5/QtCore = -I. -I/gnu/store/m5l6pwzlk3909n9cka9c9qlk7f0lqbig-libdrm-2.4.103/include/li= bdrm -I../../.guix-profile/lib/qt5/mkspecs/linux-g++ -o main.o main.cpp In file included from /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.3= 1/include/errno.h:28, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from /gnu/store/jc90jrkd40az0zggw84s3ax6m351jlkg-gcc-= 10.3.0/include/c++/cerrno:42, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from /gnu/store/jc90jrkd40az0zggw84s3ax6m351jlkg-gcc-= 10.3.0/include/c++/ext/string_conversions.h:44, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from /gnu/store/jc90jrkd40az0zggw84s3ax6m351jlkg-gcc-= 10.3.0/include/c++/bits/basic_string.h:6545, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from /gnu/store/jc90jrkd40az0zggw84s3ax6m351jlkg-gcc-= 10.3.0/include/c++/string:55, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from ../../.guix-profile/include/qt5/QtCore/qbytearra= y.h:52, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from ../../.guix-profile/include/qt5/QtCore/qstring.h= :50, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from ../../.guix-profile/include/qt5/QtCore/qobject.h= :47, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from ../../.guix-profile/include/qt5/QtCore/qabstract= animation.h:43, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from ../../.guix-profile/include/qt5/QtCore/QtCore:6, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from ../../.guix-profile/include/qt5/QtWidgets/QtWidg= etsDepends:3, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from ../../.guix-profile/include/qt5/QtWidgets/QtWidg= ets:3, =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 from main.cpp:2: /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/bits/errno.h= :26:11: fatal error: linux/errno.h: No such file or directory =C2=A0=C2=A0 26 | # include =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:1191: main.o] Error 1 If I'm reading the error output correctly, the error occurs when trying to = compile the main.cpp object file which uses includes the QtWidgets module.= =C2=A0 The error is in that portion of the source, so I don't think there's= anything I could comment out from the makefile. Browsing the documentation for glibc, it looks like linux/errno.h is a glib= c extension.=C2=A0 Is that not included in the Guix glibc package?=C2=A0 I = don't see another Guix package for glibc extensions.