Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 438742 - www-apps/davical is missing awl in depends
Summary: www-apps/davical is missing awl in depends
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: François Périchon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-17 20:14 UTC by Gilles Dartiguelongue (RETIRED)
Modified: 2013-01-28 19:31 UTC (History)
1 user (show)

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


Attachments
new ebuild with awl in the DEPEND (davical-1.1.1-r1.ebuild,1.90 KB, text/plain)
2012-10-22 09:23 UTC, François Périchon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-10-17 20:14:55 UTC
I'm trying to build davical using ROOT feature of portage in order to build a lxc chroot out of the path. Since awl is not part of DEPEND, portage will not build it on "host" system so it is not available to run scripts.

# ROOT="/mnt/davical" emerge -1av davical
Calculating dependencies... done!
[ebuild  N     ] www-apps/davical-1.1.1 to /mnt/davical/ USE="-doc -vhosts" 0 kB
[...]
>>> Compiling source in /var/tmp/portage/www-apps/davical-1.1.1/work/davical-1.1.1 ...
make -l6.0 -j6 built-po 
scripts/po/rebuild-translations.sh
I can't find a location for the AWL libraries and I need those strings too
make: *** [built-po] Error 1
emake failed

Same effect would be achieved if package manager is not merging awl before davical so this is a real bug not just a weird usage of portage :)
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-10-17 20:15:46 UTC
Just FTR,

# emerge --info
Portage 2.2.0_alpha138 (hardened/linux/amd64, gcc-4.7.2, glibc-2.15-r3, 3.6.1-hardened x86_64)
=================================================================
System uname: Linux-3.6.1-hardened-x86_64-Intel-R-_Core-TM-_i3-2100_CPU_@_3.10GHz-with-gentoo-2.2
Timestamp of tree: Tue, 16 Oct 2012 07:00:01 +0000
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.9-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.4
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.7.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo eva-s-crossdev-overlay eva
Installed sets: @devel, @media-center, @network, @portage-extras, @router, @server, @system-extras, @temp
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -mno-aes -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=corei7-avx -mno-aes -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--load=6.0 --jobs=4"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="fr en"
MAKEOPTS="-l6.0 -j6"
PKGDIR="/var/tmp/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/eva-crossdev /var/lib/layman/eva"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 avahi bzip2 caps cli cracklib crypt dbus device-mapper dri flac gpm hardened iconv icu ipv6 jpeg jpg justify mmx modules mudflap multilib ncurses netlink nls nptl ntp ogg openmp pam pax_kernel pcre png pppd readline session sse sse2 sse3 ssl ssse3 tcpd threads unicode urandom utf8 vim xattr xattrs 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 François Périchon 2012-10-22 09:23:23 UTC
Created attachment 327134 [details]
new ebuild with awl in the DEPEND

I made davical depends on awl-0.53 too.
Comment 3 Patrick Lauer gentoo-dev 2013-01-28 08:14:45 UTC
It's in RDEPEND. No idea what you're doing :)

If you can explain to me why a runtime dep should be "downgraded" to build dep you can change it, but I don't consider this to be a valid bugreport.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2013-01-28 19:31:29 UTC
I though my explanation was clear enough. I use the portage ROOT feature, just like what eprefix does afaik.

davical needs awl to run some script in the compilation phase of the ebuild hence it must be present in DEPEND not just in RDEPEND.

FTR, I don't need this anymore since I then setup a build lxc to prepare the binpkgs for my lxc guests but I guess prefix users would be glad to have this fixed anyway.