Hello Jelmer, 

Maybe i missed something. so bit more explained, after the basic install, i 
setup for the pbuilder environment. 

pbuilder setup from debian wiki with some extra packages installed with : 

apt-get install -y --no-install-recommends pbuilder devscripts dpkg-dev 
build-essential fakeroot debhelper dpkg-sig gnupg gnupg-agent dh-systemd

( im was missing dh-systemd somehere also which is also needed, ill recheck 
that. ) 



And i setup the pbuilder env. 

pbuilder create --configfile ${USERHOMEDIR}/pbuilder/pbuilderrc-jessie-amd64 



with this config file.

DISTRIBUTION="jessie"
COMPONENTS="main contrib non-free"
ARCHITECTURE="amd64"

MIRRORSITE=http://ftp.nl.debian.org/debian 
<http://ftp.nl.debian.org/debianOTHERMIRROR=> 
OTHERMIRROR= <http://ftp.nl.debian.org/debianOTHERMIRROR=> "deb [trusted=yes] 
file:///home/builder/pbuilder/build-dep-debs ./"

BINDMOUNTS="/home/builder/pbuilder/build-dep-debs"
HOOKDIR="/home/builder/pbuilder/hookdir"
EXTRAPACKAGES="apt-utils"

BUILDPLACE=/home/builder/pbuilder/build-amd64
BASETGZ=/home/builder/pbuilder/base-${DISTRIBUTION}-amd64.tgz
BUILDRESULT=/home/builder/pbuilder/result-amd64
APTCACHE=/home/builder/pbuilder/apt-cache
APTCACHEHARDLINK="no"

USEPROC=yes
USEDEVPTS=yes
USENETWORK=no
USERUNSHM=yes
USEDEVFS=no

DEBBUILDOPTS="-sa"
# make debconf not interact with user
export DEBIAN_FRONTEND="noninteractive"

if [[ -n $SUDO_USER ]]; then
  BUILDRESULTUID=$SUDO_UID
  BUILDRESULTGID=$SUDO_GID
fi

then i run my build script. 

in short for every PACKAGE i run. 

(PACKAGE="libtalloc-dev libtevent-dev libtdb-dev libldb-dev libcmocka-dev 
libnss-wrapper libresolv-wrapper libuid-wrapper socket-wrapper samba" )



apt-get source $PACKAGE

pdebuild --configfile ${SET_BASEDIR}/pbuilderrc-jessie-amd64





So I was presuming pdebuild takes care of the dependecies in the chroot, which 
it does, but the build failed. 

I installed python-minimal in the host and not in the pbuilder env and pdebuild 
worked fine. 



when i follow the build depends.. 

Build-Depends: talloc_2.1.6-1.dsc
 debhelper (>= 9), docbook-xml, docbook-xsl, xsltproc, dh-exec, dh-python, 
libpopt-dev, python-dev (>= 2.6.6-3), python3-dev
so needs python-dev 



python-dev > python-defaults_2.7.11-1.dsc and i noticed. 

Build-Depends: debhelper (>= 8~), dpkg-dev (>= 1.17.11), python2.7 (>= 
2.7.11-2), lsb-release, python-all, debiandoc-sgml



python2.7_2.7.11-9.dsc

Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.17.11), quilt, autoconf, 
autotools-dev, lsb-release, sharutils, libreadline-dev, libtinfo-dev, 
libncursesw5-dev (>= 5.3), tk-dev, blt-dev (>= 2.4z), libssl-dev, zlib1g-dev, 
libbz2-dev, libexpat1-dev, libbluetooth-dev [linux-any], locales [!armel !avr32 
!hppa !ia64 !mipsel], libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k !avr32], 
libgpm2 [linux-any], mime-support, netbase, net-tools, bzip2, time, libdb-dev 
(<< 1:6.0), libgdbm-dev, python:any, help2man, xvfb, xauth
Build-Depends-Indep: python-sphinx


but i did see 

dh-python_2.20151103.dsc

Build-Depends: debhelper (>= 9), python3-minimal, libpython3-stdlib, 
libdpkg-perl, python-docutils


so i believe we are missing python-minimal somewhere in these packages. 



I guess dh-python because it does include python3-minimal but not 
python-minimal (2.7)



I can replay my setup if you want, its all scripted. 







-----Oorspronkelijk bericht-----
Afzender: Jelmer Vernooij <jel...@jelmer.uk>
Verstuurd: Donderdag 26 Mei 2016 23:51
Aan: Louis van Belle <lo...@van-belle.nl>; 825...@bugs.debian.org
Onderwerp: Re: [Pkg-samba-maint] Bug#825437: talloc fails building on very 
clean system.


tags 825437 +moreinfo
thanks

On Thu, May 26, 2016 at 11:18:14PM +0200, Louis van Belle wrote:
> Source: talloc
> Version: 2.1.6
> Severity: serious
> Tags: patch
> Justification: fails to build from source
> 
> Talloc fails builing when you install debian in expert mode and deselect all 
> defaults,
> installed ssh only. 

> 
> The build errors missing pyversions.
> 
> Installing pyton-minimal fixes the problem.

Have you installed the build dependencies of talloc? The build depends include
python-dev, which depends on python, which pre-depends on python-minimal.

Jelmer

Reply via email to