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

Scott Wohler scott at link-labs.com
Mon May 8 15:24:04 UTC 2017


> Hy Scott
>
>> stderr: Can't exec "xorriso"
>
> Have you installed xorriso???
>
>
> best regards

I hadn't installed it yet because of the initial error. However, after
installing, the initial error still exists but I'm seeing new errors in the
tail of the log:

---
...
 stdout: Missing package file for amd64/non-free.
 stdout: Generating a fake status file for apt-get and apt-cache...
 stdout: :>
/home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-build/apt/status
 stdout: # Set up keyring so apt doesn't complain
 stdout: Setting up archive-keyring
 stdout: # Updating the apt database
 stdout: Get:1
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
InRelease
 stdout: Ign:1
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
InRelease
 stdout: Get:2
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release [2,244 B]
 stdout: Get:2
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release [2,244 B]
 stdout: Get:3
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release.gpg
 stdout: Ign:3
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release.gpg
 stdout: Get:4
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror
stretch/main amd64 Packages [128 kB]
 stdout: Get:5
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror
stretch/non-free amd64 Packages [6,213 B]
 stdout: Get:6
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror
stretch/main/debian-installer amd64 Packages [79.7 kB]
 stdout: Reading package lists...
 stderr: W: The repository
'file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release' is not signed.
 stdout: # If we're doing a build using d-i from sid, we'll need sid
sources too
 stdout: if [ ""x = "yes"x ] && \
 stdout:     [ "stretch"x != ""x ] && \
 stdout:     [ "stretch"x != "stretch"x ] ; then \
 stdout:     mkdir -p
/home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-build/apt/stretch-source/apt/preferences.d
; \
 stdout:     :>
/home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-build/apt/stretch-source/status
; \
 stdout:     export CODENAME=stretch; \
 stdout:     export ARCH=source; \
 stdout:
/home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/tools/apt-selection
update; \
 stdout:     if [ "$BACKPORTS"x != ""x ] ; then \
 stdout:         USE_BP=1
/home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/tools/apt-selection
update; \
 stdout:     fi; \
 stdout: fi
 stdout: Reading package lists...
 stdout: Building dependency tree...
 stdout: Apt-get is updating its files ...
 stdout: Get:1
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
InRelease
stdout: Ign:1
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
InRelease
 stdout: Get:2
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release [2,244 B]
 stdout: Get:2
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release [2,244 B]
 stdout: Get:3
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release.gpg
 stdout: Ign:3
file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release.gpg
 stdout: Reading package lists...
 stderr: W: The repository
'file:/home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror stretch
Release' is not signed.
 stdout: Generating the complete list of packages to be included in
/home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-build/stretch/list...
 stdout:
/home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/tools/check_backports_packages
/home/odhinn/development/pcengines-apu-debian-cd/
tmp/cd-build/stretch/list
/home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-build/stretch/list.backports
 stdout: if [ -f
/home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-build/stretch/list.backports
]; then mv /home/odhinn/development/pcengines-apu-
debian-cd/tmp/cd-build/stretch/list.backports
/home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-build/stretch/list;
fi
 stdout: Running sort_deps to sort packages for amd64:
 stdout:   Generating dependency tree with apt-cache depends...
 stdout:   Adding standard, required, important and base packages first
 stdout:   S/R/I/B packages take 0 bytes
 stdout:   Adding the rest of the requested packages
 stdout:   Now up to 173067532 bytes
 stdout: Done: processed/sorted 485 packages, total size 173067532 bytes.
 stderr: xorriso 1.4.6 : RockRidge filesystem manipulator, libburnia
project.
 stderr:
 stdout: xorriso -version says:
 stdout: xorriso 1.4.6
 stdout: ISO 9660 Rock Ridge filesystem manipulator and CD/DVD/BD burn
program
 stdout: Copyright (C) 2016, Thomas Schmitt <scdbackup at gmx.net>, libburnia
project.
 stdout: xorriso version   :  1.4.6
 stdout: Version timestamp :  2016.09.16.133001
 stdout: Build timestamp   :  -none-given-
 stdout: libisofs   in use :  1.4.6  (min. 1.4.6)
 stdout: libjte     in use :  1.0.0  (min. 1.0.0)
 stdout: libburn    in use :  1.4.6  (min. 1.4.6)
 stdout: libburn OS adapter:  internal GNU/Linux SG_IO adapter sg-linux
 stdout: libisoburn in use :  1.4.6  (min. 1.4.6)
 stdout: Provided under GNU GPL version 3 or later, due to libreadline
license.
 stdout: There is NO WARRANTY, to the extent permitted by law.
 stdout:
 stdout: Reading in package information for amd64:
 stdout:   Done: Read details of 485 packages for amd64
 stdout: WARNING: no translated descriptions found for stretch/main
 stdout: WARNING: no translated descriptions found for stretch/non-free
 stdout: Starting to lay out packages into images:
 stdout:   Adding the required directories
 stdout:   Generating the image label and volume id
 stdout:   Adding .disk/base_components
 stdout:   Adding .disk/cd_type
 stdout:   Adding udeb/base includes/excludes
 stdout: WARNING: Unable to read UDEB_EXCLUDE file
/home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/data/stretch/amd64_netinst_udeb_exclude
 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
---

On Mon, May 8, 2017 at 11:14 AM, paulo bruck <paulobruck1 at gmail.com> wrote:

> Hy Scott
>
>  stderr: Can't exec "xorriso"
>
> Have you installed xorriso???
>
>
> best regards
>
> 2017-05-08 9:19 GMT-03:00 Scott Wohler <scott at link-labs.com>:
>
>> I've been trying to use build-simple-cdd to build a custom platform image
>> using stretch. I'm basing this on a github repo for building a custom image
>> for an SBC:
>> https://github.com/ssinyagin/pcengines-apu-debian-cd
>>
>> I'm building with the following command:
>>
>> build-simple-cdd --conf profiles/apu64.conf --dist stretch --force-root
>>
>> 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:
>>
>> runcmd: /home/odhinn/development/pcengines-apu-debian-cd/tmp/log/
>> build-debian-cd
>>  stdout: Missing package file for amd64/non-free.
>>  stdout: simple-cdd: Running debian-cd makefile
>>  stdout: Cleaning the build directory
>>  stdout: Updating task files...
>>  stdout: - copying task files from 'tasks/stretch/'
>>  stdout: - generating dynamic task files
>>  stderr: which_deb: can't find binary file(s) for task-desktop in stretch
>>  stderr: dpkg-deb: error: error reading archive magic version number from
>> file /home/odhinn/development/pcengines-apu-debian-cd/tmp/mirror/: Is a
>>          directory
>>  stdout: update_tasks: Using "" as the default desktop, as specified by
>>  stderr: Use of uninitialized value $default_desktop in concatenation (.)
>> or string at /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/
>>     tools/update_tasks line 66.
>>  stderr: Use of uninitialized value $default_desktop in concatenation (.)
>> or string at /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/
>>     tools/update_tasks line 150.
>>  stderr: Use of uninitialized value $default_desktop in concatenation (.)
>> or string at /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/
>>     tools/update_tasks line 180.
>>  stderr: Use of uninitialized value $default_desktop in regexp
>> compilation at /home/odhinn/development/pceng
>> ines-apu-debian-cd/tmp/debian-cd/tools/        update_tasks line 239.
>>  stderr: Use of uninitialized value $default_desktop in regexp
>> compilation at /home/odhinn/development/pceng
>> ines-apu-debian-cd/tmp/debian-cd/tools/        update_tasks line 239.
>> ...
>>
>>
>> The errors above are repeated for several hundred lines. The tail end of
>> the log:
>>
>>  stdout: Missing package file for amd64/non-free.
>>  stdout: Generating a fake status file for apt-get and apt-cache...
>>  stdout: :> /home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-
>> build/apt/status
>>  stdout: # Set up keyring so apt doesn't complain
>>  stdout: Setting up archive-keyring
>>  stdout: # Updating the apt database
>>  stdout: Get:1 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch InRelease
>>  stdout: Ign:1 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch InRelease
>>  stdout: Get:2 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch Release [2,244 B]
>>  stdout: Get:2 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch Release [2,244 B]
>>  stdout: Get:3 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch Release.gpg
>>  stdout: Ign:3 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch Release.gpg
>>  stdout: Get:4 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch/main amd64 Packages [128 kB]
>>  stdout: Get:5 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch/non-free amd64 Packages
>> [6,213 B]
>>  stdout: Get:6 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch/main/debian-installer amd64
>> Packages [79.7 kB]
>>  stdout: Reading package lists...
>>  stderr: W: The repository 'file:/home/odhinn/development
>> /pcengines-apu-debian-cd/tmp/mirror stretch Release' is not signed.
>>  stdout: # If we're doing a build using d-i from sid, we'll need sid
>> sources too
>>  stdout: if [ ""x = "yes"x ] && \
>>  stdout:     [ "stretch"x != ""x ] && \
>>  stdout:     [ "stretch"x != "stretch"x ] ; then \
>>  stdout:     mkdir -p /home/odhinn/development/pceng
>> ines-apu-debian-cd/tmp/cd-build/apt/stretch-source/apt/preferences.d ; \
>>  stdout:     :> /home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-
>> build/apt/stretch-source/status ; \
>>  stdout:     export CODENAME=stretch; \
>>  stdout:     export ARCH=source; \
>>  stdout:     /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/tools/apt-selection
>> update; \
>>  stdout:     if [ "$BACKPORTS"x != ""x ] ; then \
>>  stdout:         USE_BP=1 /home/odhinn/development/pceng
>> ines-apu-debian-cd/tmp/debian-cd/tools/apt-selection update; \
>>  stdout:     fi; \
>>  stdout: fi
>>  stdout: Reading package lists...
>>  stdout: Building dependency tree...
>>  stdout: Apt-get is updating its files ...
>>  stdout: Get:1 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch InRelease
>>  stdout: Ign:1 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch InRelease
>>  stdout: Get:2 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch Release [2,244 B]
>>  stdout: Get:2 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch Release [2,244 B]
>>  stdout: Get:3 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch Release.gpg
>>  stdout: Ign:3 file:/home/odhinn/development/
>> pcengines-apu-debian-cd/tmp/mirror stretch Release.gpg
>>  stdout: Reading package lists...
>>  stderr: W: The repository 'file:/home/odhinn/development
>> /pcengines-apu-debian-cd/tmp/mirror stretch Release' is not signed.
>>  stdout: Generating the complete list of packages to be included in
>> /home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-
>> build/stretch/list...
>> stdout: /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-
>> cd/tools/check_backports_packages /home/odhinn/development/pcengines-apu-debian-cd/
>>   tmp/cd-build/stretch/list /home/odhinn/development/pceng
>> ines-apu-debian-cd/tmp/cd-build/stretch/list.backports
>>  stdout: if [ -f /home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-build/stretch/list.backports
>> ]; then mv /home/odhinn/development/pcengines-apu-
>> debian-cd/tmp/cd-build/stretch/list.backports
>> /home/odhinn/development/pcengines-apu-debian-cd/tmp/cd-build/stretch/list;
>> fi
>>  stdout: Running sort_deps to sort packages for amd64:
>>  stdout:   Generating dependency tree with apt-cache depends...
>>  stdout:   Adding standard, required, important and base packages first
>>  stdout:   S/R/I/B packages take 0 bytes
>>  stdout:   Adding the rest of the requested packages
>>  stdout:   Now up to 173067532 bytes
>>  stdout: Done: processed/sorted 485 packages, total size 173067532 bytes.
>>  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.
>>  stderr: Use of uninitialized value $mkisofs_version in concatenation (.)
>> or string at /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/
>>     tools/make_disc_trees.pl line 96.
>>  stderr: Use of uninitialized value $mkisofs_version in concatenation (.)
>> or string at /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-cd/
>>     tools/make_disc_trees.pl line 97.
>>  stdout: xorriso -version says:
>>  stdout:
>>  stdout: Reading in package information for amd64:
>>  stdout:   Done: Read details of 485 packages for amd64
>>  stdout: WARNING: no translated descriptions found for stretch/main
>>  stdout: WARNING: no translated descriptions found for stretch/non-free
>>  stdout: Starting to lay out packages into images:
>>  stdout:   Adding the required directories
>>  stdout:   Generating the image label and volume id
>>  stdout:   Adding .disk/base_components
>>  stdout:   Adding .disk/cd_type
>>  stdout:   Adding udeb/base includes/excludes
>>  stdout: WARNING: Unable to read UDEB_EXCLUDE file
>> /home/odhinn/development/pcengines-apu-debian-cd/tmp/debian-
>> cd/data/stretch/amd64_netinst_udeb_exclude
>>  stdout:   Adding docs to CD1
>>  stdout:   Extracting FAQ on CD1
>>  stderr: mkdir: cannot create directory '/home/odhinn/development/pcen
>> gines-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
>>
>> Relevant portion of the preseed file:
>>
>>  d-i mirror/protocol string http
>>  d-i mirror/country string manual
>>  d-i mirror/http/hostname string httpredir.debian.org
>>  d-i mirror/http/directory string /debian
>>  d-i mirror/http/proxy string
>>  d-i mirror/suite string stretch
>>  d-i mirror/udeb/suite string stretch
>>
>>  tasksel tasksel/first multiselect ssh-server
>>  d-i pkgsel/upgrade select none
>>
>>
>> I have tried using 'testing' instead of stretch, defining a desktop
>> environment in the preseed file, etc.
>>
>> Doing an apt-cache search for task-desktop reveals that it is available,
>> but not where it is located on the mirror.
>>
>> The VM (host) is a Debian stretch instance:
>>
>> Linux qs-stretch 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64
>> GNU/Linux
>> ...
>> Distributor ID: Debian
>> Description: Debian GNU/Linux 9.0 (stretch)
>> Release: 9.0
>> Codename: stretch
>>
>> Any recommendations? I'm sure this hasn't been fully tested considering
>> the state of stretch.
>>
>> --
>> Scott Wohler
>>
>>
>>
>> _______________________________________________
>> Simple-cdd-devel mailing list
>> Simple-cdd-devel at lists.alioth.debian.org
>> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/simple-cdd-devel
>>
>
>
>
> --
> Paulo Ricardo Bruck consultor
> tel 011 3596-4881/4882  011 98140-9184 (TIM)
> http://www.contatogs.com.br
> http://www.protejasuarede.com.br
> gpg AAA59989 at wwwkeys.us.pgp.net
>



-- 
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/5893028f/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/5893028f/attachment-0001.png>


More information about the Simple-cdd-devel mailing list