Bug 433890 - openser places libs in /usr/lib64 on ia64, should be /usr/lib
Summary: openser places libs in /usr/lib64 on ia64, should be /usr/lib
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openser
Version: rawhide
Hardware: ia64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: fedora-ia64
TreeView+ depends on / blocked
 
Reported: 2008-02-21 22:55 UTC by Doug Chapman
Modified: 2008-02-23 18:57 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-23 18:57:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
spcfile patch to define LIBDIR (650 bytes, patch)
2008-02-22 23:21 UTC, Doug Chapman
no flags Details | Diff

Description Doug Chapman 2008-02-21 22:55:28 UTC
Description of problem:

On ia64 we don't support both 32 and 64 bit binaries like x86_64 and therefore
there is no /usr/lib64.  openser tries to put things in /usr/lib64 but then
fails to package it because it the looks in /usr/lib.  This breaks the build on
ia64.

build log showing the errors:

http://ia64.koji.fedoraproject.org/koji/getfile?taskID=14457&name=build.log

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jan ONDREJ 2008-02-22 22:55:25 UTC
This may help to fix this bug, when added to make commands (in build and install
sections):

LIBDIR=%{_lib}

This overwrites detection in openser's Makefile.defs.

Can anybody confirm this?

Code from Makefile.defs:
# ARCH is a little bit updated uname -m
ARCH_B= $(shell echo $(ARCH) | sed -e 's/.*64.*/64b/')                          
ifeq ($(ARCH_B),64b)                                                            
        LIBDIR ?= lib64                                                         
else                                                                            
        LIBDIR ?= lib                                                           
        # assume 32b - it is not really used further                            
        ARCH_B=32b                                                              
endif                                                                           


Comment 2 Doug Chapman 2008-02-22 23:21:36 UTC
Created attachment 295687 [details]
spcfile patch to define LIBDIR

thanks, the LIBDIR suggestion does fix the issue.  Appears to only be needed in
the %install section.

Comment 3 Jan ONDREJ 2008-02-23 08:50:51 UTC
Fixed in devel: openser-1.3.0-9

How I can rebuild package for ia64? Does it build automatically?


Comment 5 Doug Chapman 2008-02-23 18:50:19 UTC
(In reply to comment #3)
> Fixed in devel: openser-1.3.0-9
> 
> How I can rebuild package for ia64? Does it build automatically?
> 

Not yet but hopefully soon.  Our ia64 koji server is at
ia64.koji.fedoraproject.org.  I will kick off a build there now.

- Doug


Comment 6 Doug Chapman 2008-02-23 18:56:50 UTC
Actually it appears this did get built last night automatically (I have a hacked
up script that looks for jobs on the main koji server and resubmits them to ours).

Looks like it built cleanly, thanks!

http://ia64.koji.fedoraproject.org/koji/buildinfo?buildID=8015



Note You need to log in before you can comment on or make changes to this bug.