Project

General

Profile

Bug #17868

Bad documentation leads to package build failing when building for armhf

Added by Nicolas Ecarnot about 2 months ago. Updated 11 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Documentation
Target version:
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Very Small
Priority:
50

Description

After having read :
- https://docs.rudder.io/reference/6.0/reference/build.html#_building_the_rudder_agent
- https://issues.rudder.io/issues/10004
I tried to build the rudder-agent package for the 6.1 branch, using dpkg-buildpackage.

This verbose compilation is too long to detail what's going on, but it looks like it is compiling mostly correctly.
Alas, in the end, I get :
make1: * [Makefile:443: rudder-sources.tar.bz2] Error 22
make1: Leaving directory '/root/rudder-packages/rudder-agent/SOURCES'
make: *
[debian/rules:157: install] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

The log is too verbose for my modest skill so I here provide the typescript (read it with less -r to get nice colors).
The only things I changed were debian/changelog SOURCES/Makefile in which I choose RUDDER_VERSION_TO_PACKAGE = 6.1

It looks like it's pretty close to success but what could I do more to get this final .deb ?

#1

Updated by Nicolas Ecarnot about 2 months ago

Nicolas Ecarnot wrote:

The log is too verbose for my modest skill so I here provide the typescript (read it with less -r to get nice colors).

I can not provide the typescript file ("forbidden", but why?) so here it is :
http://www.ecarnot.net/tmp/20200629_2104_rudder-agent-6.1-dpkg-buildpackage.typescript.gz

#2

Updated by Benoît PECCATTE about 2 months ago

RUDDER_VERSION_TO_PACKAGE needs to be a precise version with 3 parts, for example 6.1.0

In your logs, thee last line says it cannot download https://repository.rudder.io/sources/6.1/rudder-sources-6.1.tar.bz2 which doesn't exist. However https://repository.rudder.io/sources/6.1.0/rudder-sources-6.1.0.tar.bz2 exists.

#3

Updated by Nicolas Ecarnot about 2 months ago

Benoît PECCATTE wrote in #note-2:

RUDDER_VERSION_TO_PACKAGE needs to be a precise version with 3 parts, for example 6.1.0

In your logs, thee last line says it cannot download https://repository.rudder.io/sources/6.1/rudder-sources-6.1.tar.bz2 which doesn't exist. However https://repository.rudder.io/sources/6.1.0/rudder-sources-6.1.0.tar.bz2 exists.

Thank you Benoît, it does solves this issue : using "6.1.0" leads to a complete build and .deb generation.
How about editing the doc page "https://docs.rudder.io/reference/6.0/reference/build.html#_building_the_rudder_agent" to explain this, because when reading it carefully, the "6.1" directory indeed does exist (-> "see https://repository.rudder.io/sources/ for a complete list of available versions.")

#4

Updated by François ARMAND about 1 month ago

  • Category changed from Packaging to Documentation
  • Severity changed from Major - prevents use of part of Rudder | no simple workaround to Minor - inconvenience | misleading | easy workaround
  • Effort required set to Very Small
  • Priority changed from 41 to 50

So the bug is just adding in document to use the full version.

#5

Updated by François ARMAND about 1 month ago

  • Subject changed from Package build failing when building for armhf to Bad documentation leads to package build failing when building for armhf
#6

Updated by Vincent MEMBRÉ 21 days ago

  • Target version changed from 6.1.2 to 6.1.3
#7

Updated by François ARMAND 11 days ago

  • Target version changed from 6.1.3 to 6.1.4

Also available in: Atom PDF