! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
compilation-/rpm-build-error on BS by building xfce4-taskmanager [ taskmanage...
Status:
RESOLVED: FIXED
Product:
Xfce4-taskmanager
Component:
General

Comments

Description onkelho 2010-06-07 20:36:21 CEST
+ cd /home/unity/src/rpm/BUILD
+ cd xfce4-taskmanager-0.5.92
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables'
+ export FFLAGS
+ LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro'
+ export LDFLAGS
+ CONFIGURE_TOP=.
+ /usr/lib/rpm/manbo/force-as-needed-for-shared-lib-in-libtool
+ /usr/lib/rpm/manbo/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/manbo/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/manbo/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/manbo/fix-dlsearch-path-in-libtool-for-multilib . lib
+ '[' -f ./configure.in -o -f ./configure.ac ']'
+ CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib'
+ ./configure --build=i586-mandriva-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib
+ make -j4
task-manager.c: In function 'pretty_cmdline':
task-manager.c:130: error: format not a string literal and no format arguments
make[3]: *** [xfce4_taskmanager-task-manager.o] Error 1
make[3]: *** Waiting for unfinished jobs....
task-manager-linux.c: In function 'get_memory_usage':
task-manager-linux.c:38: warning: format '%u' expects type 'unsigned int *', but argument 3 has type 'guint64 *'
task-manager-linux.c:39: warning: format '%u' expects type 'unsigned int *', but argument 3 has type 'guint64 *'
task-manager-linux.c:40: warning: format '%u' expects type 'unsigned int *', but argument 3 has type 'guint64 *'
task-manager-linux.c:41: warning: format '%u' expects type 'unsigned int *', but argument 3 has type 'guint64 *'
task-manager-linux.c:42: warning: format '%u' expects type 'unsigned int *', but argument 3 has type 'guint64 *'
task-manager-linux.c:43: warning: format '%u' expects type 'unsigned int *', but argument 3 has type 'guint64 *'
task-manager-linux.c: In function 'get_cpu_usage':
task-manager-linux.c:71: warning: format '%u' expects type 'unsigned int *', but argument 3 has type 'gulong *'
task-manager-linux.c:71: warning: format '%u' expects type 'unsigned int *', but argument 4 has type 'gulong *'
task-manager-linux.c:71: warning: format '%u' expects type 'unsigned int *', but argument 5 has type 'gulong *'
task-manager-linux.c:71: warning: format '%u' expects type 'unsigned int *', but argument 6 has type 'gulong *'
task-manager-linux.c:70: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
task-manager-linux.c: In function 'get_task_details':
task-manager-linux.c:275: warning: format '%i' expects type 'int *', but argument 16 has type 'gulong *'
task-manager-linux.c:275: warning: format '%i' expects type 'int *', but argument 17 has type 'gulong *'
task-manager-linux.c:275: warning: format '%i' expects type 'int *', but argument 21 has type 'gshort *'
task-manager-linux.c:275: warning: format '%i' expects type 'int *', but argument 25 has type 'guint64 *'
task-manager-linux.c:275: warning: format '%i' expects type 'int *', but argument 26 has type 'guint64 *'
task-manager-linux.c:195: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
error: Bad exit status from /home/unity/src/tmp/rpm-tmp.93012 (%build)
Comment 1 Mike Massonnet editbugs 2010-06-07 20:40:51 CEST
This is fixed in git already.
http://git.xfce.org/apps/xfce4-taskmanager/commit/?id=bb4c139c7365301e60dc44c9e004cf8350c88b22

Bug #6496

Reported by:
onkelho
Reported on: 2010-06-07
Last modified on: 2010-06-07

People

Assignee:
Mike Massonnet
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information