You are not logged in.

#1 2012-03-14 23:07:50

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 190

[SOLVED]lost files from installed package

hi

I am using gringotts from AUR. I don't know what happen, it did stop to work today.
starting from console I am getting error message about missing library libgringotts...

I did remove libgringotts package and install it again

pacman -S libgringotts
resolving dependencies...
looking for inter-conflicts...

Targets (1): libgringotts-1.2.1-8

Total Download Size:    0.00 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from community...
 libgringotts-1.2.1-8-x86_64           620.0   B  15.6M/s 00:00 [##################################] 100%
(1/1) checking package integrity                                [##################################] 100%
(1/1) loading package files                                     [##################################] 100%
(1/1) checking for file conflicts                               [##################################] 100%
(1/1) checking available disk space                             [##################################] 100%
(1/1) installing libgringotts                                   [##################################] 100%

then I am trying to list all files belong to that package

root@frodo ~ # pacman -Ql libgringotts
root@frodo ~ # 

it is bit strange, nothing?

checking if it is installed

pacman -Q libgringotts
libgringotts 1.2.1-8

I am not able to build gringotts package

makepkg -f
...
...
checking for GTK2... yes
checking for GDKPIX... yes
checking for LIBGRG... configure: error: Package requirements (libgringotts >= 1.2.0) were not met:

No package 'libgringotts' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBGRG_CFLAGS
and LIBGRG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

==> ERROR: A failure occurred in build().
    Aborting...

any idea / help?

thank you for comments ...

Last edited by jancici (2012-04-04 11:44:39)

Offline

#2 2012-03-14 23:15:08

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: [SOLVED]lost files from installed package

The files list for libgringotts also appears to be empty.

I'm guessing it is not meant to be this way. I suspect you need to file a bug report.

Offline

#3 2012-03-14 23:34:53

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: [SOLVED]lost files from installed package

I think I found the problem. I tried installing from ABS and it also failed. This prompted me to inspect the PKGBUILD a little more closely. It has a typo.

Please report this as a bug. You may wish to supply a patch such as:

--- PKGBUILD_old	2012-03-15 10:31:00.166435682 +1100
+++ PKGBUILD	2012-03-15 10:26:49.626424849 +1100
@@ -21,7 +21,7 @@
   ./configure --prefix=/usr
   make
 }
-pckage() {
+package() {
   cd ${srcdir}/$pkgname-$pkgver
 
   make DESTDIR=${pkgdir} install

Offline

#4 2012-03-14 23:52:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]lost files from installed package

Done: https://bugs.archlinux.org/task/28920

Thanks for figuring it out :-)

Offline

#5 2012-03-14 23:55:56

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: [SOLVED]lost files from installed package

karol wrote:

Done: https://bugs.archlinux.org/task/28920

Thanks for figuring it out :-)

No worries. I was leaving the bug report as an exercise for the new person! lol big_smile

Offline

#6 2012-03-15 00:14:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]lost files from installed package

This bug can cause some serious WTFs so I decided it should be reported (and hopefully fixed) ASAP.

I generally tell people to open bug reports themselves because
* they should get into habit of doing so
* it might involve posting logs or some further debugging actions and I often don't even use the package it concerns
but this turned out to be a packaging bug, trivial to report and fix.

jancici could probably have tracked the bug himself if he closely inspected the PKGBUILD, but these kind of typos are easily overlooked.

Offline

#7 2012-03-15 07:45:57

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 190

Re: [SOLVED]lost files from installed package

hi
you was to fast :-)
I did post this just before "go to bed" and checking what is new at morning. of course I can open bug. okay next time.

looks that solution is easy, how long should I wait for regular update of that library? I have store my pass in gringotts and need those :-) now


thank you

Offline

#8 2012-03-15 14:23:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]lost files from installed package

You should use ABS and fix the typo yourself for now. The rebuild took me literally 20 seconds on my Pentium 4 2 GHz.

Offline

#9 2012-03-31 12:32:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]lost files from installed package

The bug got fixed.
Please update to libgringotts 1.2.1-9 and remember to mark the thread as solved.

Offline

#10 2012-04-04 11:44:22

jancici
Member
From: svk
Registered: 2011-12-04
Posts: 190

Re: [SOLVED]lost files from installed package

sorry for later response, thank you for help and info
meanwhile I did start to use keepassx which is bit better :-)

Offline

#11 2012-04-04 11:51:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED]lost files from installed package

No problem :-)
The bug took a while to get fixed because of my lousy bug reporting.

Offline

Board footer

Powered by FluxBB