Opened 3 years ago

Closed 3 years ago

#61673 closed defect (fixed)

mikmod: error: implicitly declaring library function 'strlen'

Reported by: alex1platon Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: mikmod

Description

Using Command Line Tools for XCode 12.2. It correctly triggers install of libmikmod (v.3.3) but fails to detect it properly:

:info:configure checking for libmikmod - version >= 3.1.5... no
:info:configure *** Could not run libmikmod test program, checking why...
:info:configure *** The test program compiled, but did not run. This usually means
:info:configure *** that the run-time linker is not finding libmikmod or finding the wrong
:info:configure *** version of libmikmod. If it is not finding libmikmod, you'll need to set your
:info:configure *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
:info:configure *** to the installed location. Also, make sure you have run ldconfig if that
:info:configure *** is required on your system.
:info:configure ***
:info:configure *** If you have an old version installed, it is best to remove it, although
:info:configure *** you may also be able to get things to work by modifying LD_LIBRARY_PATH
:info:configure configure: error:
:info:configure --- ERROR: No suitable libmikmod library found.
:info:configure            You need at least libmikmod 3.1.5 for this program to work.
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mikmod/mikmo
:info:configure Exit code: 1

Attachments (2)

main.log (12.9 KB) - added by alex1platon 3 years ago.
config.log (19.8 KB) - added by alex1platon 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by alex1platon

Attachment: main.log added

Changed 3 years ago by alex1platon

Attachment: config.log added

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur catalina added; mikmod big sur big_sur removed
Summary: mikmod fails to configure on Big Surmikmod: error: implicitly declaring library function 'strlen'

From the config.log, this the well-known Xcode 12 problem:

conftest.c:21:22: error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration]

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 018cae21b57f245c8d2d28e37a7a637803c302f9/macports-ports (master):

mikmod: Update to 3.2.8

Closes: #61673

Note: See TracTickets for help on using tickets.