Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#758 - gDesklets fails to build

Attached to Project: Arch Linux
Opened by Shahar (sweiss) - Friday, 16 April 2004, 07:23 GMT
Last edited by Dale Blount (dale) - Friday, 16 April 2004, 12:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Roberto Carvajal (rcarvajal)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

When trying to build gDesklets using ABS, I get the following error:

--makefile-install-rule ./gdesklets-display-thumbnail.schemas;
/bin/sh: line 1: --makefile-install-rule: command not found
make[3]: *** [install-data-hook] Error 127
make[3]: Leaving directory `/root/gdesklets/src/gDesklets-0.26/data'
make[2]: *** [install-data-am] Error 2
make[2]: Leaving directory `/root/gdesklets/src/gDesklets-0.26/data'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/root/gdesklets/src/gDesklets-0.26/data'
make: *** [install-recursive] Error 1
==> ERROR: Build Failed. Aborting...
This task depends upon

Closed by  Roberto Carvajal (rcarvajal)
Saturday, 19 June 2004, 20:22 GMT
Reason for closing:  Fixed
Comment by Chris Rainey (marin_linuxer) - Friday, 21 May 2004, 20:27 GMT
I think I've figured it out !!

If you, like me, usually go root by just 'su' instead of 'su -', then that is the answer to the problem(!).

Just go root by 'su -' and then 'makepkg'

Cheers.
Comment by Shahar (sweiss) - Friday, 28 May 2004, 15:08 GMT
Hmm but why would you have to use the superuser in order to build the package? Isn't that a security risk (in general)?
Comment by Kevin Piche (kpiche) - Sunday, 30 May 2004, 00:19 GMT
The problem is that the Makefile tries to install the schemas in /opt/... no matter what DESTDIR is set to. So as a normal user you'd get permission denied whereas as root it will install the other files in $startdir/pkg/... as normal but put the schemas in /opt/... I suppose that means that the schemas are not in the built package.
Comment by Roberto Carvajal (rcarvajal) - Saturday, 19 June 2004, 20:22 GMT
fixed in lastest pkg release..

Loading...