Bug 276440 - textproc/html2text - Compile error, iostream.h file not found
Summary: textproc/html2text - Compile error, iostream.h file not found
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-18 20:51 UTC by Marty Stanquist
Modified: 2024-01-19 04:44 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marty Stanquist 2024-01-18 20:51:25 UTC
OS FreeBSD 14.0-RELEASE-p4 amd64
Port textproc/html2text 1.3.2a (downloaded via Git)

Hello,

When running the build using Portmaster or via make install clean, I get a compile error for string.C that stops the build. The error is:

Fatal error iostream.h file not found

string.C:50:10:

#include <iostream.h>

I also get the error:

Fatal error __string/char_traits.h file not found

/usr/include/c++/v1/string_view:220:10: 

#include <__string/char_traits.h>

This error has also been observed and reported for port devel/ninja.

Please review. Thanks.

Regards, Marty
Comment 1 Marty Stanquist 2024-01-18 22:32:52 UTC
The machine I'm working on was recently upgraded from FreeBSD 13.2 to 14.0 using freebsd-update -r 14.0-RELEASE upgrade. It has gcc10 version 10.3.0 and the default compiler clang version 16.0.6. The file iostream.h cannot be located on the system using the find command. The file char_traits.h is located at:

/usr/local/lib/gcc10/include/c++/bits/char_traits.h

I suspect that these files are no longer available to or part of the clang collection or there's a symbolic link or environment variable that no longer points to them. Possibly, the files were not included in the OS upgrade. I need help investigating this.
Comment 2 takefu 2024-01-19 04:44:24 UTC
(In reply to Marty Stanquist from comment #0)

see bug#273661