Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327893 - gnome-extra/evolution-data-server-2.30.2: prio.h: No such file or directory
Summary: gnome-extra/evolution-data-server-2.30.2: prio.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-12 09:55 UTC by Sergey Tyurin
Modified: 2010-11-16 16:59 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,321.13 KB, text/plain)
2010-07-12 09:56 UTC, Sergey Tyurin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Tyurin 2010-07-12 09:55:58 UTC
I've got the following error during the emerge:

/bin/sh ../libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -Wall -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wformat-security -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wpointer-arith -Wredundant-decls -Wundef -Wwrite-strings -fno-strict-aliasing -I.. -I.. -I. -DCAMEL_LIBEXECDIR=\""/usr/libexec"\" -DCAMEL_PROVIDERDIR=\""/usr/lib/evolution-data-server-1.2/camel-providers"\" -DG_LOG_DOMAIN=\"camel\" -DE_DATA_SERVER_PREFIX=\"/usr\" -DLOCALEDIR=\""/usr/share/locale"\" -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/include/db4.8  -O2 -march=native -pipe -MT libcamel_1_2_la-camel-stream-process.lo -MD -MP -MF .deps/libcamel_1_2_la-camel-stream-process.Tpo -c -o libcamel_1_2_la-camel-stream-process.lo `test -f 'camel-stream-process.c' || echo './'`camel-stream-process.c
In file included from camel.h:125,
                 from camel.c:40:
../camel/camel-tcp-stream-ssl.h:27:18: error: prio.h: No such file or directory
In file included from camel.h:125,
                 from camel.c:40:
../camel/camel-tcp-stream-ssl.h:65: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
make[4]: *** [libcamel_1_2_la-camel.lo] Error 1


Reproducible: Always

Steps to Reproduce:
1. emerge =gnome-extra/evolution-data-server-2.30.2




# emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/server, gcc-4.4.4, glibc-2.11.2-r0, 2.6.33-gentoo i686)
=================================================================
System uname: Linux-2.6.33-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 02 Jul 2010 04:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.4.6, 2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA IBM-J1.5 IBM-J1.6 dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/firefox/searchplugins /usr/share/X11/app-defaults /usr/share/X11/xkb /usr/share/mc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/home/ftp/gentoo/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="en ru"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="32bit 7zip X acpi apm branding bzip2 cairo cli curl custom-optimization dbus djvu dri encode ftp gd gdbm gif glibc-omitfp gnome gnutls gpm graphviz gtk gtk2 gzip hal iconv imagemagick imlib java jpeg jpeg2k lame libg++ lm_sensors lzo mime mjpeg mmx mmxext mng mysql ncurses nls nptl nptlonly ntpl ogg openal opengl pcre pdf png posix python quicktime readline sdl slang spell sql sse sse2 ssse3 svg theora threads threadsafe truetype type1 udev unicode vorbis webkit x86 xcb xcomposite xine xml xorg xscreensaver zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES=" actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy " ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sergey Tyurin 2010-07-12 09:56:49 UTC
Created attachment 238415 [details]
Build log
Comment 2 Pacho Ramos gentoo-dev 2010-07-19 18:22:22 UTC
prio.h is present in my system:

# locate prio.h
/usr/include/netlink/route/sch/prio.h
/usr/include/nspr/prio.h
/usr/include/nspr/private/pprio.h
/usr/lib64/klibc/include/linux/ioprio.h
/usr/src/linux-2.6.31-gentoo-r6/include/config/net/sch/prio.h
...

What nspr version do you have installed?
Comment 3 Sergey Tyurin 2010-07-20 03:52:21 UTC
It's present on my system too:

# find /usr/include -name 'prio.h'
/usr/include/nspr/prio.h

nspr version is 4.8.4-r1.

I was able to build evolution-data-server by making symbolic links in /usr/include to necessary files from /usr/include/nspr
Comment 4 Pacho Ramos gentoo-dev 2010-07-20 16:38:41 UTC
(In reply to comment #3)
> It's present on my system too:
> 
> # find /usr/include -name 'prio.h'
> /usr/include/nspr/prio.h
> 
> nspr version is 4.8.4-r1.

Did you run "revdep-rebuild" after updating? Does it work with current stable nspr-4.8.4 version?

> 
> I was able to build evolution-data-server by making symbolic links in
> /usr/include to necessary files from /usr/include/nspr
> 

What exact symlinks did you need to create?
Comment 5 Sergey Tyurin 2010-07-21 04:18:10 UTC
> Did you run "revdep-rebuild" after updating?

Yes, I run revdep-rebuild. There was no problem.

> Does it work with current stable nspr-4.8.4 version?

Do you mean revdep-rebuild or emerging evolution-data-server? Emerging with nspr-4.8.4 failed with the same error.

> What exact symlinks did you need to create?

ln -s /usr/include/nspr/prlong.h /usr/include/prlong.h
ln -s /usr/include/nspr/prtime.h /usr/include/prtime.h
ln -s /usr/include/nspr/prinrval.h /usr/include/prinrval.h
ln -s /usr/include/nspr/prinet.h /usr/include/prinet.h
ln -s /usr/include/nspr/prtypes.h /usr/include/prtypes.h
ln -s /usr/include/nspr/prcpucfg.h /usr/include/prcpucfg.h
ln -s /usr/include/nspr/obsolete/protypes.h /usr/include/obsolete/protypes.h
ln -s /usr/include/nspr/prio.h /usr/include/prio.h
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-07-21 15:05:33 UTC
Something's definitely wrong with your system, as I have -I/usr/include/nspr in gcc command lines for my build of evo.  Can you run this:


[11:04 athena] ~> pkg-config --cflags-only-I nspr
-I/usr/include/nspr  

It should list that.
Comment 7 Sergey Tyurin 2010-07-21 17:42:36 UTC
> Can you run this:

I have the same result

# pkg-config --cflags-only-I nspr
-I/usr/include/nspr
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-07-22 13:24:43 UTC
Okay, the problem is USE=-ssl.  camel.h is missing a protection for it.  For now, a workaround would be to enable the ssl USE flag.
Comment 9 Daniel Gryniewicz (RETIRED) gentoo-dev 2010-07-22 14:20:30 UTC
Submitted upstream bug, since the simple fix fails.
Comment 10 Pacho Ramos gentoo-dev 2010-11-16 16:59:28 UTC
This is fixed in 2.32