#67054 closed defect (fixed)

flashrom @1.3.0: build fails on all x86: missing DirectHW

Reported by: i0ntempest Owned by: Davide Gerhard <ra1nb0w@…>
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: ra1nb0w
Port: flashrom

Description

:info:build hwaccess_x86_msr.c:307:10: fatal error: 'DirectHW/DirectHW.h' file not found
:info:build #include <DirectHW/DirectHW.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make: *** [hwaccess_x86_msr.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build hwaccess_x86_io.c:123:10: fatal error: 'DirectHW/DirectHW.h' file not found
:info:build #include <DirectHW/DirectHW.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make: *** [hwaccess_x86_io.o] Error 1
:info:build hwaccess_physmap.c:136:10: fatal error: 'DirectHW/DirectHW.h' file not found
:info:build #include <DirectHW/DirectHW.h>
:info:build          ^~~~~~~~~~~~~~~~~~~~~
:info:build 1 error generated.
:info:build make: *** [hwaccess_physmap.o] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_flashrom/flashrom/work/flashrom-v1.3.0'

Might need to make this https://github.com/CloverHackyColor/directhw into a port and make flashrom depends on it.

Attachments (1)

main.log (64.0 KB) - added by i0ntempest 21 months ago.

Download all attachments as: .zip

Change History (3)

Changed 21 months ago by i0ntempest

Attachment: main.log added

comment:1 Changed 21 months ago by ra1nb0w

thank you for the report. But it is not a good idea to depend on old code/package specially if it is a kernel module. Now I check how to disable that dependency.

comment:2 Changed 21 months ago by Davide Gerhard <ra1nb0w@…>

Owner: set to Davide Gerhard <ra1nb0w@…>
Resolution: fixed
Status: newclosed

In 545ec750aa2e996f1b373aeff32db1b2d85c46a6/macports-ports (master):

flashrom: avoid directhw dependency

Closes: #67054

Note: See TracTickets for help on using tickets.