flac 1.4.2+ds-2 in lunar proposed does not build on i386 - missing pandoc build dep

Bug #1997533 reported by Rik Mills
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flac (Ubuntu)
Fix Released
Medium
Rik Mills

Bug Description

flac 1.4.2+ds-2 in lunar proposed does not build on i386 - missing pandoc build dep which is not built in Ubuntu for i386

https://launchpad.net/ubuntu/+source/flac/1.4.2+ds-2/+build/24644410

Change made in flac (1.4.1-1) "Replace docbook-to-man with pandoc as B-D"

This prevents migration of flac (if/once tests succeed), and will block migration of packages that now build in proposed and depend on the bumped libs in flac 1.4 (libflac++10 and libflac12)

https://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#flac

e.g.amongst several others so far

https://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#kwave

Tags: patch lunar
Rik Mills (rikmills)
description: updated
tags: added: lunar
Revision history for this message
Sebastien Bacher (seb128) wrote :

It's not likely that we can build pandoc on i386, it would require starting building the haskell stack there, someone probably needs to patch flac to not build with pandoc on i386

Rik Mills (rikmills)
Changed in flac (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Rik Mills (rikmills) wrote : Re: [Bug 1997533] Re: flac 1.4.2+ds-2 in lunar proposed does not build on i386 - missing pandoc build dep

On 24/11/2022 08:36, Sebastien Bacher wrote:
> It's not likely that we can build pandoc on i386, it would require
> starting building the haskell stack there, someone probably needs to
> patch flac to not build with pandoc on i386

In that case as possible solution would be:
https://launchpad.net/~rikmills/+archive/ubuntu/bug1997533/+sourcepub/14167146/+listing-archive-extra

Sorry for no debdiff, but that does not preserve making the install file
executable.

Rik Mills (rikmills)
tags: added: patch
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

diff -Nru flac-1.4.2+ds/debian/changelog flac-1.4.2+ds/debian/changelog
--- flac-1.4.2+ds/debian/changelog 2022-11-11 09:10:23.000000000 +0100
+++ flac-1.4.2+ds/debian/changelog 2022-11-24 19:56:12.000000000 +0100
@@ -1,3 +1,16 @@
+flac (1.4.2+ds-2ubuntu1) lunar; urgency=medium
+
+ * Do not build and install manpages on i386. Build dep pandoc is
+ not available in Ubuntu for i386. (LP: #1997533)
+ - debian/control:
+ + Exclude pandoc build dep on i386.
+ + Add dh-exec build dep.
+ - debian/flac.install
+ + Make executable and add '#!/usr/bin/dh-exec'.
+ + Exclude installing manpages on i386.
+
+ -- Rik Mills <email address hidden> Thu, 24 Nov 2022 18:56:12 +0000
+
 flac (1.4.2+ds-2) unstable; urgency=medium

   [ Fabian Greffrath ]
diff -Nru flac-1.4.2+ds/debian/control flac-1.4.2+ds/debian/control
--- flac-1.4.2+ds/debian/control 2022-10-26 07:37:11.000000000 +0200
+++ flac-1.4.2+ds/debian/control 2022-11-24 19:56:12.000000000 +0100
@@ -1,7 +1,8 @@
 Source: flac
 Section: sound
 Priority: optional
-Maintainer: Debian Multimedia Maintainers <email address hidden>
+Maintainer: Ubuntu Developers <email address hidden>
+XSBC-Original-Maintainer: Debian Multimedia Maintainers <email address hidden>
 Uploaders:
  Joshua Kwan <email address hidden>,
  Fabian Greffrath <email address hidden>,
@@ -9,8 +10,9 @@
  doxygen,
 Build-Depends:
  debhelper-compat (= 13),
+ dh-exec,
  libogg-dev,
- pandoc,
+ pandoc [!i386],
 Standards-Version: 4.6.1
 Vcs-Git: https://salsa.debian.org/multimedia-team/flac.git
 Vcs-Browser: https://salsa.debian.org/multimedia-team/flac

this is the diff

Changed in flac (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote (last edit ):

sponsored and unsubscribing sponsors.

Rik Mills (rikmills)
Changed in flac (Ubuntu):
assignee: nobody → Rik Mills (rikmills)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package flac - 1.4.2+ds-2ubuntu1

---------------
flac (1.4.2+ds-2ubuntu1) lunar; urgency=medium

  * Do not build and install manpages on i386. Build dep pandoc is
    not available in Ubuntu for i386. (LP: #1997533)
    - debian/control:
      + Exclude pandoc build dep on i386.
      + Add dh-exec build dep.
    - debian/flac.install
      + Make executable and add '#!/usr/bin/dh-exec'.
      + Exclude installing manpages on i386.

 -- Rik Mills <email address hidden> Thu, 24 Nov 2022 18:56:12 +0000

Changed in flac (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.