[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] Qtopia versioning problem
From: |
Svein Seldal |
Subject: |
[Ltib] Qtopia versioning problem |
Date: |
Sat, 25 Jul 2009 22:22:49 +0200 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090608) |
Hi guys
I think I might have a problem with the qtopia-4 package related to
ltib. I have noticed that qtopia is being reinstalled each and every
time ltib is run, which is not the way it should be.
All other spec-files does work, but not the qtopia-4 package. If I
specify qtopia (without the "-4") it tries to work on the qtopia v2
package which is something else.
After a quick investigation of the problem, I notice that qtopia package
is first uninstalled when "Processing platform:", and then later
reinstalled when processing each packages individually.
There are two qtopia spec-files: qtopia.spec and qtopia-4.spec (in
dist/lfs5.1/qtopia/), both which is set to build a package named qtopia.
My current configuration enables "PKG_QTOPIA_4" which
config/userspace/pkg_map equals to "qtopia-4".
Herein lies the problem I think: The spec files both builds a package
named qtopia*.rpm which is installed. When rerunning ltib it expects to
find a package named "qtopia-4" installed, however it isn't. "qtopia"
is, which it uninstalls.
I understand that there is designed in some mechanism for handling
muliple versions of the same pacakge (see openswan, mtd-utils, etc.).
However, it seems that there is something not right in this
configuration. Any ideas or pointer for how to fix this?
Nor has "./ltib -p qtopia-4" ever worked. I always get the following error:
"Cannot find spec file that contains the package name qtopia-4.
If necessary please give the whole spec file name (with the .spec
extension)."
- Svein
Snippet of compilation logs:
$ /opt/ltib/usr/bin/rpm --root /home/user/ltib/rootfs --dbpath
/var/lib/rpm -qa --queryformat '%{name} '
base_libs ... qtopia ... ncurses
$ ./ltib -v 2>&1 | tee build.log
mk_buildlist: key=PKG_QTOPIA, sn=qtopia, en=0
mk_buildlist: key=PKG_QTOPIA_4, sn=qtopia-4, en=1
installed = base_libs, ..., ncurses
drop_list = qtopia
Dropping de-selected package qtopia
Processing: qtopia-4
======================
get_spec(qtopia-4)
spec files: [ /home/user/ltib/dist/lfs-5.1/qtopia/qtopia-4.spec, ]
Preparing... #########################################
qtopia #########################################
- [Ltib] Qtopia versioning problem,
Svein Seldal <=