Package Details: pmount 0.9.23-12

Git Clone URL: (read-only)
Package Base: pmount
Description: mount removable devices as normal user
Upstream URL:
Licenses: GPL2
Submitter: Barthalion
Maintainer: simon04
Last Packager: simon04
Votes: 71
Popularity: 2.557888
First Submitted: 2012-12-12 19:55
Last Updated: 2015-06-12 09:12

Latest Comments

simon04 commented on 2015-03-23 07:51

@duckunix: Done.
@x33a: 404 seems to be gone; I changed the URL to their cgit instance …

x33a commented on 2015-03-21 13:16

The following URL gives a 404:;a=blob_plain;f=debian/completion/pmount

duckunix commented on 2015-02-19 12:01

Can you add 'armv7h' to the supported architectures? It works just great on the ARM!

Thanks for the package!

rwd2 commented on 2014-11-20 18:44

Builds fine here too now.

simon04 commented on 2014-11-20 06:01

@rwd2: The build is working for me. This could have been a temporary problem?

rwd2 commented on 2014-11-19 22:41

build fails with:
curl: (7) Failed to connect to port 80: Connection refused

simon04 commented on 2014-11-17 08:04

0.9.23-11: Fix URL – thanks @tralce

tralce commented on 2014-11-16 00:40

Got a 404 on makepkg, so I edited the PKGBUILD. Here's the new link I put in the source= section:${pkgname}_${pkgver}.orig.tar.bz2

It works now.

saleem commented on 2014-02-01 05:12

Thanks for fixing , installed this time without any problem.

simon04 commented on 2014-01-29 20:52

0.9.23-10: Comment out "-fPIE -pie" flags to avoid "corrupted double-linked list" error

Thanks @macxcool for investigating and solving this issue! :-)

doctorcolossus commented on 2014-01-29 20:46

Confirmed -- deleted lines with CFLAGS & CXXFLAGS and compiled without issues.
Thanks, macxcool! [-:

macxcool commented on 2014-01-28 12:32

pmount and pam_usb-git seem to work fine without the CFLAGS and CXXFLAGS lines. I used the current PKGBUILD, not git.

macxcool commented on 2014-01-28 11:57

git built alright if I didn't include:
export CFLAGS="${CFLAGS} -fPIE -pie"
export CXXFLAGS="${CXXFLAGS} -fPIE -pie"

If I include those, I get the same error.
I'm going to try removing those in the PKGBUILD and see if I get a working version.

macxcool commented on 2014-01-28 11:46

git seems to build alright. Should we just switch to that? I'm going to try an install and then try pam_usb-git to see if everything works alright. That's what I wanted in the first place ;-)

x33a commented on 2014-01-28 06:38

@ simon04

I have searched a bit, but I am unable to point out the cause for the "corrupted double-linked list" problem.

I'll keep looking.

saleem commented on 2014-01-28 05:40

Im getting same error as already reported by someone else

*** Error in `/usr/bin/ld': corrupted double-linked list: 0x09e43ce8 ***

please fix .

simon04 commented on 2014-01-27 14:10

0.9.23-9: Fixed no longer existing file URLs.
@x33a: Thank you for the link. And I'm happy to get hints for debugging/solving the "corrupted double-linked list" problem.

x33a commented on 2014-01-27 13:24

@ simon04, here's the patch:

For some reason, the project isn't viewable without logging in to alioth.
I suggest you put this patch in the tarball, along with the PKGBUILD.

Also, this is upstream's git repository.

Also, I too can confirm the issue faced by macxcool.

simon04 commented on 2014-01-27 10:30

Apparently the project webpage is gone. Here's a version version taking the source code (but w/o the fix-pmount-segfault patch) from Ubuntu –

Since the status of the project is unknown and I couldn't find the patch, I'm currently not updating the PKGBUILD in AUR.

macxcool commented on 2014-01-23 22:51

I can't seem to build this. I get:
checking if gcc static flag -static works... *** Error in `/usr/bin/ld': corrupted double-linked list: 0x0977fce8 ***

Lone_Wolf commented on 2013-11-13 08:47

It appears that alioth being down is a temporary problem, see

smlb commented on 2013-11-12 22:01

Package must be update, seems that is offline. I build it from bazar, it was the only choise.

simon04 commented on 2013-06-24 10:36

Since patch is part of the base-devel group, it shouldn't be listed in the build dependencies. See

captain jtejur commented on 2013-06-24 09:48

Should not be a problem on most Arch systems but after a fresh install with some of the usual tools still messing, I realised that "patch" should be in the "build dependencies" for this package.

simon04 commented on 2013-06-17 11:02

0.9.23-8: Updated URL for source – thank you!

Anonymous comment on 2013-06-17 09:59

There's a change in the url for downloading the source

They added /file/


Anonymous comment on 2012-12-26 19:16

@simon04 That error was probably the consequence of an unclen srcdir.

simon04 commented on 2012-12-25 23:24

0.9.23-7: add PIE support as suggested by Leonid.I

@Leonid.I: Not sure what went wrong before. I could not reproduce my error. Merry Christmas, too.

Anonymous comment on 2012-12-25 23:06

Thanks and merry Christmas!

Regarding PIE, can you post the output of 'make' after running the ./configure script? I have tested the build on 2 x86_64 systems (arch and rhel)... are you running i686?

simon04 commented on 2012-12-23 12:48

0.9.23-6: mkdir /media, include Leonid.I's patch

Building w/ PIE fails:
> /usr/bin/ld: pmount.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC

Anonymous comment on 2012-12-22 00:58

I don't think pacman does conflict checking on dirs. For instance, many packages own /var (pacman, openssh, etc)...

Lone_Wolf commented on 2012-12-21 11:15

/media is now owned by the [extra] udisks package, so we have to be careful not to raise conflicts with that package.

I suggest to put a check for the existence of /media , and a message it needs to be created manually if it isn't present, to the .install file .

Anonymous comment on 2012-12-21 03:05

I agree with patroclo7: just add "/usr/bin/install -dm755 -o root -g root /media" to package(). In addition to that:
1. Please add the patch from to fix a segfault when running with --debug, i.e. include "patch -Np1 -i ${srcdir}/fix-pmount-segfault.diff" before ./configure in build()
2. Given that pmount is a suid binary, all possible precautions must be made. I usually do a hardened build with PIE support. In my build() function I have
export CFLAGS="${CFLAGS} -fPIE -pie"
export CXXFLAGS="${CXXFLAGS} -fPIE -pie"
which produces a shared object, not an executable.


Anonymous comment on 2012-12-13 16:48

I may be missing something obvious, but isn't a straightforwad, safe solution for task 32897 to add the /media folder JUST in pmount? Archlinux have dropped /media from its filesystem, but pmount uses it: then it should be moved from the filesystem package to the pmount package. What's wrong?

simon04 commented on 2012-12-12 22:57

0.9.23-5: add bash completion support,

to be considered: