[MacPorts] #71212: sdcc @4.2.0: configure: error: boost library not found (boost/graph/adjacency_list.hpp) (was: SDCC fails to build on macos 15.1 arm64)

MacPorts noreply at macports.org
Thu Oct 31 06:24:03 UTC 2024


#71212: sdcc @4.2.0: configure: error: boost library not found
(boost/graph/adjacency_list.hpp)
-----------------------+----------------------
  Reporter:  sugarthc  |      Owner:  nerdling
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.10.2
Resolution:            |   Keywords:
      Port:  sdcc      |
-----------------------+----------------------
Changes (by ryandesign):

 * owner:  (none) => nerdling
 * status:  new => assigned


Old description:

> Fails in configure with:
>
> checking for boost/graph/adjacency_list.hpp... no
> configure: error: boost library not found
> (boost/graph/adjacency_list.hpp).
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sdcc/sdcc/work/sdcc-4.2.0"
> && ./configure --prefix=/opt/local --without-ccache
> Exit code: 1
> Error: Failed to configure sdcc: consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sdcc/sdcc/work/sdcc-4.2.0/config.log
> Error: Failed to configure sdcc: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sdcc/sdcc/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port sdcc failed
>

> Boost is installed and the header exists:
> $ ls -l /opt/local/include/boost/graph/adjacency_list.hpp
> -rw-r--r--  1 root  wheel  13692 Oct 29 19:17
> /opt/local/include/boost/graph/adjacency_list.hpp

New description:

 Fails in configure with:

 {{{
 checking for boost/graph/adjacency_list.hpp... no
 configure: error: boost library not found
 (boost/graph/adjacency_list.hpp).
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sdcc/sdcc/work/sdcc-4.2.0"
 && ./configure --prefix=/opt/local --without-ccache
 Exit code: 1
 Error: Failed to configure sdcc: consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sdcc/sdcc/work/sdcc-4.2.0/config.log
 Error: Failed to configure sdcc: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_sdcc/sdcc/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port sdcc failed
 }}}

 Boost is installed and the header exists:

 {{{
 $ ls -l /opt/local/include/boost/graph/adjacency_list.hpp
 -rw-r--r--  1 root  wheel  13692 Oct 29 19:17
 /opt/local/include/boost/graph/adjacency_list.hpp
 }}}

--

Comment:

 Please attach the main.log and config.log files mentioned in the error
 message. Remember to use WikiFormatting when writing in Trac.

-- 
Ticket URL: <https://trac.macports.org/ticket/71212#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list