Your message dated Tue, 22 May 2012 23:48:38 +0000
with message-id <[email protected]>
and subject line Bug#661238: fixed in icewm 1.3.7-3
has caused the Debian Bug report #661238,
regarding icewm: FTBFS against libx11 1.4.99 in experimental: error:
'deprecated' was not declared in this scope
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
661238: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=661238
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: icewm
Version: 1.3.7-2
Severity: minor
Tags: patch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
In src/base.h, icewm declares:
#define deprecated __attribute__((deprecated))
This gives a buildfailure against x11 1.4.99, which itself contains some
deprecation-declarations:
make[3]: Entering directory `/root/icewm-1.3.7/src'
CXX ymsgbox.o
CXX ydialog.o
CXX yurl.o
CXX wmsession.o
In file included from ylib.h:9:0,
from ykey.h:4,
from yfull.h:4,
from wmsession.cc:13:
/usr/include/X11/Xlib.h:1694:1: error: 'deprecated' was not declared in this
scope
make[3]: *** [wmsession.o] Error 1
The solution is really simple, change the define to:
#define ICEWM_deprecated __attribute__((deprecated))
There are no other uses of this define.
Buildlog and straight-forward patch included.
Cheers,
Andreas
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (400, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-17-generic (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages icewm depends on:
ii icewm-common 1.3.7-2
ii libc6 2.13-26
ii libesd0 0.2.41-10+b1
ii libfontconfig1 2.8.0-3.1
ii libgcc1 1:4.6.2-15
ii libgdk-pixbuf2.0-0 2.24.1-1
ii libglib2.0-0 2.30.2-6
ii libice6 2:1.0.7-2
ii libsm6 2:1.2.0-2
ii libx11-6 2:1.4.4-4
ii libxext6 2:1.3.0-3
ii libxft2 2.2.0-3
ii libxinerama1 2:1.1.1-3
ii libxrandr2 2:1.3.2-2
ii ttf-dejavu-core 2.33-2
icewm recommends no packages.
Versions of packages icewm suggests:
pn icewm-gnome-support <none>
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBAgAGBQJPSOCkAAoJEGHzRCZ03mYkw+kP/ifZVo42NwvjM4r54MYr7bW+
q9NZTVv4YDIN88YLNQO6B2VRMNFn5EGk7JxLKjv9ekUC41l3bQ3S5+ENE1uZ6JMB
kLScqdMn9fZi7m2Vjlgu/4bNgiW7A825zftnlCjC9+zp1P9AZ7d3OVlE7MdpkHZS
0PzchJaa0Smt9mgukhUuEBgesrZkZZkQRsG7QFMyE9MKijqQUKrvnnzqTQqvHvMV
c02HTi8/FT04McunfDPPRjXWPBDyBFNxd51APXbhOshDiEdSIDTJpAEdL4Km20Sy
SS/rLCSUl8upX2fiu5zBiYN8qBO/CZmUjJ0K9ORSTORK3PSxiP37f/8rXWwTRQHE
4lw20qZhC+ZNI7IgZmS5kP7lfhIxWfl2wvOCbPSzdFNoW1lbOk/8kTlrr24da+E0
dpDyJFl/OJBruDOZw0sZACfw5oxgPEM3Lf2KytYC5gOMP/UnVG1oBzixLgZCoPwU
H8wSaAa/x/TOvDsl8PN+00YIvUQJ1HhgTMvGKTynYKqQPX5d14WeeT8+Sa52kShC
pJ4yXjWBgzJF/wkBUYuvWeeRi9pC/bygCYBB/bRdrMAAa02rca2pKkVVXaQSLFjE
GMo58dh+gw7lnVyw5D521SbrFC4H1rcCQvdyf8Sa/9uZpTDaAv5vUQUVk0+D3x7q
lsSDw6SZtMjdr5UOZNJg
=ZWID
-----END PGP SIGNATURE-----
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package icewm
dpkg-buildpackage: source version 1.3.7-2
dpkg-buildpackage: source changed by Eduard Bloch <[email protected]>
dpkg-source --before-build icewm-1.3.7
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f *-stamp
/usr/bin/make srcclean EXEEXT=-experimental || true
make[1]: Entering directory `/root/icewm-1.3.7'
make[2]: Entering directory `/root/icewm-1.3.7/src'
rm -f icewm-experimental icewm-session-experimental icesh-experimental
icewmhint-experimental icewmbg-experimental icewmtray-experimental
icehelp-experimental testarray-experimental testlocale-experimental
testmap-experimental testmenus-experimental testnetwmhints-experimental
testwinhints-experimental iceview-experimental icesame-experimental
iceicon-experimental icerun-experimental icelist-experimental
genpref-experimental *.o *.d *~
make[2]: Leaving directory `/root/icewm-1.3.7/src'
make[1]: Leaving directory `/root/icewm-1.3.7'
/usr/bin/make srcclean EXEEXT=-lite || true
make[1]: Entering directory `/root/icewm-1.3.7'
make[2]: Entering directory `/root/icewm-1.3.7/src'
rm -f icewm-lite icewm-session-lite icesh-lite icewmhint-lite icewmbg-lite
icewmtray-lite icehelp-lite testarray-lite testlocale-lite testmap-lite
testmenus-lite testnetwmhints-lite testwinhints-lite iceview-lite icesame-lite
iceicon-lite icerun-lite icelist-lite genpref-lite *.o *.d *~
make[2]: Leaving directory `/root/icewm-1.3.7/src'
make[1]: Leaving directory `/root/icewm-1.3.7'
/usr/bin/make distclean || true
make[1]: Entering directory `/root/icewm-1.3.7'
make[2]: Entering directory `/root/icewm-1.3.7/src'
rm -f icewm icewm-session icesh icewmhint icewmbg icewmtray icehelp testarray
testlocale testmap testmenus testnetwmhints testwinhints iceview icesame
iceicon icerun icelist genpref *.o *.d *~
make[2]: Leaving directory `/root/icewm-1.3.7/src'
make[2]: Entering directory `/root/icewm-1.3.7/doc'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/root/icewm-1.3.7/doc'
rm -f *~ config.cache config.log config.status install.inc \
sysdep.inc src/config.h \
lib/preferences \
lib/menu lib/programs lib/keys lib/winoptions lib/toolbar
make[1]: Leaving directory `/root/icewm-1.3.7'
# Extra clean ups
/usr/bin/make -C po clean || true
make[1]: Entering directory `/root/icewm-1.3.7/po'
rm -f be.mo bg.mo ca.mo cs.mo da.mo de.mo el.mo en.mo es.mo fi.mo fr.mo hr.mo
hu.mo id.mo it.mo ja.mo ko.mo lt.mo lv.mo mk.mo nb.mo nl.mo pl.mo pt_BR.mo
ro.mo ru.mo sk.mo sl.mo sv.mo tr.mo uk.mo vi.mo zh_CN.mo zh_TW.mo *~
make[1]: Leaving directory `/root/icewm-1.3.7/po'
rm -f stamp* `find . -name "*~"` Makefile icewm.lsm icewm.spec src/icesound-*
config.log
dh_clean
dpkg-source -b icewm-1.3.7
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building icewm using existing ./icewm_1.3.7.orig.tar.gz
dpkg-source: warning: ignoring deletion of file icewm.lsm
dpkg-source: warning: ignoring deletion of file Makefile
dpkg-source: warning: ignoring deletion of file icewm.spec
dpkg-source: warning: ignoring deletion of file src/config.h
dpkg-source: warning: ignoring deletion of file lib/winoptions
dpkg-source: warning: ignoring deletion of file lib/menu
dpkg-source: warning: ignoring deletion of file lib/keys
dpkg-source: warning: ignoring deletion of file lib/toolbar
dpkg-source: warning: ignoring deletion of file lib/programs
dpkg-source: info: building icewm in icewm_1.3.7-2.debian.tar.gz
dpkg-source: info: building icewm in icewm_1.3.7-2.dsc
debian/rules build
dh_testdir
chmod +x debian/kde-config
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
# Make icewm-experimental
# Make icewm-lite
/usr/bin/make -f debian/rules conf-lite
make[1]: Entering directory `/root/icewm-1.3.7'
PATH="/root/icewm-1.3.7/debian:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11"
./configure --build x86_64-linux-gnu --with-xpm --prefix=/usr \
--disable-menus-gnome1 --disable-menus-gnome2 \
--with-cfgdir=/etc/X11/icewm --datadir=/usr/share
--disable-debug \
--enable-i18n --enable-nls --enable-lite --disable-xfreetype \
--enable-corefonts --with-mkfontdir=/usr/X11R6/bin/mkfontdir \
--docdir=/usr/share/doc/icewm-common
--htmldir=/usr/share/doc/icewm-common/html \
--disable-taskbar --disable-xrandr
configure: WARNING: unrecognized options: --with-xpm
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for g++... g++
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 g++ accepts -g... yes
checking whether the C++ compiler (g++) accepts no_rtti... yes
checking whether the C++ compiler (g++) accepts no_exceptions... yes
checking whether the C++ compiler (g++) accepts warn_xxx... yes
checking whether the C++ compiler (g++) accepts permissive... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/threads.h usability... no
checking linux/threads.h presence... no
checking for linux/threads.h... no
checking linux/tasks.h usability... no
checking linux/tasks.h presence... no
checking for linux/tasks.h... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking sys/dkstat.h usability... no
checking sys/dkstat.h presence... no
checking for sys/dkstat.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking uvm/uvm_param.h usability... no
checking uvm/uvm_param.h presence... no
checking for uvm/uvm_param.h... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking machine/apmvar.h usability... no
checking machine/apmvar.h presence... no
checking for machine/apmvar.h... no
checking machine/apm_bios.h usability... no
checking machine/apm_bios.h presence... no
checking for machine/apm_bios.h... no
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for putenv... yes
checking for select... yes
checking for socket... yes
checking for strtol... yes
checking for strtoul... yes
checking for basename... yes
checking for sysctlbyname... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for getloadavg... yes
checking for kern.cp_time... no
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking whether nl_langinfo supports CODESET... yes
checking whether nl_langinfo supports _NL_CTYPE_CODESET_NAME... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking whether _libiconv_version is declared... no
assuming iconv.h belongs to the C library
checking for iconv... yes
checking for iconv_open... yes
checking for iconv_close... yes
checking whether iconv converts from UTF-8 to UCS-4//TRANSLIT... yes
checking whether iconv converts from ISO-8859-1 to UCS-4//TRANSLIT... yes
checking whether iconv converts from ISO-8859-2 to UCS-4//TRANSLIT... yes
checking whether iconv converts from UTF-8 to UCS-4//TRANSLIT... yes
checking for bindtextdomain... yes
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for XInternAtoms in -lX11... yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for XShapeCombineRectangles in -lXext... yes
checking for XineramaQueryScreens in -lXinerama... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile
config.status: WARNING: 'po/Makefile.in' seems to ignore the --datarootdir
setting
config.status: creating lib/keys
config.status: creating lib/menu
config.status: creating lib/programs
config.status: creating lib/toolbar
config.status: creating lib/winoptions
config.status: creating src/config.h
config.status: executing config.status commands
configure: WARNING: unrecognized options: --with-xpm
Build targets: base nls
Applications: icewm icewm-session icesh icewmhint icewmbg icewmtray
Image library: gdk_pixbuf_xlib
Audio support:
Features: i18n nls shaped-decorations gradients corefonts
Paths: PREFIX: /usr
BINDIR: /usr/bin
LOCDIR: /usr/share/locale
LIBDIR: /usr/share/icewm
CFGDIR: /etc/X11/icewm
KDEDIR: /usr/share
DOCDIR: /usr/share/doc
MANDIR: /usr/share/man
/usr/bin/make EXEEXT=-lite
make[2]: Entering directory `/root/icewm-1.3.7'
make[3]: Entering directory `/root/icewm-1.3.7/src'
CXX ymsgbox.o
CXX ydialog.o
CXX yurl.o
CXX wmsession.o
In file included from ylib.h:9:0,
from ykey.h:4,
from yfull.h:4,
from wmsession.cc:13:
/usr/include/X11/Xlib.h:1694:1: error: 'deprecated' was not declared in this
scope
make[3]: *** [wmsession.o] Error 1
make[3]: Leaving directory `/root/icewm-1.3.7/src'
make[2]: *** [base] Error 2
make[2]: Leaving directory `/root/icewm-1.3.7'
make[1]: *** [stamp-conf-lite] Error 2
make[1]: Leaving directory `/root/icewm-1.3.7'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Description: Don't use "deprecated" as identifier, will FTBFS if another
library defines functions as deprecated.
Author: Andreas Moog <[email protected]>
Bug: https://sourceforge.net/tracker/?func=detail&aid=3494034&group_id=31&atid=100031
Bug-Ubuntu: https://bugs.launchpad.net/bugs/935179
Forwarded: Yes
--- icewm-1.3.7.orig/src/base.h
+++ icewm-1.3.7/src/base.h
@@ -2,9 +2,9 @@
#define __BASE_H
#if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
-#define deprecated __attribute__((deprecated))
+#define ICEWM_deprecated __attribute__((deprecated))
#else
-#define deprecated
+#define ICEWM_deprecated
#endif
/*** Atomar Data Types ********************************************************/
--- End Message ---
--- Begin Message ---
Source: icewm
Source-Version: 1.3.7-3
We believe that the bug you reported is fixed in the latest version of
icewm, which is due to be installed in the Debian FTP archive:
icewm-common_1.3.7-3_amd64.deb
to main/i/icewm/icewm-common_1.3.7-3_amd64.deb
icewm-experimental_1.3.7-3_amd64.deb
to main/i/icewm/icewm-experimental_1.3.7-3_amd64.deb
icewm-gnome-support_1.3.7-3_amd64.deb
to main/i/icewm/icewm-gnome-support_1.3.7-3_amd64.deb
icewm-lite_1.3.7-3_amd64.deb
to main/i/icewm/icewm-lite_1.3.7-3_amd64.deb
icewm_1.3.7-3.debian.tar.gz
to main/i/icewm/icewm_1.3.7-3.debian.tar.gz
icewm_1.3.7-3.dsc
to main/i/icewm/icewm_1.3.7-3.dsc
icewm_1.3.7-3_amd64.deb
to main/i/icewm/icewm_1.3.7-3_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Eduard Bloch <[email protected]> (supplier of updated icewm package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 23 May 2012 00:46:23 +0200
Source: icewm
Binary: icewm-common icewm icewm-gnome-support icewm-lite icewm-experimental
Architecture: source amd64
Version: 1.3.7-3
Distribution: unstable
Urgency: low
Maintainer: Eduard Bloch <[email protected]>
Changed-By: Eduard Bloch <[email protected]>
Description:
icewm - wonderful Win95-OS/2-Motif-like window manager
icewm-common - wonderful Win95-OS/2-Motif-like window manager
icewm-experimental - wonderful Win95-OS/2-Motif-like window manager
icewm-gnome-support - GNOME support files for IceWM
icewm-lite - wonderful Win95-OS/2-Motif-like window manager
Closes: 661238 664696 672089
Changes:
icewm (1.3.7-3) unstable; urgency=low
.
[ Eduard Bloch ]
* Declared 32x32 icon version in menu files (closes: #664696)
* Cleanup in debian/patches/misc_fixes
* Cleanup of debian/rules, now using dedicated build directories for each
flavor, with major upstream source fixes in package_build_fixes patch
.
[ Andreas Moog ]
* Don't define "deprecated", use "_ICEWM_deprecated" instead
(closes: #661238, LP: #935179)
.
[ Matthias Klose ]
* Fix build failure with GCC 4.7. Closes: #672089.
Checksums-Sha1:
d8fd03698864c811cfb6e37267c73a12bfe836bb 1682 icewm_1.3.7-3.dsc
6b8ee3f2e1f7d598d760ef55b981163fac1bed1f 336662 icewm_1.3.7-3.debian.tar.gz
2d2791564f380728b0af4a35764f36c73d7dc150 302240 icewm-common_1.3.7-3_amd64.deb
7f19a9d046f8bdc02fc8166fffc28019b4e80208 365176 icewm_1.3.7-3_amd64.deb
fc564ba8004d5b94d5d380bc26e9a7ea81503ebb 30266
icewm-gnome-support_1.3.7-3_amd64.deb
70ec9f690ba2fd822b7c3feb98a6a0fb0d4fb50e 245752 icewm-lite_1.3.7-3_amd64.deb
caa72a08a24fa3ec03234e234fc7f7035ed69e0e 2554
icewm-experimental_1.3.7-3_amd64.deb
Checksums-Sha256:
d2ecf2f7aabb82805f66ec681a904206977b8ee97741fc6c4f848ca915ae2420 1682
icewm_1.3.7-3.dsc
40791311eebf7ec09af887ff6d1795972ce91a9d27386870653c5bb4e56c8184 336662
icewm_1.3.7-3.debian.tar.gz
745a679c76ef5353fca8edf870156794bc7b3b31f3678df841fcdaa440a91a37 302240
icewm-common_1.3.7-3_amd64.deb
770c044e852d8cfc9de467ffa2fa0ce6d4b8cfcc2fbfc3fe25a4fae400930b9a 365176
icewm_1.3.7-3_amd64.deb
fedeb43dfeacb7106e499790736c3f106049bc0470be86320670492c4145b257 30266
icewm-gnome-support_1.3.7-3_amd64.deb
9b2bf877fdc4f4fbbc9ce297ffc02e0976821b65b2957afc6390ed57b3469b59 245752
icewm-lite_1.3.7-3_amd64.deb
46d6c6d7615ad24d1076c68c1de8589de310aa5162670c326f276a622073dd61 2554
icewm-experimental_1.3.7-3_amd64.deb
Files:
bfeed717d0c4f70c6605f805875fd56d 1682 x11 optional icewm_1.3.7-3.dsc
cbfd751e9cd47205019c5e80b8811ef4 336662 x11 optional
icewm_1.3.7-3.debian.tar.gz
8c8233ae36418513db38fb5597d098c8 302240 x11 optional
icewm-common_1.3.7-3_amd64.deb
82d1d8f4de12d66d010d53898180e044 365176 x11 optional icewm_1.3.7-3_amd64.deb
9aaf369b72db4aaa25782df7328219c8 30266 gnome optional
icewm-gnome-support_1.3.7-3_amd64.deb
e435d1daf124b208923c25fb2d4df2ba 245752 x11 optional
icewm-lite_1.3.7-3_amd64.deb
36937f1b1ae7ad196fb34e844a580ad8 2554 x11 optional
icewm-experimental_1.3.7-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQFPvCOn4QZIHu3wCMURAshxAJ0YAEXYUzcavNh/ir6IJGkuBLpp1gCfRpGc
oAslnQtgSIE/+Kfhimc0Syw=
=b+xe
-----END PGP SIGNATURE-----
--- End Message ---