Skip to contentSkip to conversation

package/bwm-ng: fix build failures with gcc-5

PATCH New Yann E. MORIN 2 participants 6 messages Aug 13, 2015 – Aug 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bwm-ng: fix build failures with gcc-5

Bumping to the latest release, for 0.6 -> 0.6.1 to fix gcc-5 build failures due to incorrect definitions of 'static' functions.

The project also has a new home.

fixes:

    http://autobuild.buildroot.org/results/546/546b332cf95a48412d88add2feec2ffd4712857c/
    http://autobuild.buildroot.org/results/751/751797f3b97839f69626682ce81dca9bcb2cff22/
    ...
---
 package/bwm-ng/Config.in   | 2 +-
 package/bwm-ng/bwm-ng.hash | 2 +-
 package/bwm-ng/bwm-ng.mk   | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
package/bwm-ng/Config.in +1 -1
index 25e7cbe..f93dd93 100644
@@ -5,4 +5,4 @@ config BR2_PACKAGE_BWM_NG
 	  network and disk-io bandwidth monitor for Linux, BSD,
 	  Solaris, Mac OS X and others.
 
-	  http://sourceforge.net/projects/bwmng/
+	  http://www.gropp.org/?id=projects&sub=bwm-ng
package/bwm-ng/bwm-ng.hash +1 -1
index 6bb8355..44272b1 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256  c1134358e268329d438b0996399003b0f0b966034fb4b5b138761c2f3c62ffdd  bwm-ng-0.6.tar.gz
+sha1  9445885d05e2430ca174739e3aba343afce94076  bwm-ng-0.6.1.tar.gz
package/bwm-ng/bwm-ng.mk +2 -2
index ed1f5aa..e285422 100644
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-BWM_NG_VERSION = 0.6
-BWM_NG_SITE = http://downloads.sourceforge.net/project/bwmng/bwmng/$(BWM_NG_VERSION)
+BWM_NG_VERSION = 0.6.1
+BWM_NG_SITE = http://www.gropp.org/bwm-ng
 BWM_NG_CONF_OPTS = --with-procnetdev --with-diskstats
 BWM_NG_LICENSE = GPLv2
 BWM_NG_LICENSE_FILES = COPYING
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/bwm-ng: fix build failures with gcc-5

Hi Yann,

package/bwm-ng/bwm-ng.hash line 2

Quoted 8 lines · Yann E. MORIN
package/bwm-ng/bwm-ng.hash +1 -1
index 6bb8355..44272b1 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256  c1134358e268329d438b0996399003b0f0b966034fb4b5b138761c2f3c62ffdd  bwm-ng-0.6.tar.gz
+sha1  9445885d05e2430ca174739e3aba343afce94076  bwm-ng-0.6.1.tar.gz

Why sha1?

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#2 lore raw

PATCH 1/1 package/bwm-ng: fix build failures with gcc-5

Baruch, All,

On 2015-08-14 17:15 +0300, Baruch Siach spake thusly:

Quoted 11 lines · Yann E. MORIN

package/bwm-ng/bwm-ng.hash line 2

Quoted 8 lines
package/bwm-ng/bwm-ng.hash +1 -1
index 6bb8355..44272b1 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256  c1134358e268329d438b0996399003b0f0b966034fb4b5b138761c2f3c62ffdd  bwm-ng-0.6.tar.gz
+sha1  9445885d05e2430ca174739e3aba343afce94076  bwm-ng-0.6.1.tar.gz

Why sha1?

Ah, I forgot to update the comment. The sha1 hash is from the SF.net download page, and it only lists sha1 and md5 (click on the (i) icon on the left of the download link to see the hashes):

http://sourceforge.net/projects/bwmng/files/bwmng/0.6/

I'll fix the comment and resubmit. Thanks for noticing! :-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#3 lore raw

PATCH 1/1 package/bwm-ng: fix build failures with gcc-5

Baruch, All,

On 2015-08-14 16:45 +0200, Yann E. MORIN spake thusly:

Quoted 13 lines

On 2015-08-14 17:15 +0300, Baruch Siach spake thusly:

Quoted 11 lines · Yann E. MORIN

package/bwm-ng/bwm-ng.hash line 2

Quoted 8 lines
package/bwm-ng/bwm-ng.hash +1 -1
index 6bb8355..44272b1 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256  c1134358e268329d438b0996399003b0f0b966034fb4b5b138761c2f3c62ffdd  bwm-ng-0.6.tar.gz
+sha1  9445885d05e2430ca174739e3aba343afce94076  bwm-ng-0.6.1.tar.gz

Why sha1?

Quoted 7 lines

Ah, I forgot to update the comment. The sha1 hash is from the SF.net download page, and it only lists sha1 and md5 (click on the (i) icon on the left of the download link to see the hashes):

http://sourceforge.net/projects/bwmng/files/bwmng/0.6/

I'll fix the comment and resubmit. Thanks for noticing! :-)

Now that I think about it, we are no longer downloading from DF.net, but directly from the new official location:
http://www.gropp.org/?id=projects&sub=bwm-ng

And this new location does not provide a hash... :-(

But the file is also available on SF.net which provides this sha1.

So I wonder: should we point to the SF.net provided sha1, even though we're not downloading from there?

I'll be waiting a bit for feedback before re-submitting...

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 1/1 package/bwm-ng: fix build failures with gcc-5

Hi Yann,

Quoted 26 lines · Yann E. MORIN

On 2015-08-14 16:45 +0200, Yann E. MORIN spake thusly:

Quoted 13 lines

On 2015-08-14 17:15 +0300, Baruch Siach spake thusly:

Quoted 11 lines · Yann E. MORIN

package/bwm-ng/bwm-ng.hash line 2

Quoted 8 lines
package/bwm-ng/bwm-ng.hash +1 -1
index 6bb8355..44272b1 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256  c1134358e268329d438b0996399003b0f0b966034fb4b5b138761c2f3c62ffdd  bwm-ng-0.6.tar.gz
+sha1  9445885d05e2430ca174739e3aba343afce94076  bwm-ng-0.6.1.tar.gz

Why sha1?

Quoted 7 lines

Ah, I forgot to update the comment. The sha1 hash is from the SF.net download page, and it only lists sha1 and md5 (click on the (i) icon on the left of the download link to see the hashes):

http://sourceforge.net/projects/bwmng/files/bwmng/0.6/

I'll fix the comment and resubmit. Thanks for noticing! :-)

Now that I think about it, we are no longer downloading from DF.net, but directly from the new official location:
http://www.gropp.org/?id=projects&sub=bwm-ng

Quoted 6 lines

And this new location does not provide a hash... :-(

But the file is also available on SF.net which provides this sha1.

So I wonder: should we point to the SF.net provided sha1, even though we're not downloading from there?

Since the new bwm-ng website explicitly states that sf.net "will not be used anymore", and provided the dubious reputation of sf.net as of late, I don't think we can rely on their hashes in the long run, at least for this project. I vote for locally computed sha256 in this case.

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#5 lore raw

PATCH 1/1 package/bwm-ng: fix build failures with gcc-5

Baruch, All,

On 2015-08-16 13:04 +0300, Baruch Siach spake thusly:

Quoted 17 lines · Yann E. MORIN
Quoted 16 lines

On 2015-08-14 16:45 +0200, Yann E. MORIN spake thusly:

Quoted 7 lines

On 2015-08-14 17:15 +0300, Baruch Siach spake thusly:

Quoted 5 lines · Yann E. MORIN

package/bwm-ng/bwm-ng.hash line 2

Quoted 2 lines
package/bwm-ng/bwm-ng.hash +1 -0
+sha1  9445885d05e2430ca174739e3aba343afce94076  bwm-ng-0.6.1.tar.gz

Why sha1?

http://sourceforge.net/projects/bwmng/files/bwmng/0.6/

Now that I think about it, we are no longer downloading from DF.net, but directly from the new official location:
http://www.gropp.org/?id=projects&sub=bwm-ng

And this new location does not provide a hash... :-(

But the file is also available on SF.net which provides this sha1.

Quoted 7 lines
Quoted 2 lines

So I wonder: should we point to the SF.net provided sha1, even though we're not downloading from there?

Since the new bwm-ng website explicitly states that sf.net "will not be used anymore", and provided the dubious reputation of sf.net as of late, I don't think we can rely on their hashes in the long run, at least for this project. I vote for locally computed sha256 in this case.

Ack, thanks! :-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'