Robin H. Johnson wrote:
On Thu, Apr 22, 2010 at 01:05:11AM +0300, Amit Dor-Shifer wrote:
When I invoke the following, I see http interaction w/gentoo.org:
layman -c /dev/null -N -f -a oversi -o file:///tmp/layman-oversi.xml
which AFAIK doesn't read /etc/layman/layman.cfg.
The config
Hi all. Some questions rgd layman:
1. Seems like layman is hard-wired to contain the layman-global.txt
list of overlays. What's the reasoning behind this? My issue
w/this is that, lately, when gentoo.org was unreachable, this
hard-wiring presented considerable hangs on fetch
Robin H. Johnson wrote:
On Thu, Apr 22, 2010 at 12:09:21AM +0300, Amit Dor-Shifer wrote:
Hi all. Some questions rgd layman:
1. Seems like layman is hard-wired to contain the layman-global.txt
list of overlays. What's the reasoning behind this? My issue
w/this is that, lately
test-depgraph has a primary dep:
amit0 ~ # equery depgraph --depth=1 test-depgraph
[ Searching for packages matching test-depgraph... ]
* dependency graph for test/test-depgraph-1.0
`-- test/test-depgraph-1.0
`-- test/test-primary-dep-1.0
[ test/test-depgraph-1.0 stats: packages (2), max depth
amit0 ~ # qfile -v $(which equery)
app-portage/gentoolkit-0.2.4.5 (/usr/bin/equery)
Paul Varner wrote:
On Mon, 2010-01-11 at 15:40 +0200, Amit Dor-Shifer wrote:
is this a bug?
As the gentoolkit maintainer, I would say that it is a bug. Which
version of gentoolkit do you have
Zac Medico wrote:
On 12/31/2009 06:41 AM, Amit Dor-Shifer wrote:
In cont. to my prev. question
(http://archives.gentoo.org/gentoo-portage-dev/msg_9973fd6c12d7c2088457697f49ea2f5e.xml)
Can I append use.force/package.use.force/package.use or similar to an
overlay, and by that control USE
Is there some method of specifing if USE flag X is enabled, enable USE
flag y as-well? Something like a conditional use.force file in profiles/.
Amit
Hi.
I want package A to incur a rebuild of package B, due to a newly
introduced USE flag which affects B. I wish to express this in the
package's ebuild. I therefore DEPENDed A in B[use_flag]. When I attempt
to emerge A, portage offers to *upgrade* the dependency, taking in the
new USE
Hi.
amit0 myebuilds # qlist -Iv sys-apps/portage
sys-apps/portage-2.1.6.13
I've binpkg-ed sun-jdk.
I did so w/USE+=jce:
amit0 myebuilds # qtbz2 -x
/usr/portage/packages/dev-java/sun-jdk-1.6.0.16.tbz2
amit0 myebuilds # qxpak -x
/usr/portage/packages/dev-java/sun-jdk-1.6.0.16.xpak
with CONFIG_PROTECT_MASK)?
Amit
Zac Medico wrote:
Amit Dor-Shifer wrote:
Thanks.
IMHO this usage of env.d should be documented in the ebuild howto, as it
presents a useful-yet-not-trivial mechanism.
I'd document it, if:
a) I get no objection from others. Anyone?
b) I'd be referred to the proper place
Hi.
I'm attempting to synchronize an existing local overlay (layman -s
myoverlay).
/etc/layman/config.cfg:overlays contains an unresolvable URL.
The overlay is synchronizes as-expected, yet layman also issues an error:
QUOTE
* Failed to update the overlay list from:
Sorry. Didn't notice nofetch.
10x for the prompt reply.
Amit
Duncan wrote:
Amit Dor-Shifer posted on Wed, 09 Sep 2009 10:54:50 +0300 as excerpted:
I'm wondering: why should layman attempt to access overlay lists when
synching? It can use overlays.xml, since the overlay is already
installed
/usr/portage/local/myebuilds/test/test-mkdir/test-mkdir-1.0.ebuild
install /tmp/bla)
^C^C
real3m48.985s
user3m32.271s
sys 0m16.436s
Amit
Zac Medico wrote:
Amit Dor-Shifer wrote:
amit0 ~ $ grep -m 3 ': warning:'
/var/tmp/portage/test/test-mkdir-1.0/temp/build.log
+ msgs
wrote:
Amit Dor-Shifer wrote:
Hi.
When I'm executing ebuild --debug /path/to/my/ebuild.ebuild
/some/file, ebuild keeps dumping QA warnings to /some/file. I think its
because its grepping for : warning : in build.log, and such messages
are quoted into build.log because of the use of --debug
Hi.
When I'm executing ebuild --debug /path/to/my/ebuild.ebuild
/some/file, ebuild keeps dumping QA warnings to /some/file. I think its
because its grepping for : warning : in build.log, and such messages
are quoted into build.log because of the use of --debug.
If I remove
Hello all
SHELL
amit0 ~ # emerge -p my_non_existing_pkg 2 /tmp/err 1 /tmp/out
amit0 ~ # echo $?
1
amit0 ~ # cat /tmp/err
amit0 ~ # cat /tmp/out
These are the packages that would be merged, in order:
Calculating dependencies ... done!
emerge: there are no ebuilds to satisfy my_non_existing_pkg.
Solved.
I was missing the profiles/ dir in the build env. (a temp folder, which
is wiped-clean before the build). Your reply gave me a lead.
Thanks,
Amit
Zac Medico wrote:
Amit Dor-Shifer wrote:
Hi.
In my overlay, I can have packages assigned to a private category, and
have that category
Hi.
In my overlay, I can have packages assigned to a private category, and
have that category specified in profiles/categories, under the overlay
itself.
However, in-order to ebuild such a package I have to append the category
to /etc/portage/categories, else I get an error message:
!!!
amit0 ~ # cat /var/db/pkg/sys-apps/portage-2.1.6.7/COUNTER
5316amit0 ~ #
Hi,
I'm assuming this is be the right place to discuss layman. If not,
please redirect me and ignore the rest.
I'm using layman-1.1.1 (not the most-recent). Its -o option appends
additional overlays to the list found in layman.cfg. If an overlay
appears in both lists, the one from cfg takes
Hi.
I have the following USE setup in /etc/make.conf:
USE=
a b
c
-d -e
Portage seems ok with this layout.
However, when I euse to enable some other flag, /etc/make.conf gets
corrupted:
amit0 ~ # euse -E f
/etc/make.conf was modified, a backup copy has been placed at
Hi.
Looking at getbinpkg.py, I see that BINPKGs can be retrieved using
http/s s/ftp. I'm wondering about rsync, as it is mostly supported
across portage (and also in layman). Is there some design reasoning
behind this lack of support, or is it that no-one has yet gotten around
to implement it?
Hi.
Seems like --columns depends on -q to work:
amit0 ~ # emerge -p --color=n --columns -O -q portage
Rsys-apps/portage 2.1.6.7
amit0 ~ # emerge -p --color=n --columns -O portage
These are the packages that would be merged, in order:
[ebuild R ] sys-apps/portage
)
and qxpak(1) for more info.
END
Comments, please.
Amit
Zac Medico wrote:
Amit Dor-Shifer wrote:
I don't think I would have realized this implementation myself. Is this
xpak piggybacking documented somewhere?Can you refer me?
BTW:
amit0 Installation # man xpak
No manual entry for xpak
amit0
xpak
No matches found.
Amit
Zac Medico wrote:
Amit Dor-Shifer wrote:
When you say ut checks CHOST/keywording, where are those definitions
stored for the binary pkg?
It's appended to the tail end of the tbz2, in xpak format (see `man
5 xpak`).
I see one instance of CHOST in the 'Packages' index
:56:31 -0500:
Amit Dor-Shifer wrote:
E.G: would portage block an attempt to install a ppc binary on an
amd64?
I believe it checks the CHOST in the binpkg and compares it against the
configured CHOST for the system.
Doesn't it also still check keywording, at least on newer
Great. 10x!
Amit
Alec Warner wrote:
On Thu, Apr 16, 2009 at 1:17 AM, Zac Medico zmed...@gentoo.org wrote:
Amit Dor-Shifer wrote:
I want to read/write an XML file while an ebuild executes. Since I'm
unaware of any XML support in bash, I'm thinking of using python: I'd
write some python code
I want to read/write an XML file while an ebuild executes. Since I'm
unaware of any XML support in bash, I'm thinking of using python: I'd
write some python code and bundle it somehow into the package, so that
is shall be usable from pkg_XXX scripts.
I browsed the tree and couldn't find other
Hi.
I'm trying to emerge a binary package I've put on a remote host.
Initially I couldn't get the package to emerge:
amit0 Common # emerge -pvg =app-editors/vim-7.1.266
These are the packages that would be merged, in order:
Calculating dependencies -
Fetching bininfo from
wrote:
Amit Dor-Shifer wrote:
I've been through the list, and also read GLEP #33, in search for
recommended practices regarding eclasses.
the way I understand it, when an eclass is modified to accomodate a new
ebuild, old ebuilds are broken. Specifically, downgrading with those
broken ebuilds
Yep. I'd have to maintain the old eclass in the tree, just to
facilitate for those special downgrades.
Thanks. Wanted to assure myself that I got that one correctly.
Amit
Zac Medico wrote:
Amit Dor-Shifer wrote:
That environment.bz relates to the installed package? And downgrading
means
I've been through the list, and also read GLEP #33, in search for
recommended practices regarding eclasses.
the way I understand it, when an eclass is modified to accomodate a new
ebuild, old ebuilds are broken. Specifically, downgrading with those
broken ebuilds is no longer possible, as the
Hi all.
While working on my overlay, I stumbled on an issue where qfile refused
to acknowledge an installed file as being part of my package.
Looking into q's implementation (portage-utils-0.1.29), I see:
amit0 portage-utils-0.1.29 # grep -A 2 next_entry ./libq/vdb_get_next_dir.c
next_entry:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2chap=2
10x,
Amit
Hi.
I'm trying to make a package that downloads the distfile using a secured
transfer protocol and ssh's pubkey authentication.
I've modified /etc/make.conf:
amit0 myapp # grep SFTP /etc/make.conf
FETCHCOMMAND_SFTP=/usr/bin/sftp \${URI} \${DISTDIR}
When I'm setting SRC_URI like this:
amit0
Is there syntax in eix for querying: is package X installed with a
version X.Y or higher?
Amit
René 'Necoro' Neumann wrote:
Amit Dor-Shifer schrieb:
Thanks :)
Reason I thought this is relevant is: I'm basically looking for an API
to get an installed package's version/rev. I prefer
Given the following:
# qlist -Iv sys-apps/portage
sys-apps/portage-2.1.4.5
How do I safely extract the 2.1.4.5?
(I don't necessarily need to use qlist. Just want to get the version of
an installed package within a bash script)
10x
Amit
reposting, hoping for a reply this time.
Thanks,
Amit
Amit Dor-Shifer wrote:
emerge features syntax for installing a package according to certain
bounds. This is referred to in the manpage as atom specification.
I'm wondering whether equery has the same feature for querying. E.G: I'd
like
emerge features syntax for installing a package according to certain
bounds. This is referred to in the manpage as atom specification.
I'm wondering whether equery has the same feature for querying. E.G: I'd
like to be able to ask:
equery l '=app-misc/my-pkg-1.1'
I'd expect the listing to be
39 matches
Mail list logo