Package Details: pkgfile-git 21.38.gaa06367-1

Git Clone URL: https://aur.archlinux.org/pkgfile-git.git (read-only, click to copy)
Package Base: pkgfile-git
Description: a pacman .files metadata explorer
Upstream URL: http://github.com/falconindy/pkgfile
Licenses: MIT
Conflicts: pkgfile
Provides: pkgfile
Submitter: falconindy
Maintainer: None
Last Packager: falconindy
Votes: 41
Popularity: 0.000000
First Submitted: 2012-07-17 00:33
Last Updated: 2019-10-23 20:44

Required by (15)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3

Anonymous comment on 2011-11-30 14:38

==> Connecting to GIT server....
Cloning into nosr...
remote: Counting objects: 397, done.
remote: Compressing objects: 100% (165/165), done.
remote: Total 397 (delta 267), reused 358 (delta 229)
Receiving objects: 100% (397/397), 59.59 KiB | 4 KiB/s, done.
Resolving deltas: 100% (267/267), done.
==> GIT checkout done or server timeout
==> Starting make...
cc -c --std=c99 -g -pedantic -pthread -Wall -Wextra -Werror -march=core2 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"0.1\" -D_FILE_OFFSET_BITS=64 result.c
cc -c --std=c99 -g -pedantic -pthread -Wall -Wextra -Werror -march=core2 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"0.1\" -D_FILE_OFFSET_BITS=64 util.c
cc -c --std=c99 -g -pedantic -pthread -Wall -Wextra -Werror -march=core2 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"0.1\" -D_FILE_OFFSET_BITS=64 update.c
cc -c --std=c99 -g -pedantic -pthread -Wall -Wextra -Werror -march=core2 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DVERSION=\"0.1\" -D_FILE_OFFSET_BITS=64 match.c
update.c:36:1: error: unknown type name ‘alpm_handle_t’
update.c: In function ‘download_repo_files’:
update.c:233:3: error: passing argument 1 of ‘alpm_fetch_pkgurl’ from incompatible pointer type [-Werror]
/usr/include/alpm.h:105:7: note: expected ‘const char *’ but argument is of type ‘int *’
update.c:233:3: error: too many arguments to function ‘alpm_fetch_pkgurl’
/usr/include/alpm.h:105:7: note: declared here
update.c: In function ‘nosr_update’:
update.c:250:7: error: ISO C forbids forward references to ‘enum’ types [-Werror=edantic]
update.c:250:21: error: storage size of ‘err’ isn’t known
update.c:258:2: error: too many arguments to function ‘alpm_initialize’
/usr/include/alpm.h:65:5: note: declared here
update.c:258:7: error: assignment makes pointer from integer without a cast [-Werror]
update.c:264:2: error: passing argument 1 of ‘alpm_option_add_cachedir’ from incompatible pointer type [-Werror]
/usr/include/alpm.h:143:5: note: expected ‘const char *’ but argument is of type ‘int *’
update.c:264:2: error: too many arguments to function ‘alpm_option_add_cachedir’
/usr/include/alpm.h:143:5: note: declared here
update.c:265:2: error: passing argument 1 of ‘alpm_option_set_dlcb’ from incompatible pointer type [-Werror]
/usr/include/alpm.h:120:6: note: expected ‘alpm_cb_download’ but argument is of type ‘int *’
update.c:265:2: error: too many arguments to function ‘alpm_option_set_dlcb’
/usr/include/alpm.h:120:6: note: declared here
update.c:271:2: error: too many arguments to function ‘alpm_release’
/usr/include/alpm.h:66:5: note: declared here
update.c:250:21: error: unused variable ‘err’ [-Werror=unused-variable]
cc1: all warnings being treated as errors

make: *** [update.o] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build nosr-git.

falconindy commented on 2011-08-28 19:16

Nothing really. pkgfile broke for me with pacman 4 because we now route debug/error output to stderr. It's a 2 line fix, but I felt compelled to write my own tool in C which doesn't attempt to parse debug output to determine the runtime environment (servers and whatnot). Features are more or less the same, with a few behavioral tweaks (and the case sensitivity flag actually works).

There's also a high probability this tool will end up in pacman 4.1.

falconindy commented on 2011-08-28 19:14

Yes, I'm aware that not everyone creates the files metadata. Their loss.

fixed and fixed.

karol_007 commented on 2011-08-28 19:12

Oh, and what's the difference between nosr and pkgfile?

karol_007 commented on 2011-08-28 19:01

Can I haz a \n ?

[karol@black test]$ nosr -u
chdir: /var/cache/nosr: No such file or directory[karol@black test]$
[karol@black test]$ sudo nosr -u
chdir: /var/cache/nosr: No such file or directory[karol@black test]$


Not sure why can't the directory be created automatically:

[karol@black test]$ sudo mkdir /var/cache/nosr


Unfortunately many repos don't provide files db:

[karol@black test]$ sudo nosr -u
==> Downloading core.files.tar.gz
==> Downloading extra.files.tar.gz
==> Downloading community.files.tar.gz
==> Downloading xyne-any.files.tar.gz
warning: failed to download http://xyne.archlinux.ca/repos/xyne-any/xyne-any.files.tar.gz
==> Downloading xyne-any.files.tar.gz
warning: failed to download Ôh·Ôh·ÐüÐü(Ôh·(Ôh·0Ôh·0Ôh·8Ôh·8Ôh·@Ôh·@Ôh·HÔh·HÔh·¸¸XÔh·XÔh·`Ôh·`Ôh·hÔh·hÔh·pÔh·pÔh·xÔh·xÔh·Ôh·Ôh·Ôh·Ôh·Ôh·Ôh·Ôh·Ôh· Ôh· Ôh·¨Ôh·¨Ôh·°Ôh·°Ôh·¸Ôh·¸Ôh·ÀÔh·ÀÔh·ÈÔh·ÈÔh·ÐÔh·ÐÔh·ØÔh·ØÔh·àÔh·àÔh·èÔh·èÔh·ðÔh·ðÔh·øÔh·øÔh·/xyne-any.files.tar.gz
==> Downloading xyne-any.files.tar.gz
^[[?1;2c^[[?1;2cwarning: failed to download http://ftp.tu-chemnitz.de/pub/linux/archlinux/xyne-any/os/x86_64/xyne-any.files.tar.gz
==> Downloading xyne-any.files.tar.gz
warning: failed to download http://ftp.uni-kl.de/pub/linux/archlinux/xyne-any/os/x86_64/xyne-any.files.tar.gz
[karol@black test]$ ?1;2c^[[?1;2c^[[B^[[A

falconindy commented on 2011-08-28 18:37

Lovely, i686 specific crap. fixed:

https://github.com/falconindy/nosr/commit/c19dcfe77a7a9da1ee928bca61cc69d578ab9731

karol_007 commented on 2011-08-28 18:22

/usr/include/archive.h:398:17: note: expected ‘off_t *’ but argument is of type ‘int64_t *’
cc1: all warnings being treated as errors

make: *** [nosr.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...