Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Sep 2019 01:06:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 240043] audio/linux-c7-alsa: how to make it work?
Message-ID:  <bug-240043-4077-Zi5eRp5gOO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240043-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240043-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240043

--- Comment #43 from Alex S <iwtcex@gmail.com> ---
(In reply to Tijl Coosemans from comment #41)

This is weird, apulse and Grim Fandango fail for me, otherwise this seems to
work.

> The port now rebuilds the plugin with patches from audio/alsa-plugins.
Out of curiosity, any particular reason for not using --sysroot=3D/compat/l=
inux
flag?

In my case (git tree somewhere in $HOME, non-root user, no additional tools)
building this requires:

--- a/audio/linux-c7-alsa-plugins-oss/Makefile
+++ b/audio/linux-c7-alsa-plugins-oss/Makefile
@@ -92,11 +92,11 @@ do-build:
 do-install:
 .if !empty(COMPAT32_CFLAGS_${ARCH})
        @(cd ${WRKSRC32} && ${LINUXBASE}/usr/bin/make install-strip \
-               DESTDIR=3D${STAGEDIR}${LINUXBASE})
+               DESTDIR=3D/compat/../${STAGEDIR}${LINUXBASE})
        ${RM} -r ${STAGEDIR}${LINUXBASE}/usr/lib/alsa-lib/*.la
 .endif
        @(cd ${WRKSRC} && ${LINUXBASE}/usr/bin/make install-strip \
-               DESTDIR=3D${STAGEDIR}${LINUXBASE})
+               DESTDIR=3D/compat/../${STAGEDIR}${LINUXBASE})
        ${RM} -r ${STAGEDIR}${LINUXBASE}${LIBDIR_${ARCH}}/alsa-lib/*.la
        ${RM} -r ${STAGEDIR}${LINUXBASE}/etc ${STAGEDIR}${LINUXBASE}/usr/sh=
are

to work around a nasty Linuxulator habit of returning /compat/linux/<whatev=
er>
directory entries instead of, say, merging them with <whatever> directory
entries, otherwise this fails with "/bin/mkdir: cannot create directory
'/usr/home': Permission denied" message, as well as specifying ARCH=3Damd64,
since I don't have this defined anywhere.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240043-4077-Zi5eRp5gOO>