#9254 reposync cannot sync the fedora-cisco-openh264 source repo
Closed: It's all good 4 years ago by mohanboddu. Opened 4 years ago by jmontleon.

  • Describe the issue
    reposync cannot download srpms from the source repo.
$ reposync -y -n --releasever 31 -m --download-metadata --repoid fedora-cisco-openh264-source -p /mirror
Fedora 31 openh264 (From Cisco) - source                                                                                                777  B/s | 543  B     00:00    
Fedora 31 openh264 (From Cisco) - source                                                                                                7.2 kB/s | 5.0 kB     00:00    
[MIRROR] openh264-2.0.0-1.fc31.src.rpm: Status code: 404 for http://ciscobinary.openh264.org/openh264-2.0.0-1.fc31.src.rpm (IP: 23.219.88.27) 
[fedora-cisco-openh264-source]
name=Fedora $releasever openh264 (From Cisco) - source
baseurl=https://codecs.fedoraproject.org/openh264/$releasever/source/
type=rpm
enabled=1
enabled_metadata=1
metadata_expire=14d
repo_gpgcheck=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
skip_if_unavailable=True

http://ciscobinary.openh264.org does not appear to be live.

  • When do you need this?
    No set date.

  • When is this no longer needed or useful?
    Fedora 31 EOL

  • If we cannot complete your request, what is the impact?
    One person, maybe more will have some difficulty mirroring source RPMS


I don't see why it's trying to download from that site... are you sure it's using that repo file you refer to?

it should be https://codecs.fedoraproject.org/openh264/31//source/o/openh264-2.0.0-1.fc31.src.rpm which downloads just fine here.

That link results in this when I click on it.:

Not Found

The resource could not be found.

It seems there have been similar issues in the past:
https://pagure.io/releng/issue/7590

I will check with Cisco guys again.

Thanks for reporting @jmontleon

Well, it seems like its fixed now as I am able to install openh264 now.

Can you give it a try?

sudo dnf install openh264 --enablerepo fedora-cisco-openh264                  Thu 13 Feb 2020 02:22:33 PM EST
[sudo] password for mboddu: 
Fedora 31 openh264 (From Cisco) - x86_64                                                             881  B/s | 543  B     00:00    
Fedora 31 openh264 (From Cisco) - x86_64                                                             1.6 MB/s | 1.6 kB     00:00
Fedora 31 openh264 (From Cisco) - x86_64                                                              11 kB/s | 5.1 kB     00:00    
Dependencies resolved.
=====================================================================================================================================
 Package                    Architecture             Version                           Repository                               Size
=====================================================================================================================================
Installing:
 openh264                   x86_64                   2.0.0-1.fc31                      fedora-cisco-openh264                   421 k

Transaction Summary
=====================================================================================================================================
Install  1 Package

Total download size: 421 k
Installed size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
openh264-2.0.0-1.fc31.x86_64.rpm                                                                     730 kB/s | 421 kB     00:00    
-------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                725 kB/s | 421 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                             1/1 
  Installing       : openh264-2.0.0-1.fc31.x86_64                                                                                1/1 
  Running scriptlet: openh264-2.0.0-1.fc31.x86_64                                                                                1/1 
  Verifying        : openh264-2.0.0-1.fc31.x86_64                                                                                1/1 

Installed:
  openh264-2.0.0-1.fc31.x86_64                                                                                                       

Complete!

It's just the source rpms that are inaccessible. I have not had any trouble with x86_64 or aarch64.

@jmontleon We cant ship src rpms as part of patent/licencing conditions. We can only ship binaries.

Please reopen the ticket if anything else is needed.

Closing this ticket as nothing can be done here.

Metadata Update from @mohanboddu:
- Issue close_status updated to: It's all good
- Issue status updated to: Closed (was: Open)

4 years ago

Then why not remove the source repo instead of keeping it with dead links?

I am not sure how you got the repo file, but we dont ship source repo in our repo files

https://src.fedoraproject.org/rpms/fedora-repos/blob/f31/f/fedora-cisco-openh264.repo

Its a redirect to the cisco CDN - http://ciscobinary.openh264.org/openh264-1.8.0-3.fc31.src.rpm which doesn't host src rpms.

Maybe we should remove the source/ dir from the repo's as you said and that should eliminate the confusion.

@kevin wdyt?

Could we ask cisco to also host/distribute the src.rpms?

We are not supposed to ship src.rpms, I think its legal related stuff.

We wouldn't be distributing them, cisco would be.

The package is completely open source, so I don't see what legal issue would block us having cisco ship srpms too...

As per my understanding, it should be fine if Cisco distributes the src rpms. What we can't do is enable src.rpm downloads from koji. Cisco hosting should be completely fine.

Login to comment on this ticket.

Metadata