Hi, I did a fresh Trixie install for chroot. I don't remember to have done something special on Bookworm in order to build properly.
Here I attach a file, so that you can see where what problem I faced.
The question is why I did not have those issues in Bookworm, but I face them in Trixie.
On 2025/11/15 03:47 PM, deloptes via tde-devels wrote:
Hi, I did a fresh Trixie install for chroot. I don't remember to have done something special on Bookworm in order to build properly.
Here I attach a file, so that you can see where what problem I faced.
The question is why I did not have those issues in Bookworm, but I face them in Trixie.
Hi Emanoil, other than tdeaddons, everything builds fine in Trixie. Are you sure you are using the latest sources? Cheers Michele
Michele Calgaro via tde-devels wrote:
On 2025/11/15 03:47 PM, deloptes via tde-devels wrote:
Hi, I did a fresh Trixie install for chroot. I don't remember to have done something special on Bookworm in order to build properly.
Here I attach a file, so that you can see where what problem I faced.
The question is why I did not have those issues in Bookworm, but I face them in Trixie.
Hi Emanoil, other than tdeaddons, everything builds fine in Trixie. Are you sure you are using the latest sources? Cheers Michele
Hi Michele, yes. I am using the latest sources. I build for Bookworm without any issue right before that. Then I installed Trixie using debootstrap and using the same sources ran the usual build process. It is possible that I have configured something in Bookworm or that something changed in Trixie. I am using debuild with an ordinary user (not root) in both cases. I just wonder why in Bookworm it is possible to set file permissions and ownership and in Trixie it is not. Anyway! It seems it is a local problem.
If someone has an idea let me know.
BR
deloptes via tde-devels wrote:
Anyway! It seems it is a local problem.
If someone has an idea let me know.
I have to revert this statement. Read here https://wiki.debian.org/BuildingWithoutFakeroot
so few things need to change. I'll go through and probably provide patches, where needed.
BR
Michele Calgaro via tde-devels wrote:
On 2025/11/15 03:47 PM, deloptes via tde-devels wrote:
Hi, I did a fresh Trixie install for chroot. I don't remember to have done something special on Bookworm in order to build properly.
Here I attach a file, so that you can see where what problem I faced.
The question is why I did not have those issues in Bookworm, but I face them in Trixie.
Hi Emanoil, other than tdeaddons, everything builds fine in Trixie. Are you sure you are using the latest sources? Cheers Michele
ahaaaa, so this is new in Trixie. In the case of sudo and tdenetwork chmod command was not there in the build directory, but I checked and in the Makefile in git it is there.
In the cases where install -m ... -u ... -g ... is used. It was in the build but working in Bookworm.
In the case with strip I don't know ... seems to be again a file permission issue.
Perhaps something changed in Debian Trixie.
--- ../TDE/repo-master/tde/2_build_bookworm_amd64/metapackages/sudo-trinity/Makefile 2021-07-26 01:19:31.000000000 +0200 +++ ../TDE/repo-master/tde/2_build_trixie_amd64/metapackages/sudo-trinity/Makefile 2025-11-15 07:08:06.537254673 +0100 @@ -8,5 +8,5 @@ install: mkdir -p /etc cp -Rp etc/* $(DESTDIR)/etc/ - chmod -R 644 $(DESTDIR)/etc - chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path +# chmod -R 644 $(DESTDIR)/etc +# chmod -R 0440 $(DESTDIR)/etc/sudoers.d/tde-secure-path
diff -ubr ../TDE/repo-master/tde/2_build_bookworm_amd64/libraries/pytde/debian/rules ../TDE/repo-master/tde/2_build_trixie_amd64/libraries/pytde/debian/rules --- ../TDE/repo-master/tde/2_build_bookworm_amd64/libraries/pytde/debian/rules 2025-11-08 23:40:19.307241170 +0100 +++ ../TDE/repo-master/tde/2_build_trixie_amd64/libraries/pytde/debian/rules 2025-11-15 00:24:21.655237213 +0100 @@ -116,9 +116,9 @@ do\ pylib=$$(python$$version -c "import sysconfig; print(sysconfig.get_path('platstdlib'))");\ mkdir -p debian/pytde-dev/$$pylib;\ - install -m 644 -o root -g root debian/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig.py;\ - install -m 644 -o root -g root build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_nd.py;\ - install -m 644 -o root -g root dbg-build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_d.py;\ + install debian/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig.py;\ + install build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_nd.py;\ + install dbg-build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_d.py;\ done
install-arch:
diff -ubr ../TDE/repo-master/tde/2_build_bookworm_amd64/core/tdenetwork/debian/rules ../TDE/repo-master/tde/2_build_trixie_amd64/core/tdenetwork/debian/rules | more --- ../TDE/repo-master/tde/2_build_bookworm_amd64/core/tdenetwork/debian/rules 2025-11-08 22:00:53.471489935 +0100 +++ ../TDE/repo-master/tde/2_build_trixie_amd64/core/tdenetwork/debian/rules 2025-11-14 14:13:44.192121027 +0100 @@ -41,8 +41,8 @@ etc/ppp/peers/kppp-options
binary-install/kppp-trinity:: - chown root:dip debian/kppp-trinity/opt/trinity/bin/kppp* - chown root:dip debian/kppp-trinity/etc/ppp/peers/kppp-options - chmod 4754 debian/kppp-trinity/opt/trinity/bin/kppp - chmod 0754 debian/kppp-trinity/opt/trinity/bin/kppplogview - chmod 0640 debian/kppp-trinity/etc/ppp/peers/kppp-options +# chown root:dip debian/kppp-trinity/opt/trinity/bin/kppp* +# chown root:dip debian/kppp-trinity/etc/ppp/peers/kppp-options +# chmod 4754 debian/kppp-trinity/opt/trinity/bin/kppp +# chmod 0754 debian/kppp-trinity/opt/trinity/bin/kppplogview +# chmod 0640 debian/kppp-trinity/etc/ppp/peers/kppp-options
diff -ubr ../TDE/repo-master/tde/2_build_bookworm_amd64/libraries/pytde/debian/rules ../TDE/repo-master/tde/2_build_trixie_amd64/libraries/pytde/debian/rules --- ../TDE/repo-master/tde/2_build_bookworm_amd64/libraries/pytde/debian/rules 2025-11-08 23:40:19.307241170 +0100 +++ ../TDE/repo-master/tde/2_build_trixie_amd64/libraries/pytde/debian/rules 2025-11-15 00:24:21.655237213 +0100 @@ -116,9 +116,9 @@ do\ pylib=$$(python$$version -c "import sysconfig; print(sysconfig.get_path('platstdlib'))");\ mkdir -p debian/pytde-dev/$$pylib;\ - install -m 644 -o root -g root debian/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig.py;\ - install -m 644 -o root -g root build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_nd.py;\ - install -m 644 -o root -g root dbg-build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_d.py;\ + install debian/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig.py;\ + install build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_nd.py;\ + install dbg-build-$$version/pytdeconfig.py debian/pytde-dev/$$pylib/pytdeconfig_d.py;\ done
install-arch:
Michele Calgaro via tde-devels wrote:
other than tdeaddons, everything builds fine in Trixie. Are you sure you are using the latest sources?
I created multiple PRs for the TDE specific. I am not sure about the lockdev. It is in edeps.
Now all builds fine.