Quantcast

Bug#858199: broken /usr/include/libreoffice/sal/typesizes.h symlink on !amd64 (was: Re: sdk-examples fails on i386 [was: libreoffice 1:5.3.1-0ubuntu1) stuck in zesty-proposed]

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug#858199: broken /usr/include/libreoffice/sal/typesizes.h symlink on !amd64 (was: Re: sdk-examples fails on i386 [was: libreoffice 1:5.3.1-0ubuntu1) stuck in zesty-proposed]

Rene Engelhard
Package: libreoffice-dev,libreoffice-dev-common
Version: 1:5.2.3~rc1-1
Severity: grave

Hi,

On Sun, Mar 19, 2017 at 03:00:21PM +0100, bjoern wrote:
> 1/ libreoffice-dev/amd64 has a /usr/include/x86_64-linux-gnu/libreoffice/sal/typesizes.h
>    while the example is set up to find the header in /usr/include/libreoffice/sal/typesizes.h
> 2/ libreoffice-dev/i386 has a /usr/include/i386-linux-gnu/libreoffice/sal/typesizes.h
>    while the example is set up to find the header in /usr/include/libreoffice/sal/typesizes.h
> 3/ libreoffice-dev-common/all has a symlink to ../../x86_64-linux-gnu/libreoffice/sal/typesizes.h

F*k.

> And 3/ makes this accidentally work on amd64, but also is obviously wrong in
> putting arch-dep stuff in -common.

Yeah.

> To solve this, IMHO we need to:
>
> a/  Remove the symlink in libreoffice-dev-common.
>
> and either:
>
> b1/ Deploy the symlink at /usr/include/libreoffice/sal/typesizes.h to arch in
>     libreoffice-dev and do the Breaks:/Replaces: dance for that.

That should be done.

diff --git a/rules b/rules
index 469b7afe..e7f348ed 100755
--- a/rules
+++ b/rules
@@ -2318,7 +2318,7 @@ ifeq "$(PACKAGE_SDK)" "y"
        mkdir -p $(PKGDIR)-dev/usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal
        mv $(PKGDIR)-dev-common/usr/include/libreoffice/sal/typesizes.h \
                $(PKGDIR)-dev/usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal
-       cd $(PKGDIR)-dev-common/usr/include/libreoffice/sal/ && \
+       cd $(PKGDIR)-dev/usr/include/libreoffice/sal/ && \
                ln -s /usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal/typesizes.h
        mkdir -p $(PKGDIR)-dev-common/usr/share/idl
        mv $(PKGDIR)-dev/usr/share/idl/libreoffice \

Making this a (RC) bug in Debian, too. It's not in any way new in 5.3.x but
there in Debian since 1:5.2.3~rc1-1.

Regards,

Rene

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bug#858199: marked as done (broken /usr/include/libreoffice/sal/typesizes.h symlink on !amd64)

Debian Bug Tracking System
Your message dated Mon, 20 Mar 2017 12:21:13 +0000
with message-id <[hidden email]>
and subject line Bug#858199: fixed in libreoffice 1:5.2.6-2
has caused the Debian Bug report #858199,
regarding broken /usr/include/libreoffice/sal/typesizes.h symlink on !amd64
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 [hidden email]
immediately.)


--
858199: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858199
Debian Bug Tracking System
Contact [hidden email] with problems

Package: libreoffice-dev,libreoffice-dev-common
Version: 1:5.2.3~rc1-1
Severity: grave

Hi,

On Sun, Mar 19, 2017 at 03:00:21PM +0100, bjoern wrote:
> 1/ libreoffice-dev/amd64 has a /usr/include/x86_64-linux-gnu/libreoffice/sal/typesizes.h
>    while the example is set up to find the header in /usr/include/libreoffice/sal/typesizes.h
> 2/ libreoffice-dev/i386 has a /usr/include/i386-linux-gnu/libreoffice/sal/typesizes.h
>    while the example is set up to find the header in /usr/include/libreoffice/sal/typesizes.h
> 3/ libreoffice-dev-common/all has a symlink to ../../x86_64-linux-gnu/libreoffice/sal/typesizes.h

F*k.

> And 3/ makes this accidentally work on amd64, but also is obviously wrong in
> putting arch-dep stuff in -common.

Yeah.

> To solve this, IMHO we need to:
>
> a/  Remove the symlink in libreoffice-dev-common.
>
> and either:
>
> b1/ Deploy the symlink at /usr/include/libreoffice/sal/typesizes.h to arch in
>     libreoffice-dev and do the Breaks:/Replaces: dance for that.

That should be done.

diff --git a/rules b/rules
index 469b7afe..e7f348ed 100755
--- a/rules
+++ b/rules
@@ -2318,7 +2318,7 @@ ifeq "$(PACKAGE_SDK)" "y"
        mkdir -p $(PKGDIR)-dev/usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal
        mv $(PKGDIR)-dev-common/usr/include/libreoffice/sal/typesizes.h \
                $(PKGDIR)-dev/usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal
-       cd $(PKGDIR)-dev-common/usr/include/libreoffice/sal/ && \
+       cd $(PKGDIR)-dev/usr/include/libreoffice/sal/ && \
                ln -s /usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal/typesizes.h
        mkdir -p $(PKGDIR)-dev-common/usr/share/idl
        mv $(PKGDIR)-dev/usr/share/idl/libreoffice \

Making this a (RC) bug in Debian, too. It's not in any way new in 5.3.x but
there in Debian since 1:5.2.3~rc1-1.

Regards,

Rene

Source: libreoffice
Source-Version: 1:5.2.6-2

We believe that the bug you reported is fixed in the latest version of
libreoffice, 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 [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rene Engelhard <[hidden email]> (supplier of updated libreoffice 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 [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 20 Mar 2017 11:46:38 +0100
Source: libreoffice
Binary: libreoffice libreoffice-l10n-za libreoffice-l10n-in libreoffice-core libreoffice-common libreoffice-java-common libreoffice-writer libreoffice-calc libreoffice-impress libreoffice-draw libreoffice-math libreoffice-base-core libreoffice-base libreoffice-style-oxygen libreoffice-style-breeze libreoffice-style-tango libreoffice-style-hicontrast libreoffice-style-sifr libreoffice-style-galaxy libreoffice-gnome python3-uno libreoffice-officebean libreoffice-script-provider-python libreoffice-script-provider-bsh libreoffice-script-provider-js libreoffice-pdfimport libreoffice-avmedia-backend-gstreamer libreoffice-avmedia-backend-vlc libreoffice-sdbc-hsqldb libreoffice-base-drivers libreoffice-l10n-de libreoffice-help-en-us libreoffice-help-de uno-libs3 ure libreoffice-ogltrans libreoffice-wiki-publisher libreoffice-report-builder libreoffice-report-builder-bin libreoffice-nlpsolver fonts-opensymbol libreoffice-dev libreoffice-dev-common libreoffice-dev-doc
 libreofficekit-dev libreoffice-gtk2 libreoffice-gtk libreoffice-systray libreoffice-gtk3 gir1.2-lokdocview-0.1 liblibreofficekitgtk libreofficekit-data libreoffice-kde libreoffice-sdbc-postgresql libreoffice-mysql-connector libreoffice-evolution libreoffice-subsequentcheckbase
 libreoffice-librelogo
Architecture: source
Version: 1:5.2.6-2
Distribution: unstable
Urgency: medium
Maintainer: Debian LibreOffice Maintainers <[hidden email]>
Changed-By: Rene Engelhard <[hidden email]>
Description:
 fonts-opensymbol - OpenSymbol TrueType font
 gir1.2-lokdocview-0.1 - GTK3 widget wrapping LibreOffice functionality - introspection
 liblibreofficekitgtk - GTK3 widget wrapping LibreOffice functionality
 libreoffice - office productivity suite (metapackage)
 libreoffice-avmedia-backend-gstreamer - GStreamer backend for LibreOffice
 libreoffice-avmedia-backend-vlc - VLC backend for LibreOffice
 libreoffice-base - office productivity suite -- database
 libreoffice-base-core - office productivity suite -- shared library
 libreoffice-base-drivers - Database connectivity drivers for LibreOffice
 libreoffice-calc - office productivity suite -- spreadsheet
 libreoffice-common - office productivity suite -- arch-independent files
 libreoffice-core - office productivity suite -- arch-dependent files
 libreoffice-dev - office productivity suite -- SDK -- architecture-dependent parts
 libreoffice-dev-common - office productivity suite -- SDK -- architecture-independent part
 libreoffice-dev-doc - office productivity suite -- SDK documentation
 libreoffice-draw - office productivity suite -- drawing
 libreoffice-evolution - office productivity suite -- Evolution addressbook support
 libreoffice-gnome - office productivity suite -- GNOME integration
 libreoffice-gtk - transitional package to upgrade to libreoffice-gtk2/-systray
 libreoffice-gtk2 - office productivity suite -- GTK+ 2 integration
 libreoffice-gtk3 - office productivity suite -- GTK+ 3 integration
 libreoffice-help-de - office productivity suite -- German help
 libreoffice-help-en-us - office productivity suite -- English_american help
 libreoffice-impress - office productivity suite -- presentation
 libreoffice-java-common - office productivity suite -- arch-independent Java support files
 libreoffice-kde - office productivity suite -- KDE integration
 libreoffice-l10n-de - office productivity suite -- German language package
 libreoffice-l10n-in - office productivity suite -- Indic language packages
 libreoffice-l10n-za - office productivity suite -- South African language packages
 libreoffice-librelogo - Logo-like progamming language for LibreOffice
 libreoffice-math - office productivity suite -- equation editor
 libreoffice-mysql-connector - MariaDB/MySQL Connector extension for LibreOffice
 libreoffice-nlpsolver - "Solver for Nonlinear Programming" extension for LibreOffice
 libreoffice-officebean - office productivity suite -- Java bean
 libreoffice-ogltrans - LibreOffice Impress extension for slide transitions using OpenGL
 libreoffice-pdfimport - PDF Import component for LibreOffice
 libreoffice-report-builder - LibreOffice component for building database reports
 libreoffice-report-builder-bin - LibreOffice component for building database reports -- libraries
 libreoffice-script-provider-bsh - BeanShell script support provider for LibreOffice scripting frame
 libreoffice-script-provider-js - JavaScript script support provider for LibreOffice scripting fram
 libreoffice-script-provider-python - Python script support provider for LibreOffice scripting framewor
 libreoffice-sdbc-hsqldb - HSQLDB SDBC driver for LibreOffice
 libreoffice-sdbc-postgresql - PostgreSQL SDBC driver for LibreOffice
 libreoffice-style-breeze - office productivity suite -- Breeze symbol style
 libreoffice-style-galaxy - office productivity suite -- Galaxy (Default) symbol style
 libreoffice-style-hicontrast - office productivity suite -- Hicontrast symbol style
 libreoffice-style-oxygen - office productivity suite -- Oxygen symbol style
 libreoffice-style-sifr - office productivity suite -- Sifr symbol style
 libreoffice-style-tango - office productivity suite -- Tango symbol style
 libreoffice-subsequentcheckbase - LibreOffice java test libraries
 libreoffice-systray - LibreOffice "Quickstarter" for the desktop notification area
 libreoffice-wiki-publisher - LibreOffice extension for working with MediaWiki articles
 libreoffice-writer - office productivity suite -- word processor
 libreofficekit-data - common data for LOKDocView
 libreofficekit-dev - LibreOfficeKit -- headers
 python3-uno - Python-UNO bridge
 uno-libs3  - LibreOffice UNO runtime environment -- public shared libraries
 ure        - LibreOffice UNO runtime environment
Closes: 858199
Changes:
 libreoffice (1:5.2.6-2) unstable; urgency=medium
 .
   * debian/rules:
     - move /usr/include/libreoffice/sal/typesizes.h symlink to -dev
       instead of -dev-common (closes: #858199)
Checksums-Sha1:
 1e161bb16708b4c5a9e1759d8be87a3b51c0b501 19055 libreoffice_5.2.6-2.dsc
 4065c8fe4d03ee4f002f99f3506528a1bad6bbb2 5382016 libreoffice_5.2.6-2.debian.tar.xz
 a53d71558fb2db3c53b04c091b1fd4a048ccd9a6 29462 libreoffice_5.2.6-2_source.buildinfo
Checksums-Sha256:
 e4dc53f846ad285b2d254d30f3d4b69d8b53a6e9ec57c111a35c77b42e9f3928 19055 libreoffice_5.2.6-2.dsc
 dd6dbf2541aefc32e69053ffa921582faeeb92b9cd465f3b664b90f31bf920ba 5382016 libreoffice_5.2.6-2.debian.tar.xz
 fdf386c5255bb36ea48e78d41fd5f3a800ba7a96d5836afa62c47c1c4481fce4 29462 libreoffice_5.2.6-2_source.buildinfo
Files:
 b0ae967baddd42569cdc4b269cbbc7bb 19055 editors optional libreoffice_5.2.6-2.dsc
 f97faea601ca0437d0925e1d31a0f963 5382016 editors optional libreoffice_5.2.6-2.debian.tar.xz
 48caec4da01aec9fa9a14955f1f56057 29462 editors optional libreoffice_5.2.6-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE4S3qRnUGcM+pYIAdCqBFcdA+PnAFAljPw1QACgkQCqBFcdA+
PnB4EBAAwsYUOJflwgqzwBGmz38qw9CkM6Wcaws5CnsnZLju4ZwVsF4GIGnEOp53
Q4CJeaieLIDItq73McNrVo2jFfc5cTmhs2grY8LWJwuvUASTI/vrf1Oix254tIq7
A3u6xBO6NX+P07MNFaqA9VBPP2cxl2WRtrsblbJeeoXYAk49EDngKdDNwWKQDxhQ
R/6zEZBt18EPWrWYQJp6+0JSdqyxCeeq8Kdr7SzHckpILb8gOjhEHPq6nZqo+AWa
wkvuKM1APmfMkDDASKhQSpqEtenFnxQmPOXQAs5HP9/HOIrt2wuuwRH2aQ9UgxzD
0qVUNjCSC/8ISOodGfriEtSRwtGJsq4Iw4X7aOMqWCAl0ieNqykJlvce9uRDalyO
PQpmtXi3t9wQVV4vZpggiKMUek3HEaqY9c0jAOnmPofL5ulXB2cvIstDonUPXppu
Cwu1bww1hqbVwMug3LAD6FW08JMIjPeTeeZGU//bRU1PyL+6g1bKK/KBZ5a53duZ
jpyC1XFOswKLe9zJyXOdKF7TXrldlMIkyO+J8gNMR2e3HZvYBSyKdWvcwBYenNL+
gRu9SjvSljLxtp3jDm5JTkQCA+6OmzHS9Kw9YkIdPRkhEoX1Mrda5c9jxlvvR9aw
LgohCQCejd32713HKY7vv0aYVj6sqWlDbnX3AEEZribdsMp4/DE=
=J+YY
-----END PGP SIGNATURE-----
Loading...