[MacPorts] #58872: port index screwed???

MacPorts noreply at macports.org
Fri Aug 23 14:36:03 UTC 2019


#58872: port index screwed???
-------------------------+--------------------
  Reporter:  mouse07410  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------
Description changed by mouse07410:

Old description:

> I don't know what's going on, or why. MacOS Mojave 10.14.6, everything
> current/latest/stable.
>
> {{{
> $ port info xz
> Error: Port xz not found
> $ sudo port upgrade gtk-doc
> Warning: No port xz found in the index.
> Warning: No port pkgconfig found in the index.
> Error: Unable to open port: can't read "prefix": no such variable
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> $
> }}}
>
> Needless to say, {{{sudo port sync && sudo port selfupdate}}} succeeded:
> {{{
> $ sudo port selfupdate
> --->  Updating MacPorts base sources using rsync
> MacPorts base version 2.5.4 installed,
> MacPorts base version 2.5.4 downloaded.
> --->  Updating the ports tree
> --->  MacPorts base is already the latest version
>
> The ports tree has been updated. To upgrade your installed ports, you
> should run
>   port upgrade outdated
> $
> }}}
>
> {{{sudo port rev-upgrade}}} also did not complain.

New description:

 I don't know what's going on, or why. MacOS Mojave 10.14.6, everything
 current/latest/stable.

 {{{
 $ port info xz
 Error: Port xz not found
 $ sudo port upgrade gtk-doc
 Warning: No port xz found in the index.
 Warning: No port pkgconfig found in the index.
 Error: Unable to open port: can't read "prefix": no such variable
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 $
 }}}

 Needless to say, {{{sudo port sync && sudo port selfupdate}}} succeeded:
 {{{
 $ sudo port selfupdate
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.5.4 installed,
 MacPorts base version 2.5.4 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 $
 }}}

 {{{sudo port rev-upgrade}}} also did not complain.

 {{{
 $ sudo port -d selfupdate
 DEBUG: Copying /Users/ur20980/Library/Preferences/com.apple.dt.Xcode.plist
 to /opt/local/var/macports/home/Library/Preferences
 DEBUG: MacPorts sources location:
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
 --->  Updating MacPorts base sources using rsync
 DEBUG: system: /usr/bin/rsync -rtzvl --delete-after
 rsync://rsync.macports.org/macports/release/tarballs/base.tar
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs

 Willkommen auf dem RSYNC-server auf ftp.fau.de.
 Nicht all unsere Mirror sind per rsync verfuegbar.

 Welcome to the RSYNC daemon on ftp.fau.de.
 Not all of our mirrors are available through rsync.


 receiving file list ... done

 sent 16 bytes  received 55 bytes  47.33 bytes/sec
 total size is 85608960  speedup is 1205760.00
 DEBUG: system: /usr/bin/rsync -rtzvl --delete-after
 rsync://rsync.macports.org/macports/release/tarballs/base.tar.rmd160
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs

 Willkommen auf dem RSYNC-server auf ftp.fau.de.
 Nicht all unsere Mirror sind per rsync verfuegbar.

 Welcome to the RSYNC daemon on ftp.fau.de.
 Not all of our mirrors are available through rsync.


 receiving file list ... done

 sent 16 bytes  received 62 bytes  52.00 bytes/sec
 total size is 512  speedup is 6.56
 DEBUG: successful verification with key /opt/local/share/macports
 /macports-pubkey.pem
 DEBUG: system: /usr/bin/tar -C
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/tmp
 -xf
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base.tar
 MacPorts base version 2.5.4 installed,
 DEBUG: Rebuilding and reinstalling MacPorts if needed
 MacPorts base version 2.5.4 downloaded.
 --->  Updating the ports tree
 Synchronizing local ports tree from
 rsync://rsync.macports.org/release/tarballs/ports.tar
 DEBUG: system: /usr/bin/rsync -rtzvl --delete-after --include=/ports.tar
 --include=/ports.tar.rmd160 --exclude=*
 rsync://rsync.macports.org/release/tarballs/
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs

 Willkommen auf dem RSYNC-server auf ftp.fau.de.
 Nicht all unsere Mirror sind per rsync verfuegbar.

 Welcome to the RSYNC daemon on ftp.fau.de.
 Not all of our mirrors are available through rsync.


 receiving file list ... done
 ./

 sent 68 bytes  received 99 bytes  111.33 bytes/sec
 total size is 69403136  speedup is 415587.64
 DEBUG: successful verification with key /opt/local/share/macports
 /macports-pubkey.pem
 DEBUG: system: /usr/bin/tar -C
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp
 -xf
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports.tar
 DEBUG: system: chmod -R a+r
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
 DEBUG: system: /opt/local/bin/portindex
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
 Creating port index in
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports
 Failed to parse file archivers/xz/Portfile: can't read "prefix": no such
 variable
 Failed to parse file databases/db48/Portfile: can't read "prefix": no such
 variable
 Failed to parse file databases/gdbm/Portfile: can't read "prefix": no such
 variable
 Failed to parse file databases/sqlite3/Portfile: can't read "prefix": no
 such variable
 Failed to parse file devel/gettext/Portfile: can't read "prefix": no such
 variable
 Failed to parse file devel/gperf/Portfile: can't read "prefix": no such
 variable
 Failed to parse file devel/icu/Portfile: can't read "prefix": no such
 variable
 Failed to parse file devel/libedit/Portfile: can't read "prefix": no such
 variable
 Failed to parse file devel/ncurses/Portfile: can't read "prefix": no such
 variable
 Failed to parse file devel/pkgconfig/Portfile: can't read "prefix": no
 such variable
 Failed to parse file devel/readline/Portfile: can't read "prefix": no such
 variable
 Failed to parse file lang/perl5/Portfile: can't read "prefix": no such
 variable
 Failed to parse file lang/python27/Portfile: can't read "prefix": no such
 variable
 Failed to parse file textproc/libiconv/Portfile: can't read "prefix": no
 such variable
 Failed to parse file textproc/libxml2/Portfile: can't read "prefix": no
 such variable

 Total number of ports parsed:   15
 Ports successfully parsed:      0
 Ports failed:                   15
 Up-to-date ports skipped:       21690

 --->  MacPorts base is already the latest version
 DEBUG: Setting MacPorts sources ownership to macports

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 $
 $ ll
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv/Portfile
 -rw-r--r--  1 macports  505  3478 Aug 23 07:04
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv/Portfile
 $ head
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv/Portfile
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c
 -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

 PortSystem              1.0
 PortGroup               muniversal 1.0
 PortGroup               clang_dependency 1.0

 name                    libiconv
 version                 1.16
 revision                0
 checksums               rmd160  770adf60b3099e5dcae434c1b6301d8c58330a49 \
 $
 }}}

--

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


More information about the macports-tickets mailing list