Project

General

Profile

Actions

Bug #17868

closed

Bad documentation leads to package build failing when building for armhf

Added by Nicolas Ecarnot over 4 years ago. Updated over 1 year ago.

Status:
Released
Priority:
N/A
Category:
Documentation
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

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 ?

Actions #1

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

Actions #2

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.

Actions #3

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.")

Actions #4

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.

Actions #5

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
Actions #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.1.2 to 6.1.3
Actions #7

Updated by François ARMAND over 4 years ago

  • Target version changed from 6.1.3 to 6.1.4
Actions #8

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.1.4 to 6.1.5
Actions #9

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
Actions #10

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
Actions #11

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.7 to 6.1.8
  • Priority changed from 48 to 47
Actions #12

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
Actions #13

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 6.1.9 to 6.1.10
Actions #14

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.10 to 6.1.11
  • Priority changed from 46 to 45
Actions #15

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.11 to 6.1.12
  • Priority changed from 45 to 44
Actions #16

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.12 to 6.1.13
Actions #17

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
Actions #18

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
Actions #19

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #20

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #21

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #22

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #23

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #24

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #25

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #26

Updated by Benoît PECCATTE over 1 year 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
Actions #27

Updated by Benoît PECCATTE over 1 year ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #28

Updated by Benoît PECCATTE over 1 year 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
Actions #29

Updated by Benoît PECCATTE over 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #30

Updated by Vincent MEMBRÉ over 1 year ago

  • Fix check changed from To do to Checked
Actions #31

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.

Actions

Also available in: Atom PDF