Opened 5 years ago

Closed 5 years ago

Last modified 3 years ago

#58872 closed defect (fixed)

port index screwed???

Reported by: mouse07410 (Mouse) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description (last modified by mouse07410 (Mouse))

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 \
$ 

Change History (5)

comment:1 Changed 5 years ago by mouse07410 (Mouse)

Description: modified (diff)

comment:2 Changed 5 years ago by mouse07410 (Mouse)

Description: modified (diff)

comment:3 Changed 5 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed
Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 5 years ago by mouse07410 (Mouse)

Ken, thanks. Could you explain what was it? Some manual-introduced typo?

comment:5 Changed 5 years ago by jmroot (Joshua Root)

Component: baseports
Note: See TracTickets for help on using tickets.