You are not logged in.

#1 2015-02-02 08:21:57

Osiris
Member
Registered: 2003-01-18
Posts: 160
Website

Problem with global AUR package

Hello,

I try to build the AUR package for GNU global https://aur.archlinux.org/packages/global/

florian@asaru ~/scratch/global (git)-[master] % makepkg -s
[...]
Making all in gozilla
make[2]: Entering directory '/home/florian/scratch/global/src/global-6.3.3/gozilla'
 cd .. && /bin/sh /home/florian/scratch/global/src/global-6.3.3/missing automake-1.14 --gnu gozilla/Makefile
/home/florian/scratch/global/src/global-6.3.3/missing: line 81: automake-1.14: command not found
WARNING: 'automake-1.14' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:362: recipe for target 'Makefile.in' failed
make[2]: *** [Makefile.in] Error 127
make[2]: Leaving directory '/home/florian/scratch/global/src/global-6.3.3/gozilla'
Makefile:507: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/florian/scratch/global/src/global-6.3.3'
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I was experimenting with symlinks and alike with no success. After I uncommented the patch in https://aur.archlinux.org/packages/gl/global/PKGBUILD the error changed and moved to the make install phase.

libtool: install: /usr/bin/install -c gozilla /home/florian/scratch/global/pkg/global/usr/bin/gozilla
 /usr/bin/mkdir -p '/home/florian/scratch/global/pkg/global/usr/share/man/man1'
 /usr/bin/install -c -m 644 gozilla.1 '/home/florian/scratch/global/pkg/global/usr/share/man/man1'
make  install-data-hook
make[3]: Entering directory '/home/florian/scratch/global/src/global-6.3.3/gozilla'
mkdir -p /usr/var/gtags
mkdir: cannot create directory '/usr/var': Permission denied
Makefile:737: recipe for target 'install-data-hook' failed
make[3]: *** [install-data-hook] Error 1
make[3]: Leaving directory '/home/florian/scratch/global/src/global-6.3.3/gozilla'
Makefile:668: recipe for target 'install-data-am' failed
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory '/home/florian/scratch/global/src/global-6.3.3/gozilla'
Makefile:621: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/home/florian/scratch/global/src/global-6.3.3/gozilla'
Makefile:507: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
    Aborting...

Which is the same error I get when I ./configure && make && make DESTDIR=something install on the vanilla package from the global homepage.

Problem seems to that install-data-hook used a localstatedir variable and creates that dir. This is set to localstatedir = ${prefix}/var and ignores the setting of DESTDIR.

Thanks,
Florian

Offline

#2 2015-02-02 08:36:25

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,175
Website

Re: Problem with global AUR package

Sounds like this bug, referenced in this thread.


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

Board footer

Powered by FluxBB