Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 344495 - app-portage/flaggie-0.0.1 - can't fetch sources
Summary: app-portage/flaggie-0.0.1 - can't fetch sources
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michał Górny
URL: http://support.github.com/discussions...
Whiteboard:
Keywords:
Depends on: 344939
Blocks:
  Show dependency tree
 
Reported: 2010-11-07 12:30 UTC by Marcin Mirosław
Modified: 2010-11-10 15:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2010-11-07 12:30:26 UTC
# emerge -1 app-portage/flaggie
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-portage/flaggie-0.0.1
>>> Downloading 'http://trumpetti.atm.tut.fi/gentoo/distfiles/flaggie-0.0.1.tar.bz2'
--2010-11-07 13:27:48--  http://trumpetti.atm.tut.fi/gentoo/distfiles/flaggie-0.0.1.tar.bz2
Resolving trumpetti.atm.tut.fi (trumpetti.atm.tut.fi)... 2001:708:310:54::2, 130.230.54.100
Connecting to trumpetti.atm.tut.fi (trumpetti.atm.tut.fi)|2001:708:310:54::2|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2010-11-07 13:27:48 ERROR 404: Not Found.

>>> Downloading 'http://github.com/downloads/mgorny/flaggie/flaggie-0.0.1.tar.bz2'
--2010-11-07 13:27:48--  http://github.com/downloads/mgorny/flaggie/flaggie-0.0.1.tar.bz2
Resolving github.com (github.com)... 207.97.227.239
Connecting to github.com (github.com)|207.97.227.239|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/downloads/mgorny/flaggie/flaggie-0.0.1.tar.bz2 [following]
--2010-11-07 13:27:48--  https://github.com/downloads/mgorny/flaggie/flaggie-0.0.1.tar.bz2
Connecting to github.com (github.com)|207.97.227.239|:443... connected.
ERROR: certificate common name `*.github.com' doesn't match requested host name `github.com'.
To connect to github.com insecurely, use `--no-check-certificate'.
!!! Couldn't download 'flaggie-0.0.1.tar.bz2'. Aborting.
 * Fetch failed for 'app-portage/flaggie-0.0.1', Log file:
 *  '/var/tmp/portage/app-portage/flaggie-0.0.1/temp/build.log'

>>> Failed to emerge app-portage/flaggie-0.0.1, Log file:

>>>  '/var/tmp/portage/app-portage/flaggie-0.0.1/temp/build.log'


Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2010-11-07 21:23:37 UTC
It's showing in the distfiles mirror failures:

http://dev.gentoo.org/~zmedico/infra/distfiles/failure.xml
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-11-07 21:55:08 UTC
I've reported that to github stuff and they don't care. They say it's a confirmed bug in wget. I'd be happy to move my downloads elsewhere soon; right now, I've added the file to distfiles-local so the mirrors should be feeded with it soon.
Comment 3 Marcin Mirosław 2010-11-08 08:36:12 UTC
Ok, i fetched flaggie, i've emerged and i got this:
# flaggie --sort-flags
Traceback (most recent call last):
  File "/usr/bin/flaggie-2.6", line 25, in <module>
    sys.exit(main(sys.argv))
  File "/usr/lib64/python2.6/site-packages/flaggie/cli.py", line 153, in main
    a(pfiles)
  File "/usr/lib64/python2.6/site-packages/flaggie/cleanup.py", line 9, in __init__
    self(*args)
  File "/usr/lib64/python2.6/site-packages/flaggie/cleanup.py", line 13, in __call__
    self._perform(f)
  File "/usr/lib64/python2.6/site-packages/flaggie/cleanup.py", line 36, in _perform
    for pe in f:
  File "/usr/lib64/python2.6/site-packages/flaggie/packagefile.py", line 211, in __iter__
    for f in reversed(self.files):
  File "/usr/lib64/python2.6/site-packages/flaggie/packagefile.py", line 160, in files
    self.read()
  File "/usr/lib64/python2.6/site-packages/flaggie/packagefile.py", line 173, in read
    self._files.append(self.PackageFile(path))
  File "/usr/lib64/python2.6/site-packages/flaggie/packagefile.py", line 109, in __init__
    f = codecs.open(path, 'r', 'utf8')
  File "/usr/lib64/python2.6/codecs.py", line 881, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/etc/portage/package.license'

But probably this bug should be opened at Your bugzilla;)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-11-08 18:46:16 UTC
Well, you can file it there or here, no difference for me. I'll fix it ASAP. I guess it would behave a lot worse with an empty directory...
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-11-08 20:44:23 UTC
Ok, that issue fixed too, in 00dfabd2 [1]. It'll be in 0.0.2 in a few days; there's also a live flaggie ebuild in mgorny overlay (in layman) if you want.

[1] https://github.com/mgorny/flaggie/commit/00dfabd237f395cc41828563950ed28dc287f31c