Opened 4 years ago

Closed 4 years ago

#61059 closed defect (duplicate)

yara @4.0.2 "fatal error: 'lexer.h' file not found" when updating

Reported by: ostefano (Stefano Ortolani) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: yara

Description (last modified by ostefano (Stefano Ortolani))

See attached log file for full compilation log. Error appearing only on update.

Attachments (1)

main.log (250.6 KB) - added by ostefano (Stefano Ortolani) 4 years ago.
Compilation logs

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by ostefano (Stefano Ortolani)

Attachment: main.log added

Compilation logs

comment:1 Changed 4 years ago by ostefano (Stefano Ortolani)

Description: modified (diff)
Summary: yara 4.0.2 fatal error: 'lexer.h' file not foundyara 4.0.2 "fatal error: 'lexer.h' file not found" when updating

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Summary: yara 4.0.2 "fatal error: 'lexer.h' file not found" when updatingyara @4.0.2 "fatal error: 'lexer.h' file not found" when updating

It's a different error message but the same cause as #59627: Upgrading yara can fail if a previous version is installed. Work around it by deactivating the port before upgrading it:

sudo port -f deactivate yara
sudo port upgrade yara
Note: See TracTickets for help on using tickets.