Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 445598 - sys-auth/pam_mount-2.11 with sys-libs/libhx-3.12.1 - mtab.c:141:3: error: too few arguments to function 'HX_mkdir'
Summary: sys-auth/pam_mount-2.11 with sys-libs/libhx-3.12.1 - mtab.c:141:3: error: too...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 446672 (view as bug list)
Depends on: 461388
Blocks:
  Show dependency tree
 
Reported: 2012-12-02 11:09 UTC by Christian Burger
Modified: 2013-10-05 01:21 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge --info (pam_mount-2.11.emerge-info.txt,5.54 KB, text/plain)
2012-12-03 17:20 UTC, mephinet
Details
build.log (build.log,21.91 KB, text/plain)
2012-12-03 17:21 UTC, mephinet
Details
pfire - emerge.info (emerge.info,15.81 KB, text/plain)
2012-12-03 22:21 UTC, Matthew Thode ( prometheanfire )
Details
pfire build.log (sys-auth:pam_mount-2.11:20121203-221913.log,20.72 KB, text/plain)
2012-12-03 22:22 UTC, Matthew Thode ( prometheanfire )
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Burger 2012-12-02 11:09:02 UTC
Trying to compile sys-auth/pam_mount-2.11, I got the following error:

/bin/sh ../libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFI
G_H -I. -I..  -DRUNDIR=\"/run\"  -Wall -Waggregate-return -Wmissing-declarations
        -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes     
-Wformat=2 -pipe -fvisibility=hidden    -I/usr/include/libxml2   -O2 -msse2 -mss
e -mmmx -mfpmath=sse -march=pentium-m -pipe -fomit-frame-pointer -c -o libpmt_mt
ab_la-mtab.lo `test -f 'mtab.c' || echo './'`mtab.c
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DRUNDIR=\"/ru
n\" -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredun
dant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -pipe -fvisibility=hidden -I/
usr/include/libxml2 -O2 -msse2 -msse -mmmx -mfpmath=sse -march=pentium-m -pipe -
fomit-frame-pointer -c mtab.c  -fPIC -DPIC -o .libs/libpmt_mtab_la-mtab.o
mtab.c: In function 'pmt_mtab_add':
mtab.c:141:3: error: too few arguments to function 'HX_mkdir'
/usr/include/libHX/io.h:35:12: note: declared here
make[2]: *** [libpmt_mtab_la-mtab.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/paludis/sys-auth-pam_mount-2.11/work/pam_mount-2.11/src'

Unmasking sys-auth/pam_mount-2.13 solves the problem. It seems that libhx added one parameter to the function HX_mkdir(), which pam_mount-2.11 doesn't account for.
Comment 1 Marius Glauser 2012-12-02 16:57:45 UTC
I can confirm this. Same versions, same error.
Comment 2 Thomas Rausch 2012-12-02 18:47:28 UTC
My solution: Unmask sys-auth/pam_mount-2.13.
Let's see if it still works all.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-03 11:23:38 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 4 mephinet 2012-12-03 17:20:12 UTC
Created attachment 331322 [details]
Output of emerge --info

Happens here too. Output of emerge --info attached.
Comment 5 mephinet 2012-12-03 17:21:13 UTC
Created attachment 331324 [details]
build.log
Comment 6 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2012-12-03 22:21:40 UTC
Created attachment 331350 [details]
pfire - emerge.info
Comment 7 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2012-12-03 22:22:14 UTC
Created attachment 331352 [details]
pfire build.log
Comment 8 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2012-12-04 01:23:33 UTC
also, confirmed that sys-auth/pam_mount-2.13 'fixes it'.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-10 11:15:24 UTC
*** Bug 446672 has been marked as a duplicate of this bug. ***
Comment 10 Matt Turner gentoo-dev 2013-10-05 01:21:17 UTC
I've dropped pam_mount-2.11. Try 2.14.