Opened 12 years ago

Closed 12 years ago

#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@…, tenomoto (Takeshi Enomoto), rhpollok@…, f.calboli@…, dcecchin@…, ryandesign (Ryan Carsten Schmidt), 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 (23)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: gimp xvid removed
Port: XviD added; gimp-app removed

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

comment:2 in reply to:  1 Changed 12 years 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 12 years 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:4 Changed 12 years ago by rhpollok@…

Cc: rhpollok@… added

Cc Me!

comment:5 Changed 12 years 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:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: f.calboli@… added

Has duplicate #35450.

comment:7 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

#35447 shows that other ports (g95) are similarly sometimes not in the index.

comment:8 in reply to:  5 Changed 12 years 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 Changed 12 years 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:10 Changed 12 years ago by dcecchin@…

Cc: dcecchin@… added

Cc Me!

comment:11 in reply to:  description ; Changed 12 years ago by ednl (Ewoud Dronkert)

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 12 years ago by sunoterra (Michael Stilson)

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 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Component: portsserver/hosting
Owner: changed from macports-tickets@… to admin@…
Port: XviD removed
Summary: gimp-app requires XviD which is not found by macportssome ports (XviD, g95, oracle-instantclient) missing from PortIndex

It sounds like this is related to #35344.

comment:14 in reply to:  9 Changed 12 years 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 12 years 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:16 Changed 12 years ago by super.express.zero@…

Cc: super.express.zero@… added

Cc Me!

comment:17 Changed 12 years ago by jmroot (Joshua Root)

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 12 years ago by jmroot (Joshua Root)

Summary: some ports (XviD, g95, oracle-instantclient) missing from PortIndexsome ports (XviD, g95, ghc, oracle-instantclient) missing from PortIndex

comment:19 Changed 12 years ago by jmroot (Joshua Root)

Component: server/hostingports

ghc fixed in r96265.

comment:20 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from admin@… to macports-tickets@…

comment:21 Changed 12 years ago by jmroot (Joshua Root)

Cc: gwright@… takeshi@… added

g95 fixed in r96267.

comment:22 Changed 12 years ago by jmroot (Joshua Root)

XviD fixed in r96268.

comment:23 in reply to:  17 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to jmr@…:

In the case of at least oracle-instantclient it's a bug in the port; it raises an error at parse time.

Oh. In that case I should fix it! r96272

Note: See TracTickets for help on using tickets.