RPM Community Forums

Mailing List Message of <rpm-devel>

Re: rpm 4.4.9 missing neon support in Solaris 9 - build issue? (fwd)

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 08 Nov 2007 - 01:49:42 CET
Message-Id: <2CB3CCC6-BFC4-46D0-A192-B4AE4DA6C716@mac.com>
Looks like rpm-4.4.9 was busted wrto network downloads, but
perhaps I deliberately changed. The issue of rpm accessing
a networks is somehow controversial even 7+ years later.

Adding an explicit "r.ufdio" is as good as the other fix,
changing the default to make rpmio always network aware.
I still haven't identified why ftp access works on rpm-4.5,
but not in rpm-4.4.9, but I doubt its a solaris peculier issue.

The "end == NULL" sets the default type of rpmio to be non-network
aware. Nuke that test, and all rpmio should attempt network access.

 From rpmio/rpmio.c Fopen()
...
     if (end == NULL || !strcmp(end, "fdio")) {
if (_rpmio_debug)
fprintf(stderr, "*** Fopen fdio path %s fmode %s\n", path, fmode);
         fd = fdOpen(path, flags, perms);
         if (fdFileno(fd) < 0) {
             if (fd) (void) fdClose(fd);
             return NULL;
         }
     } else {

Choosing the default behavior in rpm is always hardest, I get whiplash
from the discussions.

I'd suggest spending some time upgrading to rpm-4.5 as well. There  
should
be very very few surprises, and there were some significant cleanups  
wrto
removing void ** casts and more.

Still no idea what the EPASV vs PASV problem root cause is.

73 de Jeff
Received on Thu Nov 8 01:50:33 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.