Opened 3 years ago

Last modified 7 months ago

#63266 new defect

missing file in boost: boost/multiprecision/cpp_int.hpp

Reported by: n7zzt (eric oyen) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: michaelld (Michael Dickens), ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager)
Port: boost

Description

the following is an excerpt from a debug log file for mkvtoolix and was a prerequisite for the build of transcode and dvdrip (among others). all other builds of the affected apps all broke at the same point indicating this missing file.

Attachments (1)

build error in macports referencing boost.txt (2.3 KB) - added by n7zzt (eric oyen) 3 years ago.
brief excerpt of build error in mkvtoolnix that directly references missing file in boost package

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by n7zzt (eric oyen)

brief excerpt of build error in mkvtoolnix that directly references missing file in boost package

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: michaelld mascguy added

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: ryandesign added

It's not clear whether this is an issue with boost176, or mkvtoolnix. Adding Ryan as well, since he maintains the latter.

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Priority: HighNormal

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

Keywords: compile error missing or broken file removed

Hmm, we show successful builds of mkvtoolnix 58.0.0 on OS X 10.9 and later on our buildbot system so something must be different on your system. Could you attach the config.log as well? It might say what's wrong.

I'll also work on updating the port to 59.0.0.

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

In the archive boost176-1.76.0_2+no_single+no_static+python39.darwin_19.x86_64.tbz2 available from our packages server, the file opt/local/libexec/boost/1.76/include/boost/multiprecision/cpp_int.hpp does exist, so at least we know the bug is not that the file is missing.

comment:6 in reply to:  5 Changed 3 years ago by n7zzt (eric oyen)

OK,
considering that there may have been an issue in configuration in my development installation, I did the following.

  1. removed the entire ports tree by rm -rf /opt

uninstalled command line tools for XCode
uninstalled XCode itself.
did a search for all configuration files for XCode in /Library, /SYstem, /Users/<my folder>/Library and did rm-rf <relevant files here>

then I restarted my machine and logged in.
Then I installed a fresh XCode environment using the XCode package as downloaded from the apple store for Catalina
Then I installed Command Line tools for Xcode using the terminal install method.
then I downloaded a fresh copy of macports 2.7.1 from macports and installed it by running the package installer
Once installed, I opened a new terminal and ran sudo port selfupdate
once that completed, I also ran sudo port upgrade outdated
then I proceeded to install boost, boost-build and boost-jam using sudo port install boost boost-build boost-jam and pressed Y to install any computed dependencies.

then to check, I did an LS in /opt/local/libexec/boost/1.76/include/boost/multiprecision/cpp_int.hpp and the results are thus:

EvilDead:~ proudhawk$ ls -al /opt/local/libexec/boost/1.76/include/boost/multiprecision/cpp_int.hpp
-rw-r--r--  1 root  admin  102309 Jun 15 10:40 /opt/local/libexec/boost/1.76/include/boost/multiprecision/cpp_int.hpp
EvilDead:~ proudhawk$ 

so, it currently does exist. However, mkvtoolnix, transcode, DVDRip and quite a few other apps that depend on this library say that it doesn't exist with the very same error as detailed in my first report.

Mind you, this is a DEFAULT INSTALL of macports without any changes. so, the development environment, as such, should point to everything correctly. so, exactly where do I need to look in order to specifically check for this?

last item, I am totally blind, so doing some of this is going to require spelled out directions in explicit detail.

btw, here is a copy of my path in terminal:

EvilDead:~ proudhawk$ cat .profile

# MacPorts Installer addition on 2017-09-01_at_20:51:21: adding an appropriate PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.

export PATH=/opt/local/bin:/opt/local/sbin:$PATH
EvilDead:~ proudhawk$ 

so, is there any place else I should be looking??

Replying to ryandesign:

In the archive boost176-1.76.0_2+no_single+no_static+python39.darwin_19.x86_64.tbz2 available from our packages server, the file opt/local/libexec/boost/1.76/include/boost/multiprecision/cpp_int.hpp does exist, so at least we know the bug is not that the file is missing.

Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

There was recently a major reorganization of the boost ports in MacPorts (specifically the splitting of the former single boost port into multiple ports for different boost versions) and the corresponding changes to all the ports that use boost, which are many. I'm not surprised that this has caused problems for some of them, we just need to figure out what they are and how to fix them.

Could you attach the config.log for the failed mkvtoolnix build? Per the log you attached earlier, the path to the config.log is:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mkvtoolnix/mkvtoolnix/work/mkvtoolnix-58.0.0/config.log

comment:8 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy removed

comment:9 Changed 7 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.