Your message dated Mon, 09 Oct 2023 16:38:20 +0000
with message-id <[email protected]>
and subject line Bug#924416: fixed in yacas 1.3.6-2.2
has caused the Debian Bug report #924416,
regarding yacas FTCBFS: multiple issues
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.)


-- 
924416: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=924416
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: yacas
Version: 1.3.6-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

yacas fails to cross build from source. The immediate failure is failing
to pass --host to ./configure. This can be solved by running ./configure
through dh_auto_configure. Additional configure flags can be passed to
dh_auto_configure after a "--". Then it tries to run code generators in
the manmake directory for the host architecture. Such generators need to
be built with the built architecture compiler. The autoconf-archive
provides a macro AX_PROG_CXX_FOR_BUILD to discover this compiler and the
attached patch demonstrates how to use it. Unfortunately, LT_INIT and
AX_PROG_CXX_FOR_BUILD don't work well together (#924415), so I'm
providing an additional workaround here. After fixing these, the build
of yacas itself succeeds, but the texdocs target runs yacas. I fear we
won't be able to generate the documentation in a cross build, but since
yacas-doc is an Architecture: all package, that can be avoided in
principle.

This may sound very complicated, but it really boils down to three
things:
 1. Run ./configure through dh_auto_configure.
 2. Apply my patch to make the manpage generators work.
 3. Avoid building documentation in an arch-only build.

I haven't provided a solution for the third part here. Please close this
bug if you fix 1 and 2. If you need help, please ask.

Helmut
--- yacas-1.3.6.orig/configure.ac
+++ yacas-1.3.6/configure.ac
@@ -15,6 +15,8 @@
 AC_PROG_CC
 AC_PROG_CPP
 AC_PROG_CXX
+m4_defun([_LT_LANG_CXX_FOR_BUILD_CONFIG],[])dnl make LT_LANG happy
+AX_PROG_CXX_FOR_BUILD
 
 AC_CHECK_PROG(have_perl, perl, yes, no)
 AC_CHECK_PROG(have_pdflatex, pdflatex, yes, no)
--- yacas-1.3.6.orig/manmake/Makefile.am
+++ yacas-1.3.6/manmake/Makefile.am
@@ -11,13 +11,13 @@
 ## PDF_DOCS   is either "pdf-docs" or empty
 all-am: @BOOKS_HTML@ @PDF_DOCS@ hints
 
-noinst_PROGRAMS = manripper removeduplicates
-
-manripper_SOURCES = manripper.cpp 
+manripper$(BUILD_EXEEXT): manripper.cpp
+	$(CXX_FOR_BUILD) -o $@ $^
 
-removeduplicates_SOURCES = removeduplicates.cpp
+removeduplicates$(BUILD_EXEEXT): removeduplicates.cpp
+	$(CXX_FOR_BUILD) -o $@ $^
 
-hints: manripper removeduplicates $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
+hints: manripper$(BUILD_EXEEXT) removeduplicates$(BUILD_EXEEXT) $(REFSOURCES) $(REFPROGSOURCES) ref.book.txt refprog.book.txt
 	rm -f hints.unsorted
 	for file in ref.book.txt $(REFSOURCES) refprog.book.txt $(REFPROGSOURCES); do \
 	./manripper $(srcdir)/"$$file" >> hints.unsorted ; done

--- End Message ---
--- Begin Message ---
Source: yacas
Source-Version: 1.3.6-2.2
Done: Bastian Germann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
yacas, 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.
Bastian Germann <[email protected]> (supplier of updated yacas 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: Fri, 29 Sep 2023 17:12:48 +0200
Source: yacas
Architecture: source
Version: 1.3.6-2.2
Distribution: unstable
Urgency: medium
Maintainer: Muammar El Khatib <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 924416 974631 1053222
Changes:
 yacas (1.3.6-2.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Drop outdated README.source. (Closes: #1053222)
   * Drop unnecessary build dependency FLTK. (Closes: #974631)
   * Partly fix cross build. (Closes: #924416)
Checksums-Sha1:
 0bf1927f5cb4a96ce419d3bfa6bb7013d1cb3225 1744 yacas_1.3.6-2.2.dsc
 9bbfad8b80aa47c72d254215e2a25a3abe53ca42 33624 yacas_1.3.6-2.2.debian.tar.xz
 9dfc81c0f4ca94633482f40f2f0b30022611327b 9253 yacas_1.3.6-2.2_source.buildinfo
Checksums-Sha256:
 52edfb36b40419e279c72746f5e5e7561fb821015cf87acf094d24f7c9ba20a2 1744 
yacas_1.3.6-2.2.dsc
 b635b32a12563c30207e024cb865c21c1db56142cb54cf3f9f3176ac2ff219b7 33624 
yacas_1.3.6-2.2.debian.tar.xz
 1b81b8c3eeddc6462359f40df39769ef69d0eb0de61cc7c43a366e3f9dde7438 9253 
yacas_1.3.6-2.2_source.buildinfo
Files:
 af5175f03607b9448d0b3dbf7940d206 1744 math extra yacas_1.3.6-2.2.dsc
 a3a87a17aa1e8767e8b7a58409bf4b5b 33624 math extra yacas_1.3.6-2.2.debian.tar.xz
 ea207eb1cfd7354ab87613f2a01eae7d 9253 math extra 
yacas_1.3.6-2.2_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmUW7uwQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFFylC/9gqKjzhggoSI/Ksr1A5g/osh76bnfJTF3e
bIJzl/x0aamiTjUmc6NdDbvRw/iQ91ET2OFiSFbbHyqtR097S1S8PGHFaRMoM1WH
zU+Ju6Qc1RiELd07i6clNDVW+6qve24dyXz+/FhiTdUtqgFp3d8Dwis70kC//Pae
cK5kNdnqL4HMLVUA+j7Wl5Qj2tJe73VSG1cWl9EtDTQnGG2Jmz/LJmgw041YXxc9
tv42VPGvT5/v33664RqwP6vM9cxTJIOJr2wrrLZHG1AzAGT6f0tneEvuDEIgGy0v
DV2GXw1ijh0AYlA0x1+8YvBbJDdVWNwWqY4zhfjMVG70C3mMJOTWOLZpn/TVCCS4
2WNqyFJC1uS/uUA4Tt28zR7/4WZyuFXXuP4D5FdC5vGKf61xVuYl9SFbNBvFVcK8
CKCjcJMQ+1NZ4HaRgeR66h1JVgc67hEmjyXU+gIRtzpdrhjLgUFyvxK3zlNtm8dv
G5rMQ7eUbv9buXxjzoz0X5k9g8UwK/g=
=7wN/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to