Package Details: bcmatroska2-git 5.2.1.r0.g4d125bf-1

Git Clone URL: https://aur.archlinux.org/bcmatroska2-git.git (read-only, click to copy)
Package Base: bcmatroska2-git
Description: A C library for working with matroska files
Upstream URL: http://www.linphone.org/
Licenses: GPL
Submitter: thrasibule
Maintainer: thrasibule
Last Packager: thrasibule
Votes: 4
Popularity: 0.000000
First Submitted: 2018-01-23 03:40 (UTC)
Last Updated: 2023-03-24 19:17 (UTC)

Latest Comments

dreieck commented on 2023-12-22 15:14 (UTC)

Please add provides=("bcmatroska2=${pkgver}" and conflicts=('bcmatroska2').

Thanks for maintaining!

asnelling commented on 2023-03-15 06:42 (UTC) (edited on 2023-03-15 06:42 (UTC) by asnelling)

Some symbols need to be marked extern (since GCC ~10) for build to pass. I was able to do this with:

makepkg LDFLAGS="-z muldefs" CFLAGS="-DFILE_EXPORTS -DDLLEXPORT=extern"

Here's the error I see without the flags:

[100%] Linking C shared library libbcmatroska2.so
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o:(.data.rel.ro.local+0x0): multiple definition of `File_Class'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:(.data.rel.ro.local+0x0): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `FileExists':
file_bctbx.c:(.text+0x77a): multiple definition of `FileExists'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0x768): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `FileErase':
file_bctbx.c:(.text+0x7d9): multiple definition of `FileErase'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0x7c7): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `FolderErase':
file_bctbx.c:(.text+0x897): multiple definition of `FolderErase'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0x885): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `PathIsFolder':
file_bctbx.c:(.text+0x955): multiple definition of `PathIsFolder'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0x943): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `FileDateTime':
file_bctbx.c:(.text+0x9ca): multiple definition of `FileDateTime'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0x9b8): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `FileMove':
file_bctbx.c:(.text+0xa47): multiple definition of `FileMove'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0xa35): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `FolderCreate':
file_bctbx.c:(.text+0xa78): multiple definition of `FolderCreate'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0xa66): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `FindFiles':
file_bctbx.c:(.text+0xaa3): multiple definition of `FindFiles'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0xa91): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `FileTemp':
file_bctbx.c:(.text+0xbfb): multiple definition of `FileTemp'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0xbe9): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `FileTempName':
file_bctbx.c:(.text+0xc2f): multiple definition of `FileTempName'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0xc1d): first defined here
/usr/bin/ld: ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_bctbx.c.o: in function `GetPathFreeSpace':
file_bctbx.c:(.text+0xc6b): multiple definition of `GetPathFreeSpace'; ../corec/corec/CMakeFiles/corec-objects.dir/helpers/file/file_libc.c.o:file_libc.c:(.text+0xc59): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [libmatroska2/CMakeFiles/bcmatroska2.dir/build.make:197: libmatroska2/libbcmatroska2.so.0.0.0] Error 1
make[1]: *** [CMakeFiles/Makefile2:205: libmatroska2/CMakeFiles/bcmatroska2.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

bonkii commented on 2019-03-26 11:59 (UTC) (edited on 2019-03-26 12:08 (UTC) by bonkii)

I just tried to install this package but it seemed like the upstream projects git url changed. Its now located at https://gitlab.linphone.org/BC/public/bcmatroska2 So I had to change the PKGBUILD:

-_pkgname=libmatroska-c
-pkgver=0.23.r11.gd2e052b
+_pkgname=bcmatroska2
+pkgver=0.23.r12.gfac98dc
 pkgrel=1
 pkgdesc="A C library for working with matroska files"
 arch=('i686' 'x86_64')
 url="http://www.linphone.org/"
 license=('GPL')
 makedepends=('cmake')
-source=("git://git.linphone.org/$_pkgname.git")
+source=("git+https://gitlab.linphone.org/BC/public/$_pkgname.git")

CircleCode commented on 2018-01-23 09:08 (UTC) (edited on 2018-01-23 09:09 (UTC) by CircleCode)

@thrasibule either your package should implement bcmatroska-git, or mediastreamer-git(1) should require bcmatroska2-git