Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 585304

Summary: sys-apps/sdparm-1.10 sys-apps/sg3_utils-1.42 stable request
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: StabilizationAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal Keywords: STABLEREQ
Priority: Normal Flags: kensington: sanity-check+
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
=sys-apps/sdparm-1.10 =sys-apps/sg3_utils-1.42
Runtime testing required: ---

Description Pacho Ramos gentoo-dev 2016-06-07 14:03:28 UTC
thanks
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2016-06-08 08:42:56 UTC
There seems to be some linking breakage:

alpha-unknown-linux-gnu-gcc -iquote ../include -Wall -W  -mieee -pipe -O2 -mcpu=ev67  -Wl,-O1 -Wl,--as-needed -o sdparm sdparm.o sdparm_data.o sdparm_data_vendor.o sdparm_access.o sdparm_vpd.o sdparm_cmd.o    -lsgutils2 
sdparm.o: In function `enumerate_mpages':
(.text+0x2d8): undefined reference to `pr2serr'
sdparm.o: In function `enumerate_mpages':
(.text+0x2e4): undefined reference to `pr2serr'
sdparm.o: In function `map_if_lk24':
(.text+0x7b4): undefined reference to `pr2serr'
sdparm.o: In function `map_if_lk24':
[...]

pr2serr is part of sg3_utils, and indeed /usr/lib/libsgutils2.so does not export that symbol:

# scanelf -s '*'  /usr/lib/libsgutils2.so|grep pr2serr
#

There are various other functions that may or may not be drop-in replacements. I think this is something for upstream to fix.
Comment 2 Agostino Sarubbo gentoo-dev 2016-06-11 16:40:24 UTC
(In reply to Tobias Klausmann from comment #1)
> There seems to be some linking breakage:
> 
> alpha-unknown-linux-gnu-gcc -iquote ../include -Wall -W  -mieee -pipe -O2
> -mcpu=ev67  -Wl,-O1 -Wl,--as-needed -o sdparm sdparm.o sdparm_data.o
> sdparm_data_vendor.o sdparm_access.o sdparm_vpd.o sdparm_cmd.o    -lsgutils2 
> sdparm.o: In function `enumerate_mpages':
> (.text+0x2d8): undefined reference to `pr2serr'
> sdparm.o: In function `enumerate_mpages':
> (.text+0x2e4): undefined reference to `pr2serr'
> sdparm.o: In function `map_if_lk24':
> (.text+0x7b4): undefined reference to `pr2serr'
> sdparm.o: In function `map_if_lk24':
> [...]
> 
> pr2serr is part of sg3_utils, and indeed /usr/lib/libsgutils2.so does not
> export that symbol:
> 
> # scanelf -s '*'  /usr/lib/libsgutils2.so|grep pr2serr
> #
> 
> There are various other functions that may or may not be drop-in
> replacements. I think this is something for upstream to fix.

It simply needs >=sys-apps/sg3_utils-1.42

@base-system, can you add newer sg3-utils to the summary and force the version in the ebuild? thx.
Comment 3 Agostino Sarubbo gentoo-dev 2016-06-11 17:00:52 UTC
amd64 stable
Comment 4 Markus Meier gentoo-dev 2016-06-12 20:00:57 UTC
arm stable
Comment 5 Tobias Klausmann (RETIRED) gentoo-dev 2016-06-13 14:32:03 UTC
Both stable on alpha.
Comment 6 Agostino Sarubbo gentoo-dev 2016-06-25 20:18:59 UTC
x86 stable
Comment 7 Agostino Sarubbo gentoo-dev 2016-07-06 09:27:35 UTC
ppc stable
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2016-08-04 08:28:27 UTC
Stable for HPPA PPC64.
Comment 9 Agostino Sarubbo gentoo-dev 2016-12-28 08:45:47 UTC
Dear Maintainer (or who is mainly involved in this stable request),

This is an auto-generated message that will move the current component to the new component Stabilization.
To ensure that the stabilization will proceed correctly, please fill the fields "Atoms to stabilize" and "Runtime testing required" as described here:
https://archives.gentoo.org/gentoo-dev/message/4b2ef0e9aa7588224b8ae799c5fe31fa
Comment 10 Agostino Sarubbo gentoo-dev 2017-01-11 10:43:04 UTC
sparc stable
Comment 11 Agostino Sarubbo gentoo-dev 2017-01-17 14:30:48 UTC
ia64 stable. Closing.