| Commit message (Expand) | Author | Age |
* | fix logging message and conditionality to make it less lines.•••I think we don't need the if.
I'm not quite convinced ||true to kill the error message is a good idea
| Junichi Uekawa | 2012-03-13 |
* | fix space handling in additional-buildresults. | Junichi Uekawa | 2012-03-13 |
* | Bug#652634: Allow to copy additional files out of the build directory•••On Sat, Dec 24, 2011 at 05:22:05PM +0900, Junichi Uekawa wrote:
> Hi,
>
> I'd use a shell array for specifying the values; but yes I think I
> too wanted this feature at one point.
Attached is a patch that uses a shell array and adds some documentation.
Please apply if you see fit.
> Would list of filename (I will imagine there will be requests for all
> sorts of wildcards after release, which is kind of a pain) be useful
> or a directory that a post-build script can write to after build be
> useful? (I think qemubuilder needed something to do with a specific
> directory that you can write to, but I will need to check how I did
> it).
I'd be great to have this in first and see how others use it. It
wouldn't be a problem to introduce an ADDITIONAL_BUILD_RESULTS_DIR
later.
Cheers,
-- Guido
>From ad3569e07a9cc64cd5b126193cddf311e48180a6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Mon, 19 Dec 2011 13:31:59 +0100
Subject: [PATCH] Add ADDITIONAL_BUILDRESULTS variable
this can be used to copy additional build results out of the build
directory. It's useful to e.g. preserve a xml testresult file when using
a build system like Jenkins.
| Guido Günther | 2012-03-13 |
* | Bug#659703: pbuilder: Typo in error message•••Package: pbuilder
Version: 0.206
Severity: minor
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch
There is a typo in an error message, introduced in
http://anonscm.debian.org/gitweb/?p=pbuilder/pbuilder.git;a=commit;h=163e0751e2066cd24ec4de61f30489b5a21161e8
*** /tmp/tmpQkEY6_
This patch corrects the typo.
Thanks for considering the patch.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)
Kernel: Linux 3.0.0-15-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
| Maarten Bezemer | 2012-03-09 |
* | I think I need to quote PATH | Junichi Uekawa | 2012-01-27 |
* | Bug#644507: pbuilder produces a confusing error message about the dcs filenam...•••Make the message say that the file is not found instead of complaining
about the validity of file name format, which is irrelevant.
| Junichi Uekawa | 2011-12-31 |
* | Bug#606687: ccache support fails in the face of su PATH mangling•••Package: pbuilder
Version: 0.199
Severity: normal
Tags: patch
pbuilder's ccache support relies on being able to modify PATH when building
packages. Unfortunately, su's documented behaviour is to reset PATH to a
known safe setting (in login.defs), which breaks this (along with any other
attempts to manually set PATH in pbuilderrc).
Apparently (see irc-log.txt) su has had a bug in it that has failed to
mangle PATH, which has kept this bug "hidden". However, the version of
login in squeeze definitely resets PATH.
The attached patch adjusts the way that commands are called in the su
session, preserving the environment and making ccache work.
-- System Information:
Debian Release: 5.0.3
APT prefers stable
APT policy: (500, 'stable'), (1, 'experimental'), (1, 'unstable'), (1, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages pbuilder depends on:
ii cdebootstrap 0.5.4 Bootstrap a Debian system
ii coreutils 6.10-6 The GNU core utilities
ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii debianutils 2.30 Miscellaneous utilities specific t
ii debootstrap 1.0.10lenny1 Bootstrap a basic Debian system
ii wget 1.11.4-2+lenny2 retrieves files from the web
Versions of packages pbuilder recommends:
ii devscripts 2.10.35lenny7 scripts to make the life of a Debi
ii fakeroot 1.11 Gives a fake root environment
ii sudo 1.6.9p17-3 Provide limited super user privile
Versions of packages pbuilder suggests:
ii cowdancer 0.47 Copy-on-write directory tree utili
pn gdebi-core <none> (no description available)
pn pbuilder-uml <none> (no description available)
-- debconf information excluded
| Matthew Palmer | 2011-12-31 |
* | Ignore LD_PRELOAD when inside 'pbuilder build' building something.•••This should alleviate problems encountered when fakeroot / cowdancer
interacts badly with whatever that's going in.
This will probably break fakechroot, so it needs some kind of
configuration, but fixes problem with lighttpd.
| Junichi Uekawa | 2011-09-21 |
* | lighttpd test fails with cowdancer loaded. (closes: #640684)•••Do not load cowdancer when su to normal user privilege; cowdancer
protection isn't needed there.
| Junichi Uekawa | 2011-09-21 |
* | cannot cross build i386 only package on amd64 host (closes: #624530)•••Followup-For: Bug #624530
Package: pbuilder
Version: 0.200
found 624530 0.199+nmu2
severity 624530 important
tags 624530 patch
thanks
Hi,
The changes introduced in 0.199+nmu2 (arch-wildcard-part2.patch in
Message #159 of Bug#363193) breaks the cross building of packages
(not only i386 packages on amd64, but also amd64 ones on i386 running
on amd64 kernel).
The checkarchitecture must be done inside the build place.
That patch does not actually check anything, and what's worse, breaks
the cross building.
So I propose reverting back the changes.
Thanks,
--
YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>
| YOSHINO Yoshihito | 2011-08-07 |
* | Bug#606699: pbuilder NMU•••Hi,
I talked to Junichi and he told me it was fine if I NMU'ed pbuilder to fix these
bugs. This is the debdiff for my NMU.
Regards,
Emilio
| Emilio Pozuelo Monfort | 2011-06-24 |
* | Move ccache setup to pbuilder-buildpackage-funcs | Loïc Minier | 2010-01-03 |
* | Add builtin ccache support, enabled by default•••Add builtin support for using ccache in pbuilder and enable it by
default. Ship a new /var/cache/pbuilder/ccache dir and bind-mount and
chown it to BUILDUSERID at build time. Install/remove ccache
automatically on create/update if CCACHEDIR is set/unset. Update docs
and remove old ccache config example. Add a NEWS entry featuring the
change.
| Loïc Minier | 2010-01-02 |
* | Avoid appending extra spaces in DEBBUILDOPTS | Loïc Minier | 2009-12-14 |
* | Factor "exec >" + "exec 2>&1" together | Loïc Minier | 2009-12-13 |
* | Log dpkg-buildpackage command lines | Loïc Minier | 2009-12-12 |
* | Add support for building packages twice; #493538•••Add support for building packages twice; based on a patch by
Nicolas Valcárcel; closes: #493538
| Loïc Minier | 2009-12-11 |
* | Make error message visible when copying out to buildresult (closes: #505695)•••NFS directories can't be written to by root processes, and they will fail quietly.
1. Only attempt to copy the files (so we won't attempt to copy the directories).
2. Expose error messages so that users will see them.
| Junichi Uekawa | 2009-12-05 |
* | quote-escape debemail so that email with space can be handled properly. | Junichi Uekawa | 2009-11-02 |
* | pbuilder-buildpackage: pass -e to dpkg-bp, not -m•••pbuilder-buildpackage: pass -e to dpkg-buildpackage instead of -m;
thanks Russ Allbery; closes: #546531
| Loïc Minier | 2009-09-21 |
* | Bug#520251: pbuilder: Pbuilder does not umount bindmounts when ssh connection...•••Package: pbuilder
Version: 0.181
Severity: important
When pbuilder is executed over ssh and the ssh connection dies, it won't
umount bind mounts and won't clean up the build dir. Unfortunately,
cowbuilder WILL cleanup the build dir, wiping all bind mounts. The
execution order is like this:
ssh -> sudo -> cowbuilder -> pbuilder
Because of the sudo, the SIGHUP will not be delivered to pbuilder.
However, pbuilder will get SIGPIPE when writing to stdout or stderr.
In addition, even when SIGPIPE is ignored, a write to stdout will give
EPIPE, which causes echo to return with an error.
Therefore, you
- need to catch sigpipe in addition to sighup
- need to ignore sigpipe and sighup in the cleanup handler
- need to set +x in the cleanup handler to avoid exiting just
because echo returns an error.
The attached patch works for me but I have only edited
pbuilder-buildpackage and not the other commands.
| Stefan Fritsch | 2009-03-18 |
* | implement --inputfile option.•••Copies extra files to inside chroot.
| Junichi Uekawa | 2009-03-07 |
* | refactor to use 'log' function rather than using 'echo' directly.•••First cut into doing this, hopefully we're not breaking anything.
| Junichi Uekawa | 2009-02-26 |
* | 398865: apply patch for LOGNAME, and implement also shadow group file | Junichi Uekawa | 2007-05-28 |
* | fix always ending with "Aborting with error" | Junichi Uekawa | 2007-05-27 |
* | fix thinko: trap exit -> trap - exit | Junichi Uekawa | 2007-05-27 |
* | change "trap" handling so that all trap function calls are called _trap, and ... | Junichi Uekawa | 2007-05-27 |
* | trap SIGHUP as well as EXIT. | Junichi Uekawa | 2007-05-27 |
* | use tee instead of not outputting anything for logging mode. | Junichi Uekawa | 2007-05-17 |
* | remove output of $Id$•••$Id$ is a CVS-specific feature which was useful for showing the version number of pbuilder, but is no longer relevant.
Something else is required for git, but that will need to be fixed later.
| Junichi Uekawa | 2007-04-11 |
* | copyright year 2007, and changelog about it, and changelog warning/error to >&2 | Junichi Uekawa | 2007-03-27 |
* | error message goes to &2 | Junichi Uekawa | 2007-03-27 |
* | create fakeroot user early in build process | Junichi Uekawa | 2007-03-20 |
* | support PKGNAME_LOGFILE option in pbuilderrc. | dancer | 2006-08-15 |
* | do error checking for buildresult. | dancer | 2006-06-10 |
* | * Bug fix: "pbuilder: should create BUILDRESULT if not existent", thanks••• to Daniel Leidert (Closes: #335523), there was a wrong condition
check, it should do that now.
| dancer | 2006-06-10 |
* | update copyright info. | dancer | 2006-05-30 |
* | * fix pdebuild --help output (closes: #367133)••• * pbuilderrc.5: undocument the restriction that --buildresult
option needs to be specified for pdebuild, and BUILDRESULT cannot
be used.
I should probably warn that the directory should be absolute.
* pdebuild.1: fix man a bit to make --buildresult option doc
unambiguous.
| dancer | 2006-05-14 |
* | +2006-03-18 Junichi Uekawa <dancer@debian.org>•••+
+ * pbuilder.8: update documentation of --pkgname-logfile
+
+ * pbuilder-buildpackage: allow chown, and add support for PKGNAME_LOGFILE_EXTENTION.
+
+ * pbuilderrc (PKGNAME_LOGFILE_EXTENTION): add
+
+ * pbuilderrc.5: document
+
| dancer | 2006-03-17 |
* | add support for chmod/chown of logfile, needs more work. | dancer | 2006-03-17 |
* | 344958 fix was incomplete, re-fix. | dancer | 2006-01-06 |
* | 344958 | dancer | 2006-01-06 |
* | use readlink -f instead of -e.•••add q-funk's script.
| dancer | 2005-12-21 |
* | Use readlink -e instead of readlink -f :••• * pdebuild-user-mode-linux:
* pdebuild-uml-checkparams:
* pdebuild-checkparams:
* pdebuild: readlink -e instead of readlink -f
* pbuilder-uml-checkparams: readlink -e instead of readlink -f
* pbuilder-modules: readlink -e instead of readlink -f
* pbuilder-createbuildenv: quote HOOKDIR and readlink -e instead of readlink -f.
* pbuilder-checkparams:
* pbuilder-buildpackage: use readlink -e here.
* pbuilder-buildpackage-funcs: use readlink -e instead of readlink -f. 342117
thanks to Markus Kolb
| dancer | 2005-12-05 |
* | * Bug fix: "pbuilder-buildpackage-funcs check for createbuilduser for••• SUTOUSER is bogus", thanks to Brian Nelson (Closes: #338976).
* Bug fix: "--no-targz option creates tarball in pbuilder create",
thanks to Junichi Uekawa (Closes: #341916).
| dancer | 2005-12-04 |
* | preserve environment when su to root. | dancer | 2005-12-01 |
* | * pbuilder-buildpackage: change the use of su, to••• allow su design change. Bug: 317264
| dancer | 2005-07-13 |
* | +2005-06-25 Junichi Uekawa <dancer@debian.org>•••+
+ * pbuilder-user-mode-linux: use configured PATH instead of hard-coded PATH.
+
+ * pbuilder-buildpackage: preserve PATH in su,
+ pass -p option. This fixes the problem with env-var preservation.
+
| dancer | 2005-06-25 |
* | PATH setting. | dancer | 2005-06-20 |
* | + * save apt cache after running B hook in build target; so that•••+ we don't keep redownloading lintian/linda . (closes: #296999)
| dancer | 2005-04-21 |