Bug #17868
closedBad documentation leads to package build failing when building for armhf
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 ?
Updated by Nicolas Ecarnot over 4 years 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
Updated by Benoît PECCATTE over 4 years 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.
Updated by Nicolas Ecarnot over 4 years 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.")
Updated by François ARMAND over 4 years 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.
Updated by François ARMAND over 4 years ago
- Subject changed from Package build failing when building for armhf to Bad documentation leads to package build failing when building for armhf
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.1.2 to 6.1.3
Updated by François ARMAND over 4 years ago
- Target version changed from 6.1.3 to 6.1.4
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 6.1.4 to 6.1.5
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 6.1.5 to 6.1.6
- Priority changed from 50 to 49
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 6.1.6 to 6.1.7
- Priority changed from 49 to 48
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 6.1.7 to 6.1.8
- Priority changed from 48 to 47
Updated by Vincent MEMBRÉ almost 4 years ago
- Target version changed from 6.1.8 to 6.1.9
- Priority changed from 47 to 46
Updated by Vincent MEMBRÉ almost 4 years ago
- Target version changed from 6.1.9 to 6.1.10
Updated by Vincent MEMBRÉ almost 4 years ago
- Target version changed from 6.1.10 to 6.1.11
- Priority changed from 46 to 45
Updated by Vincent MEMBRÉ almost 4 years ago
- Target version changed from 6.1.11 to 6.1.12
- Priority changed from 45 to 44
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.12 to 6.1.13
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.13 to 6.1.14
- Priority changed from 44 to 43
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.14 to 6.1.15
- Priority changed from 43 to 42
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.15 to 6.1.16
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.16 to 6.1.17
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.17 to 6.1.18
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.18 to 6.1.19
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.19 to 6.1.20
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.20 to 6.1.21
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.21 to old 6.1 issues to relocate
Updated by Benoît PECCATTE almost 2 years ago
- Target version changed from old 6.1 issues to relocate to 7.2.5
- Priority changed from 42 to 0
- Regression set to No
Updated by Benoît PECCATTE almost 2 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE almost 2 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-doc/pull/965
Updated by Benoît PECCATTE almost 2 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-doc|dac7003f640e317fb979cc6cf10f23522fa60c4d.
Updated by Vincent MEMBRÉ over 1 year ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ over 1 year ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.2.5 which was released today.