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

Bug#752041: marked as done (src:texlive-bin: FTBFS on x32 due to luajit)



Your message dated Sun, 29 Jun 2014 18:00:08 +0000
with message-id <E1X1JOa-00063M-8L@franck.debian.org>
and subject line Bug#752041: fixed in texlive-bin 2014.20140528.34243-3
has caused the Debian Bug report #752041,
regarding src:texlive-bin: FTBFS on x32 due to luajit
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.)


-- 
752041: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752041
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:texlive-bin
Version: 2014.20140528.34243-2
Severity: normal
Tags: patch

I'm afraid that the embedded copy of luajit in texlive-bin FTBFSes on x32:

gcc -DHAVE_CONFIG_H -I. -I../../../../libs/luajit/native  -I../../../../libs/luajit/native/../LuaJIT-2.0.3/src -DLUAJIT_ENABLE_LUA52COMPAT `cat ../native_flags`  -Wall -g -O2 -c -o ../LuaJIT-2.0.3/src/host/buildvm-buildvm_lib.o `test -f '../LuaJIT-2.0.3/src/host/buildvm_lib.c' || echo '../../../../libs/luajit/native/'`../LuaJIT-2.0.3/src/host/buildvm_lib.c
In file included from ../../../../libs/luajit/native/../LuaJIT-2.0.3/src/host/buildvm_lib.c:7:0:
../../../../libs/luajit/native/../LuaJIT-2.0.3/src/lj_obj.h: In function 'setlightudV':
../../../../libs/luajit/native/../LuaJIT-2.0.3/src/lj_obj.h:724:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   o->u64 = (uint64_t)p | (((uint64_t)0xffff) << 48);
            ^
gcc -DHAVE_CONFIG_H -I. -I../../../../libs/luajit/native  -I../../../../libs/luajit/native/../LuaJIT-2.0.3/src -DLUAJIT_ENABLE_LUA52COMPAT `cat ../native_flags`  -Wall -g -O2 -c -o ../LuaJIT-2.0.3/src/host/buildvm-buildvm_peobj.o `test -f '../LuaJIT-2.0.3/src/host/buildvm_peobj.c' || echo '../../../../libs/luajit/native/'`../LuaJIT-2.0.3/src/host/buildvm_peobj.c
gcc -Wall -g -O2   -o buildvm ../LuaJIT-2.0.3/src/host/buildvm-buildvm.o ../LuaJIT-2.0.3/src/host/buildvm-buildvm_asm.o ../LuaJIT-2.0.3/src/host/buildvm-buildvm_fold.o ../LuaJIT-2.0.3/src/host/buildvm-buildvm_lib.o ../LuaJIT-2.0.3/src/host/buildvm-buildvm_peobj.o  
echo timestamp >buildvm-stamp
make[7]: Leaving directory '/tmp/buildd/texlive-bin-2014.20140528.34243/Work/libs/luajit/native'
native/buildvm -m bcdef -o lj_bcdef.h lib_base.c lib_math.c lib_bit.c lib_string.c lib_table.c lib_io.c lib_os.c lib_package.c lib_debug.c lib_jit.c lib_ffi.c
Error: pointer size mismatch in cross-build.
Try: make HOST_CC="gcc -m32" CROSS=...

(It's not a cross build.)


However, I'd say that fixing an embedded copy of a library is a waste of
time.  As luajit is optional for texlive, let's just disable it on x32.
Trivial patch attached, tested.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'experimental')
Architecture: x32 (x86_64)

Kernel: Linux 3.15.0-x32 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nurd texlive-bin-2014.20140528.34243.0/debian/rules texlive-bin-2014.20140528.34243/debian/rules
--- texlive-bin-2014.20140528.34243.0/debian/rules	2014-06-19 01:53:20.551099762 +0200
+++ texlive-bin-2014.20140528.34243/debian/rules	2014-06-19 01:39:48.162291789 +0200
@@ -4,7 +4,7 @@
 export SHELL=/bin/bash
 export CONFIG_SHELL=/bin/sh
 
-LUAJIT_FAIL_ARCHS := s390x hppa arm64 ppc64 ppc64el
+LUAJIT_FAIL_ARCHS := s390x hppa arm64 ppc64 ppc64el x32
 
 # In case one wants to build with old automake (<< 1.13.1), the following
 # variable has to be set. By default the debian/control requires high

--- End Message ---
--- Begin Message ---
Source: texlive-bin
Source-Version: 2014.20140528.34243-3

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 752041@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: Sun, 29 Jun 2014 12:10:53 +0900
Source: texlive-bin
Binary: texlive-binaries libkpathsea6 libkpathsea-dev libptexenc1 libptexenc-dev libsynctex1 libsynctex-dev luatex
Architecture: source amd64 all
Version: 2014.20140528.34243-3
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: 749924 751150 752041 752065
Changes:
 texlive-bin (2014.20140528.34243-3) unstable; urgency=medium
 .
   [ Norbert Preining ]
   * import three patches from luatex upupstream
   * build luajittex based on whitelisting good archs
     (Closes: #751150, #752041, #752065)
   * Include upstream changes to support building synctex as shared
     library, based on a patch by Sebastian Ramacher.
 .
   [ Sebastian Ramacher ]
   * Build shared library for synctex_parser. (Closes: #749924)
     - debian/control: Add packages for the shared library and development
       files.
     - debian/rules: Adopt for new binary packages.
Checksums-Sha1:
 c9eaab670bd266f7fb1f8c4abc0b15b06ed4c93d 2927 texlive-bin_2014.20140528.34243-3.dsc
 9df9ef2061492bfb9c50b343df98861077772da3 66172 texlive-bin_2014.20140528.34243-3.debian.tar.xz
 4fdea829f8494db7b618e121152e38374858e6d3 6750636 texlive-binaries_2014.20140528.34243-3_amd64.deb
 4ef8be317ab15d18f23df64194c8b3086568a27e 152194 libkpathsea6_2014.20140528.34243-3_amd64.deb
 beeb51da35f6332dcedf835eaf67f598dda98741 178656 libkpathsea-dev_2014.20140528.34243-3_amd64.deb
 035f603a09137c9929c715548da44f643d92095d 53268 libptexenc1_2014.20140528.34243-3_amd64.deb
 14c5d29dbfc39db2b0e551974387c9173d2e3295 52530 libptexenc-dev_2014.20140528.34243-3_amd64.deb
 eecab12e10c78ce60b6837a8d3c6731f5848f17a 60392 libsynctex1_2014.20140528.34243-3_amd64.deb
 7cd08dabd1d9036449964a37eb73d2bc5537d727 57998 libsynctex-dev_2014.20140528.34243-3_amd64.deb
 8545bfd14e517148a662e7755feac532d642a4c3 26982 luatex_2014.20140528.34243-3_all.deb
Checksums-Sha256:
 7d32291978ba2b04c50d69282ab92bda117e98758c07a367b2a7ee180999634a 2927 texlive-bin_2014.20140528.34243-3.dsc
 ce27438b0a9878aa07359bd20fad0dd812d276b254052cc1d6752b484ca4d01d 66172 texlive-bin_2014.20140528.34243-3.debian.tar.xz
 9494f16456df430695a91add125bb216ebb76c1188ea644788c2333f00f0debe 6750636 texlive-binaries_2014.20140528.34243-3_amd64.deb
 e895eedcf6d60882e5fdde4a9aff3881fdc485579d0f7a447b1442b4666d1781 152194 libkpathsea6_2014.20140528.34243-3_amd64.deb
 087f1f100e31cc9029df5313119a05f58a1bd1f140b134dee57e4b31340a3aa6 178656 libkpathsea-dev_2014.20140528.34243-3_amd64.deb
 a2ef33ec48262b3318b101e2bb9e89c77b5db4e9b48aded7fc696a690cf3fd05 53268 libptexenc1_2014.20140528.34243-3_amd64.deb
 3f08f006c68f042590c845f874b34a9f0d26cfa732e812be0d22ddbec6e72493 52530 libptexenc-dev_2014.20140528.34243-3_amd64.deb
 f5f73ff2516e0c55b5d3034994ea70ed1ef34c535d08b0eabe33f46b52e20b17 60392 libsynctex1_2014.20140528.34243-3_amd64.deb
 cbc9501424ce0cd625dd34da299193697daec28a2e50ddda353ff9b35f3e9c3e 57998 libsynctex-dev_2014.20140528.34243-3_amd64.deb
 36f1ed57f52252763172d6d230d5c4460ed754923a9a2202be7748a8b2e1070b 26982 luatex_2014.20140528.34243-3_all.deb
Files:
 e0a0599da6723e25930cd543f187b945 6750636 tex optional texlive-binaries_2014.20140528.34243-3_amd64.deb
 4b2cbdd285a24c5a4194741e00b1bace 152194 libs optional libkpathsea6_2014.20140528.34243-3_amd64.deb
 52af0348cfe46de4052ff254d8547a18 178656 libdevel optional libkpathsea-dev_2014.20140528.34243-3_amd64.deb
 9b55f39a34d0fffb30361d0bbaf530f4 53268 libs optional libptexenc1_2014.20140528.34243-3_amd64.deb
 9890f1408ffc353fcb99677ca9d3ee62 52530 libdevel optional libptexenc-dev_2014.20140528.34243-3_amd64.deb
 8e56ffc889f76f02ace1e87ef1dfa514 60392 libs optional libsynctex1_2014.20140528.34243-3_amd64.deb
 3ee88b47536bd042b77004a773cfbd94 57998 libdevel optional libsynctex-dev_2014.20140528.34243-3_amd64.deb
 5dfd858754292b6f3b7f0dec8f100e52 26982 oldlibs extra luatex_2014.20140528.34243-3_all.deb
 1f87514b0a6f801ff9d460bb49ab350e 2927 tex optional texlive-bin_2014.20140528.34243-3.dsc
 00594112f2b30bb3a4f9ff9bfb13f9a1 66172 tex optional texlive-bin_2014.20140528.34243-3.debian.tar.xz

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

iQIVAwUBU6+LbWyspEiGDNwTAQgRVxAAouT7SFX11SFmRRAwpQY2GLaV1yQH1xPC
9aCq7Zd6ABT34H0fHM2UNR6KCYfmU/lPX3qB1SGBdu1SyE78B5dzHUb2fLklD+yE
05TCay6FT7qiYEN8Gy9MY35wTgR7hh77mznI+7cFEMOgW0eeczNRV5KhqZDNjaVw
f4FQ5GG6vzzd1abgtsq7+IbUYqFk8h0JoQ3nDCNUWG+nsbYZnDh2FKT81tN+FQ/+
Ph44+ysUxSHhD9XXMSDO9liSHOykR85MeBMRJ0NBP+wiEsdwTnfhNkvneWvqxyaQ
i26yaeR44oc7BqaHPf3SlOyHc2L0WsL+JTX06ROBzzUJvhS7wQptZAKRpQcdTSWM
xM5FFO4cwtDhe2VU7aa6WC9yxZCYZhuA8w/8QJzyVc4ZK1DtW4yO8T91KYJ7qJM3
8AxF/DJL8jihm7/4ODuC8rzD3rHUg9sYsq9oht3i++bmcJcTaPWFFU9qYc7/pVMn
RyTuPkVtyzAnp3oYIEkaM0bp/45PRKVYg8qCSEfIKZDTXe79azQQsmU60rGcEPb6
D/cYzRguOuAkCV2IEYgSsk1XzCeszPtAAKGtdfmOEmbW8nAb7lhf8U1lpqV69Gkw
TD7dYLqqx+HqMFkx3XENt6ypRWGyAlxSSlkq1T7UdNiK3dqbmXpibjObHm6FTeHH
dnFKHZHJcWQ=
=IPb6
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: