On May 6, 2014, at 1:13 AM, Denis Silakov wrote: > On 06.05.2014 00:58, Robert Xu wrote: >> IMHO: >> >> Fetching sources during the build process shouldn't even be allowed. >> This is because we run the risk of the external source disappearing >> and then builds failing left and right. >> >> I personally also believe that fetching external sources during build >> can be a security risk, but that's also a bit extreme; nevertheless, >> it's better to upload the sources to the filestore... > > This is all correct, but doesn't fix the fact that our rpm is broken with > respect to work with packages through the network. >
Honk "... our rpm is broken" all you wish: you were warned of the issues when you decided to enable RPM fetching. > The problem is more global than just fetching sources. E.g., try to launch > this command: > > $ rpm -qip > http://abf-downloads.rosalinux.ru/rosa2012.1/repository/i586/media/main/updates/urpmi-6.71-51-rosa2012.1.noarch.rpm > > It used to work in the past... > ==> Adding to tests/Makefile.am (where I happen to be working): oma: ${rpm} --version ${rpm} -qp http://rpm5.org/files/popt/popt-1.14-1.i386.rpm ${rpm} -qip http://abf-downloads.rosalinux.ru/rosa2012.1/repository/i586/media/main/updates/urpmi-6.71-51-rosa2012.1.noarch.rpm ==> Results (with --rpmpopt and --macros options edited out for readability): $ make oma $ rpm --version lt-rpm (RPM) 5.4.15 $ rpm -qp http://rpm5.org/files/popt/popt-1.14-1.i386.rpm popt-1.14-1.i386 $ rpm -qip http://abf-downloads.rosalinux.ru/rosa2012.1/repository/i586/media/main/updates/urpmi-6.71-51-rosa2012.1.noarch.rpm error: open of http://abf-downloads.rosalinux.ru/rosa2012.1/repository/i586/media/main/updates/urpmi-6.71-51-rosa2012.1.noarch.rpm failed: Input/output error error: open of <html> failed: No such file or directory ==> WORKSFORME Q.E.D. Guess you better fix your version or rpm ... 73 de Jeff
