Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T tails
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 979
    • Issues 979
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tails
  • tails
  • Issues
  • #18931
Closed
Open
Issue created Apr 25, 2022 by Toptin Tintop@ToptinContributor

rake build fails - apt-get works erratically ( 502 connection closed [IP:127.0.0.1:3142] ) - No build artifacts were found!

Today I started over after one week of trying to get a handle on this erratic apt-get behavior. apt-get works and then suddenly gets 502 errors connection closed.

I tried without proxy, without proxy and without apt-cacher-ng. The result is always the same. So, today I removed all previous attempts sources Vagrant boxes etc.

Setting up the build environment:

# dpkg-dev added was missing.
sudo apt install \
    dpkg-dev \
    psmisc \
    git \
    rake \
    libvirt-daemon-system \
    dnsmasq-base \
    ebtables \
    faketime \
    pigz \
    qemu-system-x86 \
    qemu-utils \
    vagrant \
    vagrant-libvirt \
    vmdb2 && \
sudo systemctl restart libvirtd

for group in kvm libvirt libvirt-qemu ; do
   sudo adduser "$(whoami)" "$group"
done

git clone https://gitlab.tails.boum.org/tails/tails.git && \
 cd tails && \
 git checkout stable && \
 git submodule update --init

# Build Tails
rake build --trace 2>&1 | tee tee [PATH]build.log

My development laptop is an Acer Aspire 5 (16GB RAM, Dualcore AMD) running stock Debian Bullseye with backports enabled for the kernel and WiFi driver. No issues with the network. I have a Gibabit Internet connection.

I also tested a default Debian LiveBuild and that works without any issues.

Something is missing, but I can't figure out what it is. I attached the build.log.2022-04-25-11_20-build.log

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking