Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630948 - sci-geosciences/mapnik-3.0.9 : * multilib-strict check failed!
Summary: sci-geosciences/mapnik-3.0.9 : * multilib-strict check failed!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
: 627852 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-14 07:28 UTC by Toralf Förster
Modified: 2017-11-02 19:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.57 KB, text/plain)
2017-09-14 07:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,327.67 KB, text/plain)
2017-09-14 07:28 UTC, Toralf Förster
Details
environment (environment,89.69 KB, text/plain)
2017-09-14 07:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.50 KB, application/x-bzip)
2017-09-14 07:28 UTC, Toralf Förster
Details
sci-geosciences:mapnik-3.0.9:20170914-012921.log.bz2 (sci-geosciences:mapnik-3.0.9:20170914-012921.log.bz2,111.08 KB, application/x-bzip)
2017-09-14 07:28 UTC, Toralf Förster
Details
ebuild.patch (mapnik-3.0.9.ebuild.patch,496 bytes, patch)
2017-09-16 16:18 UTC, Jiří Moravec
Details | Diff
ebuild-libdir_schema.patch (file_630948.txt,365 bytes, patch)
2017-10-25 17:59 UTC, calimeroteknik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-14 07:28:22 UTC
   usr/lib/libmapnik.so.3.0.9
 * ERROR: sci-geosciences/mapnik-3.0.9::gentoo failed:
 *   multilib-strict check failed!
 * 
 * Call stack:
 *   misc-functions.sh, line 605:  Called install_qa_check

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_libressl_20170903-100751

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.11 [icedtea-bin-7]
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-7 
  [2]   icedtea-bin-8  system-vm
  [3]   jamvm 

emerge -qpv sci-geosciences/mapnik
[ebuild  N    ] sci-geosciences/mapnik-3.0.9  USE="cairo -debug -doc -gdal -postgres -sqlite"
Comment 1 Toralf Förster gentoo-dev 2017-09-14 07:28:25 UTC
Created attachment 494442 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-14 07:28:29 UTC
Created attachment 494444 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-14 07:28:32 UTC
Created attachment 494446 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-14 07:28:35 UTC
Created attachment 494448 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-14 07:28:39 UTC
Created attachment 494450 [details]
sci-geosciences:mapnik-3.0.9:20170914-012921.log.bz2
Comment 6 Jiří Moravec 2017-09-16 16:16:49 UTC
Problem is that Scons is broken. So we need to hardpatch SConstruct to correct lib/lib32/lib64 directory. See ebuild.patch
Comment 7 Jiří Moravec 2017-09-16 16:18:29 UTC
Created attachment 494760 [details, diff]
ebuild.patch
Comment 8 calimeroteknik 2017-10-25 17:54:11 UTC
Here is something cleaner than the above patch:

--- mapnik-3.0.9.ebuild	2017-02-28 20:50:50.000000000 +0100
+++ mapnik-3.0.12.ebuild	2017-10-25 19:47:27.000000000 +0200
@@ -74,6 +74,7 @@
 		"RUNTIME_LINK=shared"
 		"PROJ_INCLUDES=/usr/include"
 		"PROJ_LIBS=/usr/$(get_libdir)"
+		"LIBDIR_SCHEMA=$(get_libdir)"
 		"SYSTEM_FONTS=/usr/share/fonts"
 		CAIRO="$(usex cairo 1 0)"
 		DEBUG="$(usex debug 1 0)"

Please use this rather than the hard patching.

Also please update to 3.0.12 if there is nothing preventing that.
See http://mapnik.org/pages/downloads.html
Comment 9 calimeroteknik 2017-10-25 17:59:05 UTC
Created attachment 500070 [details, diff]
ebuild-libdir_schema.patch

Fixes the QA issue where libraries would be installed in /usr/lib instead of e.g. /usr/lib64 on amd64
Comment 10 Toralf Förster gentoo-dev 2017-10-25 18:49:28 UTC
*** Bug 627852 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2017-11-02 19:09:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa58770021c587f3a16b4bb9dbb6621dc9da4be6

commit aa58770021c587f3a16b4bb9dbb6621dc9da4be6
Author:     Amy Liffey <amynka@gentoo.org>
AuthorDate: 2017-11-02 19:04:06 +0000
Commit:     Amy Liffey <amynka@gentoo.org>
CommitDate: 2017-11-02 19:06:54 +0000

    sci-geosciences/mapnik: fix icu and libs
    
    Submitted-by: calimeroteknik@free.fr
    
    Closes:https://bugs.gentoo.org/618674
    Closes:https://bugs.gentoo.org/630948
    
    Package-Manager: Portage-2.3.8, Repoman-2.3.1

 .../mapnik-3.0.9-harbuzz_sharper-upstream.patch    |  25 +++++
 .../files/mapnik-3.0.9-unicode-upstream.patch      |  11 +++
 sci-geosciences/mapnik/mapnik-3.0.9-r1.ebuild      | 107 +++++++++++++++++++++
 3 files changed, 143 insertions(+)