Package Details: libmtp-git 1.1.22.r76.gdb70734-1

Git Clone URL: https://aur.archlinux.org/libmtp-git.git (read-only, click to copy)
Package Base: libmtp-git
Description: Library implementation of the Media Transfer Protocol
Upstream URL: https://libmtp.sourceforge.net/
Licenses: LGPL-2.1-or-later
Conflicts: libmtp
Provides: libmtp
Submitter: None
Maintainer: Chocobo1
Last Packager: Chocobo1
Votes: 44
Popularity: 0.000000
First Submitted: 2012-01-21 19:49 (UTC)
Last Updated: 2025-05-26 06:08 (UTC)

Dependencies (5)

Required by (45)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Chocobo1 commented on 2025-05-26 06:10 (UTC) (edited on 2025-05-26 06:10 (UTC) by Chocobo1)

./configure: line 14287: syntax error near unexpected token 0.11.5' ./configure: line 14287:AM_GNU_GETTEXT_VERSION(0.11.5)' ==> ERROR: A failure occurred in build(). Aborting...

Upstream issue. Please report to them: https://github.com/libmtp/libmtp/issues

danko commented on 2025-05-26 00:22 (UTC)

checking whether to build static libraries... yes
./configure: line 14287: syntax error near unexpected token `0.11.5'
./configure: line 14287: `AM_GNU_GETTEXT_VERSION(0.11.5)'
==> ERROR: A failure occurred in build().
    Aborting...

eduard commented on 2016-08-05 12:24 (UTC)

Can not build: ... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -I/usr/include/libusb-1.0 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -Wmissing-prototypes -MT libmtp_la-util.lo -MD -MP -MF .deps/libmtp_la-util.Tpo -c util.c -fPIC -DPIC -o .libs/libmtp_la-util.o In file included from /usr/include/string.h:630:0, from util.c:36: util.h:29:7: error: expected identifier or ‘(’ before ‘__extension__’ char *strndup (const char *s, size_t n); ^ util.c:111:7: error: expected identifier or ‘(’ before ‘__extension__’ char *strndup (const char *s, size_t n) ^ make[2]: *** [Makefile:530: libmtp_la-util.lo] Error 1 make[2]: Leaving directory '/usr/local/aur/jmtpfs_libmtp-gvfs-git/src/libmtp-build/src' make[1]: *** [Makefile:503: all-recursive] Error 1 make[1]: Leaving directory '/usr/local/aur/jmtpfs_libmtp-gvfs-git/src/libmtp-build' make: *** [Makefile:387: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

saimn commented on 2014-07-09 21:04 (UTC)

The git url must be updated. I have also made some other improvements here: https://github.com/saimn/archlinux-pkgbuilds/blob/master/libmtp-git/PKGBUILD

piojo commented on 2013-09-15 14:57 (UTC)

I believe the two URLs currently yield the same repository. It doesn't seem the code has been updated in the past few months, either.

nebulon commented on 2013-03-17 02:05 (UTC)

I think "git://git.code.sf.net/p/libmtp/code" is the correct git url now. At least it seems to be more current. (Or I just encountered a mirror sync issue on their side :-) )

piojo commented on 2013-02-13 17:57 (UTC)

I uploaded a fixed PKGBUILD. Hope it's not so horrible to use sed instead of a patch ;-)

ilpianista commented on 2013-02-07 21:22 (UTC)

Disowned as this was broken for one month and the fix was known.

lubosz commented on 2013-01-12 01:21 (UTC)

It's very nice that autotools breaks the build because of two characters. This is the missing patch from csolisr's PKGBUILD https://gist.github.com/4515497

csolisr commented on 2013-01-10 17:59 (UTC)

To fix the error that doesn't allow to compile because of the AM_CONFIG_HEADER deprecated macro, just use the source at http://ompldr.org/vaDBwMA/libmtp-git-20130110-1.src.tar.gz . PS: Devs, please fix it upstream or use my patch.