Bug 13533

Summary: png and pcre slang modules are missing in x86_64 package
Product: Mageia Reporter: Oleg Bosis <olegbosis>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: arnaud.patard, fundawang, mageia, thierry.vignaud
Version: CauldronKeywords: Junior_job, PATCH, Triaged
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA4TOO
Source RPM: slang-2.2.4-9.mga4.src.rpm CVE:
Status comment:
Attachments: patch to fix detection of libpng and libpcre on 64-bit platform

Description Oleg Bosis 2014-06-17 20:12:48 CEST
Created attachment 5195 [details]
patch to fix detection of libpng and libpcre on 64-bit platform

Description of problem:
64-bit lib64slang2 package doesn't contain png and pcre slang modules while 32-bit counterpart contains them.

The cause of this is that configure script only searches <>/lib directory for libraries and can not find them in <>/lib64 directory.

Version-Release number of selected component (if applicable):
all versions of slang beginning with at least Mageia 2 and up to the current one in cauldron.

I do not know if these modulea are used by anyone but this is inconsistency between 32 and 64-bit versions of the same package and I think it should be fixed.

I do attach a simple patch for the spec file that fixes detection of both libpng and libpcre and also makes detection of zlib more consistent with 64 architecture (configure scripts finds 32-bit version of zlib instead of 64-bit one without this addition).
Manuel Hiebel 2014-06-17 22:54:11 CEST

Keywords: (none) => PATCH, Triaged
CC: (none) => arnaud.patard, fundawang, mageia, thierry.vignaud

Comment 1 Thierry Vignaud 2014-06-18 10:30:29 CEST
Don't you want to apply for a packager account :-) ?

Keywords: (none) => Junior_job
Version: 4 => Cauldron
Whiteboard: (none) => MGA4TOO

Comment 2 Oleg Bosis 2014-06-18 20:27:51 CEST
(In reply to Thierry Vignaud from comment #1)
> Don't you want to apply for a packager account :-) ?
Me?
Comment 3 Thierry Vignaud 2014-06-18 21:39:06 CEST
Yes.
Comment 4 Thierry Vignaud 2014-06-18 21:41:19 CEST
I just pushed your changes in Cauldron
Comment 5 Thierry Vignaud 2015-02-11 08:53:20 CET
Should be closed now.
Please reopen if not good.

Status: NEW => RESOLVED
Resolution: (none) => FIXED