[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] Bug#870690: marked as done (octave: always rebuild files generated from actual sources)



Your message dated Sun, 10 Sep 2017 21:12:45 +0000
with message-id <E1dr9X3-0001ed-AM@fasolo.debian.org>
and subject line Bug#870690: fixed in octave 4.2.1-3
has caused the Debian Bug report #870690,
regarding octave: always rebuild files generated from actual sources
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 owner@bugs.debian.org
immediately.)


-- 
870690: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870690
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: octave
Version: 4.2.1-2
Severity: normal

In the interest of always rebuilding from the preferred form of the
upstream source using the tools and libraries packaged in Debian,
several files in the octave source distribution should be rebuilt.

The attached change adds missing Build-Depends. It also adds a hack to
d/rules to delete most of the affected files to force them to be built
by make as a proof of concept.

There are probably more elegant ways to prune the source distribution,
such as the Files-Excluded field of d/copyright (which I don't have any
experience with), suggestions welcome.

There are certainly more files that could be properly regenerated at
build time, but I think I've covered all files that end up as compiled
code.

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.11.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information
From e24d9cadaf022577d709c2e04af50b33689afee9 Mon Sep 17 00:00:00 2001
From: Mike Miller <mtmiller@debian.org>
Date: Thu, 3 Aug 2017 15:06:06 -0700
Subject: [PATCH] wip: test to force rebuild distributed files

---
 debian/control |  4 ++++
 debian/rules   | 13 +++++++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index fc301f4415fa..0d26b706d4b5 100644
--- a/debian/control
+++ b/debian/control
@@ -5,6 +5,7 @@ Uploaders: Sébastien Villemot <sebastien@debian.org>,
 Section: math
 Priority: optional
 Build-Depends: automake,
+               bison,
                debhelper (>= 10),
                default-jdk,
                desktop-file-utils,
@@ -15,6 +16,8 @@ Build-Depends: automake,
                gfortran,
                ghostscript,
                gnuplot-nox,
+               gperf,
+               icoutils,
                javahelper,
                less,
                libarpack2-dev,
@@ -37,6 +40,7 @@ Build-Depends: automake,
                libqt4-dev,
                libqt4-opengl-dev,
                libreadline-dev,
+               librsvg2-bin,
                libsndfile1-dev,
                libsuitesparse-dev,
                libxft-dev,
diff --git a/debian/rules b/debian/rules
index 377a69ebbbb3..e9eee4f809ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,8 +51,17 @@ endif
 override_dh_auto_configure:
 	# override normal dh_auto_configure call to pass OpenMP flag to it (#631831)
 	dh_auto_configure -- --enable-openmp $(WITH_JAVA_FLAGS) $(JIT_FLAG) $(HDF5_FLAGS) $(DOC_FLAG)
-	# Avoid triggering the build of oct-gperf.h
-	touch libinterp/parse-tree/oct-gperf.h libinterp/parse-tree/oct-parse.h
+	# hack to force rebuild of certain built files in source distribution
+	rm -f doc/interpreter/doc-cache libinterp/DOCSTRINGS scripts/DOCSTRINGS
+	rm -f libinterp/corefcn/*-opts.cc
+	rm -f libinterp/corefcn/oct-tex-*.cc libinterp/corefcn/oct-tex-*.h
+	rm -f libinterp/corefcn/oct-tex-lexer.ll
+	rm -f libinterp/corefcn/oct-tex-parser.yy
+	rm -f libinterp/parse-tree/lex.cc libinterp/parse-tree/oct-gperf.h
+	rm -f libinterp/parse-tree/oct-parse.cc libinterp/parse-tree/oct-parse.h
+	rm -f libinterp/parse-tree/oct-parse.yy
+	rm -f etc/icons/octave-logo*.ico etc/icons/octave-logo*.png
+	rm -f scripts/java/octave.jar
 
 # dh_auto_test tries to run "make test", so override it
 override_dh_auto_test:
-- 
2.13.2

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: octave
Source-Version: 4.2.1-3

We believe that the bug you reported is fixed in the latest version of
octave, 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 870690@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sébastien Villemot <sebastien@debian.org> (supplier of updated octave 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 10 Sep 2017 17:34:32 +0200
Source: octave
Binary: octave octave-common octave-doc octave-htmldoc octave-info liboctave4 liboctave-dev
Architecture: source
Version: 4.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Changed-By: Sébastien Villemot <sebastien@debian.org>
Description:
 liboctave-dev - Development files for the GNU Octave language
 liboctave4 - Shared libraries of the GNU Octave language
 octave     - GNU Octave language for numerical computations
 octave-common - architecture-independent files for octave
 octave-doc - PDF documentation on the GNU Octave language
 octave-htmldoc - HTML documentation on the GNU Octave language
 octave-info - GNU Info documentation on the GNU Octave language
Closes: 867212 870657 870690 873996 875063
Changes:
 octave (4.2.1-3) unstable; urgency=medium
 .
   [ Sébastien Villemot ]
   * d/strncmp.patch: new patch, makes strncmp case-sensitive again.
     Thanks to Thierry Rascle (Closes: #867212)
   * d/rules: drop --max-parallel workaround to dh_auto_install.
     As a consequence, build-depend on debhelper ≥ 10.3.
   * Set gnuplot-qt as the preferred gnuplot alternative, also add gnuplot-nox.
   * d/control: drop useless Breaks on liboctave{1,2,3}.
   * d/watch: revert to xz format only.
     The dropping of .xz in 4.2.0 was an accident, now repaired. And if we also
     check for .gz, it takes precedence, which is not what we want.
   * Enforce generic BLAS.
     Avoids tying the binary to OpenBLAS or ATLAS.
   * No longer run the testsuite using xvfb-run.
     This fixes SIGILL with Qt5.
   * Install back the PDF files of the octave-doc package in
     /usr/share/doc/octave-doc. This fixes FTBFS with DEB_BUILD_OPTIONS=nodoc.
     The PDF will be moved again to /usr/share/doc/octave when we bump to
     debhelper compat level 11.
   * java9.patch: new patch, fixes FTBFS with Java 9. (Closes: #873996)
 .
   [ Mike Miller ]
   * d/control: drop useless Build-Depends on libftgl-dev. (Closes: #870657)
   * d/control: Build-Depends on bison, gperf, icoutils, librsvg2-bin.
   * d/clean: List files in the source distribution that should be rebuilt.
     (Closes: #870690)
   * d/control: Build-Depend on Qt 5 libraries, drop Qt 4 equivalents.
     (Closes: #875063)
   * d/control: drop obsolete Conflicts/Replaces against octave-java.
   * d/octave.postinst: run /usr/bin/octave explicitly to build package cache.
 .
   [ Rafael Laboissiere ]
   * d/u/metadata: Change type of reference to "manual"
   * d/u/metadata: Use BibTeX format in Author field
   * d/u/metadata: Update reference for version 4.2.0
   * d/p/add-corrcoef-function.patch: New patch
   * d/control: Bump Standards-Version to 4.1.0 (no changes needed)
Checksums-Sha1:
 640bc59431a74fbcc687ff1b5ce4fc4539683c19 2978 octave_4.2.1-3.dsc
 2d122e011b9c387c4ed7b1b322d98978b0bc9ee9 64480 octave_4.2.1-3.debian.tar.xz
 41c62fd2da2cb6f31015b9c144140aa358451dc4 22336 octave_4.2.1-3_amd64.buildinfo
Checksums-Sha256:
 776d7b3f24d5c52f1d06f42c59d4337acd702cd4fc858173e0dcc6ea590fecc4 2978 octave_4.2.1-3.dsc
 5ab15840204a819d6d3279849298a30befdb918654f4c9fbb64527c53b25c624 64480 octave_4.2.1-3.debian.tar.xz
 4c975b5e5481c2acabfb3b7f3d69feccd6d6f6425e8869fd53b75e5db58ef6c0 22336 octave_4.2.1-3_amd64.buildinfo
Files:
 c26988bae0157e5e47b8bee88449882a 2978 math optional octave_4.2.1-3.dsc
 c7a4a6e281755c125cc721949d6c4e20 64480 math optional octave_4.2.1-3.debian.tar.xz
 e77418296e85df73b82c782cf3524697 22336 math optional octave_4.2.1-3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAlm1l4AACgkQLOzpNQ7O
vkrAZQ//VIT5iGltTfyuwWcZayLS1ZlfSDFL6UnQSJvnobDLaHoWnnvu48nt1wEV
KzRLhM2HzD57q2pBxvepYuRV2ZOZ0TdXxSC3czaT6tvm0qGlPunWHRe8mbx955Cx
INYMn0CxyEJTP2mblzIxIib9geoHtP6kJgDkVnTGz07o9imFH3QKGct2o+Hfyyrv
jY6ZHnj09Ia4IiF4Dtm2LK5v00ZONa1ajr9AZDIeGV1IGR4pWtykYGgTRNcTv8Vk
rUnWVZoMvZz1oTyw37fdL+y4t10LOa714yF2/SM9kiRt3oPvFpeuO+jmS9Azwnly
4/CU/xzsvXBhp5ziU9iyaU49LQJWfk66uHwlZJPWlZKP7m4BzQBoRY8l8pHnVnzK
pITceOXRrKyHfPttB5xE2pgXJONlarUHswde74sapp5R7JzssF9unka2Xsv/KruT
s7Si95Ib5yh/LxwsVNjEoQSsSXO4jYthetr2jbzLo9Vahky4EVEk/s1kxzf5APEI
ByDIfSknpKmhVuPMjyxNI2dXO0Vej114V765cuGSjmt3VDDrJAYw96NT1FNBqRvl
H0r5xRtRyaSHoQDfopJTKEqsIDc3m7NwMEskBSgr8GlQLSw7xwWOy5S1wmzYi3iA
etlre9S+grkM4mApivKA0XsaBk90G8jQCuzsrDlqjSvYEAJC3/U=
=35Dl
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: