debuild seems to ignore gpg_agent

Bug #1035974 reported by Pierre Carrier on 2012-08-12
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
devscripts (Ubuntu)
Undecided
Unassigned

Bug Description

debuild seems to ignore the fact that I'm running gpg_agent.

java-package-helper % debuild -S
 dpkg-buildpackage -rfakeroot -d -us -uc -S
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package java-package-helper
dpkg-buildpackage: source version 0.3
dpkg-buildpackage: source changed by Pierre Carrier <email address hidden>
 dpkg-source --before-build java-package-helper
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b java-package-helper
dpkg-source: info: using source format `3.0 (native)'
dpkg-source: info: building java-package-helper in java-package-helper_0.3.tar.gz
dpkg-source: info: building java-package-helper in java-package-helper_0.3.dsc
 dpkg-genchanges -S >../java-package-helper_0.3_source.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build java-package-helper
dpkg-buildpackage: source only upload: Debian-native package
Now running lintian...
Finished running lintian.
Now signing changes and any dsc files...
 signfile java-package-helper_0.3.dsc Pierre Carrier <email address hidden>

You need a passphrase to unlock the secret key for
user: "Pierre Carrier <email address hidden>"
4096-bit RSA key, ID EBE4EA5A, created 2012-04-07

Enter passphrase: debuild: fatal error at line 1271:
running debsign failed
zsh: exit 29 debuild -S
pierre@bar java-package-helper % /usr/bin/env|grep -i gpg
GPG_AGENT_INFO=/tmp/keyring-TqSois/gpg:0:1
pierre@bar java-package-helper % ls -lh /tmp/keyring-TqSois/gpg
476602 srwxrwxr-x 1 pierre pierre 0 Aug 11 19:14 /tmp/keyring-TqSois/gpg=

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: devscripts 2.11.6ubuntu1.3
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Sun Aug 12 23:33:24 2012
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120731)
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/zsh
SourcePackage: devscripts
UpgradeStatus: No upgrade log present (probably fresh install)

Pierre Carrier (pcarrier) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in devscripts (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers