From nobody Sun Mar 03 15:37:59 2024 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TnmF53ZP4z5D0xq for ; Sun, 3 Mar 2024 15:38:17 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TnmF45Jc4z4M1v for ; Sun, 3 Mar 2024 15:38:16 +0000 (UTC) (envelope-from kob6558@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=mc2P46B6; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::b2b as permitted sender) smtp.mailfrom=kob6558@gmail.com Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-dc6d9a8815fso3802861276.3 for ; Sun, 03 Mar 2024 07:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709480295; x=1710085095; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ERJ9YedjL2T2FS0tQ3IdLlkEUXaQlCh86EgBmwAUaAg=; b=mc2P46B6tEKwTWMF8eHL1vQx0Pao7kZvb2pcTS0aEVgW4acJtmiX+GLP6ns73Vvlj1 m57tW7Npg5/HsSkcvqMrwehDUMc9naq3e2FWqIfUYCIXPs5+ee6WRC1NuMWCUZeGY5Np KwZvzrdv1SVJ3gZL9PIQLc5zRoRIKwDvbERaBY/g4+N7omuXzSJYZ1ZqCkBPQ0TuXEez UVmKrB/crRbQSASlBAWqyUwYjG5mQz4Nm69qTETWpmZ4YTMpXzV9TptiOYAdxbj3O2mo e982C1zfnc7/QK+JT/glTrfiA/4O5g2nPlNb4sUMEFWxaaneEgUkM5/A9l8xtJ8VCKu4 TXPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709480295; x=1710085095; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ERJ9YedjL2T2FS0tQ3IdLlkEUXaQlCh86EgBmwAUaAg=; b=kydNy/2+mVOEtsARdH+NPcTqCCjnC0teCQwTsH542PSD8qxSLnXVBU6Ixfzz1B4xV1 c+zGwC3bkALOI0qpMR2/NedagtBKChc7kDyndYnhsqj79fu6skV7IGVMX/TN0O5jl1DF +QC5O+1sXYVeDYW/aF5iKBHZfDhZnWTdcV6wJ56XMvW6ch8XIie1MqnnnWKpZUeoRONg t1ZIgMJ4Wlxwo81sYSppUa1J6tnKyYHKa4EvfUd57Frdb0Lk4EL9hD1uDmCF6EPMrn4i esEOpoTnH/4tOCS7+ZtLAIoCN5nYwETVWpPxmlnbcR6kPIYw4dZP4njacAmM9ncqZ9nB 2W8w== X-Gm-Message-State: AOJu0Yyq1ULLidv00OSIk73ZYHxkWy1nGCWdz3YLCSl8Ixkhu2aOQgfE IqgB5z0eKIIZzxX1xhPhBzfIDGWKyuJ4UiT87mYKKm74v1sNlawMDUGQybSnxxdLIwZ/xBA2mlV yDJr8XvVlKrjBkjs7wfUrN89wsHRK1jXU6W8= X-Google-Smtp-Source: AGHT+IFPhHVmyvAHVf2lj5TCEj9QDUcNl48ouZuCmDDQ3kIWRC/OEiy68WFzRnu9y0h/PA/hCooQANIxPnWi5eOUCkE= X-Received: by 2002:a25:e807:0:b0:dcd:5f08:3666 with SMTP id k7-20020a25e807000000b00dcd5f083666mr5211727ybd.29.1709480295586; Sun, 03 Mar 2024 07:38:15 -0800 (PST) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: <1646351680.3606510.1709391988165.ref@mail.yahoo.com> <1646351680.3606510.1709391988165@mail.yahoo.com> In-Reply-To: <1646351680.3606510.1709391988165@mail.yahoo.com> From: Kevin Oberman Date: Sun, 3 Mar 2024 07:37:59 -0800 Message-ID: Subject: Re: Error compiling xf86-video-intel To: Filippo Moretti Cc: Freebsd-stable List Content-Type: multipart/alternative; boundary="000000000000c4e2ab0612c36552" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[stable@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[stable@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2b:from] X-Rspamd-Queue-Id: 4TnmF45Jc4z4M1v --000000000000c4e2ab0612c36552 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Mar 2, 2024 at 7:06=E2=80=AFAM Filippo Moretti wrote: > -- intel_virtual_output-virtual.o --- > virtual.c:499:11: error: use of undeclared identifier 'ETIME' > 499 | return -ETIME; > | ^ > virtual.c:506:11: error: use of undeclared identifier 'ETIME' > 506 | return -ETIME; > | ^ > virtual.c:3008:12: error: use of undeclared identifier 'ETIME' > 3008 | return -ETIME; > | ^ > virtual.c:3042:16: warning: 'format' attribute argument not supported: > gnu_printf [-Wignored-attributes] > 3042 | __attribute__((format(gnu_printf, 3, 4))) > | ^ > virtual.c:3056:40: warning: format string is not a string literal > [-Wformat-nonliteral] > 3056 | len =3D vsnprintf(buf+4, sizeof(buf)-4, format, va)+5; > | ^~~~~~ > virtual.c:3465:17: error: use of undeclared identifier 'ETIME' > 3465 | if (ret !=3D -ETIME) { > | ^ > 2 warnings and 4 errors generated. > *** [intel_virtual_output-virtual.o] Error code 1 > > make[2]: stopped in > /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f32= 1875492968f7097b9d6e82a66d7df/tools > 1 error > > make[2]: stopped in > /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f32= 1875492968f7097b9d6e82a66d7df/tools > > make[1]: stopped in > /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f32= 1875492968f7097b9d6e82a66d7df > > make: stopped in > /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f32= 1875492968f7097b9d6e82a66d7df > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e to > the maintainer. > *** Error code 1 > > Stop. > make[1]: stopped in /usr/ports/x11-drivers/xf86-video-intel > *** Error code 1 > > Stop. > make: stopped in /usr/ports/x11-drivers/xf86-video-intel > [root@ROXY /usr/ports/x11-drivers/xf86-video-intel]# > > > This is the error message in my system : > [root@ROXY /usr/ports/x11-drivers/xf86-video-intel]# uname -a > FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #22 > stable/14-n266661-a727d8d7f50f: Fri Feb 9 22:57:13 CET 2024 > filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64 > > Filippo > People keep reporting problems with xf86-video-intel when it really should not be used on any modern system. Intel dropped support for this driver years ago. Unless you have a really old system with a device that predates at least Sandy Bridge, the proper thing to do is to simply delete it. I'm not sure why xorg still prioritizes it ahead of modesetting which is the correct driver for any modern system using Intel graphics. I would like to see some information that modesetting is the right driver for any recent Intel graphics, but it seems obvious that the old Intel driver is needed for Intel graphics, even though it is the wrong answer. --=20 Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 --000000000000c4e2ab0612c36552 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Mar 2, 2024 at 7:06=E2= =80=AFAM Filippo Moretti <filip= pomore@yahoo.com> wrote:
-- intel_virtual_output-virtual.o ---
virtual.c:499:11: error: use= of undeclared identifier 'ETIME'
=C2=A0 499 |=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 return -ETIME;
=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=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 ^
virtual.c:506:11: err= or: use of undeclared identifier 'ETIME'
=C2=A0 506 |=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 return -ETIME;
=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=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 ^
virtual.c:30= 08:12: error: use of undeclared identifier 'ETIME'
=C2=A03008 |= =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=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 retur= n -ETIME;
=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=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=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 ^
virtual.c:3042:16: warning: 'format' attribute ar= gument not supported: gnu_printf [-Wignored-attributes]
=C2=A03042 | __a= ttribute__((format(gnu_printf, 3, 4)))
=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=C2=A0=C2= =A0=C2=A0=C2=A0 ^
virtual.c:3056:40: warning: format string is not a str= ing literal [-Wformat-nonliteral]
=C2=A03056 |=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 len =3D vsnprintf(buf+4, sizeof(buf)-4, format, va= )+5;
=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=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=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= =C2=A0=C2=A0=C2=A0 ^~~~~~
virtual.c:3465:17: error: use of undeclared id= entifier 'ETIME'
=C2=A03465 |=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=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 if (ret !=3D -ETIME) {
=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=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=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=C2=A0 ^
2 warnings and 4 errors generated.*** [intel_virtual_output-virtual.o] Error code 1

make[2]: stopped= in /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f= 321875492968f7097b9d6e82a66d7df/tools
1 error

make[2]: stopped in= /usr/ports/x11-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321= 875492968f7097b9d6e82a66d7df/tools

make[1]: stopped in /usr/ports/x1= 1-drivers/xf86-video-intel/work/xf86-video-intel-b74b67f0f321875492968f7097= b9d6e82a66d7df

make: stopped in /usr/ports/x11-drivers/xf86-video-in= tel/work/xf86-video-intel-b74b67f0f321875492968f7097b9d6e82a66d7df
=3D= =3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE= =3Dyes and rebuild before reporting the failure to
the maintainer.
**= * Error code 1

Stop.
make[1]: stopped in /usr/ports/x11-drivers/x= f86-video-intel
*** Error code 1

Stop.
make: stopped in /usr/p= orts/x11-drivers/xf86-video-intel
[root@ROXY /usr/ports/x11-drivers/xf86= -video-intel]#


This is the error message in my system :
[root@ROXY /usr/ports/x11-drivers/xf86-video-intel]# uname -a=
FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #22 stable/14-n266661-a727= d8d7f50f: Fri Feb=C2=A0 9 22:57:13 CET 2024=C2=A0=C2=A0=C2=A0=C2=A0 filippo= @ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64

Filippo
=C2=A0
People keep reporting problems with xf86-video-intel whe= n it really should not be used on any modern system. Intel dropped support = for this driver years ago. Unless you have a really old system with a devic= e that predates at least Sandy Bridge, the proper thing to do is to simply = delete it. I'm not sure why xorg still prioritizes it ahead of modesett= ing which is the correct driver for any modern system using Intel graphics.=

I would like to see some information th= at modesetting is the right driver for any recent Intel graphics, but it se= ems obvious that the old Intel driver is needed for Intel graphics, even th= ough it is the wrong answer.
--
Kevin Ob= erman, Part time kid herder and retired Network Engineer
E-mail: rkoberman@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
--000000000000c4e2ab0612c36552--