:: Re: [Dng] A novice attempt to speed…
Inizio della pagina
Delete this message
Reply to this message
Autore: Anto
Data:  
To: dng
Oggetto: Re: [Dng] A novice attempt to speed up Devuan development


On 17/05/15 13:36, Jaret Cantu wrote:
>
> There were some python3 dependencies for building tests. I removed the
> dependencies as it seems like all of the tests were pretty
> systemd-specific.
>
> -               python3-all-dev,
> -               python3-lxml,

>
> It looks like I have python3-all-dev installed on my system, and I
> guess that is what is preventing the error for me.
>
> [jaret@ragnarok eudev]$ dpkg -S python3.pm
> dh-python: /usr/share/perl5/Debian/Debhelper/Sequence/python3.pm
>
> Or maybe that package? Are you using git-buildpackage to build this? I
> have found that with certain packages, dpkg-buildpackage will actually
> fail while git-buildpackage succeeds.
> I have cowbuilder and all other sorts of craziness installed, which is
> how I'm guessing that Debian helper package got installed.
>
> I guess this means there are still some tests that need scrubbed.
>
>
> Jaret Cantu
> Timesys Corporation
>


Thanks a lot Jaret,

No. I didn't use git-buildpackage. I have never used that before. :) I
tried to use it to compile your eudev, but I got different errorsas below.

anto@d945gclf:~/packages/devuan-eudev-1.9$ git-buildpackage
gbp:error: You have uncommitted changes in your source tree:
gbp:error: # On branch master
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working 
directory)
#
#    modified:   configure.ac
#    modified:   man/udev.xml
#    modified:   man/udevadm.xml
#    modified:   rules/50-udev-default.rules
#    modified:   rules/60-cdrom_id.rules
#    modified:   rules/60-persistent-storage.rules
#    modified:   rules/80-drivers-modprobe.rules
#    modified:   rules/80-drivers.rules
#    modified:   src/gudev/Makefile.am
#    modified:   src/libudev/Makefile.am
#    modified:   src/libudev/libudev-hwdb.c
#    modified:   src/libudev/libudev.sym
#    modified:   src/udev/udev.conf
#    modified:   src/udev/udevadm-hwdb.c
#
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#    .pc/
no changes added to commit (use "git add" and/or "git commit -a")


gbp:error: Use --git-ignore-new to ignore.
anto@d945gclf:~/packages/devuan-eudev-1.9$


But there is a progress compiling it using dpkg-build package after I
installed git-buildpackage as it also pulledsome python packages as below.

root@d945gclf:/home/anto/packages# apt-get install git-buildpackage
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
devscripts python-dateutil python-pkg-resources python3
python3-minimal python3.2 python3.2-minimal
Suggested packages:
cvs-buildpackage debbindiff devscripts-el gnuplot libauthen-sasl-perl
libfile-desktopentry-perl libnet-smtp-ssl-perl libterm-size-perl
libyaml-syck-perl svn-buildpackage python-notify
python-distribute python-distribute-doc python3-doc python3-tk
python3.2-doc binfmt-support
Recommended packages:
dctrl-tools dput dupload libdistro-info-perl libjson-perl
libparse-debcontrol-perl lintian patchutils python3-debian python3-magic
strace unzip wdiff equivs libsoap-lite-perl
pristine-tar cowbuilder
The following NEW packages will be installed:
devscripts git-buildpackage python-dateutil python-pkg-resources
python3 python3-minimal python3.2 python3.2-minimal
0 upgraded, 8 newly installed, 0 to remove and 38 not upgraded.
Need to get 6,019 kB of archives.
After this operation, 20.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y


However, the compilation using dpkg-buildpackage still fails with the
error related to udevadm.

.
<cut>
.
make[1]: Entering directory `/home/anto/packages/devuan-eudev-1.9'
# remove unnecessary / unused files
rm -f debian/install/*/usr/share/doc/eudev/LICENSE.*
rm -f debian/install/*/var/log/README
rm -f debian/install/*/etc/init.d/README
rm -f debian/install/*/usr/share/man/man8/kernel-install.8
rm -f debian/install/*/usr/bin/kernel-install
rm -rf debian/install/*/usr/lib/kernel/install.d
rm -rf debian/install/*/etc/rpm/
rm -rf debian/install/*/usr/lib/rpm/
rm -rf debian/install/*/etc/kernel/
find debian/install/ -name '*.la' -delete
dh_install -pudev-udeb -plibudev1-udeb --sourcedir=debian/install/udeb
dh_install -Nudev-udeb -Nlibudev1-udeb --sourcedir=debian/install/deb
--fail-missing
dh_install: usr/sbin/udevadm exists in debian/install/deb but is not
installed to anywhere
dh_install: missing files, aborting
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory `/home/anto/packages/devuan-eudev-1.9'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2
anto@d945gclf:~/packages/devuan-eudev-1.9$


Please let me know if you needed additional informations or logs.

Cheers,

Anto