Bug 18907

Summary: Warning "dpkg-source: warning: relation < is deprecated: use << or <="
Product: Koha Reporter: Mark Tompsett <mtompset>
Component: PackagingAssignee: Mark Tompsett <mtompset>
Status: CLOSED FIXED QA Contact: Marcel de Rooy <m.de.rooy>
Severity: trivial    
Priority: P5 - low CC: fridolin.somers, jonathan.druart, katrin.fischer, ldjamison, m.de.rooy, mirko, nick
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 18907: Build has deprecating message
Bug 18907: Regenerated control file
Bug 18907: Build has deprecating message
Bug 18907: (do not push) Regenerated control file
Bug 18907: Build has deprecating message

Description Mark Tompsett 2017-07-06 18:46:17 UTC
When following the instructions from scratch on:
https://wiki.koha-community.org/wiki/Building_Debian_Packages_-_The_Easy_Way
This warning is given.
Comment 1 Mark Tompsett 2017-07-06 18:48:58 UTC
Created attachment 64863 [details] [review]
Bug 18907: Build has deprecating message

Following the instructions at:
https://wiki.koha-community.org/wiki/Building_Debian_Packages_-_The_Easy_Way
Receiving the following message in the build:
dpkg-source: warning: relation < is deprecated: use << or <=

This patch tweaks the list-deps.
git diff origin/master -- debian/list-deps shows just the one line
changed from < to << as per the messages suggestion and eythian's
suggestion on IRC:
http://irc.koha-community.org/koha/2017-07-06#i_1950698

The control file can be regenerated from the command-line:
./debian/update-control
However, it will be attached separately.
Comment 2 Mark Tompsett 2017-07-06 18:49:00 UTC
Created attachment 64864 [details] [review]
Bug 18907: Regenerated control file

This is the regenerated control file using the list-dep
patch in the previous commit.

It is better to regenerate by hand using:
./debian/update-control
As others may have made changes to control.in which
would affect the build too.

It can be applied for ease of testing, rather than
regenerate.
Comment 3 Katrin Fischer 2017-10-28 12:07:41 UTC
Patches still apply, change appears simple, but I don't have a building environment set up at the moment.
Comment 4 Josef Moravec 2017-10-29 10:55:09 UTC
Created attachment 68807 [details] [review]
Bug 18907: Build has deprecating message

Following the instructions at:
https://wiki.koha-community.org/wiki/Building_Debian_Packages_-_The_Easy_Way
Receiving the following message in the build:
dpkg-source: warning: relation < is deprecated: use << or <=

This patch tweaks the list-deps.
git diff origin/master -- debian/list-deps shows just the one line
changed from < to << as per the messages suggestion and eythian's
suggestion on IRC:
http://irc.koha-community.org/koha/2017-07-06#i_1950698

The control file can be regenerated from the command-line:
./debian/update-control
However, it will be attached separately.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 5 Josef Moravec 2017-10-29 10:55:14 UTC
Created attachment 68808 [details] [review]
Bug 18907: (do not push) Regenerated control file

This is the regenerated control file using the list-dep
patch in the previous commit.

It is better to regenerate by hand using:
./debian/update-control
As others may have made changes to control.in which
would affect the build too.

It can be applied for ease of testing, rather than
regenerate.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 6 Marcel de Rooy 2017-11-27 12:09:39 UTC
Created attachment 69370 [details] [review]
Bug 18907: Build has deprecating message

Following the instructions at:
https://wiki.koha-community.org/wiki/Building_Debian_Packages_-_The_Easy_Way
Receiving the following message in the build:
dpkg-source: warning: relation < is deprecated: use << or <=

This patch tweaks the list-deps.
git diff origin/master -- debian/list-deps shows just the one line
changed from < to << as per the messages suggestion and eythian's
suggestion on IRC:
http://irc.koha-community.org/koha/2017-07-06#i_1950698

The control file can be regenerated from the command-line:
./debian/update-control
However, it will be attached separately.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Comment 7 Jonathan Druart 2017-12-07 14:25:24 UTC
Pushed to master for 18.05, thanks to everybody involved!
Comment 8 Nick Clemens 2017-12-14 12:36:45 UTC
Pushed to stable for 17.11.01, awesome work all!
Comment 9 Fridolin Somers 2017-12-21 08:34:55 UTC
Pushed to 17.05.x, will be in v17.05.07