Issues with building Ubuntu packages

silver.bullet at zoho.com silver.bullet at zoho.com
Tue Aug 11 13:37:47 UTC 2015


Hi,

you might be aware that lxpanel >= 0.7.0 depends on libfm [1] and
unfortunately the released libfm destroys green drives by waking them
up, IOW it forces the drives to spin down and up again and again.

This is fixed for libfm 1.2.3 by commit 994a1e25ba [2].

Yesterday I tried to build the libfm Ubuntu packages with upstream source
from git and I experienced two issues.

1. Validation of the libfm source package from the Wily source
repository fails, [3] shows output of line 66 and line 68 from the script
[4].

2. What ever packages were build by my script [4], libfm still wakes up
green drives. IOW the packages were build and installed, but libfm
doesn't behave as expected.
If I zcat the changelog libfm4/changelog.Debian.gz it shows the edited
changelog file.

The script build or should build libfm 1.2.3.58.g47d0c1dd7d packages.
As usual building libfm, also the same version, was successful for Arch.
I tested two versions [5] and both didn't wake up a green drive.

Why does validating the source from the Wily repository not work?

How can I build libfm packages from git?

FWIW with an editor I tested, if tar without adding the overwrite option,
really overwrites files. It does, so this seems not to be the culprit.
Before overwriting and after overwriting the files I checked them with
pluma [6].

Regards,
Ralf

[1]
http://sourceforge.net/p/lxde/bugs/751/#7de6

[2]
https://github.com/lxde/libfm/commit/994a1e25ba0c3da80575fc002af17ab02ed5998b

[3]
[snip]
gpg: requesting key 18F5FBCE from hkp server pgp.uni-mainz.de
gpg: key 18F5FBCE: "Julien Lavergne <gilir at ubuntu.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
[snip]
gpgv: Signature made Thu 16 Oct 2014 07:29:48 AM CEST using RSA key ID 18F5FBCE
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./libfm_1.2.3-0ubuntu1.dsc
[snip]

[4]
http://pastebin.com/kim6UF4j

[5]
[weremouse at moonstudio ~]$ grep /a -A8 /mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-{1,2}
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-1:	./autogen.sh
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-1-	./configure \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-1-		--with-gtk \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-1-		--enable-gtk-doc \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-1-		--disable-udisks \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-1-		--enable-actions \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-1-		--prefix="/usr" \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-1-		--sysconfdir="/etc"
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-1-	make
--
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-2:	./autogen.sh
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-2-	./configure \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-2-		--with-gtk \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-2-		--enable-gtk-doc \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-2-		--enable-udisks \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-2-		--enable-actions \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-2-		--prefix="/usr" \
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-2-		--sysconfdir="/etc"
/mnt/archlinux/usr/src/libfm-gtk-git/PKGBUILD-2-	make

[6]
[weremouse at moonstudio src]$ diff /usr/src/backup_libfm.sh /usr/src/test_libfm.sh 
3c3
< version="libfm.sh version 2015.08.10 Weremouse"
---
> version="libfm.sh version 2015.08.11 Weremouse"
79a80,81
> pluma &&
> #tar --overwrite -xf ../libfm-$libfm_version.tar || exit 1
80a83
> pluma &&





More information about the ubuntu-users mailing list