uchardet autopkgtest fails on i386

Bug #1869239 reported by Balint Reczey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uchardet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In i386 autopkgtest the build-essential dependency of uchardet "build" test is satisfied from amd64 which causes amd64 gcc not finding the i386 ucharded library pulled in by libuchardet-dev.

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-focal/focal/i386/u/uchardet/20200326_163248_a56b6@/log.gz :

...
Get:31 http://ftpmaster.internal/ubuntu focal/main amd64 build-essential amd64 12.8ubuntu1 [4624 B]
...
autopkgtest [16:22:37]: test build: [-----------------------
/usr/bin/ld: cannot find -luchardet
collect2: error: ld returned 1 exit status
autopkgtest [16:22:37]: test build: -----------------------]
autopkgtest [16:22:37]: test build: - - - - - - - - - - results - - - - - - - - - -
build FAIL non-zero exit status 1
...

Revision history for this message
Sebastien Bacher (seb128) wrote :

The debian/test/build needs a fix similar to what has been done for e.g
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946535

see http://launchpadlibrarian.net/459718227/libxcb_1.13.1-3_1.13.1-3build1.diff.gz for a debdiff example

Revision history for this message
Balint Reczey (rbalint) wrote :

I have submitted a merge request to mark the test as bad.

Wearing my Ubuntu Core Dev hat I don't want to carry this as a delta and wearing my DD hat I would not find a request to carry such change in many packages of Debian reasonable either.

Making autopkgtest cross-testing capable is the most promising approach IMO, till then the hint will be enough.
https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/69

Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Balint Reczey (rbalint) wrote :

@seb128 It is extra code that goes away when autopkgtest is fixed. Having a hint that can be removed when autopkgtest is fixed is the least work as I see.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package uchardet - 0.0.7-1

---------------
uchardet (0.0.7-1) unstable; urgency=medium

  [ James Cowgill ]
  * New upstream release.

  * d/copyright: Refer to common copy of the MPL-1.1 license
  * d/control:
    - Use debhelper 13.
    - Set Rules-Requires-Root: no.
    - Bump standards version to 4.5.0.
  * d/rules: Use the new CMake defines to activate -ffloat-store on x86.
  * d/upstream/metadata: Add upstream repository metadata.
  * d/tests: Make "build" tests cross test friendly. (LP: #1869239)

  [ Ondřej Nový ]
  * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP.

 -- James Cowgill <email address hidden> Sun, 31 May 2020 14:26:11 +0100

Changed in uchardet (Ubuntu):
status: New → 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.