Bug#1033748: source: build should not need extra option for user root

2023-03-31 Thread henrynmail-deb...@yahoo.com
Package: tar
Version: 1.34+dfsg-1
Severity: minor
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

thy typically steps tu build a pacage ist to run these steps as user "root":

   # apt source tar
   # cd tar-1.34+dfsg
   # apt build-dep tar
   # dpkg-buildpackage -B "-Pnocheck noinsttest noudeb" -uc -us

This stops with an error

    configure: error: you should not run configure as root (set 
FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)

For automate tools such stop is not nice.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-16-amd64 (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: unable to detect

Versions of packages tar depends on:
ii  libacl1  2.3.1-3
ii  libc6    2.36-8
ii  libselinux1  3.4-1+b5

tar recommends no packages.

Versions of packages tar suggests:
ii  bzip2    1.0.8-5+b1
pn  ncompress    
pn  tar-doc  
pn  tar-scripts  
ii  xz-utils 5.4.1-0.2

-- no debconf information



Bug#1033421: newt: nopython not full respected

2023-03-25 Thread henrynmail-deb...@yahoo.com
> >snack.c:2:10: fatal error: Python.h: No such file or directory
> >    2 | #include "Python.h"
> >  |  ^~
> >compilation terminated.
> 
> This is actually interesting as the build continues despite the error 
> (which maybe RC itself). An easy way to reproduce is:
> 
> sbuild --no-arch-all --profiles=nocheck,noinsttest,noudeb,nopython -d 
> unstable newt --host=arm64 --build amd64

Opened as new bug #1033465 with patch included.



Bug#1033465: newt: build ignore error Python.h: No such file or directory

2023-03-25 Thread henrynmail-deb...@yahoo.com
Package: newt
Version: 0.52.23-1
Severity: normal
Tags: ftbfs patch

Dear Maintainer,

if libpython*-dev is not installed, the build give an error

> snack.c:2:10: fatal error: Python.h: No such file or directory
> 2 | #include "Python.h"
>   |  ^~
> compilation terminated.

but the build not stops here.

# apt build-dep newt
# dpkg-buildpackage -B "-Pnocheck noinsttest noudeb nopython" -uc -us

The attached patch fix this problem. But then a build with "nopython"
will fail. To fix this, please add also patch in #1033421

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-16-amd64 (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: unable to detect

-- Henry


newt-despite-error.patch
Description: Binary data


Bug#1033417: newt: missing Build-Depends docbook

2023-03-25 Thread henrynmail-deb...@yahoo.com
Jochen Sprickerhof  wrote: 

>Hi Henry,
>
>* Henry N.  [2023-03-24 17:56]:
>>build in a minimal build environmet fails for docbook2html.
>>
>># apt source newt
>># cd newt-0.52.23
>># apt build-dep newt
>>... all dependency installed ...
>># dpkg-buildpackage -B "-Pnocheck noinsttest noudeb" -uc -us
>>...
>>openjade:/tmp/newt-0.52.23/tutorial/../tutorial.sgml:1:61:W: cannot
>>generate system identifier for public text "-//Davenport//DTD DocBook
>>V3.0//EN"
>>openjade:/tmp/newt-0.52.23/tutorial/../tutorial.sgml:1:61:E: reference
>>to entity "ARTICLE" for which no system identifier could be generated
>>...
>>openjade:I: maximum number of errors (200) reached; change with -E
>>option
>>make[1]: *** [debian/rules:53: override_dh_auto_build] Error 8
>>make[1]: Leaving directory '/tmp/newt-0.52.23'
>>make: *** [debian/rules:14: build-arch] Error 2
>>dpkg-buildpackage: error: debian/rules build-arch subprocess returned
>>exit status 2
>
>I can't reproduce this with:
>
>$ sbuild --no-arch-all --profiles=nocheck,noinsttest,noudeb -d unstable newt

Yes, that works.

>>Workaround: After installing "docbook" it works.
>
>newt build depends on docbook-utils that depends on docbook-dsssl that 
>depends on docbook so your minimal system should have installed that 
>already. Can you please verify?

 docbook-dsssl depends on docbook *or* docbook-xml.
docbook-xml has only a suggestion to docbook.
It fails, if docbook-xml is installed and docbook is not installed.

Reproducable way in typically installation of Debian bookworm:
# apt remove docbook
# apt install docbook-xml
# apt source newt
# cd newt-0.52.23
# apt build-dep newt
# dpkg-buildpackage -B --build-profiles=nocheck,noinsttest,noudeb -uc -us

Henry



Bug#1033422: base-passwd: missing Build-Depends docbook

2023-03-24 Thread henrynmail-deb...@yahoo.com
Package: base-passwd
Version: 3.6.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
Usertags: rebootstrap

Dear Maintainer,

build in a minimal build environmet fails for docbook2html.

# apt remove docbook && apt autoremove
# apt build-dep base-passwd
... some dependency installed ...
# dpkg-buildpackage -j1 -B "-Pnocheck noinsttest noudeb" -uc -us
...
make[3]: Entering directory '/tmp/base-passwd-3.6.1/doc'
docbook2html --nochunks users-and-groups.sgml
...
openjade:/tmp/base-passwd-3.6.1/doc/users-and-groups.sgml:1:54:W: 
cannotgenerate system identifier for public text "-//OASIS//DTD DocBookV4.2//EN"
openjade:/tmp/base-passwd-3.6.1/doc/users-and-groups.sgml:1:54:E:
reference to entity "BOOK" for which no system identifier could be generated
...
openjade:I: maximum number of errors (200) reached; change with -E
option
make[3]: *** [Makefile:455: users-and-groups.html] Error 8
make[3]: Leaving directory '/tmp/base-passwd-3.6.1/doc'
make[2]: *** [Makefile:524: all-recursive] Error 1
make[2]: Leaving directory '/tmp/base-passwd-3.6.1'
make[1]: *** [Makefile:348: all] Error 2
make[1]: Leaving directory '/tmp/base-passwd-3.6.1'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:3: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2

Workaround:
After installing "docbook" it works.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i586

Kernel: Linux 4.19.0-16-amd64 (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: unable to detect

Versions of packages base-passwd depends on:
ii  libc6  2.36-8
ii  libdebconfclient0  0.267
ii  libselinux1    3.4-1+b5

Versions of packages base-passwd recommends:
ii  debconf [debconf-2.0]  1.5.82

base-passwd suggests no packages.

-- debconf information excluded



Bug#1033421: newt: nopython not full respected

2023-03-24 Thread henrynmail-deb...@yahoo.com
Package: newt
Version: 0.52.23-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Tags: ftbfs patch
Usertags: rebootstrap

Dear Maintainer,

the build option "nopython" was not respected in all cases.
In rules exist a check for nopython in DEB_BUILD_PROFILES, but later in
Makefile.in it will overritten by setting PYTHONVERS again.
If libpython*-dev is not installed, the build breaks with

    Python.h: No such file or directory

The fail was detected by cross builing, but also exist in native builds.

# apt remove python3-all libpython3.11-dev libpython3.11-dbg python3-minimal
# dpkg-buildpackage -B "-Pnocheck noinsttest noudeb nopython" -uc -us
...
/bin/sh: 1: python3.11-config: not found
/bin/sh: 1: python3.11-config: not found
/bin/sh: 1: python3.11-config: not found
/bin/sh: 1: python3.11-config: not found
gcc -fPIC -D_GNU_SOURCE -Wdate-time -D_FORTIFY_SOURCE=2
-I/usr/include/tcl8.6 -g -O2 -ffile-prefix-map=/tmp/newt/newt-0.52.23=.
-fstack-protector-strong -Wformat -Werror=format-security
-DMARCH="x86_64-linux-gnu" -fPIC -c -o python3.11/snack.o snack.c
snack.c:2:10: fatal error: Python.h: No such file or directory
    2 | #include "Python.h"
  |  ^~
compilation terminated.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-16-amd64 (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: unable to detect




newt-nopython.patch
Description: Binary data


Bug#1033403: mpdecimal: Packet missing in bookworm

2023-03-24 Thread henrynmail-deb...@yahoo.com
Package: mpdecimal
Version: 2.4.2
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Tags: ftbfs
Usertags: rebootstrap

Dear Maintainer,

Source information for mpdecimal are missing for Debian bookworm.
No Source package available. Detected by rebootstrap, is market as 'add_need'.

Source for sid exist.

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-16-amd64 (SMP w/2 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/bash
Init: unable to detect