Hi Yuv et. al.,
Re: your item 2 below, I don't think anything has changed with respect
to dpkg in 'buntu 10.10 -- it's no more nor less sensitive to CPack
deficiencies than it ever was.
I've just finished building default enblend packages on fresh installs
of both 10.10 and 10.04 (all in virtualbox). The 10.10-built package
will not install on either 10.10 or 10.04 unless I manually create
/usr/local/share/man/man1. The 10.04-built package will happily install
on both 10.04 and 10.10, however, without manually creating the directory.
You can find the packages here if you'd like to verify this result:
http://VictoriaVR.ca/tmp/enblend-4.1.1-Linux-built-on-Ubuntu-10.04.deb
http://VictoriaVR.ca/tmp/enblend-4.1.1-Linux-built-on-Ubuntu-10.10.deb
So far as I can see, the only significant difference between the two
packages is that the control file in the 10.04 .deb reports
"Installed-Size: 5685589", whereas the 10.10 .deb has "Installed-Size:
5514". Is this really enough to break the installation?! Specifically,
is this enough to cause dpkg to complain about non-existing directories,
but proceed with the installation if the directories already exist? It
seems odd to me that it would, but I'm certainly no expert on package
management. I guess I'll have to check the hypothesis by manually
rebuilding the 10.10 package with the correct Installed-Size. But that
will have to wait 'til tomorrow -- it's bed time.
Cheers and goodnight,
BBB
--
Bob Bright
Vancouver Island Digital Imaging
http://VictoriaVR.ca
On 10.10.16 07:55 PM, Yuval Levy wrote:
Hi all,
Thanks for the numerous reports, workaround, efforts to get this thing clear.
After reading (sometimes skimming, sorry) all of them, I am coming to the
conclusion that there are currently at least two issues: proper/updated
dependencies and deb packages.
PROPER/UPDATED DEPENDENCIES
This is a moving target. Hugin is in development and every now and then new
dependencies are added. It would be nice if developers adding those
dependencies could give builders a heads-up so that builders won't have to
guess / fix things on their own.
The 'buntus evolve too. Packages are upgraded, renamed, retired, etc. There
will always be a likelihood of breakage in the Wiki instructions between
'buntus releases. This is not an Ubuntu-only problem. The solution is to
work patiently, methodically, recursively through the messages printed by
CMake.
I've started a new wiki page [0] for developers, builders, maintainers. It is
still work in progress. Developers: please read it so that at least we don't
"break" things.
DEB PACKAGES
1. CMake deb package generation is broken [1]. This is not new, but has not
prevented the Wiki instructions from working until now.
2. dpkg was tolerant of this in the past. Now it throws an error if a folder
does not exist / is not created properly. A well crafted deb package creates
folders properly.
3. The short-term solution is to list the missing folders and create them,
either manually or within the deb package. Dale has worked on listing the
folders, while Kornel provided an initial shell script to be added to the
CMake build. This affects Hugin, but also Libpano and Enblend packages.
4. Packages built to install into the canonical location (/usr) work --
simply because the folder exist previously, not because they are better
packages. But installing these experimental builds in the canonical location
interferes with the official distribution packages who install in the same place
and with the same name.
5. The long-term solution is to distribute proper deb packages, and the way to
build them is to use a PPA [2], uploading a source package [3] and letting the
Ubuntu/Canonical infrastructure do the building, making sure that the package
complies with the proper specifications [4].
6. There is already a Hugin PPA [5] with packages contributed by Philipp
Seidel about six months ago. It can definitely use an update and help is
welcome.
Yuv
[0] http://wiki.panotools.org/Fixing_The_Hugin_Build
[1] http://groups.google.com/group/hugin-ptx/msg/3f29b207c562fd63
[2] https://help.launchpad.net/Packaging/PPA
[3] https://help.launchpad.net/Packaging/PPA/Uploading
[4] https://wiki.ubuntu.com/PackagingGuide/Complete
[5] https://launchpad.net/~hugin
--
You received this message because you are subscribed to the Google Groups "Hugin and
other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx