Bug#591832: mplayer: hangs on playing ogv (vp3) video with Invalid frame duration value
Package: mplayer Version: 2:1.0~rc3++final.dfsg1-1 Severity: normal The video I tried is located at http://www.joachim-breitner.de.nyud.net/various/ipatch-demo.ogv. sha1 hash is 33ca95d06124cb2b2be0f6e9e191ad3016716cde. Playing with mplayer is fine for some time, but hangs later. The following output messages was emitted immediately before the hang: Invalid frame duration value (65.600/0.000 = -65.600). Defaulting to 0.067 sec. mplayer did not react to key presses and did no redraws anymore. Is this reproducible at all? Helmut -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Versions of packages mplayer depends on: ii libaa1 1.4p5-38 ascii art library ii libasound2 1.0.23-1 shared library for ALSA applicatio ii libaudio2 1.9.2-3 Network Audio System - shared libr ii libavcodec52 4:0.5.2-1 ffmpeg codec library ii libavformat52 4:0.5.2-1 ffmpeg file format library ii libavutil494:0.5.2-1 ffmpeg utility library ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libcaca0 0.99.beta17-1 colour ASCII art library ii libcdparanoia0 3.10.2+debian-9 audio extraction tool for sampling ii libdirectfb-1.2-9 1.2.10.0-4direct frame buffer graphics - sha ii libdvdread44.1.3-10 library for reading DVDs ii libenca0 1.13-3Extremely Naive Charset Analyser - ii libesd00.2.41-7 Enlightened Sound Daemon - Shared ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.0-2 FreeType 2 font engine, shared lib ii libfribidi00.19.2-1 Free Implementation of the Unicode ii libgcc11:4.5-20100103-1 GCC support library ii libgif44.1.6-9 library for GIF images (library) ii libgl1-mesa-swx11 [lib 7.7.1-4 A free implementation of the OpenG ii libjack0 [libjack-0.11 1:0.118+svn3796-7 JACK Audio Connection Kit (librari ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG ii liblircclient0 0.8.3-5 infra-red remote control support - ii liblzo2-2 2.03-2data compression library ii libncurses55.7+20100313-2shared libraries for terminal hand ii libogg01.2.0~dfsg-1 Ogg bitstream library ii libopenal1 1:1.12.854-2 Software implementation of the Ope ii libpng12-0 1.2.44-1 PNG library - runtime ii libpostproc51 4:0.5.2-1 ffmpeg video postprocessing librar ii libpulse0 0.9.21-3+b1 PulseAudio client libraries ii libsdl1.2debian1.2.14-6 Simple DirectMedia Layer ii libsmbclient 2:3.4.8~dfsg-2shared library for communication w ii libspeex1 1.2~rc1-1 The Speex codec runtime library ii libstdc++6 4.5-20100103-1The GNU Standard C++ Library v3 ii libsvga1 1:1.4.3-29console SVGA display libraries ii libswscale04:0.5.2-1 ffmpeg video scaling library ii libtheora0 1.1.1+dfsg.1-3The Theora Video Compression Codec ii libx11-6 2:1.3.3-3 X11 client-side library ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar ii libxinerama1 2:1.1-3 X11 Xinerama extension library ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library ii libxv1 2:1.0.5-1 X11 Video extension library ii libxvmc1 2:1.0.5-1 X11 Video extension library ii libxxf86dga1 2:1.1.1-2 X11 Direct Graphics Access extensi ii libxxf86vm11:1.1.0-2 X11 XFree86 video mode extension l ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime mplayer recommends no packages. Versions of packages mplayer suggests: ii bzip2 1.0.5-4 high-quality block-sorting file co ii fontconfig 2.8.0-2.1generic font configuration library ii mplayer-doc 2:1.0~rc3++final.dfsg1-1 documentation for MPlayer pn netselect | fpi none (no description available) ii ttf-freefont20090104-7 Freefont Serif, Sans and Mono True -- Configuration Files: /etc/mplayer/mplayer.conf changed: ao=alsa stop-xscreensaver=yes -- debconf information: mplayer/replace-existing-files-bail: mplayer/replace-existing-files: false mplayer/no-ttfont: mplayer/install_codecs: * mplayer/voutput: xv_X11/Xv * mplayer/rtc: true * mplayer/ttfont: Sans * mplayer/cfgnote: * mplayer/dvd_device: /dev/cdrom
Bug#671727: CVE-2012-2396: divide-by-zero on crafted mp4 file
Package: src:vlc Version: 2.0.1-4 Severity: important Tags: security Dear VLC maintainers, Please check which versions of vlc (if any) are affected by CVE-2012-2396[1]. The description is: | VideoLAN VLC media player 2.0.1 allows remote attackers to cause a | denial of service (divide-by-zero error and application crash) via a | crafted MP4 file. Helmut [1] http://security-tracker.debian.org/tracker/CVE-2012-2396 You will find links to other bug trackers here. RedHat seems to have this issue covered already. ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#675767: src:libav: check CVE-2011-4031 (integer underflow in asfrtp_parse_packet)
Package: src:libav Version: 6:0.8.2-2 Severity: important Tags: security Dear multimedia maintainers, Please determine whether libav is affected by CVE-2011-4031: | Integer underflow in the asfrtp_parse_packet function in | libavformat/rtpdec_asf.c in FFmpeg before 0.8.3 allows remote attackers | to execute arbitrary code via a crafted ASF packet. Thanks Helmut ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#779251: libvlc5: dependency on libvlccore8 too weak
Package: libvlc5 Version: 2.2.0~rc2-2 Severity: serious Justification: policy 12.3 footnote 2 Tags: patch libvlc5 contains a symlink /usr/share/doc/libvlc5 - libvlccore8. Its dependency on libvlccore8 is unversioned though which means, that the copyright and changelog files can get out of sync. This violates the Debian policy section 12.3 footnote 2. The solution is to add libvlccore8 (= ${binary:Version}) to libvlc5's Depends in debian/control. Note that debhelper cannot be blamed on this, because vlc does not use dh_installdocs --link-doc, but rather instantiates this symlink on its own. It therefore is vlc's responsibility to add the versioned dependency. Attaching a .debdiff for your convenience. Helmut diff -Nru vlc-2.2.0~rc2/debian/changelog vlc-2.2.0~rc2/debian/changelog --- vlc-2.2.0~rc2/debian/changelog 2015-01-21 22:42:06.0 +0100 +++ vlc-2.2.0~rc2/debian/changelog 2015-02-25 22:41:49.0 +0100 @@ -1,3 +1,11 @@ +vlc (2.2.0~rc2-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add versioned depends on libvlccore8 to libvlc5 which shares +/usr/share/doc to comply with Debian policy 12.3. (Closes: #-1) + + -- Helmut Grohne hel...@subdivi.de Wed, 25 Feb 2015 22:40:30 +0100 + vlc (2.2.0~rc2-2) unstable; urgency=medium * debian/patches: Apply upstream patches for security vulnerabilities. diff -Nru vlc-2.2.0~rc2/debian/control vlc-2.2.0~rc2/debian/control --- vlc-2.2.0~rc2/debian/control2015-01-21 09:39:35.0 +0100 +++ vlc-2.2.0~rc2/debian/control2015-02-25 22:40:21.0 +0100 @@ -134,7 +134,7 @@ Package: libvlc5 Section: libs Architecture: any -Depends: ${misc:Depends}, ${shlibs:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends}, libvlccore8 (= ${binary:Version}) Description: multimedia player and streamer library This package contains the shared library required by applications using VLC features. ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#823593: liblivemedia FTCBFS: uses build architecture compiler
Source: liblivemedia Version: 2016.04.01-1 Tags: patch Dear multimedia maintainers, I tried cross building liblivemedia for armhf and noticed that it was using the build architecture compiler instead of the host architecture compiler. You can find a failing build log for ppc64el at https://subdivi.de/~helmut/debomatic-logs/liblivemedia_2014.01.13-1_ppc64el.build Since liblivemedia does not use autoconf or similar, debhelper does not take care to supply the compiler automatically. In this particular case, setting up CC and CXX is sufficient to getting the build working. I am attaching a patch doing just that. Please consider applying it. Helmut diff -Nru liblivemedia-2016.04.01/debian/changelog liblivemedia-2016.04.01/debian/changelog --- liblivemedia-2016.04.01/debian/changelog +++ liblivemedia-2016.04.01/debian/changelog @@ -1,3 +1,11 @@ +liblivemedia (2016.04.01-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) ++ Export CC and CXX with cross compilers. + + -- Helmut Grohne <h.gro...@intenta.de> Fri, 06 May 2016 11:53:22 +0200 + liblivemedia (2016.04.01-1) unstable; urgency=medium * New upstream release. diff -Nru liblivemedia-2016.04.01/debian/rules liblivemedia-2016.04.01/debian/rules --- liblivemedia-2016.04.01/debian/rules +++ liblivemedia-2016.04.01/debian/rules @@ -1,5 +1,15 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk +ifeq ($(origin CC),default) +CC := $(DEB_HOST_GNU_TYPE)-gcc +endif +export CC +ifeq ($(origin CXX),default) +CXX := $(DEB_HOST_GNU_TYPE)-g++ +endif +export CXX + %: dh $@ --parallel ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#853188: clthreads FTCBFS: uses the build architecture compiler for linking
Source: clthreads Version: 2.4.0-6 Tags: patch User: helm...@debian.org Usertags: rebootstrap clthreads fails to cross build from source, because it uses the build architecture compiler for linking. This is a copy of clxclient #853012. Again replacing g++ with $(CXX) makes cross compilation succeed. Please consider applying the attached patch after stretch is released. Helmut diff --minimal -Nru clthreads-2.4.0/debian/changelog clthreads-2.4.0/debian/changelog --- clthreads-2.4.0/debian/changelog2016-12-03 20:01:20.0 +0100 +++ clthreads-2.4.0/debian/changelog2017-01-30 15:29:33.0 +0100 @@ -1,3 +1,10 @@ +clthreads (2.4.0-6.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: make C++ compiler substitutable (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 30 Jan 2017 15:29:33 +0100 + clthreads (2.4.0-6) unstable; urgency=medium * Bump Standards. diff --minimal -Nru clthreads-2.4.0/debian/patches/makefile-03.patch clthreads-2.4.0/debian/patches/makefile-03.patch --- clthreads-2.4.0/debian/patches/makefile-03.patch1970-01-01 01:00:00.0 +0100 +++ clthreads-2.4.0/debian/patches/makefile-03.patch2017-01-30 15:29:31.0 +0100 @@ -0,0 +1,14 @@ +Description: make C++ compiler overridable for cross compilation +Author: Helmut Grohne <hel...@subdivi.de> + +--- a/Makefile b/Makefile +@@ -42,7 +42,7 @@ + + + $(CLTHREADS_MIN): $(CLTHREADS_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP) ++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLTHREADS_MAJ) -o $(CLTHREADS_MIN) $(CLTHREADS_O) $(CLTHREADS_DEP) + + + install: $(CLTHREADS_MIN) diff --minimal -Nru clthreads-2.4.0/debian/patches/series clthreads-2.4.0/debian/patches/series --- clthreads-2.4.0/debian/patches/series 2016-12-03 19:57:24.0 +0100 +++ clthreads-2.4.0/debian/patches/series 2017-01-30 15:28:59.0 +0100 @@ -1,2 +1,3 @@ makefile-01.patch makefile-02.patch +makefile-03.patch ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#853194: libsoxr FTCBFS: aborts on endianess test, runs test suite despite DEB_BUILD_OPTIONS=nocheck
Source: libsoxr Version: 0.1.2-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap libsoxr fails to cross build from source. dh_auto_configure correctly passes cross compilers to cmake, but cmake fails running the endianess test. Also the default build target tries to run tests. The attached patch supplies the endianess test result from DEB_HOST_ARCH_ENDIAN and correctly handles DEB_BUILD_OPTIONS=nocheck. With the patch, cross building libsoxr is successful. Please consider applying it after stretch is released. Helmut diff --minimal -Nru libsoxr-0.1.2/debian/changelog libsoxr-0.1.2/debian/changelog --- libsoxr-0.1.2/debian/changelog 2016-12-25 18:41:58.0 +0100 +++ libsoxr-0.1.2/debian/changelog 2017-01-30 15:48:59.0 +0100 @@ -1,3 +1,12 @@ +libsoxr (0.1.2-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) ++ Feed endianess from DEB_HOST_ARCH_ENDIAN ++ Honour DEB_BUILD_OPTIONS=nocheck + + -- Helmut Grohne <hel...@subdivi.de> Mon, 30 Jan 2017 15:48:59 +0100 + libsoxr (0.1.2-2) unstable; urgency=medium * Define NDEBUG to disable debug output (Closes: #822727, LP: #1649224) diff --minimal -Nru libsoxr-0.1.2/debian/rules libsoxr-0.1.2/debian/rules --- libsoxr-0.1.2/debian/rules 2016-12-25 18:29:29.0 +0100 +++ libsoxr-0.1.2/debian/rules 2017-01-30 15:48:59.0 +0100 @@ -2,13 +2,24 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +include /usr/share/dpkg/architecture.mk + +CONFIGURE_FLAGS = -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \ + -DDOC_INSTALL_DIR=/usr/share/doc/libsoxr-dev +ifeq ($(DEB_HOST_ARCH_ENDIAN),big) +CONFIGURE_FLAGS += -DHAVE_WORDS_BIGENDIAN_EXITCODE=0 +else +CONFIGURE_FLAGS += -DHAVE_WORDS_BIGENDIAN_EXITCODE=1 +endif +ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) +CONFIGURE_FLAGS += -DBUILD_TESTS=0 -DBUILD_EXAMPLES=1 +endif %: dh $@ --parallel override_dh_auto_configure: - dh_auto_configure -- -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) -DDOC_INSTALL_DIR=/usr/share/doc/libsoxr-dev + dh_auto_configure -- $(CONFIGURE_FLAGS) override_dh_compress: dh_compress -X.c -X.C ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#853012: clxclient FTCBFS: uses build architecture compiler for linking
Source: clxclient Version: 3.9.0-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap clxclient fails to cross build from source, because it hardcodes a g++ invocation into its Makefile. That happens to call the build architecture compiler for linking host architecture objects. Replacing g++ with $(CXX) is sufficient for making cross builds succeed. Please consider applying the attached patch. Helmut diff --minimal -Nru clxclient-3.9.0/debian/changelog clxclient-3.9.0/debian/changelog --- clxclient-3.9.0/debian/changelog2016-12-03 20:15:02.0 +0100 +++ clxclient-3.9.0/debian/changelog2017-01-28 22:36:17.0 +0100 @@ -1,3 +1,10 @@ +clxclient (3.9.0-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: makefile-03.patch: Make C++ compiler overridable (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 28 Jan 2017 22:36:17 +0100 + clxclient (3.9.0-3) unstable; urgency=medium * Update copyright. diff --minimal -Nru clxclient-3.9.0/debian/patches/makefile-03.patch clxclient-3.9.0/debian/patches/makefile-03.patch --- clxclient-3.9.0/debian/patches/makefile-03.patch1970-01-01 01:00:00.0 +0100 +++ clxclient-3.9.0/debian/patches/makefile-03.patch2017-01-28 22:36:14.0 +0100 @@ -0,0 +1,16 @@ +Description: make C++ compiler overridable for cross compilation +Author: Helmut Grohne <hel...@subdivi.de> + +Index: clxclient-3.9.0/Makefile +=== +--- clxclient-3.9.0.orig/Makefile clxclient-3.9.0/Makefile +@@ -46,7 +46,7 @@ + + + $(CLXCLIENT_MIN): $(CLXCLIENT_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP) ++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLXCLIENT_MAJ) -o $(CLXCLIENT_MIN) $(CLXCLIENT_O) $(CLXCLIENT_DEP) + + + install: $(CLXCLIENT_MIN) diff --minimal -Nru clxclient-3.9.0/debian/patches/series clxclient-3.9.0/debian/patches/series --- clxclient-3.9.0/debian/patches/series 2016-12-03 20:13:29.0 +0100 +++ clxclient-3.9.0/debian/patches/series 2017-01-28 22:35:26.0 +0100 @@ -1,2 +1,3 @@ makefile-01.patch makefile-02.patch +makefile-03.patch ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#856565: mpg123 FTCBFS: python-minimal dependency not installable
Source: mpg123 Version: 1.23.8-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap mpg123's Build-Depends are not cross satisfiable, because python-minimal is requested for the host architecture, but not installable. What is really needed is a build architecture python-minimal though. After annotating the dependency with :native (or :any), mpg123 cross builds successfully. Please consider applying the attached patch after stretch is released. Helmut diff --minimal -Nru mpg123-1.23.8/debian/changelog mpg123-1.23.8/debian/changelog --- mpg123-1.23.8/debian/changelog 2016-09-28 19:19:03.0 +0200 +++ mpg123-1.23.8/debian/changelog 2017-03-02 15:27:38.0 +0100 @@ -1,3 +1,10 @@ +mpg123 (1.23.8-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Annotate python-minimal build dependency with :native. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 02 Mar 2017 15:27:38 +0100 + mpg123 (1.23.8-1) unstable; urgency=high * Team upload. diff --minimal -Nru mpg123-1.23.8/debian/control mpg123-1.23.8/debian/control --- mpg123-1.23.8/debian/control2016-09-28 19:13:30.0 +0200 +++ mpg123-1.23.8/debian/control2017-03-02 15:27:37.0 +0100 @@ -16,7 +16,7 @@ libpulse-dev [!hurd-i386], pkg-config, portaudio19-dev, - python-minimal + python-minimal:native Standards-Version: 3.9.8 Homepage: http://mpg123.org/ Vcs-Git: https://anonscm.debian.org/cgit/pkg-multimedia/mpg123.git ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#838317: x264 FTCBFS: configures for the build architecture
Source: x264 Version: 2:0.148.2699+gita5e06b9-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap x264 fails to cross build from source, because it configures the build for the build architecture. After recognizing that it uses a hand-crafted configure script, figuring the right flags is pretty simple. For cross compilation it wants --host and --cross-prefix. Once giving these options, it crosses just fine (at least for ppc64el). Please consider applying the attached patch. Helmut diff --minimal -Nru x264-0.148.2699+gita5e06b9/debian/changelog x264-0.148.2699+gita5e06b9/debian/changelog --- x264-0.148.2699+gita5e06b9/debian/changelog 2016-06-14 23:15:14.0 +0200 +++ x264-0.148.2699+gita5e06b9/debian/changelog 2016-09-19 21:38:55.0 +0200 @@ -1,3 +1,10 @@ +x264 (2:0.148.2699+gita5e06b9-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass cross flags to configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 19 Sep 2016 21:20:58 +0200 + x264 (2:0.148.2699+gita5e06b9-1) unstable; urgency=medium * Update to new stable upstream diff --minimal -Nru x264-0.148.2699+gita5e06b9/debian/confflags x264-0.148.2699+gita5e06b9/debian/confflags --- x264-0.148.2699+gita5e06b9/debian/confflags 2016-01-18 19:57:53.0 +0100 +++ x264-0.148.2699+gita5e06b9/debian/confflags 2016-09-19 21:24:48.0 +0200 @@ -20,6 +20,10 @@ common_confflags += --prefix=/usr --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +common_confflags += --host=$(DEB_HOST_GNU_TYPE) --cross-prefix=$(DEB_HOST_GNU_TYPE)- +endif + ifneq (,$(filter stage1,$(DEB_BUILD_PROFILES))) common_confflags += --disable-avs --disable-ffms --disable-gpac endif ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#843724: move vpx.pc to a multiarch location
Package: libvpx-dev Version: 1.6.0-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:gst-plugins-good1.0 gst-plugins-good1.0 fails to cross build from source, because it fails to detect the presence of vpx. It uses pkg-config for detection and pkg-config ignores /usr/lib/pkgconfig during cross compilation. Only /usr/share/pkgconfig and /usr/lib//pkgconfig are considered. Please move vpx.pc to one of the supported locations. I am attaching a patch for your convenience. Helmut diff --minimal -Nru libvpx-1.6.0/debian/changelog libvpx-1.6.0/debian/changelog --- libvpx-1.6.0/debian/changelog 2016-09-01 10:46:47.0 +0200 +++ libvpx-1.6.0/debian/changelog 2016-11-09 05:59:15.0 +0100 @@ -1,3 +1,10 @@ +libvpx (1.6.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Install vpx.pc into a multiarch location (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 09 Nov 2016 05:59:15 +0100 + libvpx (1.6.0-2) unstable; urgency=medium * Upload to unstable. diff --minimal -Nru libvpx-1.6.0/debian/libvpx-dev.install libvpx-1.6.0/debian/libvpx-dev.install --- libvpx-1.6.0/debian/libvpx-dev.install 2016-08-21 19:14:20.0 +0200 +++ libvpx-1.6.0/debian/libvpx-dev.install 2016-11-09 05:59:14.0 +0100 @@ -2,4 +2,4 @@ builddir/vpx-vp8-*/lib/libvpx.so /usr/lib/${DEB_HOST_MULTIARCH}/ builddir/vpx-vp8-*/lib/libvpx.a /usr/lib/${DEB_HOST_MULTIARCH}/ builddir/vpx-vp8-*/include/vpx usr/include -builddir/vpx-vp8-*/lib/pkgconfig usr/lib +builddir/vpx-vp8-*/lib/pkgconfig usr/lib/${DEB_HOST_MULTIARCH}/ ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#841711: libbluray FTCBFS: javahelper dependency unsatisfiable
Source: libbluray Version: 1:0.9.3-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap libbluray fails to cross build from source, because its javahelper build dependency is unsatisfiable. It turns out that we only actually the javahelper dh addon when building libbluray-bdj, so we can demote that dependency as well. After doing so, its Build-Depends become satisfiable in a cross build environment and it cross builds just fine. Please consider applying the attached patch. An alternative resolution could be marking javahelper Multi-Arch: foreign. I am not sure whether this is correct as it exposes a pile of dependencies that are not Multi-Arch: foreign. Helmut diff --minimal -Nru libbluray-0.9.3/debian/changelog libbluray-0.9.3/debian/changelog --- libbluray-0.9.3/debian/changelog2016-05-18 02:34:22.0 +0200 +++ libbluray-0.9.3/debian/changelog2016-10-22 15:52:10.0 +0200 @@ -1,3 +1,10 @@ +libbluray (1:0.9.3-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Demote javahelper to Build-Depends-Indep. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 22 Oct 2016 15:51:55 +0200 + libbluray (1:0.9.3-2) unstable; urgency=medium * debian/rules: diff --minimal -Nru libbluray-0.9.3/debian/control libbluray-0.9.3/debian/control --- libbluray-0.9.3/debian/control 2016-05-17 23:01:44.0 +0200 +++ libbluray-0.9.3/debian/control 2016-10-22 15:51:53.0 +0200 @@ -10,13 +10,13 @@ dh-autoreconf, pkg-config, default-jdk, - javahelper, libfreetype6-dev, libfontconfig-dev, libxml2-dev Build-Depends-Indep: ant, doxygen, graphviz, + javahelper, texlive-latex-base, texlive-latex-recommended, texlive-latex-extra, diff --minimal -Nru libbluray-0.9.3/debian/rules libbluray-0.9.3/debian/rules --- libbluray-0.9.3/debian/rules2016-05-18 02:34:22.0 +0200 +++ libbluray-0.9.3/debian/rules2016-10-22 15:51:44.0 +0200 @@ -13,7 +13,8 @@ endif %: - dh $@ --parallel --with javahelper,autoreconf + dh $@ --parallel --with autoreconf $(DH_ADDONS) +build install binary build-indep install-indep binary-indep: DH_ADDONS+=--with javahelper override_dh_auto_configure: ifneq (,$(findstring libbluray-bdj,$(shell dh_listpackages))) ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#841118: libva FTCBFS: perl build dependency unsatisfiable
Source: libva Version: 1.7.2-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap libva fails to cross build from source, because its build dependency on perl is unsatisfiable. It seems that libva only uses perl as a build tool, so it should be requested for the build architecture instead of the host architecture and thus annotated with :any. After applying the attached patch, libva cross builds just fine. Helmut diff --minimal -Nru libva-1.7.2/debian/changelog libva-1.7.2/debian/changelog --- libva-1.7.2/debian/changelog2016-09-05 09:46:04.0 +0200 +++ libva-1.7.2/debian/changelog2016-10-17 20:46:09.0 +0200 @@ -1,3 +1,10 @@ +libva (1.7.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Annotate Build-Depends: perl with :any. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 17 Oct 2016 20:46:08 +0200 + libva (1.7.2-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru libva-1.7.2/debian/control libva-1.7.2/debian/control --- libva-1.7.2/debian/control 2016-05-11 17:29:39.0 +0200 +++ libva-1.7.2/debian/control 2016-10-17 20:46:21.0 +0200 @@ -18,7 +18,7 @@ libxext-dev, libxfixes-dev, pkg-config, - perl + perl:any Standards-Version: 3.9.8 Homepage: http://www.freedesktop.org/wiki/Software/vaapi Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/libva.git ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#851202: caps FTCBFS: uses build architecture strip
Source: caps Version: 0.9.24-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap caps fails to cross build from source, because its build system tries to strip during make install with the build architecture strip. This is bad, because it needs to use the host architecture strip and stripping at installation time means that dh_strip cannot create a -dbgsym package. Thus nullifying the strip invocation fixes both issues. Please consider applying the attached patch. Helmut diff --minimal -Nru caps-0.9.24/debian/changelog caps-0.9.24/debian/changelog --- caps-0.9.24/debian/changelog2016-12-21 14:34:53.0 +0100 +++ caps-0.9.24/debian/changelog2017-01-12 22:55:16.0 +0100 @@ -1,3 +1,10 @@ +caps (0.9.24-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Do not strip during make install (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 12 Jan 2017 22:55:16 +0100 + caps (0.9.24-3) unstable; urgency=medium * Set dh 10. diff --minimal -Nru caps-0.9.24/debian/rules caps-0.9.24/debian/rules --- caps-0.9.24/debian/rules2016-12-21 14:34:53.0 +0100 +++ caps-0.9.24/debian/rules2017-01-12 22:55:16.0 +0100 @@ -6,3 +6,6 @@ %: dh $@ + +override_dh_auto_install: + dh_auto_install -- STRIP=: ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#851201: amb-plugins FTCBFS: hard codes build architecture compiler
Source: amb-plugins Version: 0.8.1-6 Tags: patch User: helm...@debian.org Usertags: rebootstrap amb-plugins fails to cross build from source, because its build system hard codes the build architecture compiler g++. Making it substitutable by using $(CXX) makes the cross build succeed, because dh_auto_build populates $(CXX) with a cross compiler. Please consider applying the attached patch. Helmut diff --minimal -Nru amb-plugins-0.8.1/debian/changelog amb-plugins-0.8.1/debian/changelog --- amb-plugins-0.8.1/debian/changelog 2016-12-21 10:21:15.0 +0100 +++ amb-plugins-0.8.1/debian/changelog 2017-01-12 22:48:48.0 +0100 @@ -1,3 +1,10 @@ +amb-plugins (0.8.1-6.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: 03-cross.patch: use a cross compiler (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 12 Jan 2017 22:48:48 +0100 + amb-plugins (0.8.1-6) unstable; urgency=medium * Set dh 10. diff --minimal -Nru amb-plugins-0.8.1/debian/patches/03-cross.patch amb-plugins-0.8.1/debian/patches/03-cross.patch --- amb-plugins-0.8.1/debian/patches/03-cross.patch 1970-01-01 01:00:00.0 +0100 +++ amb-plugins-0.8.1/debian/patches/03-cross.patch 2017-01-12 22:48:46.0 +0100 @@ -0,0 +1,40 @@ +From: Helmut Grohne <hel...@subdivi.de> +Subject: make g++ substitutable for a cross compiler + +Index: amb-plugins-0.8.1/Makefile +=== +--- amb-plugins-0.8.1.orig/Makefile amb-plugins-0.8.1/Makefile +@@ -23,28 +23,28 @@ + + + ambisonic0.so:ambisonic0.o ambisonic0_if.o virtmic.o allpass.o +- g++ $(LDFLAGS) -shared -o $@ ambisonic0.o ambisonic0_if.o virtmic.o allpass.o ++ $(CXX) $(LDFLAGS) -shared -o $@ ambisonic0.o ambisonic0_if.o virtmic.o allpass.o + + ambisonic0.o: ladspaplugin.h ambisonic0.h + ambisonic0_if.o: ladspaplugin.h ambisonic0.h + + + ambisonic1.so:ambisonic1.o ambisonic1_if.o filter1.o +- g++ $(LDFLAGS) -shared -o $@ ambisonic1.o ambisonic1_if.o filter1.o ++ $(CXX) $(LDFLAGS) -shared -o $@ ambisonic1.o ambisonic1_if.o filter1.o + + ambisonic1.o: ladspaplugin.h ambisonic1.h filter1.h + ambisonic1_if.o: ladspaplugin.h ambisonic1.h + + + ambisonic2.so:ambisonic2.o ambisonic2_if.o +- g++ $(LDFLAGS) -shared -o $@ ambisonic2.o ambisonic2_if.o ++ $(CXX) $(LDFLAGS) -shared -o $@ ambisonic2.o ambisonic2_if.o + + ambisonic2.o: ladspaplugin.h ambisonic2.h + ambisonic2_if.o: ladspaplugin.h ambisonic2.h + + + ambisonic3.so:ambisonic3.o ambisonic3_if.o +- g++ $(LDFLAGS) -shared -o $@ ambisonic3.o ambisonic3_if.o ++ $(CXX) $(LDFLAGS) -shared -o $@ ambisonic3.o ambisonic3_if.o + + ambisonic3.o: ladspaplugin.h ambisonic3.h + ambisonic3_if.o: ladspaplugin.h ambisonic3.h diff --minimal -Nru amb-plugins-0.8.1/debian/patches/series amb-plugins-0.8.1/debian/patches/series --- amb-plugins-0.8.1/debian/patches/series 2016-12-21 10:14:39.0 +0100 +++ amb-plugins-0.8.1/debian/patches/series 2017-01-12 22:48:00.0 +0100 @@ -1,2 +1,3 @@ 01-destdir.patch 02-remove_LADSPA_PROPERTY_REALTIME.patch +03-cross.patch ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#850463: audacity FTCBFS: wrong use of AC_CHECK_FILE
Source: audacity Version: 2.1.2-2 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap audacity fails to cross build from source, because it uses AC_CHECK_FILE to examine the build system. AC_CHECK_FILE should only be used for examining the host system and thus fails during cross builds. The attached patch fixes the wrong uses of AC_CHECK_FILE and makes the cross build continue until it runs into #850461. Please consider applying the attached patch. Helmut diff --minimal -Nru audacity-2.1.2/debian/changelog audacity-2.1.2/debian/changelog --- audacity-2.1.2/debian/changelog 2016-11-24 21:20:12.0 +0100 +++ audacity-2.1.2/debian/changelog 2017-01-06 13:19:09.0 +0100 @@ -1,3 +1,11 @@ +audacity (2.1.2-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Coses: #-1) +- cross.patch: Fix wrong use of AC_CHECK_FILE + + -- Helmut Grohne <hel...@subdivi.de> Fri, 06 Jan 2017 13:19:09 +0100 + audacity (2.1.2-2) unstable; urgency=medium [ Mateusz Åukasik ] diff --minimal -Nru audacity-2.1.2/debian/patches/cross.patch audacity-2.1.2/debian/patches/cross.patch --- audacity-2.1.2/debian/patches/cross.patch 1970-01-01 01:00:00.0 +0100 +++ audacity-2.1.2/debian/patches/cross.patch 2017-01-06 13:19:09.0 +0100 @@ -0,0 +1,422 @@ +From: Helmut Grohne <hel...@subdivi.de> +Subject: fix wrong use of AC_CHECK_FILE + +AC_CHECK_FILE is meant to examine the host system. For examining the build +system simply test should be used instead. + +Index: audacity-2.1.2/m4/audacity_checklib_libexpat.m4 +=== +--- audacity-2.1.2.orig/m4/audacity_checklib_libexpat.m4 audacity-2.1.2/m4/audacity_checklib_libexpat.m4 +@@ -42,13 +42,11 @@ + +dnl see if expat is available in the local tree + +- AC_CHECK_FILE(${srcdir}/lib-src/expat/lib/expat.h, +- EXPAT_LOCAL_AVAILABLE="yes", +- EXPAT_LOCAL_AVAILABLE="no") +- +- if test "$EXPAT_LOCAL_AVAILABLE" = "yes"; then ++ if test -f "${srcdir}/lib-src/expat/lib/expat.h"; then ++ EXPAT_LOCAL_AVAILABLE="yes" + AC_MSG_NOTICE([Expat libraries are available in the local tree]) +else ++ EXPAT_LOCAL_AVAILABLE="no" + AC_MSG_NOTICE([Expat libraries are NOT available in the local tree]) +fi + ]) +Index: audacity-2.1.2/m4/audacity_checklib_ffmpeg.m4 +=== +--- audacity-2.1.2.orig/m4/audacity_checklib_ffmpeg.m4 audacity-2.1.2/m4/audacity_checklib_ffmpeg.m4 +@@ -35,13 +35,17 @@ + +dnl see if ffmpeg is available locally, or rather that we have some headers +dnl in lib-src/ffmpeg/ we can use. +- AC_CHECK_FILE(${srcdir}/lib-src/ffmpeg/libavcodec/avcodec.h, +- avcodec_h_found="yes", +- avcodec_h_found="no") ++ if test -f "${srcdir}/lib-src/ffmpeg/libavcodec/avcodec.h"; then ++ avcodec_h_found="yes" ++ else ++ avcodec_h_found="no" ++ fi + +- AC_CHECK_FILE(${srcdir}/lib-src/ffmpeg/libavformat/avformat.h, +- avformat_h_found="yes", +- avformat_h_found="no") ++ if test -f "${srcdir}/lib-src/ffmpeg/libavformat/avformat.h"; then ++ avformat_h_found="yes" ++ else ++ avformat_h_found="no" ++ fi + +if test "$avcodec_h_found" = "yes" -a "$avformat_h_found" = "yes"; then + FFMPEG_LOCAL_AVAILABLE="yes" +Index: audacity-2.1.2/m4/audacity_checklib_lame.m4 +=== +--- audacity-2.1.2.orig/m4/audacity_checklib_lame.m4 audacity-2.1.2/m4/audacity_checklib_lame.m4 +@@ -33,13 +33,11 @@ + +dnl see if LAME is available in the source dir + +- AC_CHECK_FILE(${srcdir}/lib-src/lame/lame/lame.h, +- LAME_LOCAL_AVAILABLE="yes", +- LAME_LOCAL_AVAILABLE="no") +- +- if test "$LAME_LOCAL_AVAILABLE" = "yes"; then ++ if test -f "${srcdir}/lib-src/lame/lame/lame.h"; then ++ LAME_LOCAL_AVAILABLE="yes" + AC_MSG_NOTICE([LAME headers are available in this source tree.]) +else ++ LAME_LOCAL_AVAILABLE="no" + AC_MSG_NOTICE([LAME headers are NOT available in this source tree.]) +fi + ]) +Index: audacity-2.1.2/m4/audacity_checklib_libflac.m4 +=== +--- audacity-2.1.2.orig/m4/audacity_checklib_libflac.m4 audacity-2.1.2/m4/audacity_checklib_libflac.m4 +@@ -38,13 +38,17 @@ + +dnl see if FLAC is available in the source dir + +- AC_CHECK_FILE(${srcdir}/lib-src/libflac/include/FLAC/format.h, +- flac_h_available="yes"
Bug#870514: simplescreenrecordr FTCBFS for !x86: confuses build/host arch
Source: simplescreenrecorder Version: 0.3.8-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap simplescreenrecorder fails to cross build for e.g. arm64 when built on amd64. debian/rules decides what configure flags to pass depending on dpkg --print-architecture, which happens to be the architecture we are building on, not the architecture we are building for. After changing that to $(DEB_HOST_ARCH) it cross builds successfully (because it now passes the right flags). Please consider applying the attached patch. Helmut diff --minimal -Nru simplescreenrecorder-0.3.8/debian/changelog simplescreenrecorder-0.3.8/debian/changelog --- simplescreenrecorder-0.3.8/debian/changelog 2016-12-17 10:03:07.0 +0100 +++ simplescreenrecorder-0.3.8/debian/changelog 2017-08-02 20:35:12.0 +0200 @@ -1,3 +1,10 @@ +simplescreenrecorder (0.3.8-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Clear build/host confusion (Closes: #-1). + + -- Helmut Grohne <hel...@subdivi.de> Wed, 02 Aug 2017 20:35:12 +0200 + simplescreenrecorder (0.3.8-2) unstable; urgency=low * Team upload. diff --minimal -Nru simplescreenrecorder-0.3.8/debian/rules simplescreenrecorder-0.3.8/debian/rules --- simplescreenrecorder-0.3.8/debian/rules 2016-12-17 09:59:40.0 +0100 +++ simplescreenrecorder-0.3.8/debian/rules 2017-08-02 20:35:10.0 +0200 @@ -3,8 +3,6 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/default.mk -ARCH = $(shell dpkg --print-architecture) - %: dh $@ --parallel --with autotools-dev @@ -15,7 +13,7 @@ #requires the x86-only elfhacks code (see README.source) override_dh_auto_configure: -ifeq ($(ARCH),$(filter $(ARCH),amd64 i386 hurd-i386 kfreebsd-amd64 kfreebsd-i386 x32)) +ifneq (,$(filter $(DEB_HOST_ARCH),amd64 i386 hurd-i386 kfreebsd-amd64 kfreebsd-i386 x32)) dh_auto_configure -- \ --disable-assert else ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#872249: qm-dsp FTCBFS: sometimes uses the build architecture toolchain
Source: qm-dsp Version: 1.7.1-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap qm-dsp fails to cross build from source, because it uses the build architecture tools for some parts: * The first make invocation uses build architecture compilers as make defaults. * debian/rules hard codes the build architecture pkg-config. * debian/rules hard codes the build architecture C++ compiler. After fixing all of that, qm-dsp cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru qm-dsp-1.7.1/debian/changelog qm-dsp-1.7.1/debian/changelog --- qm-dsp-1.7.1/debian/changelog 2016-12-15 23:04:50.0 +0100 +++ qm-dsp-1.7.1/debian/changelog 2017-08-15 11:46:35.0 +0200 @@ -1,3 +1,12 @@ +qm-dsp (1.7.1-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) ++ Let dh_auto_build pass cross compilers to make. ++ Prefix host tools with host triplet. + + -- Helmut Grohne <hel...@subdivi.de> Tue, 15 Aug 2017 11:46:35 +0200 + qm-dsp (1.7.1-2) unstable; urgency=medium * B-D on pkg-config & libatlas-base-dev diff --minimal -Nru qm-dsp-1.7.1/debian/rules qm-dsp-1.7.1/debian/rules --- qm-dsp-1.7.1/debian/rules 2016-12-15 23:04:50.0 +0100 +++ qm-dsp-1.7.1/debian/rules 2017-08-15 11:46:33.0 +0200 @@ -2,7 +2,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +include /usr/share/dpkg/architecture.mk PREFIX = /usr LIBDIR=lib/$(DEB_HOST_MULTIARCH) DESTDIR=$(CURDIR)/debian/tmp @@ -12,6 +12,10 @@ MAJVERS = 0 MINVERS = 0.0 +ifeq ($(origin CXX),default) +CXX = $(DEB_HOST_GNU_TYPE)-g++ +endif +PKG_CONFIG ?= $(DEB_HOST_GNU_TYPE)-pkg-config CFLAGS += -DNDEBUG -O3 -fPIC -ffast-math -ftree-vectorize -DUSE_PTHREADS CXXFLAGS += -fPIC -Wall CXXFLAGS += $(CFLAGS) @@ -22,8 +26,8 @@ QM-DSP_DEP = libqm-dsp.a QM-DSP_H = qm-dsp -QM-DSP_CFLAGS=$(shell pkg-config --cflags blas-atlas lapack-atlas) -QM-DSP_LFLAGS=-llapack_atlas $(shell pkg-config --libs blas-atlas lapack-atlas) -lpthread +QM-DSP_CFLAGS=$(shell $(PKG_CONFIG) --cflags blas-atlas lapack-atlas) +QM-DSP_LFLAGS=-llapack_atlas $(shell $(PKG_CONFIG) --libs blas-atlas lapack-atlas) -lpthread CFLAGS+=$(QM-DSP_CFLAGS) @@ -31,9 +35,9 @@ dh $@ override_dh_auto_build: - $(MAKE) -f build/general/Makefile.inc + dh_auto_build --buildsystem=makefile -- -f build/general/Makefile.inc dh_auto_build - g++ -shared $(LDFLAGS) -o $(QM-DSP_MAJ) -Wl,-soname,$(QM-DSP_MAJ) -Wl,--whole-archive $(QM-DSP_DEP) -Wl,--no-whole-archive $(QM-DSP_LFLAGS) + $(CXX) -shared $(LDFLAGS) -o $(QM-DSP_MAJ) -Wl,-soname,$(QM-DSP_MAJ) -Wl,--whole-archive $(QM-DSP_DEP) -Wl,--no-whole-archive $(QM-DSP_LFLAGS) override_dh_auto_install: install -d $(DESTDIR)$(PREFIX)/include/$(QM-DSP_H)/base ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#872370: directfb FTCBFS: fails to execute fluxcomp
Source: directfb Version: 1.7.7-4 Tags: patch User: helm...@debian.org Usertags: rebootstrap directfb fails to cross build from source, because it fails executing a host architecture binary called fluxcomp. Upstream advises that this is only needed for building and that it should be compiled for the build architecture. debian/rules configures the flux folder with dh_auto_configure which defaults to the host architecture though. After forcing that subdirectory to be configured for the build architecture, directfb cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru directfb-1.7.7/debian/changelog directfb-1.7.7/debian/changelog --- directfb-1.7.7/debian/changelog 2017-08-15 19:57:10.0 +0200 +++ directfb-1.7.7/debian/changelog 2017-08-16 20:23:54.0 +0200 @@ -1,3 +1,10 @@ +directfb (1.7.7-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Configure flux for the build architecture (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 16 Aug 2017 20:23:54 +0200 + directfb (1.7.7-4) unstable; urgency=medium * Upload to unstable. diff --minimal -Nru directfb-1.7.7/debian/rules directfb-1.7.7/debian/rules --- directfb-1.7.7/debian/rules 2017-08-15 12:01:15.0 +0200 +++ directfb-1.7.7/debian/rules 2017-08-16 20:23:52.0 +0200 @@ -30,7 +30,7 @@ dh_auto_clean override_dh_auto_configure: - dh_auto_configure -Dflux + dh_auto_configure -Dflux -- --host=$(DEB_BUILD_GNU_TYPE) dh_auto_build -Dflux cp -r flux-files/* . PATH=$(CURDIR)/flux/src:$$PATH \ ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#869592: forked-daapd FTBFS: error: conflicting types for 'dmap_find_field'
Source: forked-daapd Version: 24.2-2 Severity: serious User: helm...@debian.org Usertags: rebootstrap forked-daapd fails to build from source in unstable amd64 (presumably due to the gperf 3.1 upload): | gcc -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -DDATADIR="\"/usr/share/forked-daapd\"" -DCONFDIR="\"/etc\"" -DSTATEDIR="\"/var\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/forked-daapd\"" -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/x86_64-linux-gnu -D_THREAD_SAFE -D_REENTRANT -I/usr/include/alsa -D_REENTRANT -I/usr/include/x86_64-linux-gnu -I/usr/include/p11-kit-1 -I/usr/include/json-c -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_LARGEFILE_SOURCE -c -o forked_daapd-dmap_common.o `test -f 'dmap_common.c' || echo './'`dmap_common.c | In file included from dmap_common.c:34:0: | dmap_fields.gperf:274:1: error: conflicting types for 'dmap_find_field' | /* | ^~ | In file included from dmap_common.c:30:0: | dmap_common.h:49:1: note: previous declaration of 'dmap_find_field' was here | dmap_find_field (register const char *str, register unsigned int len); | ^~~ | Makefile:1040: recipe for target 'forked_daapd-dmap_common.o' failed | make[4]: *** [forked_daapd-dmap_common.o] Error 1 | make[4]: Leaving directory '/<>/src' | Makefile:532: recipe for target 'all' failed | make[3]: *** [all] Error 2 | make[3]: Leaving directory '/<>/src' | Makefile:545: recipe for target 'all-recursive' failed | make[2]: *** [all-recursive] Error 1 | make[2]: Leaving directory '/<>' | Makefile:413: recipe for target 'all' failed | make[1]: *** [all] Error 2 | make[1]: Leaving directory '/<>' | dh_auto_build: make -j1 returned exit code 2 | debian/rules:16: recipe for target 'build-arch' failed | make: *** [build-arch] Error 2 | dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2 Helmut ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#870859: jaaa FTCBFS: hardcodes the build architecture compiler in one place
Source: jaaa Version: 0.8.4-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap jaaa fails to cross build from source, because its final link step hard codes the build architecture compiler (g++) in the upstream build system. After making that substitutable, it cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru jaaa-0.8.4/debian/changelog jaaa-0.8.4/debian/changelog --- jaaa-0.8.4/debian/changelog 2016-12-22 13:52:44.0 +0100 +++ jaaa-0.8.4/debian/changelog 2017-08-05 21:53:50.0 +0200 @@ -1,3 +1,10 @@ +jaaa (0.8.4-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Do not hard code g++. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 05 Aug 2017 21:53:50 +0200 + jaaa (0.8.4-3) unstable; urgency=medium * Set dh 10. diff --minimal -Nru jaaa-0.8.4/debian/patches/jaaa-rzr.patch jaaa-0.8.4/debian/patches/jaaa-rzr.patch --- jaaa-0.8.4/debian/patches/jaaa-rzr.patch2013-08-12 21:34:53.0 +0200 +++ jaaa-0.8.4/debian/patches/jaaa-rzr.patch2017-08-05 21:53:31.0 +0200 @@ -4,11 +4,11 @@ Makefile | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Index: jaaa/source/Makefile === --- jaaa.orig/source/Makefile 2013-08-07 13:38:13.937342777 +0200 +++ jaaa/source/Makefile 2013-08-07 14:01:17.176201895 +0200 -@@ -19,13 +19,13 @@ +@@ -19,26 +19,27 @@ # -- @@ -25,7 +25,14 @@ LDFLAGS += -L/usr/X11R6/$(LIBDIR) LDLIBS += -lzita-alsa-pcmi -lclthreads -lclxclient -lpthread -lfftw3f -ljack -lasound -lpthread -lXft -lX11 -lrt -@@ -39,6 +39,7 @@ + + JAAA_O = jaaa.o styles.o spectwin.o audio.o rngen.o + jaaa: $(JAAA_O) +- g++ $(LDFLAGS) -o $@ $(JAAA_O) $(LDLIBS) ++ $(CXX) $(LDFLAGS) -o $@ $(JAAA_O) $(LDLIBS) + + $(JAAA_O): + -include $(JAAA_O:%.o=%.d) install: jaaa ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#870862: directfb FTCBFS: configure: error: Could not find a directfb-csource in your PATH
Source: directfb Version: 1.2.10.0-9 Tags: patch User: helm...@debian.org Usertags: rebootstrap directfb fails to cross build from source: | checking for directfb-csource... no | configure: error: Could not find a directfb-csource in your PATH It seems that for cross builds directfb expects to be able to run a system-provided directfb-csource. That lives in libdirectfb-bin. So directfb is missing a cross-specific dependency on libdirectfb-bin. Since it wants to run directfb-csource, it needs to be installed for the build architecture. That can be achieved by either marking the libdirectfb-bin dependency with :native or by marking libdirectfb-bin Multi-Arch: foreign. I think the latter is appropriate here, because libdirectfb-bin contains only command line utilities. As far as I understand their behaviour does not depend on the architecture of the package. If that statement is wrong, it must not be marked M-A:foreign. Please consider applying the attached patch after verifying that M-A:foreign is indeed correct on libdirectfb-bin. Helmut diff --minimal -Nru directfb-1.2.10.0/debian/changelog directfb-1.2.10.0/debian/changelog --- directfb-1.2.10.0/debian/changelog 2017-01-30 20:56:58.0 +0100 +++ directfb-1.2.10.0/debian/changelog 2017-08-05 22:10:01.0 +0200 @@ -1,3 +1,12 @@ +directfb (1.2.10.0-9.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) ++ Add missing cross build dependency on libdirectfb-bin. ++ Mark libdirectfb-bin Multi-Arch: foreign. + + -- Helmut Grohne <hel...@subdivi.de> Sat, 05 Aug 2017 22:10:01 +0200 + directfb (1.2.10.0-9) unstable; urgency=medium * debian/libdirectfb-1.2-9.install: Fix architecture-based filter to diff --minimal -Nru directfb-1.2.10.0/debian/control directfb-1.2.10.0/debian/control --- directfb-1.2.10.0/debian/control2017-01-30 20:53:05.0 +0100 +++ directfb-1.2.10.0/debian/control2017-08-05 22:10:01.0 +0200 @@ -6,6 +6,7 @@ Build-Depends: debhelper (>= 10), dh-exec, + libdirectfb-bin , libfreetype6-dev, libgl1-mesa-dev, libjpeg-dev, @@ -61,6 +62,7 @@ Package: libdirectfb-bin Architecture: any +Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#865743: alsaequal FTCBFS: uses the build architecture compiler as linker
Source: alsaequal Version: 0.6-7 Tags: patch User: helm...@debian.org Usertags: rebootstrap alsaequal fails to cross build from source, because it uses the build architecture compiler "gcc" as linker "$(LD)". dh_auto_build already passes a cross compiler for $(CC), but the linking step fails. Since $(LD) sometimes needs to be $(CC) and at other times $(CXX), dh_auto_build cannot supply it. After adding the assignment, alsaequal cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru alsaequal-0.6/debian/changelog alsaequal-0.6/debian/changelog --- alsaequal-0.6/debian/changelog 2016-12-12 08:34:48.0 +0100 +++ alsaequal-0.6/debian/changelog 2017-06-24 14:13:47.0 +0200 @@ -1,3 +1,10 @@ +alsaequal (0.6-7.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Force using $(CC) as $(LD). (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 24 Jun 2017 14:13:47 +0200 + alsaequal (0.6-7) unstable; urgency=medium * Remove myself from the uploaders list. diff --minimal -Nru alsaequal-0.6/debian/rules alsaequal-0.6/debian/rules --- alsaequal-0.6/debian/rules 2016-01-22 23:24:54.0 +0100 +++ alsaequal-0.6/debian/rules 2017-06-24 14:13:44.0 +0200 @@ -12,6 +12,9 @@ override_dh_clean: dh_clean -XMakefile~ +override_dh_auto_build: + dh_auto_build -- LD='$$(CC)' + override_dh_auto_install: make install LIBDIR=$(LIBDIR) DESTDIR=debian/libasound2-plugin-equal dh_install --sourcedir=debian/config equal.conf \ ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#864556: clalsadrv FTCBFS: hard codes build architecture compiler
Source: clalsadrv Version: 2.0.0-3 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap clalsadrv fails to cross build from source, because libs/Makefile hard codes the build architecture compiler g++. Using $(CXX) instead makes cross builds succeed. Please consider applying the attached patch after stretch is released. Helmut diff --minimal -Nru clalsadrv-2.0.0/debian/changelog clalsadrv-2.0.0/debian/changelog --- clalsadrv-2.0.0/debian/changelog2010-07-09 15:51:23.0 +0200 +++ clalsadrv-2.0.0/debian/changelog2017-06-10 17:38:43.0 +0200 @@ -1,3 +1,10 @@ +clalsadrv (2.0.0-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: 02-cross.patch (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sat, 10 Jun 2017 17:38:43 +0200 + clalsadrv (2.0.0-3) unstable; urgency=low * Change my email address. diff --minimal -Nru clalsadrv-2.0.0/debian/patches/02-cross.patch clalsadrv-2.0.0/debian/patches/02-cross.patch --- clalsadrv-2.0.0/debian/patches/02-cross.patch 1970-01-01 01:00:00.0 +0100 +++ clalsadrv-2.0.0/debian/patches/02-cross.patch 2017-06-10 17:38:39.0 +0200 @@ -0,0 +1,16 @@ +From: Helmut Grohne <hel...@subdivi.de> +Subject: make g++ substitutable for cross compilation + +Index: clalsadrv-2.0.0/libs/Makefile +=== +--- clalsadrv-2.0.0.orig/libs/Makefile clalsadrv-2.0.0/libs/Makefile +@@ -41,7 +41,7 @@ + + + $(CLALSADRV_MIN): $(CLALSADRV_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(CLALSADRV_MAJ) -o $(CLALSADRV_MIN) $(CLALSADRV_O) $(CLALSADRV_DEP) ++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(CLALSADRV_MAJ) -o $(CLALSADRV_MIN) $(CLALSADRV_O) $(CLALSADRV_DEP) + + + install: $(CLALSADRV_MIN) diff --minimal -Nru clalsadrv-2.0.0/debian/patches/series clalsadrv-2.0.0/debian/patches/series --- clalsadrv-2.0.0/debian/patches/series 2010-07-09 15:27:06.0 +0200 +++ clalsadrv-2.0.0/debian/patches/series 2017-06-10 17:37:54.0 +0200 @@ -1 +1,2 @@ 01-makefile.patch +02-cross.patch ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#875862: jack-audio-connection-kit FTCBFS: powerpc64le-linux-gnu-gcc does not recognize -m3dnow
Source: jack-audio-connection-kit Version: 1:0.125.0-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap jack-audio-connection-kit fails to cross build from source from e.g. amd64 to ppc64el, because it passes -m3dnow to compilers that don't understand that flag. It seems that debian/rules generally confuses build architecture and host architecture. The attached patch fixes that and makes jack-audio-connection-kit cross build successfully. Please apply it. Helmut diff --minimal -Nru jack-audio-connection-kit-0.125.0/debian/changelog jack-audio-connection-kit-0.125.0/debian/changelog --- jack-audio-connection-kit-0.125.0/debian/changelog 2016-12-04 12:27:11.0 +0100 +++ jack-audio-connection-kit-0.125.0/debian/changelog 2017-09-15 12:41:49.0 +0200 @@ -1,3 +1,10 @@ +jack-audio-connection-kit (1:0.125.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Fix build/host confusion in debian/rules. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 15 Sep 2017 12:41:49 +0200 + jack-audio-connection-kit (1:0.125.0-2) unstable; urgency=medium * Team upload. diff --minimal -Nru jack-audio-connection-kit-0.125.0/debian/rules jack-audio-connection-kit-0.125.0/debian/rules --- jack-audio-connection-kit-0.125.0/debian/rules 2016-12-03 15:30:39.0 +0100 +++ jack-audio-connection-kit-0.125.0/debian/rules 2017-09-15 12:40:44.0 +0200 @@ -19,6 +19,7 @@ export DH_OPTIONS = -Njackd1-firewire endif +include /usr/share/dpkg/architecture.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/rules/upstream-tarball.mk @@ -45,9 +46,7 @@ --disable-ensure-mlock --enable-sse=yes --enable-static=yes # --enable-posix-shm -_build_arch := $(shell dpkg-architecture -qDEB_BUILD_ARCH) -DEB_BUILD_ARCH ?= $(_build_arch) -ifneq (,$(filter amd64,$(DEB_BUILD_ARCH))) +ifneq (,$(filter amd64,$(DEB_HOST_ARCH))) DEB_CONFIGURE_EXTRA_FLAGS += --enable-dynsimd=yes endif @@ -66,7 +65,7 @@ ifneq (,$(filter doopt,$(DEB_BUILD_OPTIONS))) # do optimization for the different architectures - ifneq (,$(findstring i386,$(DEB_BUILD_ARCH))) + ifneq (,$(findstring i386,$(DEB_HOST_ARCH))) DEB_CONFIGURE_EXTRA_FLAGS += --enable-optimize --enable-sse --enable-mmx -enable-dynsimd OPTI_FLAGS := -D_REENTRANT -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce -funroll-loops CXXFLAGS += $(OPTI_FLAGS) @@ -84,7 +83,7 @@ # endif endif -ifneq (,$(filter amd64,$(DEB_BUILD_ARCH))) +ifneq (,$(filter amd64,$(DEB_HOST_ARCH))) CFLAGS += -m3dnow -msse endif ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#873710: gavl FTCBFS: tries to figure out whether CLOCK_MONOTONIC works
Source: gavl Version: 1.4.0-4 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap gavl fails to cross build from source, because it tries to figure out whether CLOCK_MONOTONIC works. Such a test has no meaning as that is a runtime property and may change from system to system (in theory). We are best off assuming that it works when it is available thus converting AC_TRY_RUN into AC_TRY_COMPILE and fixing the cross build. Please consider applying the attached patch. Helmut diff --minimal -Nru gavl-1.4.0/debian/changelog gavl-1.4.0/debian/changelog --- gavl-1.4.0/debian/changelog 2016-02-18 02:24:42.0 +0100 +++ gavl-1.4.0/debian/changelog 2017-08-30 12:13:35.0 +0200 @@ -1,3 +1,10 @@ +gavl (1.4.0-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: 0004-cross.patch. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 30 Aug 2017 12:13:35 +0200 + gavl (1.4.0-4) unstable; urgency=medium * Team upload diff --minimal -Nru gavl-1.4.0/debian/patches/0004-cross.patch gavl-1.4.0/debian/patches/0004-cross.patch --- gavl-1.4.0/debian/patches/0004-cross.patch 1970-01-01 01:00:00.0 +0100 +++ gavl-1.4.0/debian/patches/0004-cross.patch 2017-08-30 12:13:35.0 +0200 @@ -0,0 +1,33 @@ +From: Helmut Grohne <hel...@subdivi.de> +Subject: fix cross compilation + +Trying to determine whether CLOCK_MONOTONIC works is in vein, because it may +differ from the buildd (in theory) being a runtime property of the kernel. For +compiling gavl, it is sufficient to know that the macro is defined and to +assume that on Debian systems CLOCK_MONOTONIC always works when it is defined. + +Index: gavl-1.4.0/configure.ac +=== +--- gavl-1.4.0.orig/configure.ac gavl-1.4.0/configure.ac +@@ -159,17 +159,12 @@ + + AC_MSG_CHECKING(for CLOCK_MONOTONIC) + +-AC_TRY_RUN([ ++AC_TRY_COMPILE([ + #include + #include +-main() +- { ++],[ + struct timespec tp; +- if(clock_gettime(CLOCK_MONOTONIC, )) +-return -1; +- else +-return 0; +- } ++ clock_gettime(CLOCK_MONOTONIC, ); + ], + [ + # program could be run diff --minimal -Nru gavl-1.4.0/debian/patches/series gavl-1.4.0/debian/patches/series --- gavl-1.4.0/debian/patches/series2016-02-18 02:17:38.0 +0100 +++ gavl-1.4.0/debian/patches/series2017-08-30 12:11:26.0 +0200 @@ -1,3 +1,4 @@ 0001-ubuntu_armel_ftbfs.patch 0002-cpuid_x32.patch 0003-nonfatal-missing-doxygen.patch +0004-cross.patch ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#877386: rtmidi FTCBFS: uses AC_RUN_IFELSE
Source: rtmidi Version: 2.1.1~ds0-4 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap rtmidi fails to cross build from source, because it implements a sanity check of its own version using AC_RUN_IFELSE. That check can be easily implemented otherwise and after doing so, rtmidi cross builds successfully. Please consider applying the attached patch. Helmut Index: rtmidi-2.1.1~ds0/configure.ac === --- rtmidi-2.1.1~ds0.orig/configure.ac +++ rtmidi-2.1.1~ds0/configure.ac @@ -31,11 +31,9 @@ # Check version number coherency between RtMidi.h and configure.ac AC_MSG_CHECKING([that version numbers are coherent]) -AC_RUN_IFELSE( - [AC_LANG_PROGRAM([#include - `grep "define RTMIDI_VERSION" $srcdir/RtMidi.h`], -[return strcmp(RTMIDI_VERSION, PACKAGE_VERSION);])], - [AC_MSG_RESULT([yes])], +RTMIDI_VERSION=`sed -n 's/#define RTMIDI_VERSION "\(.*\)"/\1/p' $srcdir/RtMidi.h` +AS_IF( + [test "x$RTMIDI_VERSION" != "x$PACKAGE_VERSION"], [AC_MSG_FAILURE([testing RTMIDI_VERSION==PACKAGE_VERSION failed, check that RtMidi.h defines RTMIDI_VERSION as "$PACKAGE_VERSION" or that the first line of configure.ac has been updated.])]) # Enable some nice automake features if they are available ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#873506: zita-mu1 FTCBFS: binutils build dependency unsatisfiable, hard codes the build architecture C++ compiler
Source: zita-mu1 Version: 0.2.2-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap zita-mu1 fails to cross build from source for two reasons: * Its build dependency on binutils (host arch) conflicts with the implicit dependency on binutils via build-essential (build arch). In theory, we'd need "toolchain dependency cross translation" here, but it is much simpler to just drop the implicitly satisfied dependency. * The upstream Makefile hard codes the build architecture compiler g++. It should be using $(CXX). After fixing both, zita-mu1 cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru zita-mu1-0.2.2/debian/changelog zita-mu1-0.2.2/debian/changelog --- zita-mu1-0.2.2/debian/changelog 2016-12-27 16:02:53.0 +0100 +++ zita-mu1-0.2.2/debian/changelog 2017-08-28 15:46:32.0 +0200 @@ -1,3 +1,12 @@ +zita-mu1 (0.2.2-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) ++ Drop implicitly satisfied build dependency on binutils. ++ Make g++ substitutable in source/Makefile. + + -- Helmut Grohne <hel...@subdivi.de> Mon, 28 Aug 2017 15:46:32 +0200 + zita-mu1 (0.2.2-2) unstable; urgency=medium * Set dh/compat 10. diff --minimal -Nru zita-mu1-0.2.2/debian/control zita-mu1-0.2.2/debian/control --- zita-mu1-0.2.2/debian/control 2016-12-27 16:02:44.0 +0100 +++ zita-mu1-0.2.2/debian/control 2017-08-28 15:46:30.0 +0200 @@ -5,7 +5,6 @@ Uploaders: JaromÃr MikeÅ¡ <mira.mi...@seznam.cz> Build-Depends: - binutils, debhelper (>= 10), libcairo2-dev, libclthreads-dev (>= 2.4.0), diff --minimal -Nru zita-mu1-0.2.2/debian/patches/01-makefile.patch zita-mu1-0.2.2/debian/patches/01-makefile.patch --- zita-mu1-0.2.2/debian/patches/01-makefile.patch 2015-09-04 08:27:44.0 +0200 +++ zita-mu1-0.2.2/debian/patches/01-makefile.patch 2017-08-28 15:46:32.0 +0200 @@ -1,14 +1,15 @@ Description: Put DESTDIR before PREFIX to set the installation path properly. Set prefix properly and removed -march=native cpp flag Fix install + Fix CXX substitutability Author: JaromÃr MikeÅ¡ <mira.mi...@seznam.cz> Forwarded: Fons Adriaensen <f...@linuxaudio.org> Index: zita-mu1/source/Makefile === --- zita-mu1.orig/source/Makefile +++ zita-mu1/source/Makefile @@ -22,13 +22,13 @@ PROGRAM = zita-mu1 VERSION = 0.2.2 SUFFIX := $(shell uname -m | sed -e 's/^unknown/$//' -e 's/^i.86/$//' -e 's/^x86_64/$/64/') @@ -24,7 +25,15 @@ LDFLAGS += -L$(PREFIX)/$(LIBDIR) -@@ -49,8 +49,9 @@ $(ZITA-MU1_O): +@@ -42,15 +42,16 @@ + zita-mu1: LDLIBS += -lsndfile -lclxclient -lclthreads -ljack -lpthread -lcairo -lpng -lXft -lX11 -lrt + zita-mu1: LDFLAGS += -L/usr/X11R6/lib + zita-mu1: $(ZITA-MU1_O) +- g++ $(LDFLAGS) -o $@ $(ZITA-MU1_O) $(LDLIBS) ++ $(CXX) $(LDFLAGS) -o $@ $(ZITA-MU1_O) $(LDLIBS) + + $(ZITA-MU1_O): + -include $(ZITA-MU1_O:%.o=%.d) install: all ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#873527: ebumeter FTCBFS: binutils build dependency unsatisfiable, hard codes build architecture compiler
Source: ebumeter Version: 0.4.0-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap ebumeter fails to cross build from source for two reasons: * The explicit build dependency on binutils (host architecture) conflicts with the implicity dependency from build-essential (build architecture). In theory, we would have to apply "toolchain dependency cross translation", but it is much easier to just drop the redundant dependency. * The upstream Makefile hardcodes g++, but it needs to be susbtitutable. The attached patch fixes both issues and makes ebumeter cross build successfully. Please consider applying it. Helmut diff --minimal -Nru ebumeter-0.4.0/debian/changelog ebumeter-0.4.0/debian/changelog --- ebumeter-0.4.0/debian/changelog 2016-12-22 00:06:19.0 +0100 +++ ebumeter-0.4.0/debian/changelog 2017-08-28 19:08:03.0 +0200 @@ -1,3 +1,12 @@ +ebumeter (0.4.0-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) ++ Remove implicitly satisfied build dependency on binutils. ++ Make g++ substitutable in source/Makefile. + + -- Helmut Grohne <hel...@subdivi.de> Mon, 28 Aug 2017 19:08:03 +0200 + ebumeter (0.4.0-3) unstable; urgency=medium * Sign tags. diff --minimal -Nru ebumeter-0.4.0/debian/control ebumeter-0.4.0/debian/control --- ebumeter-0.4.0/debian/control 2016-12-22 00:04:41.0 +0100 +++ ebumeter-0.4.0/debian/control 2017-08-28 19:08:01.0 +0200 @@ -5,7 +5,6 @@ Uploaders: JaromÃr MikeÅ¡ <mira.mi...@seznam.cz> Build-Depends: - binutils, debhelper (>= 10), libclthreads-dev (>= 2.4.0), libclxclient-dev (>= 3.9.0), diff --minimal -Nru ebumeter-0.4.0/debian/patches/01-makefile.patch ebumeter-0.4.0/debian/patches/01-makefile.patch --- ebumeter-0.4.0/debian/patches/01-makefile.patch 2016-06-14 19:21:15.0 +0200 +++ ebumeter-0.4.0/debian/patches/01-makefile.patch 2017-08-28 19:08:03.0 +0200 @@ -1,13 +1,14 @@ Description: Set prefix properly and fix install commands. Removed -march=native optimalization Set -O3 optimalization + Make g++ substitutable Author: JaromÃr MikeÅ¡ <mira.mi...@seznam.cz> Forwarded: no Index: ebumeter/source/Makefile === --- ebumeter.orig/source/Makefile +++ ebumeter/source/Makefile @@ -18,16 +18,15 @@ # # -- @@ -28,7 +29,16 @@ LDFLAGS += -L$(PREFIX)/$(LIBDIR) -@@ -46,7 +45,7 @@ EBUMETER_O = ebumeter.o jclient.o mainwi +@@ -37,7 +36,7 @@ + EBUR128_O = ebur128.o ebu_r128_proc.o peak_proc.o audiofile.o dither.o + ebur128: LDLIBS += -lsndfile -lzita-resampler + ebur128: $(EBUR128_O) +- g++ $(LDFLAGS) -o $@ $(EBUR128_O) $(LDLIBS) ++ $(CXX) $(LDFLAGS) -o $@ $(EBUR128_O) $(LDLIBS) + $(EBUR128_O): + -include $(EBUR128_O:%.o=%.d) + +@@ -46,10 +45,10 @@ png2img.o button.o guiclass.o ebumeter: CPPFLAGS += -I/usr/include/freetype2 ebumeter: CPPFLAGS += -DPREFIX=\"$(PREFIX)\" -DSHARED=\"$(SHARED)\" @@ -36,4 +46,8 @@ +ebumeter: LDFLAGS += -L/usr/X11R6/$(LIBDIR) -pthread ebumeter: LDLIBS += -lclthreads -lclxclient -lzita-resampler -lpthread -ljack -lpng -lXft -lpng -lX11 -lrt ebumeter: $(EBUMETER_O) - g++ $(LDFLAGS) -o $@ $(EBUMETER_O) $(LDLIBS) +- g++ $(LDFLAGS) -o $@ $(EBUMETER_O) $(LDLIBS) ++ $(CXX) $(LDFLAGS) -o $@ $(EBUMETER_O) $(LDLIBS) + $(EBUMETER_O): + -include $(EBUMETER_O:%.o=%.d) + ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#873159: jack-capture FTCBFS: unsatisfiable Build-Depends: binutils
Source: jack-capture Version: 0.9.73-2 Tags: patch User: helm...@debian.org Usertags: rebootstrap jack-capture fails to satisfy its cross build dependencies, because its (host architecture) binutils dependency is in conflict with the (build architecture) binutils dependency from build-essential. In theory, the dependency would need "toolchain dependency cross translation", but it is much easier to just drop the redundant dependency. After doing so, jack-capture cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru jack-capture-0.9.73/debian/changelog jack-capture-0.9.73/debian/changelog --- jack-capture-0.9.73/debian/changelog2017-06-27 14:22:21.0 +0200 +++ jack-capture-0.9.73/debian/changelog2017-08-25 07:13:17.0 +0200 @@ -1,3 +1,10 @@ +jack-capture (0.9.73-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Drop implicitly satisfied binutils build dependency. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 25 Aug 2017 07:13:17 +0200 + jack-capture (0.9.73-2) unstable; urgency=medium * Fix build on mips and mipsel. diff --minimal -Nru jack-capture-0.9.73/debian/control jack-capture-0.9.73/debian/control --- jack-capture-0.9.73/debian/control 2017-06-27 14:13:49.0 +0200 +++ jack-capture-0.9.73/debian/control 2017-08-25 07:13:15.0 +0200 @@ -6,7 +6,6 @@ JaromÃr MikeÅ¡ <mira.mi...@seznam.cz>, Adrian Knoth <a...@drcomp.erfurt.thur.de> Build-Depends: - binutils, debhelper (>= 10), libgtk2.0-dev, libjack-dev | libjack-jackd2-dev, ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#873161: zita-convolver FTCBFS: binutils dependency unsatisfiable, uses build architecture compiler
Source: zita-convolver Version: 3.1.0-5 Tags: patch User: helm...@debian.org Usertags: rebootstrap zita-convolver fails to cross build from source for multiple reasons: * Its binutils build-dependency (host architecture) conflicts with the binutils dependncy from build-essential. In theory, we'd have to apply "toolchain dependency cross translation", but it is much easier to simply drop the redundant dependency. * The upstream Makefile hard codes g++ (build architecture compiler). After fixing both issues, zita-convolver cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru zita-convolver-3.1.0/debian/changelog zita-convolver-3.1.0/debian/changelog --- zita-convolver-3.1.0/debian/changelog 2016-12-27 13:53:40.0 +0100 +++ zita-convolver-3.1.0/debian/changelog 2017-08-25 07:27:37.0 +0200 @@ -1,3 +1,12 @@ +zita-convolver (3.1.0-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) +* Drop implicitly satisfied binutils build dependency. ++ Make g++ substitutable in Makefile. + + -- Helmut Grohne <hel...@subdivi.de> Fri, 25 Aug 2017 07:27:37 +0200 + zita-convolver (3.1.0-5) unstable; urgency=medium * Set dh/compat 10. diff --minimal -Nru zita-convolver-3.1.0/debian/control zita-convolver-3.1.0/debian/control --- zita-convolver-3.1.0/debian/control 2016-12-27 13:53:30.0 +0100 +++ zita-convolver-3.1.0/debian/control 2017-08-25 07:27:25.0 +0200 @@ -6,7 +6,6 @@ Free Ekanayaka <fr...@debian.org>, JaromÃr MikeÅ¡ <mira.mi...@seznam.cz> Build-Depends: - binutils, debhelper (>= 10), libfftw3-dev (>= 3.1.2-3.1) Standards-Version: 3.9.8 diff --minimal -Nru zita-convolver-3.1.0/debian/patches/makefile.patch zita-convolver-3.1.0/debian/patches/makefile.patch --- zita-convolver-3.1.0/debian/patches/makefile.patch 2012-09-01 12:25:45.0 +0200 +++ zita-convolver-3.1.0/debian/patches/makefile.patch 2017-08-25 07:27:37.0 +0200 @@ -34,7 +34,16 @@ LDLFAGS += LDLIBS += +@@ -47,7 +46,7 @@ + + + $(ZITA-CONVOLVER_MIN):$(ZITA-CONVOLVER_O) +- g++ -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP) ++ $(CXX) -shared $(LDFLAGS) -Wl,-soname,$(ZITA-CONVOLVER_MAJ) -o $(ZITA-CONVOLVER_MIN) $(ZITA-CONVOLVER_O) $(ZITA-CONVOLVER_DEP) + + + install: $(ZITA-CONVOLVER_MIN) @@ -55,8 +54,8 @@ install: $(ZITA-CONVOLVER_MIN) install -d $(DESTDIR)$(PREFIX)/$(LIBDIR) install -m 644 $(ZITA-CONVOLVER_H) $(DESTDIR)$(PREFIX)/include install -m 755 $(ZITA-CONVOLVER_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR) ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#873601: jkmeter FTCBFS: binutils build dependency unsatisfiable, hard codes build architecture compiler
Source: jkmeter Version: 0.6.1-4 Tags: patch User: helm...@debian.org Usertags: rebootstrap jkmeter fails to cross build from source for two reasons: * Its explicit build dependency on binutils (host architecture) conflicts with its implicit dependency via build-essential (build architecture). In theory, one would do "toolchain dependency cross translation here", but dropping the redundant dependency is easier. * The upstream Makefile hard codes the build architecture compiler g++. After fixing both issues, jkmeter cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru jkmeter-0.6.1/debian/changelog jkmeter-0.6.1/debian/changelog --- jkmeter-0.6.1/debian/changelog 2016-12-22 20:58:40.0 +0100 +++ jkmeter-0.6.1/debian/changelog 2017-08-29 14:36:28.0 +0200 @@ -1,3 +1,12 @@ +jkmeter (0.6.1-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) ++ Drop implicitly satisfied build dependency on binutils. ++ Make g++ substitutable in source/Makefile. + + -- Helmut Grohne <hel...@subdivi.de> Tue, 29 Aug 2017 14:36:28 +0200 + jkmeter (0.6.1-4) unstable; urgency=medium [ Alessio Treglia ] diff --minimal -Nru jkmeter-0.6.1/debian/control jkmeter-0.6.1/debian/control --- jkmeter-0.6.1/debian/control2016-12-22 20:58:04.0 +0100 +++ jkmeter-0.6.1/debian/control2017-08-29 14:36:27.0 +0200 @@ -6,7 +6,6 @@ Free Ekanayaka <fr...@debian.org>, JaromÃr MikeÅ¡ <mira.mi...@seznam.cz> Build-Depends: - binutils, debhelper (>= 10), libclthreads-dev (>= 2.4.0), libclxclient-dev (>= 3.9.0), diff --minimal -Nru jkmeter-0.6.1/debian/patches/01-makefile.patch jkmeter-0.6.1/debian/patches/01-makefile.patch --- jkmeter-0.6.1/debian/patches/01-makefile.patch 2013-04-03 04:50:57.0 +0200 +++ jkmeter-0.6.1/debian/patches/01-makefile.patch 2017-08-29 14:36:28.0 +0200 @@ -1,13 +1,14 @@ Description: Put DESTDIR before PREFIX to set the installation path properly. Set prefix properly and removed -march=native cpp flag + Make g++ substitutable Author: JaromÃr MikeÅ¡ <mira.mi...@seznam.cz> Author: Alessio Treglia <ales...@debian.org> Forwarded: Fons Adriaensen <f...@kokkinizita.net> Index: jkmeter/source/Makefile === --- jkmeter.orig/source/Makefile 2011-08-03 02:45:40.420992633 +0200 +++ jkmeter/source/Makefile2011-08-03 02:46:35.887176814 +0200 @@ -19,14 +19,14 @@ # - @@ -26,3 +27,12 @@ all: jkmeter +@@ -40,7 +40,7 @@ + jkmeter: LDFLAGS += -L/usr/X11R6/lib + jkmeter: LDFLAGS += -pthread + jkmeter: $(JKMETER_O) +- g++ $(LDFLAGS) -o $@ $(JKMETER_O) $(LDLIBS) ++ $(CXX) $(LDFLAGS) -o $@ $(JKMETER_O) $(LDLIBS) + + $(JKMETER_O): + -include $(JKMETER_O:%.o=%.d) ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#882972: invada-studio-plugins FTCBFS: uses the build architecture linker
Source: invada-studio-plugins Version: 0.3.1-4 Tags: patch User: helm...@debian.org Usertags: rebootstrap invada-studio-plugins fails to cross build from source, because its Makefile uses the not so standard variable LD with a default of gcc for linking. Unlike CC, this variable is not substituted by dh_auto_build. After substituting it as well, invada-studio-plugins cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru invada-studio-plugins-0.3.1/debian/changelog invada-studio-plugins-0.3.1/debian/changelog --- invada-studio-plugins-0.3.1/debian/changelog2016-12-19 19:01:10.0 +0100 +++ invada-studio-plugins-0.3.1/debian/changelog2017-11-28 06:09:59.0 +0100 @@ -1,3 +1,10 @@ +invada-studio-plugins (0.3.1-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Override gcc set in LD. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 28 Nov 2017 06:09:59 +0100 + invada-studio-plugins (0.3.1-4) unstable; urgency=medium * Set dh/compat 10. diff --minimal -Nru invada-studio-plugins-0.3.1/debian/rules invada-studio-plugins-0.3.1/debian/rules --- invada-studio-plugins-0.3.1/debian/rules2016-12-19 19:01:10.0 +0100 +++ invada-studio-plugins-0.3.1/debian/rules2017-11-28 06:09:57.0 +0100 @@ -7,5 +7,8 @@ %: dh $@ +override_dh_auto_build: + dh_auto_build -- 'LD=$$(CC)' + override_dh_auto_install: $(MAKE) install INSTALL_PLUGINS_DIR=$(CURDIR)/debian/invada-studio-plugins-ladspa/usr/lib/ladspa INSTALL_LRDF_DIR=$(CURDIR)/debian/invada-studio-plugins-ladspa/usr/share/ladspa/rdf ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#883280: pd-libdir FTCBFS: uses the build architecture strip on host architecture objects
Source: pd-libdir Version: 1.11-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap pd-libdir fails to cross build from source, because it uses the build architecture strip on host architecture objects. Using the correct strip fixes the build. Please consider applying the attached patch. Helmut diff --minimal -Nru pd-libdir-1.11/debian/changelog pd-libdir-1.11/debian/changelog --- pd-libdir-1.11/debian/changelog 2017-08-22 18:02:20.0 +0200 +++ pd-libdir-1.11/debian/changelog 2017-12-01 16:16:47.0 +0100 @@ -1,3 +1,10 @@ +pd-libdir (1.11-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use the host architecture strip. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 01 Dec 2017 16:16:47 +0100 + pd-libdir (1.11-1) unstable; urgency=medium * New upstream version 1.11 diff --minimal -Nru pd-libdir-1.11/debian/rules pd-libdir-1.11/debian/rules --- pd-libdir-1.11/debian/rules 2017-08-22 18:02:20.0 +0200 +++ pd-libdir-1.11/debian/rules 2017-12-01 16:16:46.0 +0100 @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + LIBRARY_NAME = libdir PACKAGE = pd-$(LIBRARY_NAME) pkglibdir = /usr/lib/pd/extra @@ -30,7 +32,7 @@ override_dh_strip: dh_strip find $(CURDIR)/debian/$(PACKAGE) -name "*.pd_linux" -exec \ - strip \ + $(DEB_HOST_GNU_TYPE)-strip \ --remove-section=.comment \ --remove-section=.note \ --strip-unneeded \ ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#883478: ste-plugins FTCBFS: uses the build architecture compiler as linker
Source: ste-plugins Version: 0.0.2-5 Tags: patch User: helm...@debian.org Usertags: rebootstrap ste-plugins fails to cross build from source, because the Makefile hard codes g++ as the linker command. After making it substitutable, ste-plugins cross builds successfully as dh_auto_build passes cross tools to make. Please consider applying the attached patch. Helmut diff --minimal -Nru ste-plugins-0.0.2/debian/changelog ste-plugins-0.0.2/debian/changelog --- ste-plugins-0.0.2/debian/changelog 2016-12-26 21:31:33.0 +0100 +++ ste-plugins-0.0.2/debian/changelog 2017-12-04 14:13:30.0 +0100 @@ -1,3 +1,10 @@ +ste-plugins (0.0.2-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Make g++ substitutable. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 04 Dec 2017 14:13:30 +0100 + ste-plugins (0.0.2-5) unstable; urgency=medium * Set dh/compat 10. diff --minimal -Nru ste-plugins-0.0.2/debian/patches/01-destdir.patch ste-plugins-0.0.2/debian/patches/01-destdir.patch --- ste-plugins-0.0.2/debian/patches/01-destdir.patch 2014-02-16 08:55:57.0 +0100 +++ ste-plugins-0.0.2/debian/patches/01-destdir.patch 2017-12-04 14:13:27.0 +0100 @@ -22,7 +22,7 @@ STEREO_O = stereo.o stereo_if.o stereo-plugins.so:$(STEREO_O) - g++ -shared -o $@ $(STEREO_O) -+ g++ $(LDFLAGS) -shared -o $@ $(STEREO_O) ++ $(CXX) $(LDFLAGS) -shared -o $@ $(STEREO_O) stereo.o: ladspaplugin.h stereo.h stereo_if.o: ladspaplugin.h stereo.h ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#883885: snd FTCBFS: debian/rules hard codes the build architecture pkg-config
Source: snd Version: 17.9-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap snd fails to cross build from source, because debian/rules hardcodes the build architecture pkg-config and thus it fails finding libpulse-simple.pc. After switching to the host architecture pkg-config, snd cross builds successfully. Please consider applying the attached patch. Helmut diff --minimal -Nru snd-17.9/debian/changelog snd-17.9/debian/changelog --- snd-17.9/debian/changelog 2017-12-05 16:35:50.0 +0100 +++ snd-17.9/debian/changelog 2017-12-08 21:24:33.0 +0100 @@ -1,3 +1,10 @@ +snd (17.9-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use the right pkg-config. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 08 Dec 2017 21:24:33 +0100 + snd (17.9-1) unstable; urgency=medium * New upstream version 17.9 diff --minimal -Nru snd-17.9/debian/rules snd-17.9/debian/rules --- snd-17.9/debian/rules 2017-12-05 16:35:50.0 +0100 +++ snd-17.9/debian/rules 2017-12-08 21:24:32.0 +0100 @@ -29,10 +29,12 @@ export AUTOHEADER=true +-include /usr/share/dpkg/buildtools.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/autoreconf.mk include /usr/share/cdbs/1/rules/utils.mk +PKG_CONFIG ?= pkg-config DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \ ^(pix/.*\.png|debian/(changelog|copyright(|_hints|_newhints)))$ @@ -76,7 +78,7 @@ # upstream naively (and wrongly) assumes # that they only need to link against "-lpulse-simple" -DEB_MAKE_EXTRA_ARGS_gtk-pulse=AUDIO_LIB="$(shell pkg-config --libs libpulse-simple)" +DEB_MAKE_EXTRA_ARGS_gtk-pulse=AUDIO_LIB="$(shell $(PKG_CONFIG) --libs libpulse-simple)" ## append any extra args for make DEB_MAKE_EXTRA_ARGS += $(DEB_MAKE_EXTRA_ARGS_$(cdbs_make_curflavor)) ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#886543: qsynth FTCBFS: uses the build architecture qmake
Source: qsynth Version: 0.5.0-1 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap qsynth fails to cross build from source, because it searches for qmake without considering $ac_tool_prefix. After replacing the relevant AC_PATH_PROG with AC_PATH_TOOL, it runs into #886542. Please consider applying the attached patch anyway. Helmut Index: qsynth-0.5.0/configure.ac === --- qsynth-0.5.0.orig/configure.ac +++ qsynth-0.5.0/configure.ac @@ -202,12 +202,12 @@ ac_errmsg="not found in current PATH. Maybe QT development environment isn't available." if test "x$ac_qt4" = "xyes"; then - AC_PATH_PROG(ac_qmake, qmake-qt4, [no], $ac_path) + AC_PATH_TOOL(ac_qmake, qmake-qt4, [no], $ac_path) else - AC_PATH_PROG(ac_qmake, qmake-qt5, [no], $ac_path) + AC_PATH_TOOL(ac_qmake, qmake-qt5, [no], $ac_path) fi if test "x$ac_qmake" = "xno"; then - AC_PATH_PROG(ac_cv_qmake, qmake, [no], $ac_path) + AC_PATH_TOOL(ac_cv_qmake, qmake, [no], $ac_path) ac_qmake=$ac_cv_qmake fi if test "x$ac_qmake" = "xno"; then ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#886754: mcp-plugins FTCBFS: hard codes the build architecture compiler g++
Source: mcp-plugins Version: 0.4.0-5 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap mcp-plugins fails to cross build from source, because the upstream Makefile hard codes the build architecture compiler g++. Please consider applying the attached patch that makes it cross build. Helmut Index: mcp-plugins-0.4.0/Makefile === --- mcp-plugins-0.4.0.orig/Makefile +++ mcp-plugins-0.4.0/Makefile @@ -22,28 +22,28 @@ mvclpf24.so: mvclpf24.o mvclpf24_if.o exp2ap.o - g++ $(LDFLAGS) -shared mvclpf24.o mvclpf24_if.o exp2ap.o -o mvclpf24.so + $(CXX) $(LDFLAGS) -shared mvclpf24.o mvclpf24_if.o exp2ap.o -o mvclpf24.so mvclpf24.o: ladspaplugin.h mvclpf24.h mvclpf24_if.o: ladspaplugin.h mvclpf24.h mvchpf24.so: mvchpf24.o mvchpf24_if.o exp2ap.o - g++ $(LDFLAGS) -shared mvchpf24.o mvchpf24_if.o exp2ap.o -o mvchpf24.so + $(CXX) $(LDFLAGS) -shared mvchpf24.o mvchpf24_if.o exp2ap.o -o mvchpf24.so mvchpf24.o: ladspaplugin.h mvchpf24.h mvchpf24_if.o: ladspaplugin.h mvchpf24.h cs_phaser.so: cs_phaser.o cs_phaser_if.o exp2ap.o - g++ $(LDFLAGS) -shared cs_phaser.o cs_phaser_if.o exp2ap.o -o cs_phaser.so + $(CXX) $(LDFLAGS) -shared cs_phaser.o cs_phaser_if.o exp2ap.o -o cs_phaser.so cs_phaser.o: ladspaplugin.h cs_phaser.h cs_phaser_if.o: ladspaplugin.h cs_phaser.h cs_chorus.so: cs_chorus.o cs_chorus_if.o exp2ap.o - g++ $(LDFLAGS) -shared cs_chorus.o cs_chorus_if.o exp2ap.o -o cs_chorus.so + $(CXX) $(LDFLAGS) -shared cs_chorus.o cs_chorus_if.o exp2ap.o -o cs_chorus.so cs_chorus.o: ladspaplugin.h cs_chorus.h cs_chorus_if.o: ladspaplugin.h cs_chorus.h ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#887440: vlc FTCBFS: python3 build-dependency not installable
Source: vlc Version: 3.0.0~rc5-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap vlc fails to cross build from source, because installing its Build-Depends fails. It lists python3 in Build-Depends and by default that means the host architecture python3. It cannot be installed nor executed, but vlc really needs an executable python3, i.e. the one for the build architecture. Getting it is a matter of annotating the dependency with :native (or :any if you prefer). The attached patch does that. Please consider applying it. After applying it, the Build-Depends still fail to install, because libsmbclient-dev is not installable for foreign architectures. This issue is tracked as #862338 and #878612. My patch is orthogonal. Even though vlc will not cross build from source, please close this bug when fixing the python3 dependency. Helmut diff --minimal -Nru vlc-3.0.0~rc5/debian/changelog vlc-3.0.0~rc5/debian/changelog --- vlc-3.0.0~rc5/debian/changelog 2018-01-11 19:41:02.0 +0100 +++ vlc-3.0.0~rc5/debian/changelog 2018-01-16 15:35:52.0 +0100 @@ -1,3 +1,10 @@ +vlc (3.0.0~rc5-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Annotate Build-Depends: python3 with :native. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 16 Jan 2018 15:35:52 +0100 + vlc (3.0.0~rc5-1) unstable; urgency=medium * New upstream release candidate. diff --minimal -Nru vlc-3.0.0~rc5/debian/control vlc-3.0.0~rc5/debian/control --- vlc-3.0.0~rc5/debian/control2018-01-11 19:41:02.0 +0100 +++ vlc-3.0.0~rc5/debian/control2018-01-16 15:35:50.0 +0100 @@ -126,7 +126,7 @@ oss4-dev [kfreebsd-any], pkg-config, protobuf-compiler, - python3, + python3:native, qtbase5-dev (>= 5.6), qtbase5-private-dev (>= 5.6), wayland-protocols [linux-any], ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#888762: lv2.pc cannot be found during cross compilation
Package: lv2-dev Version: 1.14.0~dfsg1-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:yoshimi yoshimi fails to cross build from source, because it cannot find lv2.pc. During cross compilation, pkg-config does not search /usr/lib/pkgconfig. One needs to move .pc files to /usr/lib//pkgconfig. The attached patch minimally implements that. Please consider applying it or passing a multiarch --libdir to waf. Helmut diff --minimal -Nru lv2-1.14.0~dfsg1/debian/changelog lv2-1.14.0~dfsg1/debian/changelog --- lv2-1.14.0~dfsg1/debian/changelog 2016-09-22 13:20:16.0 +0200 +++ lv2-1.14.0~dfsg1/debian/changelog 2018-01-29 16:36:49.0 +0100 @@ -1,3 +1,10 @@ +lv2 (1.14.0~dfsg1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Move .pc files to a multiarch directory. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 29 Jan 2018 16:36:49 +0100 + lv2 (1.14.0~dfsg1-1) unstable; urgency=medium * New upstream version 1.14.0~dfsg1 diff --minimal -Nru lv2-1.14.0~dfsg1/debian/rules lv2-1.14.0~dfsg1/debian/rules --- lv2-1.14.0~dfsg1/debian/rules 2016-09-22 13:20:16.0 +0200 +++ lv2-1.14.0~dfsg1/debian/rules 2018-01-29 16:36:47.0 +0100 @@ -1,6 +1,8 @@ #!/usr/bin/make -f # -*- makefile -*- +include /usr/share/dpkg/architecture.mk + upstream_version ?= $(shell dpkg-parsechangelog | sed -rne 's/^Version: ([0-9.]+)(\+dfsg\d+)?.*$$/\1/p') dfsg_version = $(upstream_version)~dfsg1 pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p') @@ -35,6 +37,9 @@ for plugin in `cat debian/lv2-examples.install`; do \ rm -rf debian/lv2-dev/$$plugin ; \ done + # move .pc files to a multiarch directory + mkdir debian/lv2-dev/usr/lib/$(DEB_HOST_MULTIARCH) + mv debian/lv2-dev/usr/lib/pkgconfig debian/lv2-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig override_dh_installchangelogs: dh_installchangelogs NEWS ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#890368: wah-plugins FTCBFS: upstream Makefile hard codes the build architecture compiler for linking
Source: wah-plugins Version: 0.1.0-4 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap wah-plugins fails to cross build from source, because the upstream Makefile hard codes the build architecture compiler for linking. After making it substitutable, it cross builds successfully. Please consider applying the attached patch. Helmut Index: wah-plugins-0.1.0/Makefile === --- wah-plugins-0.1.0.orig/Makefile +++ wah-plugins-0.1.0/Makefile @@ -33,7 +33,7 @@ WAHPLUGINS_H = ladspaplugin.h autowah.h autowah.so: $(WAHPLUGINS_O) - g++ -shared $(LDFLAGS) -o autowah.so $(WAHPLUGINS_O) + $(CXX) -shared $(LDFLAGS) -o autowah.so $(WAHPLUGINS_O) $(WAHPLUGINS_O): $(WAHPLUGINS_H) ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#886137: easytag should not use gdk-pixbuf-pixdata
Source: easytag Version: 2.4.3-1 Tags: upstream patch User: helm...@debian.org Usertags: rebootstrap gdk-pixbuf-pixdata is deprecated: https://bugzilla.gnome.org/show_bug.cgi?id=776004 https://git.gnome.org//browse/gdk-pixbuf/tree/NEWS#n96 easytag uses it. By doing so it fails cross compilation with an "Exec format error". The attached patch removes the use and makes easytag cross build successfully. Please consider applying it. Helmut Index: easytag-2.4.3/data/org.gnome.EasyTAG.gresource.xml === --- easytag-2.4.3.orig/data/org.gnome.EasyTAG.gresource.xml +++ easytag-2.4.3/data/org.gnome.EasyTAG.gresource.xml @@ -15,19 +15,19 @@ search_dialog.ui tag_area.ui toolbar.ui -images/all-lowercase.png -images/all-uppercase.png -images/artist-album.png -images/artist.png -images/first-letter-uppercase.png -images/first-letter-uppercase-word.png -images/freedb.png -images/gnudb.png -images/invert-selection.png -images/mask.png -images/musicbrainz.png -images/red-lines.png -images/sequence-track.png -images/unselect-all.png +images/all-lowercase.png +images/all-uppercase.png +images/artist-album.png +images/artist.png +images/first-letter-uppercase.png +images/first-letter-uppercase-word.png +images/freedb.png +images/gnudb.png +images/invert-selection.png +images/mask.png +images/musicbrainz.png +images/red-lines.png +images/sequence-track.png +images/unselect-all.png ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#895177: invada-studio-plugins-lv2 FTCBFS: uses build architecture build tools
Source: invada-studio-plugins-lv2 Version: 1.2.0+repack0-8 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap invada-studio-plugins-lv2 fails to cross build from source, because it uses some build architecture build tools. Notably, it hard codes the build architecture pkg-config in the upstream build system. Then it uses the build architecture compiler as the value for LD. The former is easily fixed by making it overridable (and dh_auto_build passes that). For LD, it is already indirected through a variable, but dh_auto_build cannot know the right value as for some packages it needs to be a C++ linker. So it is best to default LD from CC or CXX respectively. The attached patch implements all of that and makes invada-studio-plugins-lv2 cross build successfully. Please consider applying it. Helmut Index: invada-studio-plugins-lv2-1.2.0+repack0/plugin/Makefile === --- invada-studio-plugins-lv2-1.2.0+repack0.orig/plugin/Makefile +++ invada-studio-plugins-lv2-1.2.0+repack0/plugin/Makefile @@ -20,7 +20,7 @@ # GENERAL CC = gcc -LD = gcc +LD = $(CC) CFLAGS += -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC LDFLAGS += -shared -Llibrary -lc -lm -linv_common -fPIC -DPIC Index: invada-studio-plugins-lv2-1.2.0+repack0/plugingui/Makefile === --- invada-studio-plugins-lv2-1.2.0+repack0.orig/plugingui/Makefile +++ invada-studio-plugins-lv2-1.2.0+repack0/plugingui/Makefile @@ -20,9 +20,10 @@ # GENERAL CC = gcc -LD = gcc -CFLAGS += -I. `pkg-config --cflags cairo gtk+-2.0` -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC -LDFLAGS += -shared -Lwidgets -L../plugin/library -lc -lm -linv_widgets -linv_common `pkg-config --libs cairo gtk+-2.0` -fPIC -DPIC +LD = $(CC) +PKG_CONFIG ?= pkg-config +CFLAGS += -I. `$(PKG_CONFIG) --cflags cairo gtk+-2.0` -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC +LDFLAGS += -shared -Lwidgets -L../plugin/library -lc -lm -linv_widgets -linv_common `$(PKG_CONFIG) --libs cairo gtk+-2.0` -fPIC -DPIC GUIS = inv_compressor_gui.so \ Index: invada-studio-plugins-lv2-1.2.0+repack0/plugingui/widgets/Makefile === --- invada-studio-plugins-lv2-1.2.0+repack0.orig/plugingui/widgets/Makefile +++ invada-studio-plugins-lv2-1.2.0+repack0/plugingui/widgets/Makefile @@ -19,8 +19,9 @@ # GENERAL CC = gcc +PKG_CONFIG ?= pkg-config LD = ld -CFLAGS = -I. `pkg-config --cflags gtk+-2.0` -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC +CFLAGS = -I. `$(PKG_CONFIG) --cflags gtk+-2.0` -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
Bug#893926: mark projectm-data Multi-Arch: foreign
Package: projectm-data Version: 2.1.0+dfsg-4 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:clementine src:qmmp The affected packages fail to cross build from source, because their transitive dependency on projectm-data is unsatisfiable. In general, Architecture: all packages can never satisfy cross Build-Depends unless marked Multi-Arch: foreign. In this case, such a marking is correct, because projectm-data is a data package without any dependencies or maintainer scripts. Please consider applying the attached patch. Helmut diff --minimal -Nru projectm-2.1.0+dfsg/debian/changelog projectm-2.1.0+dfsg/debian/changelog --- projectm-2.1.0+dfsg/debian/changelog2016-07-28 23:25:07.0 +0200 +++ projectm-2.1.0+dfsg/debian/changelog2018-03-23 20:54:13.0 +0100 @@ -1,3 +1,10 @@ +projectm (2.1.0+dfsg-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark projectm-data Multi-Arch: foreign. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 23 Mar 2018 20:54:13 +0100 + projectm (2.1.0+dfsg-4) unstable; urgency=medium * Acknowledge NMU diff --minimal -Nru projectm-2.1.0+dfsg/debian/control projectm-2.1.0+dfsg/debian/control --- projectm-2.1.0+dfsg/debian/control 2016-07-28 23:12:18.0 +0200 +++ projectm-2.1.0+dfsg/debian/control 2018-03-23 20:53:51.0 +0100 @@ -57,6 +57,7 @@ Package: projectm-data Architecture: all +Multi-Arch: foreign Section: libs Replaces: libprojectm-data (<< 2.0.1) Breaks: libprojectm-data (<< 2.0.1) ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers