[MacPorts] #46706: discount @2.1.8 - New Port
MacPorts
noreply at macports.org
Sun Jun 1 20:09:43 UTC 2025
#46706: discount @2.1.8 - New Port
--------------------------+--------------------------------
Reporter: mmpestorich | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: discount |
--------------------------+--------------------------------
Comment (by cooljeanius):
Replying to [comment:1 cooljeanius]:
> A `discount` port currently exists:
> {{{
> $ port info discount
> discount @2.2.7c (textproc)
>
> Description: C implementation of the Markdown markup language.
> Homepage: https://github.com/Orc/discount
>
> Platforms: darwin
> License: BSD
> Maintainers: Email: landonf at macports.org, GitHub: landonf
> Policy: openmaintainer
> $ port installed discount
> The following ports are currently installed:
> discount @2.2.7c_0 (active)
> $ port contents discount
> Port discount contains:
> /opt/local/bin/discount-markdown
> /opt/local/include/mkdio.h
> /opt/local/lib/libmarkdown.dylib
> /opt/local/lib/pkgconfig/libmarkdown.pc
> }}}
> It looks like it could use an update, though:
> {{{
> $ port -v livecheck discount
> discount seems to have been updated (port version: 2.2.7c, new version:
3.0.0a)
> }}}
...also, it currently fails to upgrade:
{{{
DEBUG: Executing portconfigure::configure_finish
Warning: Configuration logfiles contain indications of -Wimplicit-
function-declaration; check that features were not accidentally disabled:
puts: found in discount-2.2.7d/config.log
Warning: Configuration logfiles contain indications of -Wimplicit-int;
check that features were not accidentally disabled:
found in discount-2.2.7d/config.log
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Sun Jun 1 16:07:47 EDT 2025
---> Building discount
DEBUG: Executing org.macports.build (discount)
DEBUG: port disallows a parallel build, setting build jobs to 1
DEBUG: port disallows a parallel build, setting build jobs to 1
DEBUG: Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_discount/discount/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
DEVELOPER_DIR='/Library/Developer/CommandLineTools'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='15.0'
SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk'
SOURCE_DATE_EPOCH='1748720034'
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_discount/discount/work/discount-2.2.7d"
&& /usr/bin/make -w all
DEBUG: system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_discount/discount/work/discount-2.2.7d"
&& /usr/bin/make -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_discount/discount/work/discount-2.2.7d'
/usr/bin/clang -Wno-implicit-int -I. -pipe -Os
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -arch
x86_64 -fPIC -c main.c
main.c:311:29: error: incompatible function pointer types passing 'char
*(char *, int, char *)' to parameter of type 'mkd_callback_t' (aka 'char
*(*)(const char *, const int, void *)') [-Wincompatible-function-pointer-
types]
311 | mkd_e_code_format(doc, external_codefmt);
| ^~~~~~~~~~~~~~~~
./mkdio.h:71:45: note: passing argument to parameter here
71 | void mkd_e_code_format(void*, mkd_callback_t);
| ^
1 error generated.
make: *** [main.o] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_discount/discount/work/discount-2.2.7d'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_discount/discount/work/discount-2.2.7d"
&& /usr/bin/make -w all
Exit code: 2
Error: Failed to build discount: command execution failed
DEBUG: Error code: CHILDSTATUS 33087 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/46706#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list