From unknown Fri Jun 20 05:31:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#35923 <35923@debbugs.gnu.org> To: bug#35923 <35923@debbugs.gnu.org> Subject: Status: Minification of Javascript for r-shiny fails Reply-To: bug#35923 <35923@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:31:36 +0000 retitle 35923 Minification of Javascript for r-shiny fails reassign 35923 guix submitter 35923 Roel Janssen severity 35923 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 27 06:24:36 2019 Received: (at submit) by debbugs.gnu.org; 27 May 2019 10:24:36 +0000 Received: from localhost ([127.0.0.1]:52750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVCo0-0002cP-GQ for submit@debbugs.gnu.org; Mon, 27 May 2019 06:24:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVCnx-0002cB-P6 for submit@debbugs.gnu.org; Mon, 27 May 2019 06:24:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:39025) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVCnr-0002nb-Pj for submit@debbugs.gnu.org; Mon, 27 May 2019 06:24:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51869) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVCnq-0005BS-Qx for bug-guix@gnu.org; Mon, 27 May 2019 06:24:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVCnq-0002l8-Pi for bug-guix@gnu.org; Mon, 27 May 2019 06:24:26 -0400 Received: from [143.121.198.235] (port=55016 helo=cog147) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1hVCno-0005es-Nl for bug-guix@gnu.org; Mon, 27 May 2019 06:24:26 -0400 Message-ID: <1558952662.17992.7.camel@gnu.org> Subject: Minification of Javascript for r-shiny fails From: Roel Janssen To: bug-guix@gnu.org Date: Mon, 27 May 2019 12:24:22 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Dear guix, It seems that the r-shiny package is not functioning correctly due to empty minified Javascript files. This is empty: $ ls -lh ./site-library/shiny/www/shared/shiny.min.js -r--r--r-- 6658 root root 0 Jan  1  1970 ./site-library/shiny/www/shared/shiny.min.js While its unminified equivalent is definitely not empty: $ ls -lh ./site-library/shiny/www/shared/shiny.js -r--r--r-- 3 root root 229K Jan  1  1970 ./site-library/shiny/www/shared/shiny.js Symlinking the unminified files to the minified files solves the problem.  But for production use I'd like to get the minification to work. Is it a trivial thing to fix for someone more familiar with the minify-build-system? Kind regards, Roel Janssen From debbugs-submit-bounces@debbugs.gnu.org Mon May 27 16:12:04 2019 Received: (at 35923-done) by debbugs.gnu.org; 27 May 2019 20:12:04 +0000 Received: from localhost ([127.0.0.1]:54237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVLyW-0000Cz-GO for submit@debbugs.gnu.org; Mon, 27 May 2019 16:12:04 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVLyU-0000Ck-TL for 35923-done@debbugs.gnu.org; Mon, 27 May 2019 16:12:03 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1558987869; cv=none; d=zoho.com; s=zohoarc; b=ccF6UrFWXT6CbVl73oB+CBPCwZNwi5sMByzFLEz8VyN+lN4QSD35fwUX876qm6sWlaUb/v+b/hkmDyS58ozm6CmhaK2u79Z8tQF0P6iNMac1FL0J7nIcs/DW3JiJVYFq8gxUFdlktlzZsF16iE6JIZ1cf4cXt3OQmIKWWEvtrdA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1558987869; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=AA6Ddc01NcwTJyDeo8hngS/oMDj6PC+JBM21RhFAKiI=; b=MICWXSOP7gpjkyomKSwOatB2cBKc/roZ2Bu9t+l+1+ow5hNFAWSa2UzRdIHAUGXGHQVVsncFXTy84VKgtjHUfssP6lX0cREcQPHqL32UNHaZTNk9v9GIkN8IMQHaKYJmU6KEqAyoZaVxkrVvvutGsAf/tFFDYl7Mlc9YetAw4/8= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1558987869; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; l=489; bh=AA6Ddc01NcwTJyDeo8hngS/oMDj6PC+JBM21RhFAKiI=; b=GZEVtfRq6orp79tI52VRQ9DCDzqx52sHc+qybbU0oU6fFhRNcrB9K4VBsJHjXlcu gbPy5Pj4V7FpH7PjB0dKC7efM1q8NzexQ4T/HFxKALHOaHOLudAWYlgxcq847Aw17jZ JPZPq3/sWInmpUdlKCGXuoV8SXNhntp47nFMyOC4= Received: from localhost (p4FD5A4C5.dip0.t-ipconnect.de [79.213.164.197]) by mx.zohomail.com with SMTPS id 1558987867847630.3649194162963; Mon, 27 May 2019 13:11:07 -0700 (PDT) References: <1558952662.17992.7.camel@gnu.org> User-agent: mu4e 1.2.0; emacs 26.2 From: Ricardo Wurmus To: Roel Janssen Subject: Re: bug#35923: Minification of Javascript for r-shiny fails In-reply-to: <1558952662.17992.7.camel@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 27 May 2019 22:11:03 +0200 Message-ID: <878sur1wvc.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35923-done Cc: 35923-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Roel, > It seems that the r-shiny package is not functioning correctly due to emp= ty minified Javascript > files. > > This is empty: > $ ls -lh ./site-library/shiny/www/shared/shiny.min.js > -r--r--r-- 6658 root root 0 Jan 1 1970 ./site-library/shiny/www/shared/= shiny.min.js Oh. This is now fixed with commit 8916034a34. Problem was that uglify-js wasn=E2=80=99t available during minification. It would have been nicer had the build phase failed. --=20 Ricardo From unknown Fri Jun 20 05:31:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 25 Jun 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator