Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1189000

Bug#1064593: debian-policy: missing static resources for www.debian.org policy page

From Stéphane Blondon <stephane.blondon@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.policy
Subject Bug#1064593: debian-policy: missing static resources for www.debian.org policy page
Date 2024-03-04 08:40 +0100
Message-ID <Ieb5v-ejtn-1@gated-at.bofh.it> (permalink)
References (4 earlier) <IbmJP-cxta-9@gated-at.bofh.it> <Iccp3-d3oq-9@gated-at.bofh.it> <IdRJw-e7zx-31@gated-at.bofh.it> <Ib5IZ-cmOS-1@gated-at.bofh.it> <IdRJw-e7zx-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hello,

Le dim. 3 mars 2024 à 11:49, Holger Wansing <hwansing@mailbox.org> a écrit :
> So, no problem with latest Sphinx version, it seems the integration in the
> debian-policy package is the problem (aka debian/rules) ...

Thank you for the search.

I have two wild guesses based on broken symlink assumption:

1. By dh_auto_install

buildd create symbolic links to the files (like theme.css) provided by
python3-sphinx-rtd-theme:
lrwxrwxrwx root/root         0 2024-02-24 12:39
./usr/share/doc/debian-policy/policy.html/_static/css/theme.css ->
../../../../../sphinx_rtd_theme/static/css/theme.css
(found in the log file)

Then the target dh_auto_install in debian/rules from debian_policy
moves files (line 15):
mv debian/tmp/* debian/debian-policy/

The symlink is relative so it could be broken.

2. By the webserver

In such case, the symlink is still correct after the install. However,
the target directory would be outside the static directories served by
the webserver. By default, they are not followed by the webserver to
avoid leaking data outside the static root directory.


Hope it helps,
Stéphane

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1064593: debian-policy: missing static resources for www.debian.org policy page James Addison <jay@jp-hosting.net> - 2024-02-24 20:20 +0100
  Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Holger Wansing <hwansing@mailbox.org> - 2024-02-25 08:50 +0100
  Bug#1064593: debian-policy: missing static resources for www.debian.org policy page James Addison <jay@jp-hosting.net> - 2024-02-25 12:10 +0100
    Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Holger Wansing <hwansing@mailbox.org> - 2024-02-25 14:30 +0100
      Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Stéphane Blondon <stephane.blondon@gmail.com> - 2024-02-27 21:40 +0100
        Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Holger Wansing <hwansing@mailbox.org> - 2024-03-03 12:00 +0100
          Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Stéphane Blondon <stephane.blondon@gmail.com> - 2024-03-04 08:40 +0100

csiph-web