Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685806 - dev-libs/liberasurecode-1.6.0 : erasurecode_helpers.c:500:25: error: taking address of packed member of struct fragment_metadata may result in an unaligned pointer value [-Werror=address-of-packed-member]
Summary: dev-libs/liberasurecode-1.6.0 : erasurecode_helpers.c:500:25: error: taking a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 08:41 UTC by Toralf Förster
Modified: 2019-07-29 14:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.67 KB, text/plain)
2019-05-13 08:41 UTC, Toralf Förster
Details
dev-libs:liberasurecode-1.6.0:20190513-072322.log (dev-libs:liberasurecode-1.6.0:20190513-072322.log,30.16 KB, text/plain)
2019-05-13 08:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,103.04 KB, text/plain)
2019-05-13 08:41 UTC, Toralf Förster
Details
environment (environment,87.14 KB, text/plain)
2019-05-13 08:41 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.81 KB, application/x-bzip)
2019-05-13 08:41 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.69 KB, application/x-bzip)
2019-05-13 08:41 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.69 KB, application/x-bzip)
2019-05-13 08:41 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-05-13 08:41:24 UTC
erasurecode_helpers.c: In function ‘get_chksum’:
erasurecode_helpers.c:500:25: error: taking address of packed member of ‘struct fragment_metadata’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
  500 |     return (uint32_t *) header->meta.chksum;
      |                         ^~~~~~
cc1: all warnings being treated as errors

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_libressl_20190510-221702

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO dev-libs/liberasurecode
[ebuild  N    ] dev-libs/liberasurecode-1.6.0  USE="-doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-05-13 08:41:27 UTC
Created attachment 576374 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-13 08:41:30 UTC
Created attachment 576376 [details]
dev-libs:liberasurecode-1.6.0:20190513-072322.log
Comment 3 Toralf Förster gentoo-dev 2019-05-13 08:41:32 UTC
Created attachment 576378 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-05-13 08:41:35 UTC
Created attachment 576380 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-05-13 08:41:38 UTC
Created attachment 576382 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-13 08:41:40 UTC
Created attachment 576384 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-05-13 08:41:43 UTC
Created attachment 576386 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-06-07 15:58:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be72ab63da4b7cdbb762e3306847f81ca0ca7313

commit be72ab63da4b7cdbb762e3306847f81ca0ca7313
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2019-06-07 15:57:19 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2019-06-07 15:58:52 +0000

    dev-libs/liberasurecode: 1.6.1 bump
    
    Fixes: https://bugs.gentoo.org/685806
    
    Package-Manager: Portage-2.3.66, Repoman-2.3.14
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 dev-libs/liberasurecode/Manifest                   |  1 +
 .../liberasurecode/liberasurecode-1.6.1.ebuild     | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)
Comment 9 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2019-07-29 14:07:09 UTC
1.6.1 fix this?
Comment 10 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2019-07-29 14:07:27 UTC
oh, just tagging things, don't mind me