Your message dated Wed, 08 Jan 2025 21:36:54 +0000
with message-id <[email protected]>
and subject line Bug#1089353: fixed in itcl3 3.4.4-2.1
has caused the Debian Bug report #1089353,
regarding itcl3: 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 [email protected]
immediately.)


-- 
1089353: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1089353
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: itcl3
Version: 3.4.4-2
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: [email protected]
User: [email protected]
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`,
itcl3 failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
rm -f libitcl3.4.so
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,--export-dynamic -shared -o libitcl3.4.so itclStubInit.o itcl_bicmds.o itcl_class.o itcl_cmds.o itcl_ensemble.o itcl_linkage.o itcl_methods.o itcl_migrate.o itcl_objects.o itcl_parse.o itcl_util.o -Wl,-soname,libitcl3.4.so.1 -L/usr/lib/aarch64-linux-gnu -ltclstub8.6 : libitcl3.4.so gcc -DPACKAGE_NAME=\"itcl\" -DPACKAGE_TARNAME=\"itcl\" -DPACKAGE_VERSION=\"3.4\" -DPACKAGE_STRING=\"itcl\ 3.4\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DBUILD_itcl=/\*\*/ -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DTCL_THREADS=1 -DUSE_TCL_STUBS=1 -DUSE_TCLOO_STUBS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DITCL_LIBRARY=\"/usr/lib/aarch64-linux-gnu/itcl3.4\" -I"./generic" -I"/usr/include/tcl8.6/tcl-private/generic" -I"/usr/include/tcl8.6/tcl-private/unix" -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -pipe -Wdate-time -D_FORTIFY_SOURCE=2 -c `echo ./generic/itclStubLib.c` -o itclStubLib.o
rm -f libitclstub3.4.a
ar cr libitclstub3.4.a itclStubLib.o
ranlib libitclstub3.4.a
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        make -j16 test "TESTSUITEFLAGS=-j16 --verbose" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
TCL_LIBRARY=`echo /usr/include/tcl8.6/tcl-private/library` ITCL_LIBRARY=`echo ./library` LD_LIBRARY_PATH=".:/usr/lib/aarch64-linux-gnu/tcl8.6:" PATH=".:/usr/lib/aarch64-linux-gnu/tcl8.6:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" TCLLIBPATH="." /usr/bin/tclsh8.6 `echo ./tests/all.tcl` -load "package require Itcl 3.4" Tests running in interp: /usr/bin/tclsh8.6
Tests located in:  /<<PKGBUILDDIR>>/tests
Tests running in:  /<<PKGBUILDDIR>>
Temporary files stored in /<<PKGBUILDDIR>>
Test files run in separate interpreters
Running tests that match:  *
Skipping test files that match:  l.*.test
Only running test files that match:  *.test
Tests began at Sat Nov 16 19:14:09 UTC 2024
basic.test
body.test
chain.test
delete.test
ensemble.test
import.test
info.test
inherit.test
interp.test
local.test
methods.test
mkindex.test


==== mkindex-1.3 examine tclIndex FAILED
==== Contents of test case:

    namespace eval itcl_mkindex_tmp {
        set dir "."
        variable auto_index
        source tclIndex
        set result ""
        foreach elem [lsort [array names auto_index]] {
            lappend result [list $elem $auto_index($elem)]
        }
        set result
    }

---- Result was:
{::Simple2::bump {source ./mkindex.itcl}} {::Simple2::by {source ./mkindex.itcl}} {::buried::deep::within {source ./mkindex.itcl}} {::buried::ens {source ./mkindex.itcl}} {::buried::inside {source ./mkindex.itcl}} {::buried::inside::bump {source ./mkindex.itcl}} {::buried::inside::by {source ./mkindex.itcl}} {::buried::inside::find {source -encoding utf-8 ./mkindex.itcl}} {::buried::under::neath {source ./mkindex.itcl}} {::top::find {source -encoding utf-8 ./mkindex.itcl}} {::top::notice {source -encoding utf-8 ./mkindex.itcl}} {Simple1 {source ./mkindex.itcl}} {Simple2 {source ./mkindex.itcl}} {ens {source ./mkindex.itcl}} {top {source ./mkindex.itcl}}
---- Result should have been (exact matching):
{::Simple2::bump {source ./mkindex.itcl}} {::Simple2::by {source ./mkindex.itcl}} {::buried::deep::within {source ./mkindex.itcl}} {::buried::ens {source ./mkindex.itcl}} {::buried::inside {source ./mkindex.itcl}} {::buried::inside::bump {source ./mkindex.itcl}} {::buried::inside::by {source ./mkindex.itcl}} {::buried::inside::find {source ./mkindex.itcl}} {::buried::under::neath {source ./mkindex.itcl}} {::top::find {source ./mkindex.itcl}} {::top::notice {source ./mkindex.itcl}} {Simple1 {source ./mkindex.itcl}} {Simple2 {source ./mkindex.itcl}} {ens {source ./mkindex.itcl}} {top {source ./mkindex.itcl}}
==== mkindex-1.3 FAILED

namespace.test
protection.test
scope.test

Tests ended at Sat Nov 16 19:14:10 UTC 2024
all.tcl:        Total   404     Passed  403     Skipped 0       Failed  1
Sourced 15 Test Files.
Files with failing tests: mkindex.test
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
   dh_prep
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make prefix=/<<PKGBUILDDIR>>/debian/tmp/usr \
        exec_prefix=/<<PKGBUILDDIR>>/debian/tmp/usr \
        includedir=/<<PKGBUILDDIR>>/debian/tmp/usr/include/itcl3 \
        install
make[2]: Entering directory '/<<PKGBUILDDIR>>'
/bin/bash ./tclconfig/install-sh -c -m 755 libitcl3.4.so /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itcl3.4/libitcl3.4.so : /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itcl3.4/libitcl3.4.so /bin/bash ./tclconfig/install-sh -c -m 755 libitclstub3.4.a /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itcl3.4/libitclstub3.4.a ranlib /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itcl3.4/libitclstub3.4.a Install itcl.tcl /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itcl3.4/itcl.tcl /bin/bash ./tclconfig/install-sh -c -m 444 pkgIndex.tcl /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itcl3.4 /bin/bash ./tclconfig/install-sh -c -m 444 itclConfig.sh /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu
Installing header files in /<<PKGBUILDDIR>>/debian/tmp/usr/include/itcl3
Installing ./generic/itcl.h
Installing ./generic/itclDecls.h
Installing ./generic/itclInt.h
Installing ./generic/itclIntDecls.h
Installing man pages in /<<PKGBUILDDIR>>/debian/tmp/usr/share/man
Installing body.n
Installing class.n
Installing code.n
Installing configbody.n
Installing delete.n
Installing ensemble.n
Installing find.n
Installing is.n
Installing itcl.n
Installing itclvars.n
Installing local.n
Installing scope.n
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
#
# Fix up the itcl libraries.
mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itcl*/libitcl3.4.so /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libitcl3.4.so.1 mv /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itcl*/*.a /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu ln -sf libitcl3.4.so.1 /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/libitcl3.4.so
#  (itclConfig.sh doesn't get installed at all, so we install it here)
sed -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?LIB_SPEC\)=.*$:\1='-L/usr/lib/aarch64-linux-gnu -litcl3.4':" \ -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?STUB_LIB_SPEC\)=.*$:\1='-L/usr/lib/aarch64-linux-gnu -litclstub3.4':" \ -e "s:^\(\(ITCL\|itcl\)_\(BUILD_\)\?STUB_LIB_PATH\)=.*$:\1=/usr/lib/aarch64-linux-gnu/libitclstub3.4.a:" \ -e "s:^\(\(ITCL\|itcl\)_SRC_DIR\)=.*$:\1='/usr/include/itcl3/itcl-private':" \
    -e "s:^\(\(ITCL\|itcl\)_LIB_FILE\)=.*$:\1=libitcl3.4.so.1:" \
    -e "s:^\(\(ITCL\|itcl\)_STUB_LIB_FILE\)=.*$:\1=libitclstub3.4.a:" \
    -e "s:^\(\(ITCL\|itcl\)_VERSION\)=.*$:\1='3.4':" \
itclConfig.sh > /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itclConfig.sh /bin/sh: 1: cannot create /<<PKGBUILDDIR>>/debian/tmp/usr/lib/aarch64-linux-gnu/itclConfig.sh: Permission denied
make[1]: *** [debian/rules:43: override_dh_auto_install] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T19:14:15Z

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


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/998649.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: itcl3
Source-Version: 3.4.4-2.1
Done: Niels Thykier <[email protected]>

We believe that the bug you reported is fixed in the latest version of
itcl3, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niels Thykier <[email protected]> (supplier of updated itcl3 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 [email protected])


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

Format: 1.8
Date: Wed, 01 Jan 2025 18:09:14 +0000
Source: itcl3
Architecture: source
Version: 3.4.4-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Tcl/Tk Packagers <[email protected]>
Changed-By: Niels Thykier <[email protected]>
Closes: 1089353
Changes:
 itcl3 (3.4.4-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Remove need for root when building the package.
     (Closes: #1089353)
Checksums-Sha1:
 6620fd8b5464c799a56d2ce8f351760be82c96fa 1674 itcl3_3.4.4-2.1.dsc
 e945da71ac424a883ad866df68c3666c9ebd10d1 7280 itcl3_3.4.4-2.1.debian.tar.xz
 e30d77e338f9456c5d226c531545a52e0ab66068 5402 itcl3_3.4.4-2.1_source.buildinfo
Checksums-Sha256:
 4901efa56866d3bddac53f3107e61f33ce800f74ef3fc8e46d313d02e02539ff 1674 
itcl3_3.4.4-2.1.dsc
 d44fe7f5decb022413e942b8016cf43289d57dde92a1be4bc0bd4213bf95d5f5 7280 
itcl3_3.4.4-2.1.debian.tar.xz
 76fa6e69999733f73a3740c6d2356f0d354873e7c5db9931721e5f4cb62eefea 5402 
itcl3_3.4.4-2.1_source.buildinfo
Files:
 c0cc89abf1733118a0b4252f703244b9 1674 libs optional itcl3_3.4.4-2.1.dsc
 83189ed7f03c6352ddb2c6454b2650d7 7280 libs optional 
itcl3_3.4.4-2.1.debian.tar.xz
 f9a0cc3899a20fafd3adf0dc4fa07a29 5402 libs optional 
itcl3_3.4.4-2.1_source.buildinfo

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

iQFGBAEBCgAwFiEE9ecZmu9eXGflVYc/dA1oiINl0okFAmd4PTgSHG5pZWxzQHRo
eWtpZXIubmV0AAoJEHQNaIiDZdKJ2y0IAJ5XC278bDNR3P5/yv0CGmPFPkAVRdBT
pD4Z/hsREzPBh4H94hBOwxUMHmkJPUCtb64tBAdgq+ZZmF+l5L2mFdGmpMiLI8m/
MCLf6fEE+mnbQCkk5UllAWb2treUFwYEcQtFX861jfJdyaxWPgB8rJuYs3/6dmQ6
wO5fnYfrvvBKqdyFaoje2ajO4+b91cgXkvYIYu16hDEoe5y0cmOpJymEbbh1ttTV
QAQgp7/Eo0edjlp0HoN9c31RWD5Pl9BnWcpga8ZGlGsIgnQhPkemFNRDMGl4DdRo
vYcuCDEyqoKDeMew0cnTCJ/xld9wz3od68y1gcr5Neh9LkcwN8xjSOw=
=SCGL
-----END PGP SIGNATURE-----

Attachment: pgpOuY9KvdHuU.pgp
Description: PGP signature


--- End Message ---

Reply via email to