From nobody Tue Nov 21 19:48:45 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SZZgM0hvKz52BL1 for ; Tue, 21 Nov 2023 19:48:31 +0000 (UTC) (envelope-from jcb2023az@gmail.com) Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZZgL5XXpz3DbH for ; Tue, 21 Nov 2023 19:48:30 +0000 (UTC) (envelope-from jcb2023az@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-5a9bc2ec556so3647406a12.0 for ; Tue, 21 Nov 2023 11:48:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700596109; x=1701200909; darn=freebsd.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=8py9sglWiVqZu/BDDZvUIOrcAAqOQh6nzgOdaZh0o+w=; b=ZptEUCajfjh/vRwWL40Ke/2BYH8VizoEGMElhJkOwv0i+9UMyqh0z1bpLf13JSyzVs Yo6w+YryP6UPe5CEifDiiwZeulebPgOLuJNz4zGmhb70rlyNq19K9IE9peDQICGivVdI nNNVqA5ZvlPeIwzYDD+ZpVm1Do7hZXRQSD4auA9slRELNXTQblvfBZtWRhdID/6+bF4a sAj53K12TrX0JFtu7Yc9TTBlKlM+wyeiHWLuw+/I8k9hFkQ1geJyGwAsl1yRSAs5FsFr vFVf0Ke46qUVyybfHxpwTsLVNbxe31+2ZeBDczxvYoqBisJLHKY+g7au9Eob6IPQzp4t T58g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700596109; x=1701200909; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8py9sglWiVqZu/BDDZvUIOrcAAqOQh6nzgOdaZh0o+w=; b=VIXScmbTh4txb409Qrf4kXotogh4Gp98JdCblU0eslhvOh6d5pgOkyf5DqsovItwt7 aaw37OhKyLWvAlfZso2v467hw7SI+gDGTivdOtO1sdkFtm/B3KjgCxmqRs6Uca0oN7Ik ChbKRsZeMFJ7v/F22i3HXQVRHQJt42t4mLmoiOFu7P+c8zE7QPHuP37/O/fBdYQlBFfq iaoVwGoRWEH1cLRrAlEOqvfMiKZbNH9Gnqc7qCjoRvoYz+JACvobEXGZljKGxzhwrx26 9An01AKP4/qixEWiyRhOxQQ130ArB+3Lcij7e2B+jiG7w7aipy27gG5rDEl5iYNUxuS9 1wsQ== X-Gm-Message-State: AOJu0YyvlwevM99XOe/iSVG6s4NQajqzppXe9wWVjfhWY7CNVAjB1f0i vOs+Ssj+3am5eZvmXL5b4LZsqZ5IVkeRRQ== X-Google-Smtp-Source: AGHT+IHx/7vMD2C0npKWzh1LRiA/EJQGl0V2rhyiwqzOnym3lUCi2lwBaiahWAycwgZWpGPzMoQaBQ== X-Received: by 2002:a17:90b:350c:b0:280:4829:52cc with SMTP id ls12-20020a17090b350c00b00280482952ccmr275217pjb.37.1700596108961; Tue, 21 Nov 2023 11:48:28 -0800 (PST) Received: from freebsd (c-73-116-164-136.hsd1.ca.comcast.net. [73.116.164.136]) by smtp.gmail.com with ESMTPSA id o24-20020a170902779800b001c613091aeasm8239817pll.297.2023.11.21.11.48.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 11:48:28 -0800 (PST) Date: Tue, 21 Nov 2023 11:48:45 -0800 From: Joe B To: Polytropon Cc: freebsd-questions@freebsd.org Subject: Re: Trying to get spotify working Message-ID: <20231121114845.67187f8a@freebsd> In-Reply-To: <20231121200653.1b8cae0e.freebsd@edvax.de> References: <20231121000443.3e975f52@freebsd2> <20231121200653.1b8cae0e.freebsd@edvax.de> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4SZZgL5XXpz3DbH On Tue, 21 Nov 2023 20:06:53 +0100 Polytropon wrote: > On Tue, 21 Nov 2023 00:04:43 -0800, Joe B wrote: > > So I followed this post > > > > https://forums.freebsd.org/threads/watching-spotify-and-listening-to-netflix-in-2023.90695/#post-626065 > > > > It was asking me a lot of prompts and i was like im just going to > > see if it works > > > > After it failed to compile i was like let me remove it. so i did a > > make deinstall clean. After about 30 mins i went back to the tty > > where it was and it was skipping packages that weren't there and > > eventually i just stopped it. went to startx and i was missing lots > > of modules. I reinstaled and everything is workinga again exepct no > > spotify > > > > Question is when is it safe to use make deinstall ? > > When you are inside the directory of the official port, > i. e., /usr/ports//, that you want to > deinstall. > > See "man 7 ports" for details. > > The files /usr/ports/Makefile and /usr/ports/Mk/* > contain the implementation of "deinstall" at the > possible locations. > > > > > I was wondering since the forum post had me in 1 directory that > > wasn't offical is that the reason why it removed stuff at the root > > level? > > That is quite possible. The thread in the web forum > instructs you to do this: > > % sudo pkg install chromium # 117.0.5938.149_2 or higher > > % sudo pkg install foreign-cdm > % sudo sysrc linux_enable="YES" > % sudo service linux start > > % git clone --depth 1 https://github.com/freebsd/freebsd-ports > % cd freebsd-ports/www/linux-widevine-cdm > % make > % sudo make install > > This seems to be relative to your current location > whatever that might be ($PWD). From that (undefined) > point, a directory freebsd-ports with the subdirecotires > www and linux-widevine-cdm will be created. If this > happens inside /usr/ports (which it shouldn't, as > it also requires root permissions to write to there), > a "make deinstall"... well, actually this sounds wrong. > > I have no idea what's inside the git repository, so > any unwanted side effect could be possible, like a > temporary change to /usr/ports... > > If you assume that you run "make deinstall" from the > /usr/ports/www directory, it will iterate though the > ports found there and try to deinstall them. If there > is a /usr/ports/www/linux-widevine-cdm, and you run > "make deinstall" from there, it will only deinstall > the linux-widevine-cdm port - of course the official > version. > > Got it Yea i was like after 20 mins of make deinstallin in the directory i'm in especially my home folder i'm like it keeps asking me for my root password ever 2 mins. and it just keeps going and goin. This isn't my first time on freebsd or linux and i've build some packages before but nothing like this. It's ok i've already reinstalled to 14.0-RELEASE and will be cautious now and also read everything thing when i'm doing it. I got some feedback here https://unix.stackexchange.com/a/761999 Lesson learned. Thanks for the response Joe B