* Re: [gentoo-embedded] apache on gnap (problems with apr-util)
2006-09-29 12:24 ` Daniel Glaser
@ 2006-09-29 18:21 ` Janusz Syrytczyk
0 siblings, 0 replies; 5+ messages in thread
From: Janusz Syrytczyk @ 2006-09-29 18:21 UTC (permalink / raw
To: gentoo-embedded
Daniel Glaser wrote:
> How it is exactly masked? There are many different ways to mask
> something. When you try to emerge it, portage tells you something like
>
> - - something/somepackage (masked by: missing keyword)
>
> The round brackets at the end of this line tells you, why it can't be
> merged. There are differnt kind of masks. One possibility is the
> profile. If something is masked by profile, you only have the ability
> to change the link in etc/make.profile to get out of this.
> Perhaps in your case it can be done with
> echo "something/somepackage" >> /etc/portage/package.unmask
>
Hi,
I've already put >=dev-libs/apr-util in package.unmask and also tested
with ~x86 flag in package.keywords. I'm familiar with portage and is
configuration, but gnap/Catalyst gives slightly another output and has
slightly different rules.
>> I have found that commenting out the line:
>>
>> inherit eutils flag-o-matic libtool db-use
>>
> This is bad!
>
>
Well... I'm sure that could make very nasty things, and I surely won't
go with this, that was just a test. Anyway, is this the line which
delivers extra parameters which tells the gnap/catalyst that package is
masked, isn't it?
Everything looks good for me, except that gnap/Catalyst perceives
apr-util as masked although it should not. My gnap output is:
Gentoo Catalyst, version 2.0_rc40
Copyright 2003-2005 The Gentoo Foundation
Distributed under the GNU General Public License version 2
Using command line specified Catalyst configuration file,
/etc/catalyst2/catalyst2.conf
Setting sharedir to config file value "/usr/lib/catalyst2"
Setting snapshot_cache to default value "/var/tmp/catalyst2/snapshot_cache"
Setting hash_function to config file value "crc32"
Setting storedir to config file value "/var/tmp/catalyst2"
Setting portdir to default value "/usr/portage"
Setting distdir to config file value "/usr/portage/distfiles"
Setting options to config file value "autoresume kerncache pkgcache
seedcache snapcache"
Package cache support enabled.
Snapshot cache support enabled.
Seed cache support enabled.
Kernel cache support enabled.
Autoresuming support enabled.
WARNING: No value set for key: grp/use
deleting key: grp/use
Using target: grp
Building natively for x86
Source path set to
/var/tmp/catalyst2/builds/gnap/stage3-x86-20060929.tar.bz2
Caching snapshot to /var/tmp/catalyst2/snapshot_cache/20060929/
The autoresume path is
/var/tmp/catalyst2/tmp/gnap/.autoresume-grp-x86-20060929/
Resume point detected, skipping target path setup operation...
Location of the package cache is
/var/tmp/catalyst2/packages/gnap/grp-x86-20060929/
Location of the kerncache is
/var/tmp/catalyst2/kerncache/gnap/grp-x86-20060929/
Checking for processes running in chroot and killing them.
Running action sequence: unpack
Resume point detected, skipping unpack operation...
Running action sequence: unpack_snapshot
Valid snapshot cache, skipping unpack of portage tree ...
Running action sequence: config_profile_link
Resume point detected, skipping config_profile_link operation...
Running action sequence: setup_confdir
Running action sequence: bind
Running action sequence: chroot_setup
Resume point detected, skipping chroot_setup operation...
Running action sequence: setup_environment
Running action sequence: run_local
copying grp-chroot.sh to /var/tmp/catalyst2/tmp/gnap/grp-x86-20060929/tmp/
copying chroot-functions.sh to
/var/tmp/catalyst2/tmp/gnap/grp-x86-20060929/tmp/
Running grp-chroot.sh in chroot
/var/tmp/catalyst2/tmp/gnap/grp-x86-20060929/
Portage Autoresume point found not emerging portage
>>> --newuse implies --update... adding --update to options.
Calculating dependencies
!!! All ebuilds that could satisfy "~dev-libs/apr-util-0.9.12" have been
masked.
!!! One of the following masked packages is required to complete your
request:
!!! Problem in net-www/apache dependencies.
!!! exceptions
Traceback (most recent call last):
File "modules/grp_target.py", line 58, in run_local
+" "+pkgset+" "+mypackages,env=self.env)
File "/usr/lib/catalyst2/modules/catalyst_support.py", line 485, in cmd
raise CatalystError,myexc
CatalystError: <unprintable instance object>
None
!!! catalyst: GRP build aborting due to error.
Catalyst aborting....
While this occurs, I have:
packages.unmask: >=dev-libs/apr-util-0.9.12
packages.keywords:
dev-libs/apr-util ~x86
dev-libs/apr ~x86
net-www/apache ~x86
extensions.conf:
extensions: apache php
apache/packlist: apache
apache/cleanup: /usr/share
php/packlist: php
#php/cleanup:
Other files are gnap standard. I do not have anything special changed in
relation to base system. And I make extensions using right
portage.tar.bz2 and myspecs, I managed to do a few gnap based devices
before ;-)
Janusz
last but not least - emerge --info
Portage 2.1.2_pre1-r4 (default-linux/x86/2006.0, gcc-3.4.6,
glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.5
Last Sync: Fri, 29 Sep 2006 10:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool: 1.4.3-r4, 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
/usr/kde/3.4/shutdown /usr/lib/fax /usr/share/X11/xkb /var/spool/fax/etc
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild
/etc/terminfo"
CXXFLAGS="-O3 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox
sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en pl hu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --delete-after --stats
--timeout=180 --exclude='/distfiles' --exclude='/local'
--exclude='/packages'"
PORTAGE_TMPDIR="/opt/portage-tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts berkdb bitmap-fonts cli crypt cups dbus
dlloader dri dvd dvdr eds elibc_glibc emboss encode esd foomaticdb
fortran gif gnome gpm gstreamer gtk gtk2 hal imlib
input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde
kdeenablefinal kernel_linux ldap libg++ libwww linguas_en linguas_hu
linguas_pl mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg
opengl oss pam pcre perl png pppd python qt3 qt4 quicktime rdesktop
readline reflection samba sasl sdl session spell spl ssl tcpd truetype
truetype-fonts type1-fonts udev userland_GNU video_cards_ati
video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vga
vorbis win32codecs xml xmms xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread