List Info

Thread: Problems with test_root/fakeroot and automake/ltmain.sh




Problems with test_root/fakeroot and automake/ltmain.sh
user name
2006-08-17 08:47:46
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

while being a quite experienced programmer on Linux (or
let's say
package rebuilder  I'm quite
new to debian and an absolute beginner
with cross-compilng and scratchbox.

I need to rebuild some packages for ARM, but I stepped over
some
problems. I'm using current stable version.

1) When doing a 'apt-get -b source package-to-rebuild', I
get
   these warnings:

   dpkg-architecture: warning: Unknown gcc system type
arm-linux-uclibc,
   falling back to default (native compilation)
   dpkg-architecture: warning: Specified GNU system type
arm-linux does
   not match gcc system type arm-linux-uclibc.

  Do I have to be concerned about this? Compilation seams to
work.

2) 'apt-get -b source package-to-rebuild' fails with

    ...
      debian/rules clean
    dh_testdir
    dh_testroot
    dh_testroot: You must run this as root (or use
fakeroot).

   So, how can I use fakeroot with 'apt-get -b'?

3) When rebuilding the package manually using
    cd package-to-rebuild
    dpkg-buildpackage -b -rfakeroot -uc -d

   'test_root' secceeds, but automake fails:
    ...
    automake -a
    configure.in: installing `./install-sh'
    configure.in: installing `./missing'
    configure.in:4: installing `./config.guess'
    configure.in:4: installing `./config.sub'
    configure.in:4: required file `./ltmain.sh' not found
    lib/Makefile.am: installing `./depcomp'
    make: *** [configure-stamp] Error 1

Thanks for any help

- --
Schönen Gruß - Regards
Hartmut Goebel

| Hartmut Goebel             | IT-Security -- effizient |
| h.goebelgoebel-consult.de | www.goebel-consult.de    |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org


iQEVAwUBROQtMszajR0mSa83AQLeOwgAhlBRfXdYIHP+mRX9+OZC2VqFXqE4
LFne
dS0QKOBY3fuHigauC6KzrZNNH3S7S6BMPjd50elVFZlt+2JahF+gc6hRhiKH
qOfe
/IgbP/aY0E/XFY07vksLyoncm1hbuMXNMImxs6FzbOsEfnUChFF4WiAMrfUi
rWf0
eqB38rYw4GMZCA+FdSa4urekm8ZXmK9wApP0KIoqfbdORKCfGKWT1OGXWxkc
M7Qs
g5h2RQNKcvUe1NHoE8ePfDG7lC1o7z6ko3XVElU8PHiHJLKrAZFs9vhj1MlC
uCEH
RrNCklfOEDoNVfA/CqGg0rHEvdyzuJkoOxhWV6JW8r9zRvVYXO8r+Q==
=+KBw
-----END PGP SIGNATURE-----
_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
Problems with test_root/fakeroot and automake/ltmain.sh
user name
2006-08-17 16:59:44
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> 2) 'apt-get -b source package-to-rebuild' fails with
...
>    So, how can I use fakeroot with 'apt-get -b'?

This one was easy, just use:

    fakeroot apt-get -b source package-to-rebuild


- --
Schönen Gruß - Regards
Hartmut Goebel

| Hartmut Goebel             | IT-Security -- effizient |
| h.goebelgoebel-consult.de | www.goebel-consult.de    |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org


iQEUAwUBROSgf8zajR0mSa83AQJCEQfzB0xHU60MC0D6nK29q1XjVCTYt65A
Psxm
mEvRQo74ZJeH65eUCJnbDFEoHOiNijVHMR+n934+KQp1EuZDQtB8P+S7Nc7n
Qjhq
TvddCBbnw+QE96qgGrT0X1Bj/JWaWeSnj95D5tqts7z+Pzzwso9NQrvg/QHy
E2g6
Fqv954U0eZ7/AKTQO3Wr16fYjJ2xYIw6GJc5pVRWn+SNoyGZBn8uzzcCczAm
UPAB
MqLecPE4Ng/CtwzxUBDhH2gntzPa32i+pGme6WfsNAsEeOa0cyH4TTrf7JQU
0HXJ
MsBL/me1L7Mzu4vp3av3KuhW4JdJauy4OJi6kBqV1MAAQtxw1e3M
=awpn
-----END PGP SIGNATURE-----
_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
Problems with test_root/fakeroot and automake/ltmain.sh
user name
2006-08-17 21:58:15
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I wrote:

> 3) When rebuilding the package manually using
>     cd package-to-rebuild
>     dpkg-buildpackage -b -rfakeroot -uc -d
> 
>    'test_root' secceeds, but automake fails:
>     ...
>     automake -a
>     configure.in: installing `./install-sh'
>     configure.in: installing `./missing'
>     configure.in:4: installing `./config.guess'
>     configure.in:4: installing `./config.sub'
>     configure.in:4: required file `./ltmain.sh' not
found
>     lib/Makefile.am: installing `./depcomp'
>     make: *** [configure-stamp] Error 1

I fixed this, too. Just replace

   autoconf
   automake -a

by

   autoreconf -i  # mind the 're'
   automake -a

This is one of the glitches of the auto*-tools. ARGL!

- --
Schönen Gruß - Regards
Hartmut Goebel

| Hartmut Goebel             | IT-Security -- effizient |
| h.goebelgoebel-consult.de | www.goebel-consult.de    |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org


iQEVAwUBROTmd8zajR0mSa83AQJFdggAnM+MDqftwehBnBR9rt6expjfWDid
8WrA
2zMFmm5MvE8cbkswacQF3UhxTfYtwIm0n45rS/xtN5iaMLROwzJ6w0OanUl+
9Wl3
Y5jto6Yf5k/ojq9dcwVihGgC1NTufQGDY6RJMA+1AGPeiMTCkzZhxSy9yauY
LNYt
TLeT3Lm1/HNNe9RHI3B0oIvtiK/ja2/GpJAzWpu/MBi1E1+YuL81YV0AZAJm
0xRi
/7i3Yeu0bzFf251g3c+yi4plfrOLrjBBq4kc4SiKVnu/crQ7a29KJuEf+ZW3
ghUa
ATuXmx4ht9tn0meqw7iPCSLBiI+YWqQpNJ15VHtx19Xtyuo3DvHU5Q==
=+89H
-----END PGP SIGNATURE-----
_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )