Skip to content

Breaking builds: Kindlegen dependency no longer available #1496

Closed
@HonkingGoose

Description

@HonkingGoose

Which version of the book is affected?

⚠️ This issue affects all builds! ⚠️
Problem will be present on all future builds/releases once the Travis CI cache is expired. Problem is with source files.

Describe the bug:

The 'kindlegen' binary that we depend on to build/validate the Kindle files is no longer available to download from the rubygems.org website. Because this dependency is no longer available, Travis CI cannot build new releases of the book.

I'm specifically talking about this entry in the Gemfile:

gem 'kindlegen'

Steps to reproduce:

  1. Try to run a build on Travis CI.
  2. Build fails with:
mAn error occurred while installing kindlegen (3.0.5), and Bundler

cannot continue.

Make sure that `gem install kindlegen -v '3.0.5' --source

'https://rubygems.org/'` succeeds before bundling.

In Gemfile:

  kindlegen

The command "bundle install" failed and exited with 5 during .

Example of failed build: https://travis-ci.org/github/HonkingGoose/progit2/builds/721079601

Expected behavior:

Build passes.

Screenshots:

Additional context:

Upstream issue reports: tdtds/kindlegen#42 asciidoctor/asciidoctor-epub3#363
We also have some other issues outstanding with dependencies at: #1373 #1358

Amazon says to use Kindle Previewer instead, to get the same functionality:
https://www.amazon.com/gp/feature.html?docId=1000765211
This will not work for our project, as according to @slonopotamus the Kindle Previewer does not exist for Linux.

This problem is also present when I try to download the Kindlegen dependency locally. So it's not just Travis CI that's broken...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions