Your message dated Wed, 08 Jan 2025 07:56:34 +0000
with message-id <e1tvqva-006anw...@fasolo.debian.org>
and subject line Bug#1089367: fixed in libmozilla-ldap-perl 1.5.3-3.1
has caused the Debian Bug report #1089367,
regarding libmozilla-ldap-perl: Supporting rootless builds by default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1089367: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089367
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libmozilla-ldap-perl
Version: 1.5.3-3
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: ni...@thykier.net
User: ni...@thykier.net
Usertags: rrr-no-as-default-issue

Dear maintainer,

During a test rebuild for building packages with
`Rules-Requires-Root: no` as the default in `dpkg`,
libmozilla-ldap-perl failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
 1105 | berptrptr2avref(struct berval **bval)
      | ^~~~~~~~~~~~~~~
API.c:300:1: warning: ‘perldap_calloc’ defined but not used [-Wunused-function]
  300 | perldap_calloc(size_t number, size_t size)
      | ^~~~~~~~~~~~~~
In file included from API.c:92:
constant.h:72:1: warning: ‘not_here’ defined but not used [-Wunused-function]
   72 | not_here(s)
      | ^~~~~~~~
In file included from /usr/lib/aarch64-linux-gnu/perl/5.40/CORE/perl.h:6225,
                 from API.c:61:
API.c: In function ‘XS_Mozilla__LDAP__API_ldap_memcache_get’:
/usr/lib/aarch64-linux-gnu/perl/5.40/CORE/embed.h:726:49: warning: ‘cachep’ may be used uninitialized [-Wmaybe-uninitialized] 726 | # define sv_setiv(a,b) Perl_sv_setiv(aTHX_ a,b) | ^~~~~~~~~~~~~~~~~~~~~~~~
API.c:3235:9: note: in expansion of macro ‘sv_setiv’
 3235 |         sv_setiv(ST(1), PTR2IV(cachep));
      |         ^~~~~~~~
API.c:3226:25: note: ‘cachep’ was declared here
 3226 |         LDAPMemCache ** cachep;
      |                         ^~~~~~
In function ‘perldap_ldap_create_virtuallist_control’,
inlined from ‘XS_Mozilla__LDAP__API_ldap_create_virtuallist_control’ at API.c:2303:11: API.c:496:11: warning: ‘ctrlp’ may be used uninitialized [-Wmaybe-uninitialized]
  496 |     ret = ldap_create_vlv_control(ld, &ldvlvinfo, ctrlp);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
API.c: In function ‘XS_Mozilla__LDAP__API_ldap_create_virtuallist_control’:
API.c:2300:25: note: ‘ctrlp’ was declared here
 2300 |         LDAPControl **  ctrlp;
      |                         ^~~~~
API.c: In function ‘XS_Mozilla__LDAP__API_ldap_memcache_init’:
/usr/lib/aarch64-linux-gnu/perl/5.40/CORE/embed.h:726:49: warning: ‘cachep’ may be used uninitialized [-Wmaybe-uninitialized] 726 | # define sv_setiv(a,b) Perl_sv_setiv(aTHX_ a,b) | ^~~~~~~~~~~~~~~~~~~~~~~~
API.c:3266:9: note: in expansion of macro ‘sv_setiv’
 3266 |         sv_setiv(ST(3), PTR2IV(cachep));
      |         ^~~~~~~~
API.c:3257:25: note: ‘cachep’ was declared here
 3257 |         LDAPMemCache ** cachep;
      |                         ^~~~~~
API.c: In function ‘XS_Mozilla__LDAP__API_ldap_parse_entrychange_control’:
/usr/lib/aarch64-linux-gnu/perl/5.40/CORE/embed.h:726:49: warning: ‘chgnumpresentp’ may be used uninitialized [-Wmaybe-uninitialized] 726 | # define sv_setiv(a,b) Perl_sv_setiv(aTHX_ a,b) | ^~~~~~~~~~~~~~~~~~~~~~~~
API.c:3784:9: note: in expansion of macro ‘sv_setiv’
 3784 |         sv_setiv(ST(4), (IV)chgnumpresentp);
      |         ^~~~~~~~
API.c:3774:17: note: ‘chgnumpresentp’ was declared here
 3774 |         int     chgnumpresentp;
      |                 ^~~~~~~~~~~~~~
/usr/lib/aarch64-linux-gnu/perl/5.40/CORE/embed.h:726:49: warning: ‘chgtypep’ may be used uninitialized [-Wmaybe-uninitialized] 726 | # define sv_setiv(a,b) Perl_sv_setiv(aTHX_ a,b) | ^~~~~~~~~~~~~~~~~~~~~~~~
API.c:3780:9: note: in expansion of macro ‘sv_setiv’
 3780 |         sv_setiv(ST(2), (IV)chgtypep);
      |         ^~~~~~~~
API.c:3772:25: note: ‘chgtypep’ was declared here
 3772 |         my_chgtype_t    chgtypep;
      |                         ^~~~~~~~
/usr/lib/aarch64-linux-gnu/perl/5.40/CORE/embed.h:730:49: warning: ‘prevdnp’ may be used uninitialized [-Wmaybe-uninitialized] 730 | # define sv_setpv(a,b) Perl_sv_setpv(aTHX_ a,b) | ^~~~~~~~~~~~~~~~~~~~~~~~
API.c:3782:9: note: in expansion of macro ‘sv_setpv’
 3782 |         sv_setpv((SV*)ST(3), prevdnp);
      |         ^~~~~~~~
API.c:3773:17: note: ‘prevdnp’ was declared here
 3773 |         char *  prevdnp;
      |                 ^~~~~~~
In function ‘perldap_ldap_create_sort_control’,
inlined from ‘XS_Mozilla__LDAP__API_ldap_create_sort_control’ at API.c:2256:11: API.c:408:39: warning: ‘ctrlp’ may be used uninitialized [-Wmaybe-uninitialized]
  408 |     if ( sortKeyList == NULL || ctrlp == NULL ) {
      |                                       ^
API.c: In function ‘XS_Mozilla__LDAP__API_ldap_create_sort_control’:
API.c:2253:25: note: ‘ctrlp’ was declared here
 2253 |         LDAPControl **  ctrlp;
      |                         ^~~~~
In function ‘perldap_ldap_create_persistentsearch_control’,
inlined from ‘XS_Mozilla__LDAP__API_ldap_create_persistentsearch_control’ at API.c:2229:11: API.c:359:15: warning: ‘ctrlp’ may be used uninitialized [-Wmaybe-uninitialized] 359 | if (ctrlp == NULL || (changetypes & ~(LDAP_CONTROL_PERSIST_ENTRY_CHANGE_ADD |
      |               ^
API.c: In function ‘XS_Mozilla__LDAP__API_ldap_create_persistentsearch_control’:
API.c:2226:25: note: ‘ctrlp’ was declared here
 2226 |         LDAPControl **  ctrlp;
      |                         ^~~~~
rm -f blib/arch/auto/Mozilla/LDAP/API/API.so
aarch64-linux-gnu-gcc -shared -L/usr/local/lib -fstack-protector-strong API.o -o blib/arch/auto/Mozilla/LDAP/API/API.so \ -lldap -llber -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 \
  chmod 755 blib/arch/auto/Mozilla/LDAP/API/API.so
Manifying 5 pod documents
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch build-stamp
dh_testdir
dh_testroot
dh_clean -k
dh_clean: warning: dh_clean -k is deprecated; use dh_prep instead
dh_clean: warning: This feature will be removed in compat 12.
/usr/bin/make test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- API.bs blib/arch/auto/Mozilla/LDAP/API/API.bs 644 PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/api.t .... ok
t/conn.t ... ok
t/entry.t .. ok
t/ldif.t ... ok
t/utils.t .. ok
All tests successful.
Files=5, Tests=5, 0 wallclock secs ( 0.03 usr 0.01 sys + 0.05 cusr 0.03 csys = 0.12 CPU)
Result: PASS
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/bin/make install DESTDIR=/<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl PREFIX=/usr
make[1]: Entering directory '/<<PKGBUILDDIR>>'
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- API.bs blib/arch/auto/Mozilla/LDAP/API/API.bs 644
Manifying 5 pod documents
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Mozilla/LDAP/API/API.so Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Mozilla/LDAP/API/autosplit.ix Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/Mozilla/LDAP/LDIF.pm Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/Mozilla/LDAP/API.pm Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/Mozilla/LDAP/Conn.pm Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/Mozilla/LDAP/Entry.pm Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/Mozilla/LDAP/Utils.pm Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/share/man/man3/Mozilla::LDAP::Conn.3pm Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/share/man/man3/Mozilla::LDAP::Entry.3pm Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/share/man/man3/Mozilla::LDAP::LDIF.3pm Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/share/man/man3/Mozilla::LDAP::API.3pm Installing /<<PKGBUILDDIR>>/debian/libmozilla-ldap-perl/usr/share/man/man3/Mozilla::LDAP::Utils.3pm
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
touch install-stamp
dh_testdir
dh_testroot
dh_installexamples examples/*
dh_installdocs CREDITS README dh_installchangelogs ChangeLog
dh_strip -a
strip: unable to copy file 'debian/libmozilla-ldap-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Mozilla/LDAP/API/API.so'; reason: Permission denied dh_strip: error: strip --remove-section=.comment --remove-section=.note debian/libmozilla-ldap-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Mozilla/LDAP/API/API.so returned exit code 1
dh_strip: error: Aborting due to earlier error
make: *** [debian/rules:50: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-17T03:02:53Z

-------------------------------------------------------------------------------


The above is just how the build ends and not necessarily the most
relevant part. If required, the full build log is available here:

https://people.debian.org/~nthykier/rrr-no-as-default/logs/1011334.gz

You can find common solutions at
https://people.debian.org/~nthykier/rrr-no-as-default/docs/solutions.md

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/static-ownership.list,
then please just set `Rules-Requires-Root: binary-targets` to the source
stanza of `debian/control` as a fix to this bug.

If this package is listed in
https://people.debian.org/~nthykier/rrr-no-as-default/docs/maybe-misbuilds.list,
then the package was deemed at risk for misbuilding (having wrong
ownership) but had a FTBFS problem we tested it. Please test whether the
package works with `Rules-Requires-Root: no` validating that the
resulting deb has the correct ownership for all paths in the deb.

The goal is to have the default changed in `dpkg` either in `Trixie` or
`Forky`, depending on progress and feasibility with the release schedule
for Trixie.

For more information on this bug filing, please see:
https://lists.debian.org/debian-dpkg/2024/11/msg00016.html

Thanks,


PS: The builds were performed in mid-November. If you fixed the problem
between between then and this bug being filed, then please just close
the bug with the version it was fixed in.

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: libmozilla-ldap-perl
Source-Version: 1.5.3-3.1
Done: Niels Thykier <ni...@thykier.net>

We believe that the bug you reported is fixed in the latest version of
libmozilla-ldap-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1089...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <ni...@thykier.net> (supplier of updated libmozilla-ldap-perl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 03 Jan 2025 06:11:27 +0000
Source: libmozilla-ldap-perl
Architecture: source
Version: 1.5.3-3.1
Distribution: unstable
Urgency: medium
Maintainer: Debian FreeIPA Team <pkg-freeipa-de...@alioth-lists.debian.net>
Changed-By: Niels Thykier <ni...@thykier.net>
Closes: 1089367
Changes:
 libmozilla-ldap-perl (1.5.3-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Have the package build without requring root.
     (Closes: #1089367)
Checksums-Sha1:
 401e0942bf9dda1951e5d3e3bb965ba223c012ea 1819 
libmozilla-ldap-perl_1.5.3-3.1.dsc
 e0ecc1daa6145baf0f3a4d71668bd1e34ca596f5 12916 
libmozilla-ldap-perl_1.5.3-3.1.debian.tar.xz
 cf9307647b06b608f4f076ea45813ea307352b2d 5941 
libmozilla-ldap-perl_1.5.3-3.1_source.buildinfo
Checksums-Sha256:
 855be60d1abf59c6b99831f76bbc5fa7befd2e400b3a36e6c9a7cef2c1009064 1819 
libmozilla-ldap-perl_1.5.3-3.1.dsc
 3cfe522d012b62d7eb1a1955da7f61c6583ab0970ef583ba2d32abfe6f78a377 12916 
libmozilla-ldap-perl_1.5.3-3.1.debian.tar.xz
 79a348782cece09d2efde88614cfe91763190bbba23b5c7ad943ea8725652492 5941 
libmozilla-ldap-perl_1.5.3-3.1_source.buildinfo
Files:
 c11d4a6521f00235e40e943ccdb20de8 1819 perl optional 
libmozilla-ldap-perl_1.5.3-3.1.dsc
 8aad83f42c1b888cb7d9ca93bfe43743 12916 perl optional 
libmozilla-ldap-perl_1.5.3-3.1.debian.tar.xz
 399ef9b516e265016dbbf102e1f17185 5941 perl optional 
libmozilla-ldap-perl_1.5.3-3.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmd3f9MSHG5pZWxzQHRo
eWtpZXIubmV0AAoJEHQNaIiDZdKJDz0H+wSiu9lz1lGZF0Nki1SegW742Ko1YydU
Hr38cp8P5ro6P9IFeIhScGREJ8ODBBiKG4CaYKHOZR2lhcvQ0mLt9EeDw/8TCUWF
9/jHAD7hcaHWgqEy7uqAROwNoAqaB18TPku0M953Ue54Q9QIqEq7vRPisuNXEMtf
Fr45mvJSQYsw/GBeJa/HzDOecRVMMxqcD9lzL7s4Mbu8H6nUjurpT6q+fy3NkFPE
iIHtiQWQ/ohpIMzVFQJTLhXGkoD7EHy1QoPsB8w0bvjLnEwdpykJmoJv3u5HbdJp
gBocDHV4zJYyBhQAT7Kbuzgy4vHcFFShA33RPTq6Wrsj1E/R7uNXn4E=
=LOO1
-----END PGP SIGNATURE-----

Attachment: pgpUP2WGa59r8.pgp
Description: PGP signature


--- End Message ---

Reply via email to