[MacPorts] #71666: perl5.26 configuration failure

MacPorts noreply at macports.org
Sat Dec 28 16:47:57 UTC 2024


#71666: perl5.26 configuration failure
-----------------------+--------------------
  Reporter:  jhdiesel  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.10.5
Resolution:            |   Keywords:
      Port:  perl5.26  |
-----------------------+--------------------

Old description:

> version 2.10.5 on 14.7.2
>
> during an update I got the message to change my sources.conf file from
>
> rsync://rsync.macports.org/macports/release/tarballs/ports.tar.gz
> to
> rsync://rsync.macports.org/release/tarballs/ports.tar.gz
>
> I edited the conf file and macports threw some errors (sorry I forget
> which). Hunting around I found instructions to use
>
> https://distfiles.macports.org/ports.tar.gz as a source
>
> that allowed me to update the port tree and ports told me I needed 29
> updates.
>
> 'upgrade outdated' command then proceeded to fail on the first task,
> which happened to be configuring perl15.26
>
> Error: Failed to configure perl5.26: configure failure: command execution
> failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5/perl5.26/main.log
> for details.
>
> (log file attached)
>
> I've since tried reinstalling ports using the current sonoma pkg file,
> manually deleting and recreating the sources.conf file with the rsync
> source including and not including the '/macports' bit, to no avail.

New description:

 version 2.10.5 on 14.7.2

 during an update I got the message to change my sources.conf file from

 rsync://rsync.macports.org/macports/release/tarballs/ports.tar.gz
 to
 rsync://rsync.macports.org/release/tarballs/ports.tar.gz

 I edited the conf file and macports threw some errors (sorry I forget
 which). Hunting around I found instructions to use

 https://distfiles.macports.org/ports.tar.gz as a source

 that allowed me to update the port tree and ports told me I needed 29
 updates.

 'upgrade outdated' command then proceeded to fail on the first task, which
 happened to be configuring perl15.26

 {{{
 Error: Failed to configure perl5.26: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_perl5/perl5.26/main.log
 for details.
 }}}

 (log file attached)

 I've since tried reinstalling ports using the current sonoma pkg file,
 manually deleting and recreating the sources.conf file with the rsync
 source including and not including the '/macports' bit, to no avail.

--

Comment (by ryandesign):

 Replying to [ticket:71666 jhdiesel]:
 > during an update I got the message to change my sources.conf file from
 >
 > rsync://rsync.macports.org/macports/release/tarballs/ports.tar.gz
 > to
 > rsync://rsync.macports.org/release/tarballs/ports.tar.gz

 Surely not. The URL whose path starts with `/macports` has been correct
 since 2016; the one that starts with `/release` is obsolete and is kept
 only for compatibility with users who haven't updated their conf files
 since before 2016.

 > Hunting around I found instructions to use
 >
 > https://distfiles.macports.org/ports.tar.gz as a source

 Ok, but fetching the full tarball each time you sync is much less
 efficient. Use this only if rsync does not work on your network (for
 example because your network administrator blocks it).

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


More information about the macports-tickets mailing list