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

Bug#763711: marked as done (texlive-bin: FTBFS on arm64)



Your message dated Thu, 02 Oct 2014 06:04:54 +0000
with message-id <E1XZZVW-0004U4-Ef@franck.debian.org>
and subject line Bug#763711: fixed in texlive-bin 2014.20140926.35254-2
has caused the Debian Bug report #763711,
regarding texlive-bin: FTBFS on arm64
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.)


-- 
763711: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763711
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: texlive-bin
Version: 2014.20140926.35254-1
Severity: normal
Tags: patch
User: debian-arm@lists.debian.org
Usertag: arm64

This version of texlive-bin does not build on arm64 due to the
internal libpng trying to use 32-bit neon code (neon is ARM SIMD
unit). The attached simple patch correctly restricts that code to the
right architectures.

There is actually a C intrinsics Neon implemention in the libpng which
could be used for arm64, but that would involve more work, and for an
internal libpng inside texlive does not seem worth the effort,
especially at this stage of the release cycle.

I presume there is a good reason why this package has its own libpng
and is not using the system one (where this issue should already be
fixed)?  (or maybe it is but the internal one gets built anyway?)

Anyway, a quick upload with this fix would be appreciated to get
texlive-bin up to date in the arm64 architecture which is currently
planned to be released with Jessie. I'm happy to NMU if you prefer.

thanks for your work with this epic package!

Wookey
diff -Nru texlive-bin-2014.20140926.35254/debian/changelog texlive-bin-2014.20140926.35254/debian/changelog
--- texlive-bin-2014.20140926.35254/debian/changelog	2014-09-26 05:00:45.000000000 +0000
+++ texlive-bin-2014.20140926.35254/debian/changelog	2014-10-01 21:31:10.000000000 +0000
@@ -1,3 +1,10 @@
+texlive-bin (2014.20140926.35254-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix arm64 build by correctly qulifying neon code
+
+ -- Wookey <wookey@debian.org>  Wed, 01 Oct 2014 21:22:00 +0000
+
 texlive-bin (2014.20140926.35254-1) unstable; urgency=medium
 
   * Imported Upstream version 2014.20140926.35254
diff -Nru texlive-bin-2014.20140926.35254/debian/patches/libpng-arm64-neon-fix texlive-bin-2014.20140926.35254/debian/patches/libpng-arm64-neon-fix
--- texlive-bin-2014.20140926.35254/debian/patches/libpng-arm64-neon-fix	1970-01-01 00:00:00.000000000 +0000
+++ texlive-bin-2014.20140926.35254/debian/patches/libpng-arm64-neon-fix	2014-10-01 22:24:23.000000000 +0000
@@ -0,0 +1,22 @@
+Description: Fix FTBFS on arm64
+ Use correct defines for selecting 32-bit neon assembler code in 
+ embedded libpng, so that it is not used on 64-bit armv8.
+ .
+ texlive-bin (2014.20140926.35254-1.1) unstable; urgency=low
+ .
+   * Non-maintainer upload.
+   * Fix arm64 build by correctly qulifying neon code
+Author: Wookey <wookey@debian.org>
+Last-Update: 2014-09-30
+
+--- texlive-bin-2014.20140926.35254.orig/libs/libpng/libpng-1.6.13/pngpriv.h
++++ texlive-bin-2014.20140926.35254/libs/libpng/libpng-1.6.13/pngpriv.h
+@@ -124,7 +124,7 @@
+     * check both variants.
+     */
+ #  if (defined(__ARM_NEON__) || defined(__ARM_NEON)) && \
+-   defined(PNG_ALIGNED_MEMORY_SUPPORTED)
++   defined(PNG_ALIGNED_MEMORY_SUPPORTED) && defined(__arm__)
+ #     define PNG_ARM_NEON_OPT 2
+ #  else
+ #     define PNG_ARM_NEON_OPT 0
diff -Nru texlive-bin-2014.20140926.35254/debian/patches/series texlive-bin-2014.20140926.35254/debian/patches/series
--- texlive-bin-2014.20140926.35254/debian/patches/series	2014-09-26 05:00:45.000000000 +0000
+++ texlive-bin-2014.20140926.35254/debian/patches/series	2014-10-01 22:16:27.000000000 +0000
@@ -11,3 +11,4 @@
 upupstream-fix-pdf_h-query-svn5018
 upupstream-fix-math-list-crash-svn5019
 upupstream-bug907-svn5024
+libpng-arm64-neon-fix

--- End Message ---
--- Begin Message ---
Source: texlive-bin
Source-Version: 2014.20140926.35254-2

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

Debian distribution maintenance software
pp.
Norbert Preining <preining@debian.org> (supplier of updated texlive-bin 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: Thu, 02 Oct 2014 14:26:50 +0900
Source: texlive-bin
Binary: texlive-binaries libkpathsea6 libkpathsea-dev libptexenc1 libptexenc-dev libsynctex1 libsynctex-dev luatex
Architecture: source amd64 all
Version: 2014.20140926.35254-2
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX Maintainers <debian-tex-maint@lists.debian.org>
Changed-By: Norbert Preining <preining@debian.org>
Description:
 libkpathsea-dev - TeX Live: path search library for TeX (development part)
 libkpathsea6 - TeX Live: path search library for TeX (runtime part)
 libptexenc-dev - TeX Live: ptex encoding library (development part)
 libptexenc1 - TeX Live: pTeX encoding library
 libsynctex-dev - Tex Live: SyncTeX parser library (development part)
 libsynctex1 - TeX Live: SyncTeX parser library
 luatex     - TeX Live: transitional dummy package
 texlive-binaries - Binaries for TeX Live
Closes: 763304 763711
Changes:
 texlive-bin (2014.20140926.35254-2) unstable; urgency=medium
 .
   * remove libxp build dep (Closes: #763304)
   * Fix arm64 build by correctly qulifying neon code (Closes: #763711)
     (Thanks to Wookey)
Checksums-Sha1:
 d07a65bf3625bd57d3917e38b8d98b0928381ca1 2941 texlive-bin_2014.20140926.35254-2.dsc
 3a1ef66ffa0b71031dae0538cc74e15181018cd5 58772 texlive-bin_2014.20140926.35254-2.debian.tar.xz
 bf7b47764961ddd5c40f6353b00e31ec0f7f950d 6793708 texlive-binaries_2014.20140926.35254-2_amd64.deb
 d719493bcfd1f7d8889bbd744cbc2b5ddc632ee8 153142 libkpathsea6_2014.20140926.35254-2_amd64.deb
 e6654e6fe9724c5c10f8be4904e096549a469505 179814 libkpathsea-dev_2014.20140926.35254-2_amd64.deb
 b43e5da03df8c4a76d51cbe3ec3b58270af05367 53776 libptexenc1_2014.20140926.35254-2_amd64.deb
 b2eebd3c4acc27afc9058270cc28e99d5457766e 53046 libptexenc-dev_2014.20140926.35254-2_amd64.deb
 23c5e4802aa454fb2b06ae594293b74216f8701c 60728 libsynctex1_2014.20140926.35254-2_amd64.deb
 e0fb766dc8ae06488dc773a126c66e72a7a12e02 58750 libsynctex-dev_2014.20140926.35254-2_amd64.deb
 1f6be044c7a713326ca6eaf1b938e37972401f10 27482 luatex_2014.20140926.35254-2_all.deb
Checksums-Sha256:
 e2f5d870c47273e0919cd4c70e8f55e66016fa4ec99ad4b1ba92de906b96e067 2941 texlive-bin_2014.20140926.35254-2.dsc
 b4608c58648b6f17f70de66bbdb79ba2d543c6320f089f670dd6a9b4027bcb00 58772 texlive-bin_2014.20140926.35254-2.debian.tar.xz
 dc85252bd74ed061db0c79e6e011635a62e490bc0d721df20e118cdefce99adb 6793708 texlive-binaries_2014.20140926.35254-2_amd64.deb
 c5ceaa8a3bb7f2a8f9fbdb985af98f2d1d635275bd475c5a857fe3fefde005d1 153142 libkpathsea6_2014.20140926.35254-2_amd64.deb
 bf67390935ee92410931c0f099fcaa6446dfc57844302486f71d5319bd50b365 179814 libkpathsea-dev_2014.20140926.35254-2_amd64.deb
 c2188a66d0fcdb2e471662f514a8c9cb7b787bb876fe3e1fc6de55608ec1e067 53776 libptexenc1_2014.20140926.35254-2_amd64.deb
 5e684bd201152c3e772d8c1f049256e54278c9c61def75a25744218c6596cb13 53046 libptexenc-dev_2014.20140926.35254-2_amd64.deb
 9de83dc1404799bc2886ce11b43cc73d821061e5d208df3548ef212eda6b0d78 60728 libsynctex1_2014.20140926.35254-2_amd64.deb
 5b7c8c49d9cddb0e15a5742704310909072ef20c2fd2d426bf261f857e9fb30c 58750 libsynctex-dev_2014.20140926.35254-2_amd64.deb
 3c29d42f3a89481c2dff168a044890818ab0d68b53d8c94ae63e51f49928e0fd 27482 luatex_2014.20140926.35254-2_all.deb
Files:
 3df84f6b58243a6411ae8dcdeed0b78b 6793708 tex optional texlive-binaries_2014.20140926.35254-2_amd64.deb
 1d8dd1537b5c79b2bc9b942611bf2976 153142 libs optional libkpathsea6_2014.20140926.35254-2_amd64.deb
 c21544079ec646e763651b778aa2dd51 179814 libdevel optional libkpathsea-dev_2014.20140926.35254-2_amd64.deb
 09fb4f3f783d7d111e126fd4518a561a 53776 libs optional libptexenc1_2014.20140926.35254-2_amd64.deb
 210ebc72b1944e130ac8b9d63174be05 53046 libdevel optional libptexenc-dev_2014.20140926.35254-2_amd64.deb
 ac98ed05ba0ed687d97fbd78363186f3 60728 libs optional libsynctex1_2014.20140926.35254-2_amd64.deb
 895c80fba1e1a8926e274a76709df0cf 58750 libdevel optional libsynctex-dev_2014.20140926.35254-2_amd64.deb
 2422250e7d22a780373be8f02d707856 27482 oldlibs extra luatex_2014.20140926.35254-2_all.deb
 547c129f5455f73291e2540ef039964f 2941 tex optional texlive-bin_2014.20140926.35254-2.dsc
 94c079de292f21d0066f9187d384560a 58772 tex optional texlive-bin_2014.20140926.35254-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVCzqCGyspEiGDNwTAQh8bA/+NoCK90X9T9axO3jbiMGHO4ciG22f+PFz
ANg8g6lAXlaHfW68zU985LqWZFty5miC7Q4MOT1AAQCDBvjIsME8WAdIM1tyJZtv
lTQLYbyg+wiDIzskoe+qoPjJlAm9yVKfa0DMuKgYqwo3hcmizGKVedm7EQNALQtr
SbLCc6DAcsQ/15jRUVdvUcSWta2Ge7Bl7tVzxwZJ/yRkw/LsmfYQR3Fd9zKJh2m4
3ZvtpjIUeYHA6dunbSbkt7vMeIFO243HD+wLlrDi/yw8Xi5yqFg0r35V2DYKCwjE
WSuIjOjP8vn2BPQQUJAa5nnjdGC/ewwt8S0qT7kMQm1AUhmp6dy22g29IYtSBEg3
5b57Azc5TfNnplF1oD4IzIYS8EWZTieyoHMS2H9eHFEkXg6U97/LfAz/R5trcAlM
Hwx0bLn9Pp8pdmNgNqBvSATImHfTFMtBOCP1F31fAEri5z0dnL09rBhnz1NUgzfx
D7GVkgEMP6hP8tXbP8mm+XQI5TiJcIETtWwHxPzIaZxfnbmYtt6bSMAPqWCO7Y2B
eA8r/jk2wZZBamV5zkYbL6FwH0fz00Mb/yEHPtfaxcXURuAAZ/vwTyY26J4sYpXK
UItWU5JXJqSI1RbWJQlRBXzsyVvhCLUN4kiygmZnY6M63g025qHE2PQMQAAHb8AE
db7C1CP65E4=
=JU87
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: