Your message dated Thu, 20 Oct 2016 17:09:07 +0000
with message-id <e1bxgq3-0007nh...@franck.debian.org>
and subject line Bug#841129: fixed in libjpeg-turbo 1:1.5.1-2
has caused the Debian Bug report #841129,
regarding src:libjpeg-turbo: FTBFS on mips*: jsimd_mips.c:82:3: error: 'env' 
undeclared
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 ow...@bugs.debian.org
immediately.)


-- 
841129: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841129
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:libjpeg-turbo
Version: 1:1.5.1-1
Severity: serious
Tags: patch upstream

libjpeg-turbo fails to build from source on mips* with the following
error:

| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic 
-ffloat-store -c jsimd_mips_dspr2.S -fPIE -o jsimd_mips_dspr2.o >/dev/null 2>&1
| jsimd_mips.c: In function 'init_simd':
| jsimd_mips.c:82:3: error: 'env' undeclared (first use in this function)
|    env = getenv("JSIMD_FORCEDSPR2");
|    ^~~
| jsimd_mips.c:82:3: note: each undeclared identifier is reported only once for 
each function it appears in
| Makefile:596: recipe for target 'jsimd_mips.lo' failed

The problem is that the env variable is not declared in the MIPS
specific code. The following simple patch fixes the issue:

--- libjpeg-turbo-1.5.1.orig/simd/jsimd_mips.c
+++ libjpeg-turbo-1.5.1/simd/jsimd_mips.c
@@ -63,6 +63,8 @@ parse_proc_cpuinfo(const char* search_st
 LOCAL(void)
 init_simd (void)
 {
+  char *env = NULL;
+
   if (simd_support != ~0U)
     return;

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: mips64el (mips64)

Kernel: Linux 4.7.0-1-5kc-malta
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--- End Message ---
--- Begin Message ---
Source: libjpeg-turbo
Source-Version: 1:1.5.1-2

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

Debian distribution maintenance software
pp.
Ondřej Surý <ond...@debian.org> (supplier of updated libjpeg-turbo 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 20 Oct 2016 15:51:27 +0200
Source: libjpeg-turbo
Binary: libjpeg-dev libjpeg62-turbo-dev libjpeg62-turbo libturbojpeg0 
libturbojpeg0-dev libjpeg-turbo-progs
Architecture: source
Version: 1:1.5.1-2
Distribution: unstable
Urgency: medium
Maintainer: Ondřej Surý <ond...@debian.org>
Changed-By: Ondřej Surý <ond...@debian.org>
Description:
 libjpeg-dev - Development files for the JPEG library [dummy package]
 libjpeg-turbo-progs - Programs for manipulating JPEG files
 libjpeg62-turbo - libjpeg-turbo JPEG runtime library
 libjpeg62-turbo-dev - Development files for the libjpeg-turbo JPEG library
 libturbojpeg0 - TurboJPEG runtime library - SIMD optimized
 libturbojpeg0-dev - Development files for the TurboJPEG library
Closes: 841129
Changes:
 libjpeg-turbo (1:1.5.1-2) unstable; urgency=medium
 .
   * Declare env on MIPS on first use (Courtesy of Aurelien Jarno) (Closes: 
#841129)
Checksums-Sha1:
 a305ed66b33dc8de5df5c072c8aa6b5b414f4c07 2420 libjpeg-turbo_1.5.1-2.dsc
 ae8dc650d97aad0df13cba89b566b659e7485c82 78576 
libjpeg-turbo_1.5.1-2.debian.tar.xz
Checksums-Sha256:
 9f755bfafa4795f91c689cb742194559f6e543e35ba135e0d30f6b51eed1eba2 2420 
libjpeg-turbo_1.5.1-2.dsc
 0077c9e2b7ec2abe25c7a591e65a08750045a28dcd00207a928079a3d31b3cc4 78576 
libjpeg-turbo_1.5.1-2.debian.tar.xz
Files:
 e97447de85937686b2298764d4dc0270 2420 graphics optional 
libjpeg-turbo_1.5.1-2.dsc
 ef0ab6252d1ae8a2b9088ff3fe67478c 78576 graphics optional 
libjpeg-turbo_1.5.1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJYCM9ZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsHKcAP/3+rexMvJYBZpflkAKxUb1Wn
YcqpZGW4uLioyd1ZbIch5Zlg46JUvK1xpFlZHIPBTE8/eVc6L0Zn/4Zv8h+7t8ms
OX9GUipqqPKO9Tyy15lEtk3BoyzR1NR0SGuc9LYGPEPfaoNl6K6GdW6wmtASssg+
yxVXqGlINqH5enuOLN6+ljKVnPifUCkzwmFkyYeQHXc5TqlUg9KUuHB/VCRTNVxB
pYHF/Hh8xZChY7ELZoZAsMlGUZg4mlretIUJpQRXz71gbEJvcXjRQNTR4ndXBt2t
aTbT8uLV3VQeoXioi8/QzkppS4+IgE+qCAvL3G8AtnEkARJgPVkDseAk6UrMnw6l
OxcCPodZAZWj4wajOUhaZIyJKtOikS8gUBXXj9Zzpox5+cytjph4eqlcewnZ6PsE
EEu/8+NP3puXlj1/nIxf5RG0lRkMbRXA+Mm0/MKihzOOchRwbUFbDDLNH3A38sL+
ioOjIEfdsQShIfv0k5HAdZqAVU8Qb2QKy+Dw3zOhVfIe97OgtAm6E9AUBVd8fCzm
DRObQZoX3Uno45FeGyOilTudkPFyIqhKxQgNAtJHVAzWVRG+uhvZ00PKT/OW0/9S
vKODl2hIIUEShKfz+5QFhDBA0CSVkjG2S1Q5g+KDPAeM7hk1WMWE5gQAOxkdXCgw
ynuXSdpl7LDrbjlXnJKb
=4DlZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to