Ticket #35432 (closed defect: fixed)
some ports (XviD, g95, ghc, oracle-instantclient) missing from PortIndex
| Reported by: | whcordis@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.2 |
| Keywords: | Cc: | gwright@…, takeshi@…, rhpollok@…, f.calboli@…, dcecchin@…, ryandesign@…, super.express.zero@… | |
| Port: |
Description
When I try to install gimp-app it reports that it can't find XviD which is a dependency. Indeed, when I query the port database there is no xvid package. Either the dependency needs to be retargeted or there is some issue with xvid.
DEBUG: OS darwin/12.0.0 (Mac OS X 10.8) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf DEBUG: Searching for dependency: XviD DEBUG: Didn't find receipt, going to depspec regex for: XviD Error: Dependency 'XviD' not found. Error: Processing of port gimp-app failed
Change History
comment:1 follow-ups: ↓ 2 ↓ 3 Changed 11 months ago by ryandesign@…
- Keywords gimp, xvid removed
- Port changed from gimp-app to XviD
comment:2 in reply to: ↑ 1 Changed 11 months ago by rhpollok@…
Replying to ryandesign@…:
The XviD port exists, and hasn't even been modified since last year. Please sudo port selfupdate and try again.
I just installed MacPorts on a fresh Mountain Lion install and 'sudo port install gimp' gave the same error with XviD. I did a 'sudo port selfupdate' and tried again but the same error came up.
comment:3 in reply to: ↑ 1 Changed 11 months ago by whcordis@…
Replying to ryandesign@…:
The XviD port exists, and hasn't even been modified since last year. Please sudo port selfupdate and try again.
That worked for me. Not sure why the port just disappeared.
comment:5 follow-up: ↓ 8 Changed 11 months ago by macports_org@…
I was having the same problem, whilst trying to reinstall ports after upgrading to 10.8 Mountain Lion. I'm using mac ports 2.1.2. Doing a selfupdate didn't fix it for me. I had to rebuild the port index:
cd /opt/local/var/macports/sources/rsync.macports.org/release/ports sudo portindex -f
After this, XviD could be found again.
comment:7 Changed 11 months ago by ryandesign@…
#35447 shows that other ports (g95) are similarly sometimes not in the index.
comment:8 in reply to: ↑ 5 Changed 11 months ago by ohmygoddard@…
I am having the same problem, but I don't even see a ports folder in the path you specified. I tried running selfupdate, and all went well; however, there is still no ports directory.
sudo portindex -f Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 Up-to-date ports skipped: 0
Replying to macports_org@…:
I was having the same problem, whilst trying to reinstall ports after upgrading to 10.8 Mountain Lion. I'm using mac ports 2.1.2. Doing a selfupdate didn't fix it for me. I had to rebuild the port index:
cd /opt/local/var/macports/sources/rsync.macports.org/release/ports sudo portindex -f
After this, XviD could be found again.
comment:9 follow-up: ↓ 14 Changed 11 months ago by claude@…
I was able to solve this by doing what macports_org@… suggested. However the ports directory was in the tarballs directory not in the release directory:
cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports sudo portindex
The output was:
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports Adding port databases/oracle-instantclient Adding port lang/g95 Adding port multimedia/XviD Total number of ports parsed: 3 Ports successfully parsed: 3 Ports failed: 0 Up-to-date ports skipped: 15432
XviD was then found.
Doing a 'port selfupdate' by itself does not work... I have no idea why.
comment:11 in reply to: ↑ description ; follow-up: ↓ 15 Changed 11 months ago by edr@…
Yep, same here on fresh (empty hard disk) Mountain Lion 10.8 install:
"sudo port install ffmpeg +mmx +nonfree" => "Dependency 'XviD' not found."
Still nothing after "sudo port selfupdate". But it went OK after:
cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports sudo portindex
comment:12 Changed 11 months ago by sunoterra@…
Again, same here ... fresh, empty hd, with a new install of 10.8, selfupdate did not work. only the
cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports sudo portindex
allows you to see the ports
databases/oracle-instantclient lang/g95 multimedia/XviD
if you do a selfupdate after this, you will lose the ability see them again, and will have to run through the portindex process again.
comment:13 Changed 11 months ago by ryandesign@…
- Owner changed from macports-tickets@… to admin@…
- Cc ryandesign@… added
- Component changed from ports to server/hosting
- Port XviD deleted
- Summary changed from gimp-app requires XviD which is not found by macports to some ports (XviD, g95, oracle-instantclient) missing from PortIndex
It sounds like this is related to #35344.
comment:14 in reply to: ↑ 9 Changed 11 months ago by ohmygoddard@…
Thanks claude, this also resolved the issue above for me, and now XviD is there. Thanks for digging a bit deeper into the directories and posting back here -- it's very much appreciated.
Replying to claude@…:
I was able to solve this by doing what macports_org@… suggested. However the ports directory was in the tarballs directory not in the release directory:
cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports sudo portindex
The output was:
Creating port index in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports Adding port databases/oracle-instantclient Adding port lang/g95 Adding port multimedia/XviD Total number of ports parsed: 3 Ports successfully parsed: 3 Ports failed: 0 Up-to-date ports skipped: 15432
XviD was then found.
Doing a 'port selfupdate' by itself does not work... I have no idea why.
comment:15 in reply to: ↑ 11 Changed 11 months ago by ohmygoddard@…
Thanks for teaching me about the extra flags!
Replying to edr@…:
Yep, same here on fresh (empty hard disk) Mountain Lion 10.8 install:
"sudo port install ffmpeg +mmx +nonfree" => "Dependency 'XviD' not found."
Still nothing after "sudo port selfupdate". But it went OK after:
cd /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports sudo portindex
comment:17 follow-up: ↓ 23 Changed 11 months ago by jmr@…
In the case of at least oracle-instantclient it's a bug in the port; it raises an error at parse time.
comment:18 Changed 11 months ago by jmr@…
- Summary changed from some ports (XviD, g95, oracle-instantclient) missing from PortIndex to some ports (XviD, g95, ghc, oracle-instantclient) missing from PortIndex
comment:19 Changed 11 months ago by jmr@…
- Component changed from server/hosting to ports
ghc fixed in r96265.
comment:22 Changed 11 months ago by jmr@…
XviD fixed in r96268.
comment:23 in reply to: ↑ 17 Changed 11 months ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed


The XviD port exists, and hasn't even been modified since last year. Please sudo port selfupdate and try again.