Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348229 - dev-libs/fribidi-0.19.2-r1 and missing PAGE_SIZE on RHEL
Summary: dev-libs/fribidi-0.19.2-r1 and missing PAGE_SIZE on RHEL
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-09 02:09 UTC by Ivan Jager
Modified: 2017-11-13 17:32 UTC (History)
1 user (show)

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


Attachments
Patch to check if PAGE_SIZE is defined (fribidi-0.19.2-page_size.patch,724 bytes, patch)
2010-12-09 02:11 UTC, Ivan Jager
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Jager 2010-12-09 02:09:37 UTC
This is on RHEL 5.5

/afs/mrph.org/sys/gentoo/amd64_linux26/bin/bash ../libtool --tag=CC   --mode=com
pile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I../charset   -O2 -pipe
 -Wall -ansi  -MT fribidi-run.lo -MD -MP -MF .deps/fribidi-run.Tpo -c -o fribidi
-run.lo fribidi-run.c                            
/afs/mrph.org/sys/gentoo/amd64_linux26/bin/bash ../libtool --tag=CC   --mode=com
pile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I../charset   -O2 -pipe
 -Wall -ansi  -MT fribidi-shape.lo -MD -MP -MF .deps/fribidi-shape.Tpo -c -o fri
bidi-shape.lo fribidi-shape.c                    
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset
 -O2 -pipe -Wall -ansi -MT fribidi-mirroring.lo -MD -MP -MF .deps/fribidi-mirror
ing.Tpo -c fribidi-mirroring.c  -fPIC -DPIC -o .libs/fribidi-mirroring.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset
 -O2 -pipe -Wall -ansi -MT fribidi-run.lo -MD -MP -MF .deps/fribidi-run.Tpo -c f
ribidi-run.c  -fPIC -DPIC -o .libs/fribidi-run.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset
 -O2 -pipe -Wall -ansi -MT fribidi-shape.lo -MD -MP -MF .deps/fribidi-shape.Tpo 
-c fribidi-shape.c  -fPIC -DPIC -o .libs/fribidi-shape.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset
 -O2 -pipe -Wall -ansi -MT fribidi-mirroring.lo -MD -MP -MF .deps/fribidi-mirror
ing.Tpo -c fribidi-mirroring.c -o fribidi-mirroring.o >/dev/null 2>&1
mv -f .deps/fribidi-joining-types.Tpo .deps/fribidi-joining-types.Plo
fribidi-run.c: In function '_fribidi__new_run__internal__':
fribidi-run.c:70: error: 'PAGE_SIZE' undeclared (first use in this function)
fribidi-run.c:70: error: (Each undeclared identifier is reported only once
fribidi-run.c:70: error: for each function it appears in.)
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../charset
 -O2 -pipe -Wall -ansi -MT fribidi-shape.lo -MD -MP -MF .deps/fribidi-shape.Tpo 
-c fribidi-shape.c -o fribidi-shape.o >/dev/null 2>&1
make[3]: *** [fribidi-run.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/fribidi-mirroring.Tpo .deps/fribidi-mirroring.Plo
mv -f .deps/fribidi-shape.Tpo .deps/fribidi-shape.Plo
make[3]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2-r1/work/fri
bidi-0.19.2/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2-r1/work/fri
bidi-0.19.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/fribidi-0.19.2-r1/work/fri
bidi-0.19.2'
make: *** [all] Error 2
emake failed
 * ERROR: dev-libs/fribidi-0.19.2-r1 failed:
 *   emake failed


aij@ghc11:~$ cat /usr/include/asm/page.h 
/* File autogenerated by 'make headers_install' */
#ifndef __ASM_STUB_PAGE_H
#define __ASM_STUB_PAGE_H
# if defined __x86_64__
#  include <asm-x86_64/page.h>
# elif defined __i386__
#  include <asm-i386/page.h>
# else
#  warning This machine appears to be neither x86_64 nor i386.
# endif
#endif /* __ASM_STUB_PAGE_H */
aij@ghc11:~$ cat /usr/include/asm-x86_64/page.h 
#ifndef _X86_64_PAGE_H
#define _X86_64_PAGE_H


#endif /* _X86_64_PAGE_H */
aij@ghc11:~$ rpm -qf /usr/include/asm/page.h 
kernel-headers-2.6.18-194.17.1.el5
aij@ghc11:~$ 

I have a patch
Comment 1 Ivan Jager 2010-12-09 02:11:09 UTC
Created attachment 256702 [details, diff]
Patch to check if PAGE_SIZE is defined
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2010-12-09 18:14:13 UTC
(In reply to comment #1)
> Created an attachment (id=256702) [details]
> Patch to check if PAGE_SIZE is defined
> 

Will you submit it upstream, please. https://bugs.freedesktop.org/enter_bug.cgi?product=FriBidi
Comment 3 Ian Whyman (thev00d00) gentoo-dev 2014-05-03 10:12:48 UTC
Can you try fribidi-0.19.6?
Comment 4 Fabian Groffen gentoo-dev 2017-11-13 17:32:09 UTC
RHEL-5.5 is loooong dead, 5.11 is extended lifecycle, this needs checking with latest versions.  I'm sorry for closing this bug.