ports that are outdated but cannot be upgraded.

Christopher Jones jonesc at hep.phy.cam.ac.uk
Wed Mar 29 11:49:28 UTC 2023


Hio,

Your problem is precisely what it says at the end

> Error: Failed to configure libtorrent-rasterbar: boost176 must be
> installed with +python311.

you will likely have it installed with a different python version selected, and port respects this as your ‘choice’. You need to uninstall boost176 and reinstall it with the new default variants.

Chris

> On 29 Mar 2023, at 4:26 am, Kenneth Wolcott <kennethwolcott at gmail.com> wrote:
> 
> Hi Bill;
> 
>  I ran selfupdate again.
> 
>  Then port outdated
> 
>  Then sudo port -v -s upgrade outdated
> 
>  Now I get the message:
> 
> --->  Scanning binaries for linking errors
> Could not open /opt/local/libexec/boost/1.76/lib/libboost_python311-mt.dylib:
> Error opening or reading file (referenced from
> /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/libtorrent.cpython-311-darwin.so)
> --->  Found 1 broken file, matching files to ports
> --->  Found 1 broken port, determining rebuild order
> You can always run 'port rev-upgrade' again to fix errors.
> The following ports will be rebuilt: libtorrent-rasterbar @2.0.8+python311
> Continue? [Y/n]: n
> ~: sudo port rev-upgrade
> --->  Scanning binaries for linking errors
> --->  Found 1 broken file, matching files to ports
> --->  Found 1 broken port, determining rebuild order
> You can always run 'port rev-upgrade' again to fix errors.
> The following ports will be rebuilt: libtorrent-rasterbar @2.0.8+python311
> Continue? [Y/n]: y
> --->  Computing dependencies for libtorrent-rasterbar
> --->  Cleaning libtorrent-rasterbar
> --->  Scanning binaries for linking errors
> --->  Found 1 broken file, matching files to ports
> --->  Found 1 broken port, determining rebuild order
> --->  Rebuilding in order
>     libtorrent-rasterbar @2.0.8_1+python311
> --->  Computing dependencies for libtorrent-rasterbar
> --->  Fetching distfiles for libtorrent-rasterbar
> --->  Verifying checksums for libtorrent-rasterbar
> --->  Extracting libtorrent-rasterbar
> --->  Applying patches to libtorrent-rasterbar
> --->  Configuring libtorrent-rasterbar
> Error: Failed to configure libtorrent-rasterbar: boost176 must be
> installed with +python311.
> Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libtorrent-rasterbar/libtorrent-rasterbar/main.log
> for details.
> Error: rev-upgrade failed: Error rebuilding libtorrent-rasterbar
> Error: Follow https://guide.macports.org/#project.tickets if you
> believe there is a bug.
> 
> On Tue, Mar 28, 2023 at 12:48 PM Kenneth Wolcott
> <kennethwolcott at gmail.com> wrote:
>> 
>> Hi Bill;
>> 
>>  I've tried that, but the problem remains even if I do respond affirmatively.
>> 
>>  I think that there's a root problem here, but I just can't grasp
>> what it is precisely.
>> 
>> Thanks,
>> Ken
>> 
>> On Tue, Mar 28, 2023 at 12:41 PM Bill Cole
>> <macportsusers-20171215 at billmail.scconsult.com> wrote:
>>> 
>>> On 2023-03-28 at 15:03:48 UTC-0400 (Tue, 28 Mar 2023 12:03:48 -0700)
>>> Kenneth Wolcott <kennethwolcott at gmail.com>
>>> is rumored to have said:
>>> 
>>>> HI;
>>>> 
>>>>  I ran a selfupdate successfully today.
>>>> 
>>>> Then "sudo port -v -s upgrade outdated" seemed successful.
>>>> 
>>>> But then:
>>>> 
>>>> --->  Scanning binaries for linking errors
>>>> Could not open
>>>> /opt/local/libexec/boost/1.76/lib/libboost_python311-mt.dylib:
>>>> Error opening or reading file (referenced from
>>>> /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/libtorrent.cpython-311-darwin.so)
>>>> --->  Found 1 broken file, matching files to ports
>>>> --->  Found 1 broken port, determining rebuild order
>>>> You can always run 'port rev-upgrade' again to fix errors.
>>>> The following ports will be rebuilt: libtorrent-rasterbar
>>>> @2.0.8+python311
>>>> Continue? [Y/n]: n
>>>> ~: port diagnose
>>>> [nothing returned]
>>>> port outdated
>>>> No installed ports are outdated.
>>>> 
>>>> So, this still seems less than ideal.
>>> 
>>> It seems to me that the right answer to rev-upgrade's "Continue?" prompt
>>> should always be "y" but I could be wrong.
>>> 
>>> --
>>> Bill Cole
>>> bill at scconsult.com or billcole at apache.org
>>> (AKA @grumpybozo and many *@billmail.scconsult.com addresses)
>>> Not Currently Available For Hire



More information about the macports-users mailing list