[LAU] everything stops after 2.1GB

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sun Nov 13 09:39:16 UTC 2016


On Sun, 13 Nov 2016 19:48:30 +1100, Erik de Castro Lopo wrote:
>Ralf Mardorf wrote:
>
>> "Pretty sure"?
>> 
>> As already pointed out, the Arch package does use the source from
>> upstream. It is not patched.  
>
>So I looked that the sources, and there *was* code that would fail
>at runtime of Large File Support was not enabled. This was removed
>because at one stage (not even sure if this is still the case)
>Android (32 bit) did not have Large File Support.
>
>Large File Support gets enabled by default on 32 Debian.

So it's done by a default build flag? If so the OP could add the flag
to the Arch default build flags or to the PKGBUILD, too and rebuild the
package.

For an Arch user the Debian rules file is cryptic.

"DEB_BUILD_MAINT_OPTIONS = hardening=+all

CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
CXXFLAGS = $(shell dpkg-buildflags --get CXXFLAGS)
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)

# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
	INSTALL_PROGRAM += -s
endif

config.status: configure
	dh_testdir
	dh_autoreconf
	$(shell dpkg-buildflags --export=configure) ./configure \
		--disable-silent-rules \
		--host=$(DEB_HOST_GNU_TYPE)
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info" -
https://tracker.debian.org/media/packages/libs/libsndfile/rules-1.0.27-1


More information about the Linux-audio-user mailing list