Bug#886603: libgig: FTBFS: fatal error: linux/cdrom.h: No such file or directory
Hello, Aaron M. Ucko, on dim. 07 janv. 2018 21:08:58 -0500, wrote: > Akai.h:56:11: fatal error: linux/cdrom.h: No such file or directory > > If you can get libgig to work reasonably well on either or both > architectures without this header, please do so. Note that they have a sys/cdrom.h which should fit most needs. Samuel ___ 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#765578: vlc: FTBFS on Hurd
Hello, The attached commits were applied upstream, could you cherry-pick them? Thanks, Samuel commit 8d99c0fe7d38297aedd336d8712380e8311ba554 Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Tue Apr 26 20:18:37 2016 +0200 the Hurd also uses the .so extension for libraries Signed-off-by: Rémi Denis-Courmont <r...@remlab.net> diff --git a/extras/analyser/zsh_completion.sh b/extras/analyser/zsh_completion.sh index a380a90..156b4d9 100755 --- a/extras/analyser/zsh_completion.sh +++ b/extras/analyser/zsh_completion.sh @@ -11,7 +11,7 @@ case $HOST in *cygwin*|*mingw*) SUFFIX=dll ;; -*linux*|*bsd*) +*linux*|*bsd*|*gnu*) SUFFIX=so ;; *) commit daa50fbf8e7d009ff1b224bdc06c7f68dfd61eaf Author: Samuel Thibault <samuel.thiba...@ens-lyon.org> Date: Wed Apr 27 13:47:13 2016 +0200 Fix Hurd build theme_loader.cpp contains an unconditional use of PATH_MAX, which is not defined on GNU/Hurd to avoid imposing build-time limits. This change replaces its use with dynamic allocation of the required size. Signed-off-by: Rémi Denis-Courmont <r...@remlab.net> diff --git a/modules/gui/skins2/src/theme_loader.cpp b/modules/gui/skins2/src/theme_loader.cpp index 1ec1dfc..b4cf7e8 100644 --- a/modules/gui/skins2/src/theme_loader.cpp +++ b/modules/gui/skins2/src/theme_loader.cpp @@ -549,7 +549,9 @@ int tar_extract_all( TAR *t, char *prefix ) union tar_buffer buffer; int len, err, getheader = 1, remaining = 0; FILE *outfile = NULL; -char fname[BLOCKSIZE + PATH_MAX]; +long path_max = pathconf (".", _PC_PATH_MAX); +size_t maxsize = (path_max == -1 || path_max > 4096) ? 4096 : path_max; +char fname[BLOCKSIZE + maxsize]; while( 1 ) { @@ -583,7 +585,7 @@ int tar_extract_all( TAR *t, char *prefix ) break; } -sprintf( fname, "%s/%s", prefix, buffer.header.name ); +snprintf( fname, sizeof(fname), "%s/%s", prefix, buffer.header.name ); /* Check magic value in header */ if( strncmp( buffer.header.magic, "GNUtar", 6 ) && ___ 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#765578: vlc: FTBFS on Hurd
Control: tags -1 - wontfix Control: tags -1 + patch Hello, We still can't the whole KDE world on hurd-i386 because of vlc not building, while the remaining proposed patches should really not pose problem (the controversial part was fixed in glibc). FTR, here are again the proposed patches: - hurd_path_max.patch: fixes an occurrence of PATH_MAX the exactly same way as it is arealdy done in src/posix/filesystem.c - hurd_zsh_completion.patch: just tell zsh_completion that the library suffix is .so on GNU/Hurd too. I don't see anything that can be controversial here, could you *please* apply them, so we can move on? Samuel Description: Replace PATH_MAX, unsupported on Hurd, with fixed size as in src/posix/filesystem.c Author: Gabriele Giacone <1o5g4...@gmail.com> --- a/modules/gui/skins2/src/theme_loader.cpp +++ b/modules/gui/skins2/src/theme_loader.cpp @@ -509,7 +509,10 @@ int tar_extract_all( TAR *t, char *prefi union tar_buffer buffer; int len, err, getheader = 1, remaining = 0; FILE *outfile = NULL; -char fname[BLOCKSIZE + PATH_MAX]; + +long path_max = pathconf (".", _PC_PATH_MAX); +size_t maxsize = (path_max == -1 || path_max > 4096) ? 4096 : path_max; +char fname[BLOCKSIZE + maxsize]; while( 1 ) { --- a/extras/analyser/zsh_completion.sh.orig2015-08-28 21:34:50.0 + +++ b/extras/analyser/zsh_completion.sh 2015-08-28 21:35:10.0 + @@ -13,7 +13,7 @@ *cygwin*|*mingw*) SUFFIX=dll ;; -*linux*|*bsd*) +*linux*|*bsd*|*gnu*) SUFFIX=so ;; *) ___ 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#797207: vlc: FTBFS in sid with newer libdvdread-dev
Package: vlc Version: 2.2.1-2+b2 Severity: serious Justification: FTBFS Hello, vlc currently FTBFS in sid where there is a newer libdvdread-dev: access/dvdnav.c:471:12: error: unknown type name 'dvdnav_stream_cb' static dvdnav_stream_cb stream_cb = There is indeed no such thing in libdvdread. This code is conditioned by HAVE_DVDNAV_DEMUX, which is enabled at the top of dvdnav.c: #if DVDREAD_VERSION = 50300 #define HAVE_DVDNAV_DEMUX static int DemuxOpen ( vlc_object_t * ); #endif and thus got activated with libdvdread-dev = 5.0.3. Maybe the version in the test is wrong? Samuel -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages vlc depends on: ii fonts-freefont-ttf 20120503-4 ii libaa1 1.4p5-43 ii libavcodec-ffmpeg56 7:2.7.2-1 ii libavutil-ffmpeg54 7:2.7.2-1 ii libc6 2.19-19 ii libcaca00.99.beta19-2 ii libcairo2 1.14.2-2 ii libegl1-mesa [libegl1-x11] 10.6.3-1 ii libfreerdp-client1.11.1.0~git20140921.1.440916e+dfsg1-5 ii libfreerdp-core1.1 1.1.0~git20140921.1.440916e+dfsg1-5 ii libfreerdp-gdi1.1 1.1.0~git20140921.1.440916e+dfsg1-5 ii libfreetype62.5.2-4 ii libfribidi0 0.19.7-1 ii libgcc1 1:5.1.1-14 ii libgl1-mesa-glx [libgl1]10.6.3-1 ii libgles1-mesa [libgles1]10.6.3-1 ii libgles2-mesa [libgles2]10.6.3-1 ii libglib2.0-02.44.1-1.1 ii libpulse0 6.0-5 ii libqt5core5a5.4.2+dfsg-5 ii libqt5gui5 5.4.2+dfsg-5 ii libqt5widgets5 5.4.2+dfsg-5 ii libqt5x11extras55.4.2-2+b1 ii librsvg2-2 2.40.10-1 ii libsdl-image1.2 1.2.12-5+b5 ii libsdl1.2debian 1.2.15-11 ii libstdc++6 5.1.1-14 ii libva-drm1 1.6.0-1 ii libva-x11-1 1.6.0-1 ii libva1 1.6.0-1 ii libvlccore8 2.2.1-2+b2 ii libvncclient1 0.9.10+dfsg-3 ii libx11-62:1.6.3-1 ii libxcb-composite0 1.10-3+b1 ii libxcb-keysyms1 0.4.0-1 ii libxcb-randr0 1.10-3+b1 ii libxcb-shm0 1.10-3+b1 ii libxcb-xv0 1.10-3+b1 ii libxcb1 1.10-3+b1 ii libxext62:1.3.3-1 ii libxinerama12:1.1.3-1+b1 ii libxpm4 1:3.5.11-1+b1 ii vlc-nox 2.2.1-2+b2 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages vlc recommends: ii vlc-plugin-notify 2.2.1-2+b2 ii vlc-plugin-samba 2.2.1-2+b2 ii xdg-utils 1.1.0~rc1+git20111210-7.4 Versions of packages vlc suggests: pn videolan-doc none Versions of packages vlc-nox depends on: ii liba52-0.7.4 0.7.4-18 ii libasound2 1.0.29-1 ii libass50.12.3-2 ii libavahi-client3 0.6.31-5 ii libavahi-common3 0.6.31-5 ii libavc1394-0 0.5.4-2 ii libavcodec-ffmpeg567:2.7.2-1 ii libavformat-ffmpeg56 7:2.7.2-1 ii libavutil-ffmpeg54 7:2.7.2-1 ii libbasicusageenvironment0 2014.01.13-1 ii libbluray1 1:0.8.1-1 ii libc6 2.19-19 ii libcddb2 1.3.2-5 ii libcdio13 0.83-4.2 ii libchromaprint01.2-1+b1 ii libcrystalhd3 1:0.0~git20110715.fdd2f19-11+b1 ii libdbus-1-31.8.20-1 ii libdc1394-22 2.2.3-1 ii libdca00.0.5-7 ii libdirectfb-1.2-9 1.2.10.0-5.1 ii libdvbpsi101.3.0-2 ii libdvdnav4 5.0.1-4 ii libdvdread45.0.0-1 ii libebml4 1.3.1-3 ii libfaad2 2.8.0~cvs20150510-1 ii libflac8 1.3.1-2 ii libfontconfig1 2.11.0-6.3 ii libfreetype6 2.5.2-4 ii libfribidi00.19.7-1 ii libgcc11:5.1.1-14 ii libgcrypt201.6.3-2 ii libgnutls-deb0-28 3.3.17-1 ii libgpg-error0 1.19-2 ii libgroupsock1 2014.01.13-1 ii libjpeg62-turbo1:1.4.1-1 ii libkate1 0.4.1-4 ii liblircclient0 0.9.0~pre1-1.2 ii liblivemedia23 2014.01.13-1 ii liblua5.2-05.2.4-1 ii libmad00.15.1b-8 ii libmatroska6
Bug#765578: vlc: FTBFS on Hurd
Hello, Gabriele Giacone, le Thu 16 Oct 2014 13:34:48 +0200, a écrit : + Reintroduce hurd.patch, see #742183. I have had a closer look, dropping _POSIX_CLOCK_SELECTION in glibc should not break existing builds, so I'm fine with patching that in glibc. + Add hurd-path_max.patch, replacing unsupported PATH_MAX. This however still needs to be applied for vlc to build on hurd-any, I have attached it to this mail again. There is also a small missing bit in zsh_completion.sh, see attached patch (otherwise it just loops over trying to find libraries). (Basically the whole kde-runtime is waiting for this to be fixed). Samuel Description: Replace PATH_MAX, unsupported on Hurd, with fixed size as in src/posix/filesystem.c Author: Gabriele Giacone 1o5g4...@gmail.com --- a/modules/gui/skins2/src/theme_loader.cpp +++ b/modules/gui/skins2/src/theme_loader.cpp @@ -509,7 +509,10 @@ int tar_extract_all( TAR *t, char *prefi union tar_buffer buffer; int len, err, getheader = 1, remaining = 0; FILE *outfile = NULL; -char fname[BLOCKSIZE + PATH_MAX]; + +long path_max = pathconf (., _PC_PATH_MAX); +size_t maxsize = (path_max == -1 || path_max 4096) ? 4096 : path_max; +char fname[BLOCKSIZE + maxsize]; while( 1 ) { --- zsh_completion.sh.orig 2015-08-28 21:34:50.0 + +++ zsh_completion.sh 2015-08-28 21:35:10.0 + @@ -13,7 +13,7 @@ *cygwin*|*mingw*) SUFFIX=dll ;; -*linux*|*bsd*) +*linux*|*bsd*|*gnu*) SUFFIX=so ;; *) ___ 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#765578: vlc: FTBFS on Hurd
Gabriele Giacone, le Thu 16 Oct 2014 13:34:48 +0200, a écrit : * Remove hurd.patch, because this is a bug in Hurd and not in VLC. + Reintroduce hurd.patch, see #742183. Well, if the maintainer removed the patch, I guess that's because he doesn't want to keep it, so another solution would have to be found. Samuel ___ 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#745224: stretchplayer: FTBFS due to version of cmake
Source: stretchplayer Version: 0.503-2 Severity: serious Justification: FTBFS Hello, This package currently FTBFS on !linux ports, see for instance https://buildd.debian.org/status/fetch.php?pkg=stretchplayerarch=kfreebsd-i386ver=0.503-2stamp=1303927827 CMake Error at src/CMakeLists.txt:24 (INCLUDE): include could not find load file: /usr/include uh? Samuel -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.14.0 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- Samuel Je suis maintenant possesseur d'un ordinateur portable Compaq Armada 1592DT avec port infra-rouge. Auriez-vous connaissance de programmes suceptibles d'utiliser ce port afin de servir de télécommande ? -+- JN in NPC : ben quoi, c'est pas à ça que ça sert ? ___ 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#712878: brp-pacu: FTBFS on buildds
Package: brp-pacu Version: 2.1.1+git20111020-2 Severity: serious Hello, brp-pacu currently build-depends on libgtkdatabox-dev which is a virtual package provided by both libgtkdatabox-0.9.1-1-dev and libgtkdatabox-0.9.2-0-dev. Buildds do not choose between either, you have to tell which one should be preferred, by using for instance: libgtkdatabox-0.9.2-0-dev | libgtkdatabox-dev so that buildds will pick up libgtkdatabox-0.9.2-0-dev even if it will still be allowed to build by hand against libgtkdatabox-0.9.1-1-dev. Samuel -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.9.0 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- Samuel * x remarque qu'avec un peu de volonté, on peut faire du code de porc dans d'importe quel langage Turing-complet -+- x sur #ens-mim - codons porc -+- ___ 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#672824: Bug#673263: Bug#590905: libmysqld-dev: Missing dependency or wrong flags in mysql_config
Rene Engelhard, le Wed 30 May 2012 09:41:28 +0200, a écrit : Samuel, you probably should check all those and clean this up... They all work fine now indeed, closing the remainders. Samuel ___ 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#673381: qjackctl: FTBFS on hurd-i386
Package: qjackctl Version: 0.3.8-1 Severity: important Tags: patch User: debian-...@lists.debian.org Usertags: ftbfs-gcc-4.7 Hello, qjackctl currently FTBFS on hurd-i386, due to the switch to gcc-4.7: qjackctl.cpp:156:7: error: '::gethostname' has not been declared The attached patch fixes it. Apparently Linux is lucky and somehow already includes unistd.h Samuel -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.0.4 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages qjackctl depends on: ii jackd 5 ii libasound21.0.25-2 ii libc6 2.13-32 ii libgcc1 1:4.7.0-7 ii libjack0 [libjack-0.116] 1:0.121.3+20120418git75e3e20b-1 ii libqt4-dbus 4:4.8.1-1 ii libqt4-xml4:4.8.1-1 ii libqtcore44:4.8.1-1 ii libqtgui4 4:4.8.1-1 ii libstdc++64.7.0-7 ii libx11-6 2:1.4.99.901-2 qjackctl recommends no packages. Versions of packages qjackctl suggests: ii pulseaudio-utils 1.1-3.2 -- no debconf information -- Samuel Thibault samuel.thiba...@fnac.net * c is away : cuisine; bouffe y oh, moi je fais plutôt cuisine bouffe en fait :) c oui c'est vrai, certains font cuisine bouffe (juste au cas où... ;-)) y ( cuisine bouffe ) || restau N voire ((cuisine bouffe) || restau) apéritif -+- #ens-mim -+- --- src/qjackctl.cpp.orig 2012-05-18 09:52:28.0 +0200 +++ src/qjackctl.cpp2012-05-18 09:53:12.0 +0200 @@ -23,6 +23,8 @@ #include qjackctlSetup.h #include qjackctlMainForm.h +#include unistd.h + #include QApplication #include QLibraryInfo #include QTranslator ___ 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#672824: mediatomb: FTBFS on sid: checking for mysql_init... no
Package: mediatomb Version: 0.12.1-4 Severity: serious Justification: FTBFS Hello, mediatomb currently FTBFS on sid: checking for mysql_init... no configure: error: unable to configure mysql support I guess this is due to the new mysql version. Samuel -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.4 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- Samuel Thibault samuel.thiba...@fnac.net tohi.cybercable.fr (212.198.0.3) si une personne se reconnait derriere cette adresse que ce soit un pirate ou une victime qu'il se manifeste, cette personne pourrait bien etre un petit malin -+- Fred in NPC : Maman, y a le routeur qui veut me hacker -+- ___ 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#613034: Build ffmpeg on hurd-i386
reopen 613034 thanks Hello, Pino Toscano, le Sat 12 Feb 2011 13:07:10 +0100, a écrit : currently, ffmpeg build-depends on libva-dev, which is not available on hurd-i386 (and not easy to get to compile), so it is not buildable. The proposed patch disables vaapi for hurd-i386, allowing ffmpeg to compile. This is actually still an issue, but some packaging revamping lost the fix, here is an updated patch. Samuel --- a/debian/control +++ b/debian/control @@ -35,7 +35,7 @@ Build-Depends: libopencore-amrnb-dev, libopencore-amrwb-dev, libopenjpeg-dev, - libpulse-dev [!hurd-any], + libpulse-dev, libraw1394-dev [linux-any], librtmp-dev (= 2.2e-4), libschroedinger-dev, @@ -43,7 +43,7 @@ Build-Depends: libspeex-dev, libtheora-dev ( 0.0.0.alpha4), libtiff4-dev | libtiff-dev, - libva-dev, + libva-dev [!hurd-any], libvdpau-dev, libvo-aacenc-dev, libvo-amrwbenc-dev, --- a/debian/confflags +++ b/debian/confflags @@ -97,7 +97,6 @@ confflags += --extra-version='$(DEB_VERS confflags += --arch='$(DEB_HOST_ARCH_CPU)' confflags += --prefix=/usr confflags += --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) -confflags += --enable-vaapi confflags += --enable-vdpau confflags += --enable-bzlib confflags += --enable-frei0r @@ -113,6 +112,7 @@ confflags += --enable-zlib confflags += --enable-libvpx confflags += --enable-runtime-cpudetect confflags += --enable-libfreetype +confflags += --enable-libpulse ifeq ($(DEB_HOST_ARCH),armel) # this is required on Ubuntu lucid as it defaults to thumb2 and Libav has # plenty of incompatible assembly; not sure how to detect that properly @@ -125,8 +125,8 @@ endif confflags += $(extra_common_confflags) -# pulse is not available on the hurd -confflags += $(call cond_enable,/usr/include/pulse/simple.h,libpulse) +# libva is not available on the hurd +confflags += $(call cond_enable,/usr/include/va/va.h,vaapi) # this part below is intended for the 'Libav' package in ubuntu/multiverse gpl_confflags += $(call cond_enable,/usr/include/dirac/libdirac_decoder/dirac_parser.h,libdirac) ___ 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#654974: mplayer: FTBFS on hurd-i386
Source: mplayer Version: 2:1.0~rc4.dfsg1+svn33713-5 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Hello, mplayer currently FTBFS on hurd-i386 due to missing cdparanoia dependency, and unconditional PATH_MAX usage. The attached patch fixes both. Samuel -- System Information: Debian Release: wheezy/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable'), (1, 'experimental') Architecture: hurd-i386 (i686-AT386) Kernel: GNU-Mach 1.3.99/Hurd-0.3 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash --- debian/control.orig 2012-01-07 13:55:04.0 +0100 +++ debian/control 2012-01-07 13:55:16.0 +0100 @@ -24,7 +24,7 @@ libavutil-dev (= 4:0.7~), libbluray-dev, libcaca-dev, - libcdparanoia-dev | libcdparanoia0-dev, + libcdparanoia-dev [!hurd-i386]| libcdparanoia0-dev [!hurd-i386], libdirectfb-dev, libdts-dev, libdvdnav-dev, --- libmenu/menu_filesel.c.orig 2012-01-07 13:10:05.0 + +++ libmenu/menu_filesel.c 2012-01-07 13:13:56.0 + @@ -16,6 +16,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef __GNU__ +#define _GNU_SOURCE +#endif #include stdlib.h #include stdio.h #include dirent.h @@ -418,7 +418,11 @@ static int open_fs(menu_t* menu, char* args) { char *path = mpriv-path; int r = 0; +#ifdef __GNU__ + char *wd, *b = NULL; +#else char wd[PATH_MAX+1], b[PATH_MAX+1]; +#endif args = NULL; // Warning kill menu-draw = menu_list_draw; @@ -447,7 +451,11 @@ } } +#ifdef __GNU__ + wd = get_current_dir_name(); +#else getcwd(wd,PATH_MAX); +#endif if (!path || path[0] == '\0') { #if 0 char *slash = NULL; @@ -466,13 +474,24 @@ path = wd; } if (path[0] != '/') { +#ifdef __GNU__ +if(path[strlen(path)-1] != '/') + asprintf(b,%s/%s/,wd,path); +else + asprintf(b,%s/%s,wd,path); +#else if(path[strlen(path)-1] != '/') snprintf(b,sizeof(b),%s/%s/,wd,path); else snprintf(b,sizeof(b),%s/%s,wd,path); +#endif path = b; } else if (path[strlen(path)-1]!='/') { +#ifdef __GNU__ +asprintf(b,%s/,path); +#else sprintf(b,%s/,path); +#endif path = b; } if (menu_chroot menu_chroot[0] == '/') { @@ -483,13 +502,22 @@ if (menu_chroot[l] == '/') path = menu_chroot; else { +#ifdef __GNU__ +asprintf(b,%s/,menu_chroot); +#else sprintf(b,%s/,menu_chroot); +#endif path = b; } } } r = open_dir(menu,path); +#ifdef __GNU__ + free(wd); + free(b); +#endif + return r; } --- libmpdemux/mf.c.orig2012-01-07 13:22:08.0 + +++ libmpdemux/mf.c 2012-01-07 14:02:13.0 + @@ -16,6 +16,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef __GNU__ +#define _GNU_SOURCE +#endif #include ctype.h #include stdio.h #include stdlib.h @@ -64,8 +67,13 @@ FILE *lst_f=fopen(filename + 1,r); if ( lst_f ) { +#ifdef __GNU__ + fname=NULL; + while ( getline( fname, 0, lst_f ) = 0 ) +#else fname=malloc(PATH_MAX); while ( fgets( fname,PATH_MAX,lst_f ) ) +#endif { /* remove spaces from end of fname */ char *t=fname + strlen( fname ) - 1; @@ -80,6 +88,10 @@ mf-names[mf-nr_of_files]=strdup( fname ); mf-nr_of_files++; } +#ifdef __GNU__ + free( fname ); + fname=NULL; +#endif } fclose( lst_f ); --- stream/stream_bd.c.orig 2012-01-07 13:43:33.0 + +++ stream/stream_bd.c 2012-01-07 14:03:11.0 + @@ -19,6 +19,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef __GNU__ +#define _GNU_SOURCE +#endif + #include stdio.h #include limits.h #include ctype.h @@ -144,7 +148,11 @@ static int find_vuk(struct bd_priv *bd, const uint8_t discid[20]) { char line[1024]; +#ifdef __GNU__ +char *filename; +#else char filename[PATH_MAX]; +#endif const char *home; int vukfound = 0; stream_t *file; @@ -152,13 +160,23 @@ // look up discid in KEYDB.cfg to get VUK home = getenv(HOME); +#ifdef __GNU__ +asprintf(filename, %s/.dvdcss/KEYDB.cfg, home); +#else snprintf(filename, sizeof(filename), %s/.dvdcss/KEYDB.cfg, home); +#endif file = open_stream(filename, NULL, NULL); if (!file) { mp_msg(MSGT_OPEN,MSGL_ERR, Cannot open VUK database file %s\n, filename); +#ifdef __GNU__ +free(filename); +#endif return 0; } +#ifdef __GNU__ +free(filename); +#endif id2str(discid, 20, idstr); while (stream_read_line(file, line, sizeof(line), 0)) { char *vst; @@ -203,23 +221,40 @@ struct AVAES *a; struct AVSHA *asha; stream_t *file; +#ifdef __GNU__ +char *filename; +#else char filename[PATH_MAX]; +#endif uint8_t discid[20]; char idstr[ID_STR_LEN];
Bug#654974: mplayer: FTBFS on hurd-i386
Samuel Thibault, le Sat 07 Jan 2012 15:37:19 +0100, a écrit : mplayer currently FTBFS on hurd-i386 due to missing cdparanoia dependency, and unconditional PATH_MAX usage. The attached patch fixes both. I forgot an important bit: optimization selection should be at runtime too. Samuel --- debian/control.orig 2012-01-07 13:55:04.0 +0100 +++ debian/control 2012-01-07 13:55:16.0 +0100 @@ -24,7 +24,7 @@ libavutil-dev (= 4:0.7~), libbluray-dev, libcaca-dev, - libcdparanoia-dev | libcdparanoia0-dev, + libcdparanoia-dev [!hurd-i386]| libcdparanoia0-dev [!hurd-i386], libdirectfb-dev, libdts-dev, libdvdnav-dev, --- debian/rules.orig 2012-01-07 15:40:47.0 +0100 +++ debian/rules2012-01-07 15:40:49.0 +0100 @@ -66,6 +66,9 @@ ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64) CONFIGURE_FLAGS += --enable-runtime-cpudetection endif +ifeq ($(DEB_HOST_ARCH),hurd-i386) + CONFIGURE_FLAGS += --enable-runtime-cpudetection +endif ifeq ($(DEB_HOST_ARCH),powerpc) CONFIGURE_FLAGS += --enable-runtime-cpudetection endif --- libmenu/menu_filesel.c.orig 2012-01-07 13:10:05.0 + +++ libmenu/menu_filesel.c 2012-01-07 13:13:56.0 + @@ -16,6 +16,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef __GNU__ +#define _GNU_SOURCE +#endif #include stdlib.h #include stdio.h #include dirent.h @@ -418,7 +418,11 @@ static int open_fs(menu_t* menu, char* args) { char *path = mpriv-path; int r = 0; +#ifdef __GNU__ + char *wd, *b = NULL; +#else char wd[PATH_MAX+1], b[PATH_MAX+1]; +#endif args = NULL; // Warning kill menu-draw = menu_list_draw; @@ -447,7 +451,11 @@ } } +#ifdef __GNU__ + wd = get_current_dir_name(); +#else getcwd(wd,PATH_MAX); +#endif if (!path || path[0] == '\0') { #if 0 char *slash = NULL; @@ -466,13 +474,24 @@ path = wd; } if (path[0] != '/') { +#ifdef __GNU__ +if(path[strlen(path)-1] != '/') + asprintf(b,%s/%s/,wd,path); +else + asprintf(b,%s/%s,wd,path); +#else if(path[strlen(path)-1] != '/') snprintf(b,sizeof(b),%s/%s/,wd,path); else snprintf(b,sizeof(b),%s/%s,wd,path); +#endif path = b; } else if (path[strlen(path)-1]!='/') { +#ifdef __GNU__ +asprintf(b,%s/,path); +#else sprintf(b,%s/,path); +#endif path = b; } if (menu_chroot menu_chroot[0] == '/') { @@ -483,13 +502,22 @@ if (menu_chroot[l] == '/') path = menu_chroot; else { +#ifdef __GNU__ +asprintf(b,%s/,menu_chroot); +#else sprintf(b,%s/,menu_chroot); +#endif path = b; } } } r = open_dir(menu,path); +#ifdef __GNU__ + free(wd); + free(b); +#endif + return r; } --- libmpdemux/mf.c.orig2012-01-07 13:22:08.0 + +++ libmpdemux/mf.c 2012-01-07 14:02:13.0 + @@ -16,6 +16,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef __GNU__ +#define _GNU_SOURCE +#endif #include ctype.h #include stdio.h #include stdlib.h @@ -64,8 +67,13 @@ FILE *lst_f=fopen(filename + 1,r); if ( lst_f ) { +#ifdef __GNU__ + fname=NULL; + while ( getline( fname, 0, lst_f ) = 0 ) +#else fname=malloc(PATH_MAX); while ( fgets( fname,PATH_MAX,lst_f ) ) +#endif { /* remove spaces from end of fname */ char *t=fname + strlen( fname ) - 1; @@ -80,6 +88,10 @@ mf-names[mf-nr_of_files]=strdup( fname ); mf-nr_of_files++; } +#ifdef __GNU__ + free( fname ); + fname=NULL; +#endif } fclose( lst_f ); --- stream/stream_bd.c.orig 2012-01-07 13:43:33.0 + +++ stream/stream_bd.c 2012-01-07 14:03:11.0 + @@ -19,6 +19,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef __GNU__ +#define _GNU_SOURCE +#endif + #include stdio.h #include limits.h #include ctype.h @@ -144,7 +148,11 @@ static int find_vuk(struct bd_priv *bd, const uint8_t discid[20]) { char line[1024]; +#ifdef __GNU__ +char *filename; +#else char filename[PATH_MAX]; +#endif const char *home; int vukfound = 0; stream_t *file; @@ -152,13 +160,23 @@ // look up discid in KEYDB.cfg to get VUK home = getenv(HOME); +#ifdef __GNU__ +asprintf(filename, %s/.dvdcss/KEYDB.cfg, home); +#else snprintf(filename, sizeof(filename), %s/.dvdcss/KEYDB.cfg, home); +#endif file = open_stream(filename, NULL, NULL); if (!file) { mp_msg(MSGT_OPEN,MSGL_ERR, Cannot open VUK database file %s\n, filename); +#ifdef __GNU__ +free(filename); +#endif return 0; } +#ifdef __GNU__ +free(filename); +#endif id2str(discid, 20, idstr); while (stream_read_line(file, line, sizeof(line), 0)) { char *vst; @@ -203,23 +221,40 @@ struct AVAES *a; struct AVSHA *asha; stream_t *file; +#ifdef __GNU__ +char *filename
Bug#654974: mplayer: FTBFS on hurd-i386
Diego Biurrun, le Sat 07 Jan 2012 16:06:01 +0100, a écrit : On Sat, Jan 07, 2012 at 03:37:19PM +0100, Samuel Thibault wrote: mplayer currently FTBFS on hurd-i386 due to missing cdparanoia dependency, and unconditional PATH_MAX usage. The attached patch fixes both. PATH_MAX is POSIX, so you should fix Hurd instead, see: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/limits.h.html Yes, but flagged as optional, when there is no such fixed hard limit. Also, the mere existence of PATH_MAX tends to make code buggy, actually. See for instance in libmenu/menu_filesel.c, sprintf(b, %s/, path); will break whenever one encounters a path which is exactly PATH_MAX-long. Samuel ___ 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#650546: libshout: Please update d-devlibdeps
Source: libshout Version: 2.2.2-5 Severity: important Hello, -e 's/ld1-dev//' \ was added to d-shlibs, to tentatively fix hurd-i386 FTBFS, but apparently libshout ships its own version, see https://buildd.debian.org/status/fetch.php?pkg=libshoutarch=hurd-i386ver=2.2.2-6stamp=1322679457 Please also add the substitution above. Samuel -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.4 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- Samuel Thibault samuel.thiba...@fnac.net I don't know why, but first C programs tend to look a lot worse than first programs in any other language (maybe except for fortran, but then I suspect all fortran programs look like `firsts') (By Olaf Kirch) ___ 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#638239: pd-mjlib: FTBFS on hurd kfreebsd
Hans-Christoph Steiner, le Fri 19 Aug 2011 12:27:23 -0400, a écrit : This is fixed upstream already in most of these, and will be soon in the rest. Its less than half of the pd-* packages that are effected, according to buildd. The list of affected packages is: pd-bsaylor pd-cxc pd-cyclone pd-ekext pd-ext13 pd-ggee pd-hcs pd-markex pd-maxlib pd-mjlib pd-moonlib pd-pddp pd-sigpack pd-smlib pd-windowing Ok. I guess they will be fixed by wheezy release then. Thanks, Samuel ___ 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#638239: pd-mjlib: FTBFS on hurd kfreebsd
Package: pd-mjlib Version: 0.1.1-2 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Hello, pd-mjlib (and basically all pd-* packages) currently FTBFS on hurd kfreebsd, due to a small typo in debian/patches/nonlinux_fixes.patch, see attached patch. I guess the same patch applies more or less exactly the same on all other pd-* packages. Samuel -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Samuel Thibault samuel.thiba...@fnac.net N bon comment on fait de l'investigation pour savoir qui est le vilain ? s on débranche le routeur et on regarde qui s'affole -+- #ens-mim administre -+- --- debian/patches/nonlinux_fixes.patch.orig2011-08-18 00:40:24.0 + +++ debian/patches/nonlinux_fixes.patch 2011-08-18 00:40:31.0 + @@ -23,9 +23,9 @@ + OS = linux + PD_PATH = /usr + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer -+ ALL_CFLAGS += -fPIC -+ ALL_LDFLAGS += -Wl,--export-dynamic -shared -fPIC -+ ALL_LIBS += -lc ++ CFLAGS += -fPIC ++ LDFLAGS += -Wl,--export-dynamic -shared -fPIC ++ LIBS += -lc + STRIP = strip --strip-unneeded -R .note -R .comment + DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) +endif @@ -37,9 +37,9 @@ + OS = linux + PD_PATH = /usr + OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer -+ ALL_CFLAGS += -fPIC -+ ALL_LDFLAGS += -Wl,--export-dynamic -shared -fPIC -+ ALL_LIBS += -lc ++ CFLAGS += -fPIC ++ LDFLAGS += -Wl,--export-dynamic -shared -fPIC ++ LIBS += -lc + STRIP = strip --strip-unneeded -R .note -R .comment + DISTBINDIR=$(DISTDIR)-$(OS)-$(shell uname -m) +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#637271: qmidinet: FTBFS on hurd-i386
Package: qmidinet Version: 0.1.1-1 Severity: important Tags: patch Hello, qmidinet currently FTBFS on hurd-i386 due to alsa support being enabled by default. Please extend the kfreebsd fix as the attached patch does. Samuel -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- Samuel Thibault samuel.thiba...@fnac.net Les roots ne sont plus ce qu'ils étaient...Maintenant il sont dioxinés, c'est de la m... ! Avant on les élevaient avec du bon unix mais ça été remplacé par des farines industrielles nouvelles technologies (NT). -+- JdK in NPC : Exigez un root élevé sous la mère ! -+- --- debian/rules.orig 2011-08-10 03:22:47.0 +0200 +++ debian/rules2011-08-10 03:22:49.0 +0200 @@ -1,6 +1,6 @@ #!/usr/bin/make -f -ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) +ifneq ($(findstring $(DEB_HOST_ARCH_OS),kfreebsd hurd),) EXTRA_CONFIGURE_ARGS += --disable-alsa-midi 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#637158: fluidsynth: FTBFS on hurd-i386
Package: fluidsynth Version: 1.1.3-4 Severity: important Tags: patch Hello, hurd-i386 also needs alsa and dbus to be disabled, the attached simply extend the existing kfreebsd quirk. Samuel -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fluidsynth depends on: ii libc6 2.13-10Embedded GNU C Library: Shared lib ii libfluidsynth11.1.3-4Real-time MIDI software synthesize Versions of packages fluidsynth recommends: ii qsynth0.3.6-1fluidsynth MIDI sound synthesiser fluidsynth suggests no packages. -- no debconf information -- Samuel Thibault samuel.thiba...@fnac.net La carte réseau fournie par cybercable (sn2000) ne va-t-elle que sur bus isa ou peut-on aussi la mettre sur bus PCI. Merci de m'éclairer. -+- JP in le Neuneu Pète un Câble : Une carte dans chaque port -+- --- debian/rules.orig 2011-08-09 01:05:03.578828704 +0200 +++ debian/rules2011-08-09 01:05:49.729218651 +0200 @@ -1,7 +1,7 @@ #!/usr/bin/make -f LDFLAGS+=-Wl,--as-needed -ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) +ifneq ($(findstring $(DEB_HOST_ARCH_OS),kfreebsd hurd),) EXTRA_CONFIGURE_ARGS += -Denable-alsa=off -Denable-dbus=off 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#613102: libva: Please disable i965 driver on hurd-i386
Package: libva Version: 1.0.8-2 Severity: normal Hello, Could you please disable the i965 driver on hurd-i386? There is no KMS interface there to be seen in the close future. Samuel -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- Samuel Thibault samuel.thiba...@fnac.net Progress (n.): The process through which the Internet has evolved from smart people in front of dumb terminals to dumb people in front of smart terminals. ___ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers