Hello, I cannot build util-linux-32 (error message below). I see pam in the error message and I indeed pam package (64 bit), but I don't see anything related to pam in 32 bit. Any advice? Anything special to build? CCLD runuser /usr/bin/ld: skipping incompatible /lib/libpam.so when searching for -lpam /usr/bin/ld: cannot find -lpam /usr/bin/ld: skipping incompatible /lib/libpam_misc.so when searching for -lpam_misc /usr/bin/ld: cannot find -lpam_misc collect2: error: ld returned 1 exit status Makefile:5805: recipe for target 'runuser' failed make[2]: *** [runuser] Error 1 make[2]: Leaving directory '/usr/ports/compat-32/util-linux-32/work/src/util-linux-2.25.2' Makefile:10057: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/ports/compat-32/util-linux-32/work/src/util-linux-2.25.2' Makefile:4362: recipe for target 'all' failed make: *** [all] Error 2 =======> ERROR: Building '/usr/ports/compat-32/util-linux-32/util-linux-32#2.25.2-1.pkg.tar.gz' failed. prt-get: error while install -- Packages where install failed util-linux-32 Thanks, Wawrzek -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
On Sun, 16 Nov 2014 20:33:50 +0000 Wawrzek Niewodniczanski wrote:
Hello,
I cannot build util-linux-32 (error message below). I see pam in the error message and I indeed pam package (64 bit), but I don't see anything related to pam in 32 bit. Any advice? Anything special to build?
You are missing 32-bit PAM libs. Why DO you have PAM, btw?It is not dependency for util-linux-32, it is not part of core/opt repos, Crux does not use it. Pedja
On 16 November 2014 22:41, Predrag Ivanovic <predivan@open.telekom.rs> wrote:
On Sun, 16 Nov 2014 20:33:50 +0000 Wawrzek Niewodniczanski wrote:
Hello,
I cannot build util-linux-32 (error message below). I see pam in the error message and I indeed pam package (64 bit), but I don't see anything related to pam in 32 bit. Any advice? Anything special to build?
You are missing 32-bit PAM libs.
Why DO you have PAM, btw?
I remember having some problem when PAM was lacking. Do remember details, it was some time ago. I could be related to, user logout, power down in E17, xserver-screenserver ... maybe login to user session from screen server of another one. I remember spending quite a time to resolve it. Anyway since than I've been using PAM with Crux.
It is not dependency for util-linux-32, it is not part of core/opt repos, Crux does not use it.
It might be ;). I can use linux-pam Pkgfile with lib path change to lib32, can't I? Regards, Wawrzek -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
On Sun, 16 Nov 2014 23:29:26 +0000 Wawrzek Niewodniczanski wrote:
It might be ;). I can use linux-pam Pkgfile with lib path change to lib32, can't I?
Touch .32bit in port dir, so pkgmk will build it as 32bit, and changing lib to lib32 should, in theory, do it. But, it doesn't compile. pam_conv_l.o: In function `yylex': pam_conv_l.c:(.text+0x9b8): undefined reference to `yywrap' collect2: error: ld returned 1 exit status Makefile:317: recipe for target 'pam_conv1' failed make[4]: *** [pam_conv1] Error 1 make[4]: Leaving directory '/usr/pkgmk/build/linux-pam/src/Linux-PAM-1.1.8/conf/pam_conv1' Makefile:268: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/usr/pkgmk/build/linux-pam/src/Linux-PAM-1.1.8/conf/pam_conv1' Makefile:318: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/usr/pkgmk/build/linux-pam/src/Linux-PAM-1.1.8/conf' Makefile:368: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/usr/pkgmk/build/linux-pam/src/Linux-PAM-1.1.8' Makefile:297: recipe for target 'all' failed make: *** [all] Error 2 =======> ERROR: Building '/usr/pkgmk/package/linux-pam#1.1.8-2.pkg.tar.gz' failed. Which is a problem PAM build has with flex, it seems, according to this https://bugs.launchpad.net/gentoo-pandora-toolbox/+bug/297265 There are few workarounds there, as well.
Regards, Wawrzek
Pedja
On 17 November 2014 03:11, Predrag Ivanovic <predivan@open.telekom.rs> wrote:
On Sun, 16 Nov 2014 23:29:26 +0000 Wawrzek Niewodniczanski wrote:
It might be ;). I can use linux-pam Pkgfile with lib path change to lib32, can't I?
Touch .32bit in port dir, so pkgmk will build it as 32bit, and changing lib to lib32 should, in theory, do it. But, it doesn't compile. [...] =======> ERROR: Building '/usr/pkgmk/package/linux-pam#1.1.8-2.pkg.tar.gz' failed.
Which is a problem PAM build has with flex, it seems, according to this https://bugs.launchpad.net/gentoo-pandora-toolbox/+bug/297265 There are few workarounds there, as well.
What do you think about providing 32bit flex? I did it and linux-pam (32bit) looks build OK, however I'm not sure if it's have any implications. Thanks, Wawrzek PS. That what I did with flex. name=flex-32 sname=flex version=2.5.39 release=1 source=(http://downloads.sourceforge.net/project/$sname/$sname-$version.tar.xz) build() { cd $sname-$version ./configure --prefix=/usr \ --libdir=/usr/lib32 \ --mandir=/usr/man \ --disable-nls make make DESTDIR=$PKG install rm -r $PKG/usr/{bin,include,man} rm -r $PKG/usr/share/{info,doc} rmdir $PKG/usr/share } -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
participants (2)
-
Predrag Ivanovic
-
Wawrzek Niewodniczanski