64bit compatibility issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xchat-indicator (Ubuntu) |
Fix Released
|
Undecided
|
Ken VanDine |
Bug Description
Binary package hint: xchat-indicator
While building this package for openSUSE a small issue poped out, see the log:
Starting SuSEconfig, the SuSE Configuration Tool...
Running in full featured mode.
Reading /etc/sysconfig and updating the system...
Executing /sbin/conf.
Executing /sbin/conf.
Installing new /etc/papersize
Executing /sbin/conf.
no permissions will be changed if not called explicitly
Finished.
-------
I have the following modifications for xchat-indicator
-------
----- building xchat-indicator
-------
-------
+ exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --eval %suse_insert_
Executing(%prep): /bin/sh -e /var/tmp/
+ umask 022
+ cd /usr/src/
+ cd /usr/src/
+ rm -rf xchat-indicator
+ /bin/tar -xf -
+ /usr/bin/bzip2 -dc /usr/src/
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd xchat-indicator
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/
+ umask 022
+ cd /usr/src/
+ /bin/rm -rf /usr/src/
++ dirname /usr/src/
+ /bin/mkdir -p /usr/src/
+ /bin/mkdir /usr/src/
+ cd xchat-indicator
+ CFLAGS=
+ export CFLAGS
+ CXXFLAGS=
+ export CXXFLAGS
+ FFLAGS=
+ export FFLAGS
+ ./configure --host=
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking dependency style of gcc -std=gnu99... gcc3
checking build system type... x86_64-
checking host system type... x86_64-
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/x86_
checking if the linker (/usr/x86_
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_
checking for x86_64-
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-
checking for ar... ar
checking for x86_64-
checking for strip... strip
checking for x86_64-
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/x86_
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for glib-genmarshal... /usr/bin/
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for memrchr... yes
checking for strtoull... yes
checking for atoll... yes
checking for x86_64-
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DEPENDENCIES... yes
checking for UNITY... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
xchat-indicator 0.3.8
prefix.
libunity.
+ make -j2
make all-am
make[1]: Entering directory `/usr/src/
CC indicator_
indicator.c: In function 'add_indicator':
indicator.c:162:18: warning: initialization discards qualifiers from pointer target type
indicator.c:176:7: warning: assignment makes pointer from integer without a cast
indicator.c: In function 'focus_tab_cb':
indicator.c:265:10: warning: assignment discards qualifiers from pointer target type
indicator.c: In function 'focus_win_cb':
indicator.c:286:17: warning: assignment discards qualifiers from pointer target type
indicator.c: At top level:
indicator.c:52:20: warning: 'ch_nick' defined but not used
indicator.c:54:19: warning: 'win' defined but not used
indicator.c:106:1: warning: 'hide_indicator' defined but not used
CCLD indicator.la
make[1]: Leaving directory `/usr/src/
+ exit 0
Executing(
+ umask 022
+ cd /usr/src/
+ cd xchat-indicator
+ make install DESTDIR=
make[1]: Entering directory `/usr/src/
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib64/
/bin/sh ./libtool --mode=install /usr/bin/install -c indicator.la '/usr/src/
libtool: install: /usr/bin/install -c .libs/indicator.so /usr/src/
libtool: install: /usr/bin/install -c .libs/indicator.lai /usr/src/
libtool: install: warning: remember to run `libtool --finish /usr/lib64/
make[1]: Leaving directory `/usr/src/
+ /bin/mkdir -p /usr/src/
+ echo /usr/share/
+ echo /usr/share/
+ /bin/mkdir -p /usr/src/
+ /bin/cp /usr/src/
+ find /usr/src/
/usr/src/
+ /usr/lib/
extracting debug info from /usr/src/
extracting debug info from /usr/src/
*** WARNING: identical binaries are copied, not linked:
and /usr/lib64/
44 blocks
+ /usr/lib/
<email address hidden>: if you find problems with this script, drop me a note
+ /usr/lib/
setting / to root:root 0755. (wrong owner/group abuild:abuild)
setting /usr/ to root:root 0755. (wrong owner/group abuild:abuild)
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
WARNING: '/usr/lib/
WARNING: '/usr/lib/
WARNING: '/usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
+ /usr/lib/
Processing files: xchat-indicator
Executing(%doc): /bin/sh -e /var/tmp/
+ umask 022
+ cd /usr/src/
+ cd xchat-indicator
+ DOCDIR=
+ export DOCDIR
+ rm -rf /usr/src/
+ /bin/mkdir -p /usr/src/
+ cp -pr COPYING /usr/src/
+ exit 0
Finding Provides: /usr/lib/
Finding Requires: /usr/lib/
Finding Supplements: /usr/lib/
Provides: indicator.
Requires(rpmlib): rpmlib(
Requires: libc.so.6()(64bit) libc.so.
Supplements: packageand(
Processing files: xchat-indicator
Processing files: xchat-gnome-
Finding Provides: /usr/lib/
Finding Requires: /usr/lib/
Finding Supplements: /usr/lib/
Provides: indicator.
Requires(rpmlib): rpmlib(
Requires: libc.so.6()(64bit) libc.so.
Supplements: packageand(
Processing files: xchat-indicator
Finding Provides: /usr/lib/
Finding Requires: /usr/lib/
Finding Supplements: /usr/lib/
Provides: debuginfo(build-id) = f010a1beb69dbdf
Requires(rpmlib): rpmlib(
Processing files: xchat-gnome-
Finding Provides: /usr/lib/
Finding Requires: /usr/lib/
Finding Supplements: /usr/lib/
Provides: debuginfo(build-id) = f010a1beb69dbdf
Requires(rpmlib): rpmlib(
Checking for unpackaged file(s): /usr/lib/
Wrote: /usr/src/
Wrote: /usr/src/
Wrote: /usr/src/
Wrote: /usr/src/
Wrote: /usr/src/
Wrote: /usr/src/
Executing(%clean): /bin/sh -e /var/tmp/
+ umask 022
+ cd /usr/src/
+ cd xchat-indicator
+ rm -rf /usr/src/
+ exit 0
... checking for files with abuild user/group
... running 00-check-
... installing all built rpms
Preparing packages for installation...
xchat-gnome-
xchat-indicator
xchat-indicator
xchat-indicator
xchat-gnome-
... running 01-check-debuginfo
... testing for empty debuginfo packages
... running 02-check-gcc-output
... testing for serious compiler warnings
(using /usr/lib/
(using /var/tmp/
E: xchat-indicator 64bit-portabili
Attached is a small patch by dimstar(
Thanks in advance.
NM
Changed in xchat-indicator (Ubuntu): | |
assignee: | nobody → Ken VanDine (ken-vandine) |
tags: | added: patch |
The warning being raised to an error (for known issues) is:
indicator.c:176:7: warning: assignment makes pointer from integer without a cast
(which was simply due to gboolean *run... not very common to use pointers for gbool)