Hallo,
ich schaue gerade wo es klemmt, wenn man die yaVDR VDR-Pakete für Ubuntu 14.04 baut.
Bei softhddevice liefert make diese Ausgabe: http://paste.ubuntu.com/6672403/
Es dürfte an diesem Fehler in Zeile 90 hängen:
codec.c:785:6: error: ‘AV_CH_LAYOUT_STEREO_DOWNMIX’ undeclared (first use in this function)
AV_CH_LAYOUT_STEREO_DOWNMIX;
^
Die Definition steckt (wie bei ffmpeg auch) in libavutil/channel_layout.h: http://libav.org/doxygen/maste…el__layout_8h_source.html
$ apt-cache policy libavutil-dev
libavutil-dev:
Installiert: 6:9.10-1ubuntu7
Installationskandidat: 6:9.10-1ubuntu7
Versionstabelle:
*** 6:9.10-1ubuntu7 0
500 http://de.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
100 /var/lib/dpkg/status
Mit diesem Patch baut er das Paket zumindest lokal erfolgreich:
Index: vdr-plugin-softhddevice-0.6.1rc1.git20131220.2124/codec.c
===================================================================
--- vdr-plugin-softhddevice-0.6.1rc1.git20131220.2124.orig/codec.c 2013-12-20 22:24:16.000000000 +0100
+++ vdr-plugin-softhddevice-0.6.1rc1.git20131220.2124/codec.c 2014-01-01 11:13:07.477004856 +0100
@@ -56,6 +56,7 @@
#include <alsa/iatomic.h>
#include <libavcodec/avcodec.h>
+#include <libavutil/channel_layout.h>
// support old ffmpeg versions <1.0
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(55,18,102)
#define AVCodecID CodecID
Alles anzeigen
Bei ffmpeg wird libavutil/channel_layout.h in libavcodec/avcodec.h includiert, bei libav offenbar nicht.
Dummerweise reicht das nicht, damit Launchpad das 64-Bit Paket akzeptiert (https://launchpad.net/~seahawk…98/+listing-archive-extra) - da wird noch im Buildlog ( https://launchpadlibrarian.net…usty_FAILEDTOBUILD.txt.gz ) das hier angeprangert:
******************************************************************************
Built successfully
******************************************************************************
Finished at 20140101-1026
Build needed 00:00:15, 4692k disk space
Function `av_malloc' implicitly converted to pointer at softhddev.c:582
Function `strdupa' implicitly converted to pointer at softhddev.c:3058
Function `strsep' implicitly converted to pointer at softhddev.c:3063
Function `av_mallocz' implicitly converted to pointer at codec.c:200
Our automated build log filter detected the problem(s) above that will
likely cause your package to segfault on architectures where the size of
a pointer is greater than the size of an integer, such as ia64 and amd64.
This is often due to a missing function prototype definition.
Since use of implicitly converted pointers is always fatal to the application
on ia64, they are errors. Please correct them for your next upload.
More information can be found at:
http://wiki.debian.org/ImplicitPointerConversions
RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-5400537']
Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-5400537/chroot-autobuild...
RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-5400537']
Unmounting chroot for build PACKAGEBUILD-5400537...
RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-5400537']
Removing build PACKAGEBUILD-5400537
Alles anzeigen
Hat jemand eine Idee, wie sich das lösen lässt?