In /usr/portage/profiles/default-linux/amd64/use.mask # 2007/02/02 - Simon Stelling <blubb@gentoo.org> # firebird 1.5* has known problems on amd64; bug 156885 firebird I think firebird can be unmasked since it compiles/run nicely on my amd64 box. Reproducible: Always
*** Bug 187922 has been marked as a duplicate of this bug. ***
I unmasked firebird keyword on my machine and tried to compiled php-5.2.3-r3. It fails and all erros appears to be consequence of this error: > error: ibase.h: No such file or directory which happens when compiling file ext/interbase/interbase.c This file exists and is installed by firebird, it's located at /opt/firebird/include/ibase.h I don't if this directory should be passed in includes' path to php or if it should have been copied to an system's include path. I run the following command here: $ for f in /opt/firebird/include/* ; do ln -s $f /usr/include/ ; done Then I recompiled php with firebird support. It compiled ok, I have firebird running and I teste php's support, it works just fine. I think that to solve this, either firebird or php packages must be fixed (i would bet in firebird tough). ps.: I think the problem is firebird, and i found another issue, with "examples" use flag it compiles and install well, but didn't install the examples and prints a lot of lines like this (for all examples): >>> Install firebird-2.0.1.12855.0-r4 into /var/tmp/portage/dev-db/firebird-2.0.1.12855.0-r4/image/ category dev-db install: omitting directory `examples/api' bzip2: Can't open input file /var/tmp/portage/dev-db/firebird-2.0.1.12855.0-r4/image/usr/share/doc/firebird-2.0.1.12855.0-r4/examples/api: No such file or directory. I didn't search for it, but i this is another bug...
The php issues have been addressed in ~arch. Actually they are eclass changes so should effect things not in ~arch. See bug 186791 for more information. The new split layout Firebird should resolve any package that has compile time issues with finding headers and etc. Since they are not installed in normal locations, not /opt/firebird. But not likely to make it to stable for ~30 days or so.
Ok fixed in tree, removed all references to Firebird.
(In reply to comment #4) > Ok fixed in tree, removed all references to Firebird. This won't work as it's masked in base/ so you need to explicitely unmask it on amd64 profiles.
* All the ebuilds below emerges with USE="firebird" on AMD64. dev-lang/php-5.2.6_rc1-r1 dev-db/hk_classes-0.8.1 dev-db/opendbx-1.2.4 dev-db/opendbx-1.3.6 dev-python/sqlalchemy-0.3.7 dev-ruby/ruby-dbi-0.1.1 net-dialup/freeradius-1.1.7 x11-libs/qt-4.3.2-r1 * All the ebuilds below were not tested. dev-db/jxtray dev-python/orm (not keyworded) x11-libs/qt-embedded (#164113) x11-libs/qt-sql * dev-db/libdbi-drivers-0.8.1-r1 fails to emerge with USE="firebird" See #213501 - - Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 x86_64) ================================================================= System uname: 2.6.24-gentoo-r3 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-56 Timestamp of tree: Wed, 12 Mar 2008 22:00:04 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r9 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -Os -msse3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -Os -msse3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://213.186.33.37/gentoo-distfiles/" LANG="en_US" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi alsa amd64 amr amrnb amrwb bash-completion berkdb branding bzip2 cairo cli cracklib crypt cups dbus devhelp divx doc dvd dvdr emerald fam ffmpeg firefox flac fortran gd gdbm gif glade glib glitz gtk gtkspell hal hddtemp iconv imagemagick insecure-savers isdnlog javascript jpeg jpeg2k kqemu libcaca libnotify midi mmx mmxext mp2 mp3 mp4 mpeg mplayer mudflap musicbrainz mysql ncurses nls nptl nptlonly offensive ogg opengl openmp pam pcre png pppd python quicktime readline realmedia reflection samba sdl session smp sndfile sourceview spell spl sse sse2 ssl stream svg syslog taglib tcpd threads truetype type1 unicode v4l v4l2 vhosts vim-syntax vorbis wifi wmp xcomposite xorg xosd xpm xscreensaver xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="xosd" USERLAND="GNU" VIDEO_CARDS="nv nvidia none" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #6) > > * dev-db/libdbi-drivers-0.8.1-r1 fails to emerge with USE="firebird" > See #213501 This is not arch specific, and should not be a blocker for the unmasking of firebird on amd64 profiles. It's a problem with looking for a legacy header file, needs a patch.
Hi, William has left Gentoo, so this bug has stalled. I think this is done now. %% pwd /tmp/gentoo-x86/profiles %% grep -r firebird * arch/x86/use.mask:-firebird arch/powerpc/use.mask:# Keep and eye on firebird and interbase as pair base/use.mask:firebird base/use.defaults:firebird dev-db/firebird ChangeLog: Mask dev-db/firebird-2.0.1 for testing. default-linux/x86/use.mask:-firebird default-linux/ppc/use.mask:#keep and eye on firebird and interbase as pair default-linux/amd64/ChangeLog: mask firebird use flag as dev-db/firebird is bumped back to testing; bug 156885 hardened/x86/2.6/use.mask:-firebird hardened/x86/use.mask:-firebird hardened/amd64/use.mask:#-firebird - commented since firebird has been pushed back to ~amd64 updates/1Q-2004:move net-www/mozilla-firebird-bin net-www/mozilla-firefox-bin updates/1Q-2004:move net-www/mozilla-firebird net-www/mozilla-firefox use.desc:firebird - Adds support for the Firebird relational database