Package: fcoe-utils / 1.0.31+git20160622.5dfd3e4-5

Metadata

Package Version Patches format
fcoe-utils 1.0.31+git20160622.5dfd3e4-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
libsa Fix build warning on sparc.patch | (download)

lib/sa_log.c | 11 7 + 4 - 0 !
1 file changed, 7 insertions(+), 4 deletions(-)

 [patch 4/4] libsa: fix build warning on sparc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Simply change the formatting string to resolve the below warning.

tv_usec is a suseconds_t
suseconds_t is a __kernel_suseconds_t
__kernel_suseconds_t is a long

I was unable to get PRId64 to work with printf. I am unsure if this
fix will actually work on all archs. Testing will tell...

make[1]: Entering directory `/PKGBUILDDIR'
depbase=`echo lib/fcoe_utils.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	      gcc -DPACKAGE_NAME=\"fcoe-utils\" -DPACKAGE_TARNAME=\"fcoe-utils\" -DPACKAGE_VERSION=\"1.0.28\" -DPACKAGE_STRING=\"fcoe-utils\ 1.0.28\" -DPACKAGE_BUGREPORT=\"fcoe-devel@open-fcoe.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fcoe-utils\" -DVERSION=\"1.0.28\" -DPACKAGE=\"fcoe-utils\" -DVERSION=\"1.0.28\" -I.  -I./include -I./include -DSYSCONFDIR="\"/etc\"" -D_FORTIFY_SOURCE=2 -Wall -Wformat=2 -Werror -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -MT lib/fcoe_utils.o -MD -MP -MF $depbase.Tpo -c -o lib/fcoe_utils.o lib/fcoe_utils.c &&\
	      mv -f $depbase.Tpo $depbase.Po
depbase=`echo lib/sa_log.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	      gcc -DPACKAGE_NAME=\"fcoe-utils\" -DPACKAGE_TARNAME=\"fcoe-utils\" -DPACKAGE_VERSION=\"1.0.28\" -DPACKAGE_STRING=\"fcoe-utils\ 1.0.28\" -DPACKAGE_BUGREPORT=\"fcoe-devel@open-fcoe.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"fcoe-utils\" -DVERSION=\"1.0.28\" -DPACKAGE=\"fcoe-utils\" -DVERSION=\"1.0.28\" -I.  -I./include -I./include -DSYSCONFDIR="\"/etc\"" -D_FORTIFY_SOURCE=2 -Wall -Wformat=2 -Werror -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -MT lib/sa_log.o -MD -MP -MF $depbase.Tpo -c -o lib/sa_log.o lib/sa_log.c &&\
	      mv -f $depbase.Tpo $depbase.Po
lib/sa_log.c: In function 'sa_log_timestamp':
lib/sa_log.c:179:4: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Werror=format]
lib/sa_log.c:189:5: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'int' [-Werror=format]
cc1: all warnings being treated as errors
make[1]: *** [lib/sa_log.o] Error 1
make[1]: Leaving directory `/PKGBUILDDIR'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Build finished at 20130725-0957

Finished


E: Build failure (dpkg-buildpackage died)


 Cleanup                                                                      


Purging /BUILDDIR
Not cleaning session: cloned chroot in use


 Summary                                                                      


Build Architecture: sparc
Build-Space: 1900
Build-Time: 25
Distribution: experimental
Fail-Stage: build
Host Architecture: sparc
Install-Time: 82
Job: fcoe-utils_1.0.28-3
Machine Architecture: sparc
Package: fcoe-utils
Package-Time: 204
Source-Version: 1.0.28-3
Space: 1900
Status: attempted
Version: 1.0.28-3

Signed-off-by: Robert Love <robert.w.love@intel.com>

dont ship init.patch | (download)

Makefile.am | 12 0 + 12 - 0 !
1 file changed, 12 deletions(-)

---
fix gcc warnings.patch | (download)

fcoeadm_display.c | 6 3 + 3 - 0 !
fcoemon.c | 4 2 + 2 - 0 !
fipvlan.c | 4 2 + 2 - 0 !
libopenfcoe.c | 9 6 + 3 - 0 !
4 files changed, 13 insertions(+), 10 deletions(-)

 fix gcc warnings breaking the build
 Adjusts buffer sizes to fit the arguments.
fix systemd service.patch | (download)

etc/systemd/fcoe.service | 9 5 + 4 - 0 !
etc/systemd/fcoemon.socket | 3 2 + 1 - 0 !
2 files changed, 7 insertions(+), 5 deletions(-)

 fix systemd file to work with debian
 Various warnings reported by lintian.
fix bash completion install dir.patch | (download)

Makefile.am | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 update bash completion install dir
 Fixes warning reported by lintian.
fix spelling.patch | (download)

fcrls.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 fix spelling errors
 Various warnings reported by lintian.