Bug 1249522 - FTBFS on non-x86 64-bit arches
Summary: FTBFS on non-x86 64-bit arches
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: secilc
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker ARM64, F-ExcludeArch-aarch64 F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2015-08-03 09:06 UTC by Dan Horák
Modified: 2015-09-25 07:58 UTC (History)
3 users (show)

Fixed In Version: secilc-2.4-6.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-25 07:58:42 UTC
Type: Bug


Attachments (Terms of Use)
spec change (990 bytes, patch)
2015-09-01 18:05 UTC, Marcin Juszkiewicz
no flags Details | Diff

Description Dan Horák 2015-08-03 09:06:08 UTC
build on non-x86 64-bit arches fails with
...
cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=z9-109 -mtune=z10 -O2 -I./include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -c -o src/cil_lexer.o src/cil_lexer.c
ar rcs src/libcil.a src/cil_policy.o src/cil_tree.o src/cil_resolve_ast.o src/cil_stack.o src/cil_fqn.o src/cil_reset_ast.o src/cil_binary.o src/cil_build_ast.o src/cil_log.o src/cil_list.o src/cil_strpool.o src/cil_copy_ast.o src/cil_verify.o src/cil.o src/cil_parser.o src/cil_post.o src/cil_symtab.o src/cil_mem.o src/cil_lexer.o
ranlib src/libcil.a
cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=z9-109 -mtune=z10 -O2 -I./include -I/usr/include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -o secilc secilc.o src/libcil.a ./src/libcil.a /usr/lib/libsepol.a 
cc: error: /usr/lib/libsepol.a: No such file or directory
Makefile:73: recipe for target 'secilc' failed
make: *** [secilc] Error 1

because the makefile treats only x86_64 as 64-bit arch that uses /usr/lib64, see cil/Makefile for details

for complete build logs please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1926350 or http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2687594

Version-Release number of selected component (if applicable):
secilc-2.4-5.fc23

Comment 1 Marcin Juszkiewicz 2015-09-01 18:05:49 UTC
Created attachment 1069094 [details]
spec change

Comment 2 Fedora Update System 2015-09-01 19:28:39 UTC
secilc-2.4-6.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-14810

Comment 3 Fedora Update System 2015-09-03 09:53:16 UTC
secilc-2.4-6.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.\nIf you want to test the update, you can install it with \n su -c 'yum --enablerepo=updates-testing update secilc'. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-14810

Comment 4 Fedora Update System 2015-09-25 07:58:40 UTC
secilc-2.4-6.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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