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 <bl...@debian.org> 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 <am...@ubuntu.com> 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 ********************************************************/