Opened 6 months ago
Last modified 4 months ago
#73190 assigned defect
newsboat @2.40: error: invalid application of 'sizeof' to a function type
| Reported by: | pks | Owned by: | herbygillot (Herby Gillot) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | tahoe | Cc: | Raimondi (Israel Chauca Fuentes) |
| Port: | newsboat |
Description
There's no build for macOS 26:
# port install newsboat ---> Computing dependencies for newsboat ---> Fetching archive for newsboat ---> Attempting to fetch newsboat-2.40_0.darwin_25.arm64.tbz2 from https://fra.de.packages.macports.org/newsboat ---> Attempting to fetch newsboat-2.40_0.darwin_25.arm64.tbz2 from https://nue.de.packages.macports.org/newsboat ---> Attempting to fetch newsboat-2.40_0.darwin_25.arm64.tbz2 from https://cph.dk.packages.macports.org/newsboat ---> Building newsboat Error: Failed to build newsboat: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_newsboat/newsboat/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port newsboat failed
Attachments (1)
Change History (6)
comment:1 Changed 6 months ago by jmroot (Joshua Root)
| Cc: | Raimondi added |
|---|---|
| Owner: | set to herbygillot |
| Port: | newsboat added |
| Status: | new → assigned |
| Type: | update → defect |
comment:2 Changed 6 months ago by jmroot (Joshua Root)
:info:build In file included from src/ocnewsapi.cpp:1: :info:build In file included from include/ocnewsapi.h:5: :info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/map:593: :info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/__memory/unique_ptr.h:25: :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/__memory/compressed_pair.h:68:57: error: invalid application of 'sizeof' to a function type :info:build 68 | is_reference<_ToPad>::value || sizeof(_ToPad) == __datasizeof_v<_ToPad>)> :info:build | ^~~~~~~~~~~~~~ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/__memory/unique_ptr.h:162:3: note: in instantiation of default argument for '__compressed_pair_padding<deleter_type>' required here :info:build 162 | _LIBCPP_COMPRESSED_PAIR(pointer, __ptr_, deleter_type, __deleter_); :info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/__memory/compressed_pair.h:80:38: note: expanded from macro '_LIBCPP_COMPRESSED_PAIR' :info:build 80 | _LIBCPP_NO_UNIQUE_ADDRESS ::std::__compressed_pair_padding<T2> _LIBCPP_CONCAT3(__padding2_, __LINE__, _) :info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build src/ocnewsapi.cpp:62:11: note: in instantiation of template class 'std::unique_ptr<json_object, int (&)(json_object *)>' requested here :info:build 62 | JsonUptr feeds_uptr(feeds_query, json_object_put); :info:build | ^
Changed 6 months ago by jmroot (Joshua Root)
| Attachment: | main.log.bz2 added |
|---|
comment:3 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
| Keywords: | tahoe added |
|---|---|
| Summary: | newsboat build for macOS 26 / darwin_25 → newsboat @2.40: error: invalid application of 'sizeof' to a function type |
comment:4 Changed 4 months ago by herbygillot (Herby Gillot)
newsboat has just been updated to 2.42: https://github.com/macports/macports-ports/commit/40e54bf015078f1d83a515434c311cbfe71bee29
Can you confirm if this is still happening with that version?
comment:5 Changed 4 months ago by pks
Yes, same error:
:info:build ar qc librsspp.a rss/atomparser.o rss/exception.o rss/medianamespace.o rss/parser.o rss/rss09xparser.o rss/rss10parser.o rss/rss20parser.o rss/rssparser.o rss/rssparserfactory.o rss/xmlutilities.o :info:build ranlib librsspp.a :info:build In file included from src/ocnewsapi.cpp:1: :info:build In file included from include/ocnewsapi.h:5: :info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/map:593: :info:build In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/__memory/unique_ptr.h:25: :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/__memory/compressed_pair.h:68:57: error: invalid application of 'sizeof' to a function type :info:build 68 | is_reference<_ToPad>::value || sizeof(_ToPad) == __datasizeof_v<_ToPad>)> :info:build | ^~~~~~~~~~~~~~ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/__memory/unique_ptr.h:162:3: note: in instantiation of default argument for '__compressed_pair_padding<deleter_type>' required here :info:build 162 | _LIBCPP_COMPRESSED_PAIR(pointer, __ptr_, deleter_type, __deleter_); :info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX26.sdk/usr/include/c++/v1/__memory/compressed_pair.h:80:38: note: expanded from macro '_LIBCPP_COMPRESSED_PAIR' :info:build 80 | _LIBCPP_NO_UNIQUE_ADDRESS ::std::__compressed_pair_padding<T2> _LIBCPP_CONCAT3(__padding2_, __LINE__, _) :info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build src/ocnewsapi.cpp:62:11: note: in instantiation of template class 'std::unique_ptr<json_object, int (&)(json_object *)>' requested here :info:build 62 | JsonUptr feeds_uptr(feeds_query, json_object_put); :info:build | ^ :info:build 1 error generated. :info:build gmake: *** [Makefile:193: src/ocnewsapi.o] Error 1 :info:build gmake: *** Waiting for unfinished jobs.... :info:build gmake: Leaving directory '/opt/local/var/macports/build/newsboat-afce3765/work/newsboat-2.42'
Note: See
TracTickets for help on using
tickets.

Please attach the main.log.