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


Groups > linux.debian.bugs.dist > #1223235 > unrolled thread

Bug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2 with debhelper 13

Started byнаб <nabijaczleweli@nabijaczleweli.xyz>
First post2024-12-08 17:00 +0100
Last post2024-12-09 16:40 +0100
Articles 3 — 1 participant

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2 with debhelper 13 наб <nabijaczleweli@nabijaczleweli.xyz> - 2024-12-08 17:00 +0100
    Bug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2 наб <nabijaczleweli@nabijaczleweli.xyz> - 2024-12-08 17:10 +0100
      Bug#968170: Reopening: Bug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2 наб <nabijaczleweli@nabijaczleweli.xyz> - 2024-12-09 16:40 +0100

#1223235 — Bug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2 with debhelper 13

Fromнаб <nabijaczleweli@nabijaczleweli.xyz>
Date2024-12-08 17:00 +0100
SubjectBug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2 with debhelper 13
Message-ID<JRrRo-eOZm-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Control: found -1 + 2.4.62-1~deb12u2
Control: retitle -1 apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2 with debhelper 13

I can repro this for .sos as well.

Given
  debian/libapache2-mod-musicindex.apache2:mod	debian/tmp/usr/lib/apache2/modules/*.so
  debian/libapache2-mod-musicindex.apache2:mod	debian/musicindex.load
  debian/libapache2-mod-musicindex.apache2:mod	debian/musicindex.conf
and
     dh_apache2 -O-v
          Installing module binary debian/tmp/usr/lib/apache2/modules/mod_musicindex.so into debian/libapache2-mod-musicindex//usr/lib/apache2/modules/
  
          cp debian/tmp/usr/lib/apache2/modules/mod_musicindex.so debian/libapache2-mod-musicindex//usr/lib/apache2/modules/
          Installing module configuration musicindex into debian/libapache2-mod-musicindex/etc/apache2/mods-available/
  
          mkdir -p debian/libapache2-mod-musicindex/etc/apache2/mods-available/
          chmod 755 debian/libapache2-mod-musicindex/etc/apache2/mods-available/
          cp debian/musicindex.load debian/libapache2-mod-musicindex/etc/apache2/mods-available/
          chmod 644 debian/libapache2-mod-musicindex/etc/apache2/mods-available//musicindex.load
          cp debian/musicindex.conf debian/libapache2-mod-musicindex/etc/apache2/mods-available/
          chmod 644 debian/libapache2-mod-musicindex/etc/apache2/mods-available//musicindex.conf
          mv debian/libapache2-mod-musicindex.substvars.new debian/libapache2-mod-musicindex.substvars
          echo "# Automatically added by dh_apache2/UNDECLARED">> debian/libapache2-mod-musicindex.postinst.debhelper
          sed "s^W#ACTION#^W^Wg; s^W#CONDITIONAL_VARIABLE#^Wtrue^Wg; s^W#ERROR_HANDLER#^Wexit 1^Wg; s^W#HELPER#^Wenmod^Wg; s^W#NAMES#^Wmusicindex ^Wg; " /usr/share/debhelper/autoscripts/postinst-apache2 >> debian/libapache2-mod-musicindex.postinst.debhelper
          echo '# End automatically added section' >> debian/libapache2-mod-musicindex.postinst.debhelper
          echo "# Automatically added by dh_apache2/UNDECLARED">> debian/libapache2-mod-musicindex.prerm.debhelper
          sed "s^W#ACTION#^W^Wg; s^W#CONDITIONAL_VARIABLE#^Wtrue^Wg; s^W#ERROR_HANDLER#^Wexit 1^Wg; s^W#HELPER#^Wdismod^Wg; s^W#NAMES#^Wmusicindex ^Wg; " /usr/share/debhelper/autoscripts/prerm-apache2 >> debian/libapache2-mod-musicindex.prerm.debhelper
          echo '# End automatically added section' >> debian/libapache2-mod-musicindex.prerm.debhelper
          echo "# Automatically added by dh_apache2/UNDECLARED">> debian/libapache2-mod-musicindex.postrm.debhelper
          sed "s^W#ACTION#^W^Wg; s^W#CONDITIONAL_VARIABLE#^Wtrue^Wg; s^W#ERROR_HANDLER#^Wexit 1^Wg; s^W#HELPER#^Wdismod^Wg; s^W#NAMES#^Wmusicindex ^Wg; " /usr/share/debhelper/autoscripts/postrm-apache2 >> debian/libapache2-mod-musicindex.postrm.debhelper
          echo '# End automatically added section' >> debian/libapache2-mod-musicindex.postrm.debhelper
and
  $ l debian/libapache2-mod-musicindex//usr/lib/apache2/modules/
  total 416k
  -rw-r--r-- 1 nabijaczleweli users 412.4k 12-08 16:49 mod_musicindex.so
I see
  dh_missing: warning: usr/lib/apache2/modules/mod_musicindex.so exists in debian/tmp but is not installed to anywhere
  dh_missing: error: missing files, aborting
          The following debhelper tools have reported what they installed (with files per package)
           * dh_install: libapache2-mod-musicindex (0), mod-musicindex-common (15)
           * dh_installdocs: libapache2-mod-musicindex (0), mod-musicindex-common (4)
          If the missing files are installed by another tool, please file a bug against it.
          When filing the report, if the tool is not part of debhelper itself, please reference the
          "Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
            (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
          Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
          If the omission is intentional or no other helper can take care of this consider adding the
          paths to debian/not-installed.

Repro by building https://salsa.debian.org/debian/libapache-mod-musicindex
at a16ec0e0b10febe12a54529918602bbbef1cffaa.

Rolling back to debhelper-compat (= 12) works around this.

[toc] | [next] | [standalone]


#1223236 — Bug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2

Fromнаб <nabijaczleweli@nabijaczleweli.xyz>
Date2024-12-08 17:10 +0100
SubjectBug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2
Message-ID<JRs13-ePy6-9@gated-at.bofh.it>
In reply to#1223235

[Multipart message — attachments visible in raw view] — view raw

Control: found -1 2.4.62-1~deb12u2
Control: retitle -1 apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2

On Sun, Dec 08, 2024 at 04:55:43PM +0100, наб wrote:
> Rolling back to debhelper-compat (= 12) works around this.
...but only because dh_missing is a warning, not an error, in dh 12:
     dh_missing
  dh_missing: warning: usr/lib/apache2/modules/mod_musicindex.so exists in debian/tmp but is not installed to anywhere
          The following debhelper tools have reported what they installed (with files per package)
           * dh_install: libapache2-mod-musicindex (0), mod-musicindex-common (15)
           * dh_installdocs: libapache2-mod-musicindex (0), mod-musicindex-common (4)
          If the missing files are installed by another tool, please file a bug against it.
          When filing the report, if the tool is not part of debhelper itself, please reference the
          "Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
            (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)
          Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
          If the omission is intentional or no other helper can take care of this consider adding the
          paths to debian/not-installed.

So dh_apache2 is broken outright regardless of compat level.

[toc] | [prev] | [next] | [standalone]


#1223349 — Bug#968170: Reopening: Bug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2

Fromнаб <nabijaczleweli@nabijaczleweli.xyz>
Date2024-12-09 16:40 +0100
SubjectBug#968170: Reopening: Bug#968170: apache2-dev: dh_apache2: "dh_missing: warning: … exists in debian/tmp but is not installed to anywhere" despite "conf|mod debian/tmp/…" in debian/….apache2
Message-ID<JRO1A-fsYA-19@gated-at.bofh.it>
In reply to#1223236

[Multipart message — attachments visible in raw view] — view raw

Control: reopen -1
Control: found -1 2.4.46-1
Control: found -1 2.4.62-1~deb12u2

Not a valid closure.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web