[Simple-cdd-devel] Package location failure building stretch

Scott Wohler scott at link-labs.com
Mon May 8 17:01:40 UTC 2017


I made some of the changes you suggested (using --profiles instead of
--conf, ignoring the docs in the conf file), and I was able to get a little
further. There are some new errors and the build log no longer exists:

---
...
2017-05-08 11:49:18 ERROR reprepro: updating package lists exited with code
255
2017-05-08 11:49:18 ERROR Last 5 lines of standard error:
2017-05-08 11:49:18 ERROR reprepro: updating package lists: aptmethod got '
ftp://ftp.us.debian.org/debian/pool/main/x/xserver-xorg-input-evdev/xserver-xorg-input-evdev-udeb_2.10.5-1_amd64.udeb
'
2017-05-08 11:49:18 ERROR reprepro: updating package lists: aptmethod got '
ftp://ftp.us.debian.org/debian/pool/main/x/xserver-xorg-input-libinput/xserver-xorg-input-libinput-udeb_0.23.0-2_amd64.udeb
'
2017-05-08 11:49:18 ERROR reprepro: updating package lists: aptmethod got '
ftp://ftp.us.debian.org/debian/pool/main/x/xserver-xorg-video-fbdev/xserver-xorg-video-fbdev-udeb_0.4.4-1+b5_amd64.udeb
'
2017-05-08 11:49:18 ERROR reprepro: updating package lists: aptmethod got '
ftp://ftp.us.debian.org/debian/pool/main/z/zlib/zlib1g-udeb_1.2.8.dfsg-5_amd64.udeb
'
2017-05-08 11:49:18 ERROR reprepro: updating package lists: There have been
errors!
2017-05-08 11:49:18 ERROR reprepro failed with exit code: 255
---

It isn't clear what the error here is. There is a mirror-wget.log, but it
doesn't indicate any errors.

Additional comments inline.


On Mon, May 8, 2017 at 11:34 AM, Vagrant Cascadian <vagrant at debian.org>
wrote:

> On 2017-05-08, Scott Wohler wrote:
> > I've been trying to use build-simple-cdd to build a custom platform image
> > using stretch.
>
> What version of simple-cdd and debian-cd are you using?
>

simple-cdd:
  Installed: 0.6.4
  Candidate: 0.6.4
  Version table:
 *** 0.6.4 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status
debian-cd:
  Installed: 3.1.19
  Candidate: 3.1.19
  Version table:
 *** 3.1.19 500
        500 http://ftp.us.debian.org/debian stretch/main amd64 Packages
        100 /var/lib/dpkg/status


>
> Would you consider trying the version in git, which has a number of
> fixes and improvements:
>
>   https://anonscm.debian.org/git/collab-maint/simple-cdd.git
>
> Hoping there still might be time to get it into stretch...
>

I just installed from the tip of master on the git repo and it indicates
version 0.6.1:

---
Installed /usr/local/lib/python3.5/dist-packages/simple_cdd-0.6.1-py3.5.egg
Processing dependencies for simple-cdd==0.6.1
Finished processing dependencies for simple-cdd==0.6.1
---

The packaged version from sources is 0.6.4.



>
>
> > I'm basing this on a github repo for building a custom image
> > for an SBC:
> > https://github.com/ssinyagin/pcengines-apu-debian-cd
>
> The locale is set in three different ways in that repository (twice in
> apu64.conf, and once in apu64.preseed), and only one of them will be
> used.
>
> I'd recommend just putting locale=xx_YY (where xx is language and YY is
> country) in profiles/*.conf and removing the attempt to set it manually
> with KERNEL_PARAMS, as well as removing the locale/country selection
> From profiles/*.preseed, as the preseeding doesn't happen early enough
> to get used.


>
> Since the apu32 and apu64 profiles are nearly identical, you could also
> combine the common parts into a single profile, such as apu-common, and
> specify:
>
>   build-simple-cdd --profiles apu-common,apu64
>
>
> > I'm building with the following command:
> >
> > build-simple-cdd --conf profiles/apu64.conf --dist stretch --force-root
>
> You should be able to specify the profile like so:
>
>   build-simple-cdd --profiles apu64.conf --dist stretch --force-root
>
> The behavior when using --conf may not be what is expected/intended.


>
> > The problem that occurs is that the build fails to find a package from
> the
> > mirror (task-desktop) and the result is that the default_desktop variable
> > is unset:
>
>
> Does it actually build an iso image? It looks like the tool to generate
> the actual .iso file isn't present:
>
>
> >  stderr: Can't exec "xorriso": No such file or directory at
> > /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/tools/
> > make_disc_trees.pl line   95.
> ...
> > /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/
>  tools/
> > make_disc_trees.pl line 97.
> >  stdout: xorriso -version says:
> >  stdout:
>
> Or maybe it's using the genisoimage tools instead of xorriso... I'd
> recommend ensuring xorriso is installed.
>
>
> >  stdout:   Adding docs to CD1
> >  stdout:   Extracting FAQ on CD1
> >  stderr: mkdir: cannot create directory
> > '/home/odhinn/development/pcengines-apu-debian-cd/tmp/
> cd-build/stretch/CD1/doc/FAQ/html':
> > No such file or          directory
> >  stderr:     Failed to start disc 1, error 256
> >  stdout: Makefile:465: recipe for target 'image-trees' failed
> >  stderr: make: *** [image-trees] Error 1
> >  retval: 2
>
> It also looks like you're missing the docs, so it should fail to build
> the iso image.
>
> If you don't want the docs and tools installed on the .iso, You'll want
> to set the following in profiles/*.conf:
>
>   export OMIT_MANUAL=1
>   export OMIT_RELEASE_NOTES=1
>   export OMIT_DOC_TOOLS=1
>
>
> live well,
>   vagrant
>



-- 
Scott Wohler


<http://www.link-labs.com/>
www.link-labs.com
Main: 443-924-6980
Mobile: 410-802-6700
scott.wohler at link-labs.com

White Paper: Link Labs Use Cases
<http://info.link-labs.com/symphony-link-selected-use-cases>

This message contains confidential, proprietary and legally privileged
information. If you are not the intended recipient, please do not read,
copy, use or disclose this communication to others; also please notify the
sender by replying to this message and then deleting it from your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20170508/c42906ad/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Logo Sig.png
Type: image/png
Size: 9342 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20170508/c42906ad/attachment-0001.png>


More information about the Simple-cdd-devel mailing list