Source: libdevel-callparser-perl
Version: 0.002-5
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`,
libdevel-callparser-perl failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Devel-CallParser' version '0.002'
cd . && ./Build build
Building Devel-CallParser
aarch64-linux-gnu-gcc -I/usr/lib/aarch64-linux-gnu/perl/5.40/CORE '-DVERSION="0.002"' '-DXS_VERSION="0.002"' -fPIC -c -g -O2 '-Werror=implicit-function-declaration' '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' -fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' '-mbranch-protection=standard' -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -o lib/Devel/CallParser.o lib/Devel/CallParser.c
lib/Devel/CallParser.xs:10:9: warning: "PERL_VERSION_GE" redefined
   10 | #define PERL_VERSION_GE(r,v,s) \
      |         ^~~~~~~~~~~~~~~
In file included from /usr/lib/aarch64-linux-gnu/perl/5.40/CORE/perl.h:3329,
                 from lib/Devel/CallParser.xs:3:
/usr/lib/aarch64-linux-gnu/perl/5.40/CORE/handy.h:578:10: note: this is the location of the previous definition
  578 | # define PERL_VERSION_GE(j,n,p)  (! PERL_VERSION_LT(j,n,p))
      |          ^~~~~~~~~~~~~~~
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/Devel/CallParser/CallParser.bs')
aarch64-linux-gnu-gcc -Wl,-z,relro -shared -L/usr/local/lib -fstack-protector-strong -o blib/arch/auto/Devel/CallParser/CallParser.so lib/Devel/CallParser.o
touch debian/stamp-perl-build
cd  . && ./Build test  --verbose 1
t/dataalias.t ...... skipped: good Data::Alias unavailable
t/develdeclare.t ... 1..1
ok 1
ok
t/getset0.t ........ 1..4
ok 1
ok 2 - require Devel::CallParser;
ok 3
ok 4
ok
t/getset1.t ........ 1..4
ok 1
ok 2 - require Devel::CallParser;
ok 3
ok 4
ok
t/indirect.t ....... 1..1
ok 1
ok
t/leximport.t ...... skipped: good Lexical::Sub unavailable
t/listquote.t ...... 1..47
ok 1
ok 2 - require Devel::CallParser;
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok
t/multiblock.t ..... 1..17
ok 1
ok 2 - require Devel::CallParser;
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok
t/no_hdr.t ......... 1..2
ok 1 - require Devel::CallParser;
ok 2 # skip callparser1.h available
ok
t/pad2.t ........... 1..1
ok 1 - $arg stays set after a "my $arg" block
ok
t/padrange.t ....... 1..2
ok 1
ok 2
ok
t/pod_cvg.t ........ skipped: Test::Pod::Coverage not available
t/pod_syn.t ........ skipped: Test::Pod not available
t/proto.t .......... 1..107
ok 1
ok 2 - require Devel::CallParser;
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57
ok 58
ok 59
ok 60
ok 61
ok 62
ok 63
ok 64
ok 65
ok 66
ok 67
ok 68
ok 69
ok 70
ok 71
ok 72
ok 73
ok 74
ok 75
ok 76
ok 77
ok 78
ok 79
ok 80
ok 81
ok 82
ok 83
ok 84
ok 85
ok 86
ok 87
ok 88
ok 89
ok 90
ok 91
ok 92
ok 93
ok 94
ok 95
ok 96
ok 97
ok 98
ok 99
ok 100
ok 101
ok 102
ok 103
ok 104
ok 105
ok 106
ok 107
ok
t/stdargs.t ........ 1..278
ok 1
ok 2 - require Devel::CallParser;
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
ok 18
ok 19
ok 20
ok 21
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
ok 29
ok 30
ok 31
ok 32
ok 33
ok 34
ok 35
ok 36
ok 37
ok 38
ok 39
ok 40
ok 41
ok 42
ok 43
ok 44
ok 45
ok 46
ok 47
ok 48
ok 49
ok 50
ok 51
ok 52
ok 53
ok 54
ok 55
ok 56
ok 57
ok 58
ok 59
ok 60
ok 61
ok 62
ok 63
ok 64
ok 65
ok 66
ok 67
ok 68
ok 69
ok 70
ok 71
ok 72
ok 73
ok 74
ok 75
ok 76
ok 77
ok 78
ok 79
ok 80
ok 81
ok 82
ok 83
ok 84
ok 85
ok 86
ok 87
ok 88
ok 89
ok 90
ok 91
ok 92
ok 93
ok 94
ok 95
ok 96
ok 97
ok 98
ok 99
ok 100
ok 101
ok 102
ok 103
ok 104
ok 105
ok 106
ok 107
ok 108
ok 109
ok 110
ok 111
ok 112
ok 113
ok 114
ok 115
ok 116
ok 117
ok 118
ok 119
ok 120
ok 121
ok 122
ok 123
ok 124
ok 125
ok 126
ok 127
ok 128
ok 129
ok 130
ok 131
ok 132
ok 133
ok 134
ok 135
ok 136
ok 137
ok 138
ok 139
ok 140
ok 141
ok 142
ok 143
ok 144
ok 145
ok 146
ok 147
ok 148
ok 149
ok 150
ok 151
ok 152
ok 153
ok 154
ok 155
ok 156
ok 157
ok 158
ok 159
ok 160
ok 161
ok 162
ok 163
ok 164
ok 165
ok 166
ok 167
ok 168
ok 169
ok 170
ok 171
ok 172
ok 173
ok 174
ok 175
ok 176
ok 177
ok 178
ok 179
ok 180
ok 181
ok 182
ok 183
ok 184
ok 185
ok 186
ok 187
ok 188
ok 189
ok 190
ok 191
ok 192
ok 193
ok 194
ok 195
ok 196
ok 197
ok 198
ok 199
ok 200
ok 201
ok 202
ok 203
ok 204
ok 205
ok 206
ok 207
ok 208
ok 209
ok 210
ok 211
ok 212
ok 213
ok 214
ok 215
ok 216
ok 217
ok 218
ok 219
ok 220
ok 221
ok 222
ok 223
ok 224
ok 225
ok 226
ok 227
ok 228
ok 229
ok 230
ok 231
ok 232
ok 233
ok 234
ok 235
ok 236
ok 237
ok 238
ok 239
ok 240
ok 241
ok 242
ok 243
ok 244
ok 245
ok 246
ok 247
ok 248
ok 249
ok 250
ok 251
ok 252
ok 253
ok 254
ok 255
ok 256
ok 257
ok 258
ok 259
ok 260
ok 261
ok 262
ok 263
ok 264
ok 265
ok 266
ok 267
ok 268
ok 269
ok 270
ok 271
ok 272
ok 273
ok 274
ok 275
ok 276
ok 277
ok 278
ok
t/substrictdecl.t .. skipped: good Sub::StrictDecl unavailable
All tests successful.
Files=16, Tests=464, 5 wallclock secs ( 0.09 usr 0.04 sys + 4.13 cusr 0.80 csys = 5.06 CPU)
Result: PASS
touch debian/stamp-perl-check
cd . && ./Build install
Building Devel-CallParser
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /<<PKGBUILDDIR>>/debian/libdevel-callparser-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Devel/CallParser/CallParser.bs Installing /<<PKGBUILDDIR>>/debian/libdevel-callparser-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Devel/CallParser/CallParser.so Installing /<<PKGBUILDDIR>>/debian/libdevel-callparser-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/Devel/CallParser.pm Installing /<<PKGBUILDDIR>>/debian/libdevel-callparser-perl/usr/share/man/man3/Devel::CallParser.3pm find /<<PKGBUILDDIR>>/debian/libdevel-callparser-perl/usr/lib -type f -name .packlist -exec rm -f '{}' ';' -exec sh -c "dirname '{}' | xargs rmdir --ignore-fail-on-non-empty -p" ';'
Adding cdbs dependencies to debian/libdevel-callparser-perl.substvars
dh_installdirs -plibdevel-callparser-perl \
        
dh_installdocs -plibdevel-callparser-perl ./README
dh_installexamples -plibdevel-callparser-perl dh_installman -plibdevel-callparser-perl dh_installinfo -plibdevel-callparser-perl dh_installmenu -plibdevel-callparser-perl dh_installcron -plibdevel-callparser-perl dh_systemd_enable -plibdevel-callparser-perl dh_installinit -plibdevel-callparser-perl dh_installdebconf -plibdevel-callparser-perl dh_installemacsen -plibdevel-callparser-perl dh_installcatalogs -plibdevel-callparser-perl dh_installpam -plibdevel-callparser-perl dh_installlogrotate -plibdevel-callparser-perl dh_installlogcheck -plibdevel-callparser-perl dh_installchangelogs -plibdevel-callparser-perl ./Changes dh_installudev -plibdevel-callparser-perl dh_lintian -plibdevel-callparser-perl dh_bugfiles -plibdevel-callparser-perl dh_install -plibdevel-callparser-perl dh_systemd_start -plibdevel-callparser-perl dh_link -plibdevel-callparser-perl dh_buildinfo -plibdevel-callparser-perl dh_installmime -plibdevel-callparser-perl dh_installgsettings -plibdevel-callparser-perl dh_strip -plibdevel-callparser-perl strip: unable to copy file 'debian/libdevel-callparser-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Devel/CallParser/CallParser.so'; reason: Permission denied dh_strip: error: strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/libdevel-callparser-perl/usr/lib/aarch64-linux-gnu/perl5/5.40/auto/Devel/CallParser/CallParser.so returned exit code 1
dh_strip: error: Aborting due to earlier error
make: *** [/usr/share/cdbs/1/rules/debhelper.mk:298: binary-strip-IMPL/libdevel-callparser-perl] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-11-16T23:28:25Z

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


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/1005387.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

Reply via email to