From owner-freebsd-emulation@freebsd.org Fri Mar 6 06:38:28 2020 Return-Path: Delivered-To: freebsd-emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BE50C25F26C for ; Fri, 6 Mar 2020 06:38:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 48YdH80htsz4K2t for ; Fri, 6 Mar 2020 06:38:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id E9E4225F25D; Fri, 6 Mar 2020 06:38:27 +0000 (UTC) Delivered-To: emulation@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E902B25F25B for ; Fri, 6 Mar 2020 06:38:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48YdH73tbMz4K2V for ; Fri, 6 Mar 2020 06:38:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 751561C0B9 for ; Fri, 6 Mar 2020 06:38:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0266cRXD049511 for ; Fri, 6 Mar 2020 06:38:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0266cRhO049510 for emulation@FreeBSD.org; Fri, 6 Mar 2020 06:38:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: emulation@FreeBSD.org Subject: maintainer-feedback requested: [Bug 244624] audio/linux-c7-alsa-plugins-pulseaudio: conf symlink should be relative Date: Fri, 06 Mar 2020 06:38:27 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: emulation@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2020 06:38:28 -0000 Bugzilla Automation has asked freebsd-emulation mail= ing list for maintainer-feedback: Bug 244624: audio/linux-c7-alsa-plugins-pulseaudio: conf symlink should be relative https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244624 --- Description --- audio/linux-c7-alsa-plugins-pulseaudio installs the following symlink: /compat/linux/etc/alsa/conf.d/50-pulseaudio.conf -> /usr/share/alsa/alsa.conf.d/50-pulseaudio.conf This does not work as in case of symlinks there's no translation. This bre= aks several "Enhanced Edition" games (BG, PST, IWD) -- the game starts, but the= re's no sound: AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse" ALSA lib conf.c:3652:(config_file_open) cannot access file /etc/alsa/conf.d/50-pulseaudio.conf ALSA lib conf.c:3572:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory ALSA lib conf.c:4026:(snd_config_update_r) hooks failed, removing configura= tion AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default'= : No such file or directory Copying the target file instead of symlink helps, as well as the "fixed" version of symlink: /compat/linux/etc/alsa/conf.d/50-pulseaudio.conf -> ../../../usr/share/alsa/alsa.conf.d/50-pulseaudio.conf I'm still getting the warning, but sound works: AL lib: (WW) alc_initconfig: Failed to initialize backend "pulse" Yes, it could be probably fixed in linuxolator, but as it's the only such symlink within the linux-c7 ports it should be easier to fix the port inste= ad.=20 I'm not sure how about the proper changes to the port, so no patch provided.