[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging task for newbies: Separate pink-pony into program and data



On Mon, 16 Sep 2013 10:53:54 +0100, 'lesleyb' wrote:

> > > After attempting 
> > > pdebuild --use-pdebuild-internal --logfile "../pink-pony."`date +%y%m%d-%H%M%S`".pdebuild.log" 

> > Can you post the full log?
> Full contents of the last log are :
> 
> less pink-pony.130915-193847.pdebuild.log 
> I: Building the build Environment
> I: extracting base tarball [/var/cache/pbuilder/base.tgz]
> I: creating local configuration
> I: copying local configuration
> I: mounting /proc filesystem
> I: mounting /dev/pts filesystem
> I: Mounting /opt/lesley/dev/debian/pinkpony
> I: Mounting /var/cache/pbuilder/ccache
> I: policy-rc.d already exists
> I: Obtaining the cached apt archive contents
> Reading package lists...
> Building dependency tree...
> Reading state information...
> pbuilder is already the newest version.
> pbuilder set to manually installed.
> passwd is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> I: Setting DEBBUILDOPTS=
> I: Setting DEBBUILDOPTS=
> W: no hooks of type D found -- ignoring
> I: Copying back the cached apt archive contents
> I: unmounting /var/cache/pbuilder/ccache filesystem
> I: unmounting /opt/lesley/dev/debian/pinkpony filesystem
> I: unmounting dev/pts filesystem
> I: unmounting proc filesystem
> I: cleaning the build env 
> I: removing directory /var/cache/pbuilder/build//25494 and its subdirectories

Ehm, now that is interesting ... 

When I run "pdebuild --use-pdebuild-internal" (no logfile because
that's created anyway) in the pink-pony source directory, the
resulting pink-pony_1.3.1-1_amd64.build log looks like:

I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /home/gregoa/tmp/pink-pony
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
W: no hooks of type F found -- ignoring
Reading package lists...
Building dependency tree...
Reading state information...
passwd is already the newest version.
The following extra packages will be installed:
  debootstrap libgcrypt11 libgnutls26 libgpg-error0 libidn11 libp11-kit0
  libtasn1-3 wget
Suggested packages:
  rng-tools pbuilder-uml gdebi-core
Recommended packages:
  fakeroot sudo devscripts
The following NEW packages will be installed:
  debootstrap libgcrypt11 libgnutls26 libgpg-error0 libidn11 libp11-kit0
  libtasn1-3 pbuilder wget
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 1276 kB/2602 kB of archives.
After this operation, 6806 kB of additional disk space will be used.

[installing packages]

I: Setting DEBBUILDOPTS=
I: Setting DEBBUILDOPTS=
I: user script //tmp/hooks/D00proxy starting
I: user script //tmp/hooks/D00proxy finished
I: user script //tmp/hooks/D10-man-db starting
I: Preseed man-db/auto-update to false
I: user script //tmp/hooks/D10-man-db finished
I: user script //tmp/hooks/D70build-area starting
I: Set APT=yes to run apt-get update.
I: user script //tmp/hooks/D70build-area finished
I: user script //tmp/hooks/D80-sunjava starting
I: Set SUN=yes to accept SUN Java license.
I: user script //tmp/hooks/D80-sunjava finished
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: debhelper (>= 9), quilt, scons, pkg-config, dh-buildinfo, mesa-common-dev, libglu1-mesa-dev, libglfw-dev, libxrandr-dev, glee-dev, libilmbase-dev, libdevil-dev, libftgl-dev, libsigc++-2.0-dev, libprotobuf-dev (>= 2), protobuf-compiler (>= 2), libtinyxml-dev, libsdl1.2-dev, libsdl-mixer1.2-dev
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 11496 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested:
 pbuilder-satisfydepends-dummy depends on debhelper (>= 9); however:
  Package debhelper is not installed.
 pbuilder-satisfydepends-dummy depends on quilt; however:
  Package quilt is not installed.
 pbuilder-satisfydepends-dummy depends on scons; however:
  Package scons is not installed.
 pbuilder-satisfydepends-dummy depends on pkg-config; however:
  Package pkg-config is not installed.
 pbuilder-satisfydepends-dummy depends on dh-buildinfo; however:
  Package dh-buildinfo is not installed.
 pbuilder-satisfydepends-dummy depends on mesa-common-dev; however:
  Package mesa-common-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libglu1-mesa-dev; however:
  Package libglu1-mesa-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libglfw-dev; however:
  Package libglfw-dev is not installed.
 pbuilder-satisfydepends-dummy depends on libxrandr-dev; however:
  Package libxrandr-dev is not inst
Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
The following NEW packages will be installed:
  bsdmainutils{a} debhelper{a} dh-buildinfo{a} diffstat{a} file{a} 
  gettext{a} gettext-base{a} glee-dev{a} groff-base{a} intltool-debian{a} 
  liballegro4.4{a} libasound2{a} libasound2-data{a} libasound2-dev{a} 
  libasprintf0c2{a} libasyncns0{a} libavahi-client-dev{a} 
  libavahi-client3{a} libavahi-common-data{a} libavahi-common-dev{a} 
  libavahi-common3{a} libcaca-dev{a} libcaca0{a} libcroco3{a} 
  libdbus-1-3{a} libdbus-1-dev{a} libdevil-dev{a} libdevil1c2{a} 
  libdirectfb-1.2-9{a} libdirectfb-dev{a} libdirectfb-extra{a} 
  libdrm-dev{a} libdrm-intel1{a} libdrm-nouveau2{a} libdrm-radeon1{a} 
  libdrm2{a} libelfg0{a} libexpat1{a} libffi6{a} libflac-dev{a} libflac8{a} 
  libfluidsynth1{a} libfreetype6{a} libfreetype6-dev{a} libftgl-dev{a} 
  libftgl2{a} libgl1-mesa-dev{a} libgl1-mesa-glx{a} libglapi-mesa{a} 
  libglee0d1{a} libglfw-dev{a} libglfw2{a} libglib2.0-0{a} 
  libglib2.0-bin{a} libglib2.0-data{a} libglib2.0-dev{a} libglu1-mesa{a} 
  libglu1-mesa-dev{a} libice6{a} libilmbase-dev{a} libilmbase6{a} 
  libjack-jackd2-0{a} libjbig-dev{a} libjbig0 libjpeg8{a} libjpeg8-dev{a} 
  libjson-c2{a} libkms1{a} liblcms1{a} liblcms1-dev{a} libmad0{a} 
  libmad0-dev{a} libmagic1{a} libmikmod2{a} libmikmod2-dev{a} libmng1{a} 
  libogg-dev{a} libogg0{a} libopus0{a} libpciaccess0{a} libpcre3-dev{a} 
  libpcrecpp0{a} libpipeline1{a} libpng12-0{a} libpng12-dev{a} libpopt0{a} 
  libprotobuf-dev{a} libprotobuf-lite7{a} libprotobuf7{a} libprotoc7{a} 
  libpthread-stubs0{a} libpthread-stubs0-dev{a} libpulse-dev{a} 
  libpulse-mainloop-glib0{a} libpulse0{a} libpython-stdlib{a} 
  libpython2.7-minimal{a} libpython2.7-stdlib{a} libsamplerate0{a} 
  libsdl-mixer1.2{a} libsdl-mixer1.2-dev{a} libsdl1.2-dev{a} 
  libsdl1.2debian{a} libsigc++-2.0-dev{a} libslang2-dev{a} libsm6{a} 
  libsndfile1{a} libssl1.0.0{a} libtiff4{a} libtiff4-dev{a} libtiffxx0c2{a} 
  libtinyxml-dev{a} libtinyxml2.6.2{a} libts-0.0-0{a} libts-dev{a} 
  libunistring0{a} libvorbis-dev{a} libvorbis0a{a} libvorbisenc2{a} 
  libvorbisfile3{a} libwrap0{a} libx11-6{a} libx11-data{a} libx11-dev{a} 
  libx11-xcb-dev{a} libx11-xcb1{a} libxau-dev{a} libxau6{a} 
  libxcb-dri2-0{a} libxcb-dri2-0-dev{a} libxcb-glx0{a} libxcb-glx0-dev{a} 
  libxcb1{a} libxcb1-dev{a} libxcursor1{a} libxdamage-dev{a} libxdamage1{a} 
  libxdmcp-dev{a} libxdmcp6{a} libxext-dev{a} libxext6{a} libxfixes-dev{a} 
  libxfixes3{a} libxi6{a} libxml2{a} libxpm4{a} libxrandr-dev{a} 
  libxrandr2{a} libxrender-dev{a} libxrender1{a} libxtst6{a} 
  libxxf86dga1{a} libxxf86vm-dev{a} libxxf86vm1{a} man-db{a} 
  mesa-common-dev{a} mime-support{a} pkg-config{a} po-debconf{a} 
  protobuf-compiler{a} python{a} python-minimal{a} python2.7{a} 
  python2.7-minimal{a} quilt{a} scons{a} tsconf{a} x11-common{a} 
  x11proto-core-dev{a} x11proto-damage-dev{a} x11proto-dri2-dev{a} 
  x11proto-fixes-dev{a} x11proto-gl-dev{a} x11proto-input-dev{a} 
  x11proto-kb-dev{a} x11proto-randr-dev{a} x11proto-render-dev{a} 
  x11proto-xext-dev{a} x11proto-xf86vidmode-dev{a} xorg-sgml-doctools{a} 
  xtrans-dev{a} zlib1g-dev{a} 
0 packages upgraded, 182 newly installed, 0 to remove and 0 not upgraded.
Need to get 445 kB/48.6 MB of archives. After unpacking 156 MB will be used.

[installing packages]

 -> Finished parsing the build-deps

[..]

I: Running /usr/bin/dpkg-buildpackage -rfakeroot -us -uc ${DEBBUILDOPTS}
dpkg-buildpackage: source package pink-pony
dpkg-buildpackage: source version 1.3.1-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Miriam Ruiz <miriam@debian.org>
 dpkg-source --before-build pink-pony-1.3.1
dpkg-buildpackage: host architecture amd64
dpkg-source: info: using options from pink-pony-1.3.1/debian/source/options: --compression=bzip2 --compression-level=7 --extend-diff-ignore=(^|/)config.(sub|guess)$
dpkg-source: info: applying tinyxml.patch
dpkg-source: info: applying glee.patch
dpkg-source: info: applying script.patch
dpkg-source: info: applying datadir.patch
 fakeroot debian/rules clean

[building]

I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting /home/gregoa/tmp/pink-pony filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//8545 and its subdirectories

 
> Oh well.  My current plan is to research the build-essentials for Ubuntu and
> install those anyway, read the pbuilder documentation and create a new chroot
> for sid, then re-extract the dsc file - just to start from a clean slate.  

Hm, yeah, might be worth a try; something's weird with your current
chroot ... Oh, wait:
Your build uses /var/cache/pbuilder/base.tgz (the default); is this
the sid chroot you created? -- Probably yes, since you didn't pass
"--basetgz /var/cache/pbuilder/whatever.tgz" to the "pbuilder
--create" ... But maybe you have several chroots in
/var/cache/pbuilder nevertheless?
 

And then there's still sbuild, as Steve has pointed out :)


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Supertramp: It's A Long Road

Attachment: signature.asc
Description: Digital signature


Reply to: