Bug 277510 - x11-drivers/xf86-video-intel: virtual.c:499:11: error: use of undeclared identifier 'ETIME'
Summary: x11-drivers/xf86-video-intel: virtual.c:499:11: error: use of undeclared iden...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-05 19:42 UTC by O. Hartmann
Modified: 2024-05-07 05:37 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2024-03-05 19:42:16 UTC
Host: CURRENT (FreeBSD 15.0-CURRENT #20 main-n268656-d3befb534b9c: Mon Mar  4 16:38:02 CET 2024 amd64), recent ports tree (today's update).

Linker error:

[..]
libtool: link: cc -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include/libpng16 -O2 -pipe -Werror=uninitialized -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o cursor cursor-cursor.o  -L/usr/local/lib -lXfixes -lX11 -lpng16
--- 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 = vsnprintf(buf+4, sizeof(buf)-4, format, va)+5;
      |                                               ^~~~~~
virtual.c:3465:17: error: use of undeclared identifier 'ETIME'
 3465 |                                 if (ret != -ETIME) {
      |                                             ^
2 warnings and 4 errors generated.
Comment 1 Ale 2024-05-07 05:37:29 UTC
+1
on 14/stable