Bug#824837: gbp-dch: Fails to detect git repo in subdirectory of git repo
Package: git-buildpackage Version: 0.7.4 Severity: important Dear Maintainer, When I run gbp-dch in a subdirectory of a git repo, it fails to recognize that it's in a git repo. ie if your git repository is ~/git-repo/, and you run gbp-dch in ~/git-repo/foo/, gbp-dch returns gbp:error: ~/git-repo/foo/ is not a git repository However, running it in the root of the git repo works fine. optix2000@maruyu ~/iroffer/iroffer/iroffer-dinoex-3.30 (git)-[master] % gbp dch --verbose gbp:debug: ['git', 'rev-parse', '--show-cdup'] gbp:error: /home/optix2000/iroffer/iroffer/iroffer-dinoex-3.30 is not a git repository optix2000@maruyu ~/iroffer/iroffer/iroffer-dinoex-3.30 (git)-[master] % git rev-parse --show-cdup ../ optix2000@maruyu ~/iroffer/iroffer/iroffer-dinoex-3.30 (git)-[master] % cd .. optix2000@maruyu ~/iroffer/iroffer (git)-[master] % gbp dch --verbose gbp:debug: ['git', 'rev-parse', '--show-cdup'] gbp:debug: ['git', 'rev-parse', '--is-bare-repository'] gbp:debug: ['git', 'symbolic-ref', 'HEAD'] gbp:debug: ['git', 'show-ref', 'refs/heads/master'] # Ignore this, as the changelog exists in the subdirectory gbp:error: Failed to read changelog: [Errno 2] No such file or directory: './debian/changelog' optix2000@maruyu ~/iroffer/iroffer (git)-[master] % -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.5.0-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages git-buildpackage depends on: ii devscripts2.16.4 ii git 1:2.8.1-1 ii man-db2.7.5-1 ii python-dateutil 2.4.2-1 ii python-pkg-resources 20.10.1-1 ii python-six1.10.0-3 pn python:any Versions of packages git-buildpackage recommends: ii cowbuilder 0.79 ii pbuilder 0.224 ii pristine-tar 1.33 ii python-requests 2.9.1-3 Versions of packages git-buildpackage suggests: pn python-notify ii sudo 1.8.15-1.1 ii unzip 6.0-20 -- no debconf information
Bug#743667: Missing GTE_CyberTrust_Global_Root
Its missing from the package file list https://packages.debian.org/sid/all/ca-certificates/filelist -Original Message- From: Michael Shuler mich...@pbandjelly.org Sent: 2014/04/06 7:37 To: Weilu Jia optix2...@gmail.com; 743...@bugs.debian.org 743...@bugs.debian.org Subject: Re: Bug#743667: Missing GTE_CyberTrust_Global_Root Control: severity -1 normal Control: tags -1 + moreinfo On 04/04/2014 05:17 PM, Weilu Jia wrote: GTE_CyberTrust_Global_Root is missing from the package and is causing ssl certificate verification to fail. Certificate verification fails because file is missing: optix2000@rumia ~/Downloads/ca-certificates/mozilla % openssl s_client -CApath /etc/ssl/certs -connect secure.nicovideo.jp:443 -tls1 CONNECTED(0003) depth=2 O = Cybertrust, Inc, CN = Cybertrust Global Root verify error:num=20:unable to get local issuer certificate verify return:0 --- Works for me. Is it possible that you have the CA disabled? mshuler@hana:~$ grep GTE_CyberTrust_Global_Root /etc/ca-certificates.conf mozilla/GTE_CyberTrust_Global_Root.crt mshuler@hana:~$ openssl s_client -CApath /etc/ssl/certs -connect secure.nicovideo.jp:443 -tls1 CONNECTED(0003) depth=3 C = US, O = GTE Corporation, OU = GTE CyberTrust Solutions, Inc., CN = GTE CyberTrust Global Root verify return:1 depth=2 O = Cybertrust, Inc, CN = Cybertrust Global Root verify return:1 depth=1 C = JP, O = Cybertrust Japan Co., Ltd., CN = Cybertrust Japan EV CA G2 verify return:1 depth=0 1.3.6.1.4.1.311.60.2.1.3 = JP, serialNumber = 0100-01-052628, businessCategory = V1.0, Clause 5.(b), C = JP, ST = Tokyo, L = Chuo-ku, O = DWANGO Co.,Ltd., OU = cert01, CN = secure.nicovideo.jp verify return:1 --- Certificate chain 0 s:/1.3.6.1.4.1.311.60.2.1.3=JP/serialNumber=0100-01-052628/businessCategory=V1.0, Clause 5.(b)/C=JP/ST=Tokyo/L=Chuo-ku/O=DWANGO Co.,Ltd./OU=cert01/CN=secure.nicovideo.jp i:/C=JP/O=Cybertrust Japan Co., Ltd./CN=Cybertrust Japan EV CA G2 1 s:/C=JP/O=Cybertrust Japan Co., Ltd./CN=Cybertrust Japan EV CA G2 i:/O=Cybertrust, Inc/CN=Cybertrust Global Root 2 s:/O=Cybertrust, Inc/CN=Cybertrust Global Root i:/C=US/O=GTE Corporation/OU=GTE CyberTrust Solutions, Inc./CN=GTE CyberTrust Global Root --- The certificate should be readded since it's still listed on the mozilla certificate list. This certificate authority is installed by ca-certificates in Debian - there's nothing to add. I'm using Archlinux, but the upstream .deb is missing the file. Perhaps a bug specific to Arch? -- Kind regards, Michael
Bug#743667: Missing GTE_CyberTrust_Global_Root
Just kidding, disregard that I missed the case. Sorry. -Original Message- From: Weilu Jia optix2...@gmail.com Sent: 2014/04/06 8:27 To: Michael Shuler mich...@pbandjelly.org; 743...@bugs.debian.org 743...@bugs.debian.org Subject: RE: Bug#743667: Missing GTE_CyberTrust_Global_Root Its missing from the package file list https://packages.debian.org/sid/all/ca-certificates/filelist From: Michael Shuler Sent: 2014/04/06 7:37 To: Weilu Jia; 743...@bugs.debian.org Subject: Re: Bug#743667: Missing GTE_CyberTrust_Global_Root Control: severity -1 normal Control: tags -1 + moreinfo On 04/04/2014 05:17 PM, Weilu Jia wrote: GTE_CyberTrust_Global_Root is missing from the package and is causing ssl certificate verification to fail. Certificate verification fails because file is missing: optix2000@rumia ~/Downloads/ca-certificates/mozilla % openssl s_client -CApath /etc/ssl/certs -connect secure.nicovideo.jp:443 -tls1 CONNECTED(0003) depth=2 O = Cybertrust, Inc, CN = Cybertrust Global Root verify error:num=20:unable to get local issuer certificate verify return:0 --- Works for me. Is it possible that you have the CA disabled? mshuler@hana:~$ grep GTE_CyberTrust_Global_Root /etc/ca-certificates.conf mozilla/GTE_CyberTrust_Global_Root.crt mshuler@hana:~$ openssl s_client -CApath /etc/ssl/certs -connect secure.nicovideo.jp:443 -tls1 CONNECTED(0003) depth=3 C = US, O = GTE Corporation, OU = GTE CyberTrust Solutions, Inc., CN = GTE CyberTrust Global Root verify return:1 depth=2 O = Cybertrust, Inc, CN = Cybertrust Global Root verify return:1 depth=1 C = JP, O = Cybertrust Japan Co., Ltd., CN = Cybertrust Japan EV CA G2 verify return:1 depth=0 1.3.6.1.4.1.311.60.2.1.3 = JP, serialNumber = 0100-01-052628, businessCategory = V1.0, Clause 5.(b), C = JP, ST = Tokyo, L = Chuo-ku, O = DWANGO Co.,Ltd., OU = cert01, CN = secure.nicovideo.jp verify return:1 --- Certificate chain 0 s:/1.3.6.1.4.1.311.60.2.1.3=JP/serialNumber=0100-01-052628/businessCategory=V1.0, Clause 5.(b)/C=JP/ST=Tokyo/L=Chuo-ku/O=DWANGO Co.,Ltd./OU=cert01/CN=secure.nicovideo.jp i:/C=JP/O=Cybertrust Japan Co., Ltd./CN=Cybertrust Japan EV CA G2 1 s:/C=JP/O=Cybertrust Japan Co., Ltd./CN=Cybertrust Japan EV CA G2 i:/O=Cybertrust, Inc/CN=Cybertrust Global Root 2 s:/O=Cybertrust, Inc/CN=Cybertrust Global Root i:/C=US/O=GTE Corporation/OU=GTE CyberTrust Solutions, Inc./CN=GTE CyberTrust Global Root --- The certificate should be readded since it's still listed on the mozilla certificate list. This certificate authority is installed by ca-certificates in Debian - there's nothing to add. I'm using Archlinux, but the upstream .deb is missing the file. Perhaps a bug specific to Arch? -- Kind regards, Michael
Bug#743667: Missing GTE_CyberTrust_Global_Root
Package: ca-certificates Version: 20140325 Severity: important GTE_CyberTrust_Global_Root is missing from the package and is causing ssl certificate verification to fail. Certificate verification fails because file is missing: optix2000@rumia ~/Downloads/ca-certificates/mozilla % openssl s_client -CApath /etc/ssl/certs -connect secure.nicovideo.jp:443 -tls1 CONNECTED(0003) depth=2 O = Cybertrust, Inc, CN = Cybertrust Global Root verify error:num=20:unable to get local issuer certificate verify return:0 --- ==SNIP== SRP username: None Start Time: 1396649277 Timeout : 7200 (sec) Verify return code: 20 (unable to get local issuer certificate) --- Validation succeeds if the missing file is added. optix2000@rumia ~/Downloads/ca-certificates/mozilla % openssl s_client -CAfile ./GTE_CyberTrust_Global_Root.crt -connect secure.nicovideo.jp:443 -tls1 CONNECTED(0003) depth=3 C = US, O = GTE Corporation, OU = GTE CyberTrust Solutions, Inc., CN = GTE CyberTrust Global Root verify return:1 depth=2 O = Cybertrust, Inc, CN = Cybertrust Global Root verify return:1 depth=1 C = JP, O = Cybertrust Japan Co., Ltd., CN = Cybertrust Japan EV CA G2 verify return:1 depth=0 1.3.6.1.4.1.311.60.2.1.3 = JP, serialNumber = 0100-01-052628, businessCategory = V1.0, Clause 5.(b), C = JP, ST = Tokyo, L = Chuo-ku, O = DWANGO Co.,Ltd., OU = cert01, CN = secure.nicovideo.jp verify return:1 --- ==SNIP== SRP username: None Start Time: 1396649293 Timeout : 7200 (sec) Verify return code: 0 (ok) --- The certificate should be readded since it's still listed on the mozilla certificate list. I'm using Archlinux, but the upstream .deb is missing the file. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org