The configure flag --with-smbmount is harcoded in the ebuild, not checking if it's a linux kernel where it's installing. Reproducible: Always Steps to Reproduce: 1.Have a Gentoo/FreeBSD system or anything else but not Gentoo/Linux 2.emerge samba 3.read the error. Actual Results: emerge fails with: checking whether to use automount... yes checking whether to use smbmount... configure: error: not on a linux system! Portage 2.0.51.22 (!/usr/local/portage/gentoo-freebsd/profiles/default-bsd/fbsd/5.4/x86, gcc-, freebsd-lib-5.4-r2, 5.4-RELEASE i386) ================================================================= System uname: 5.4-RELEASE i386 i386 Gentoo/FreeBSD: FreeBSD version 5.4-RELEASE; Gentoo base version 0.7 dev-lang/python: 2.4.1-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 5.4 ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd" AUTOCLEAN="yes" CBUILD="i686-gentoo-freebsd5.4" CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -ffast-math -frename-registers -pipe" CHOST="i686-gentoo-freebsd5.4" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -ffast-math -frename-registers -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/local/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/gentoo-freebsd" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86-fbsd acpi apache2 gd gdbm htdocs ipsec mpm-worker nat ncurses netgraph perl pf postgres python readline ssl threads vhosts winbind zlib userland_BSD kernel_FreeBSD elibc_FreeBSD" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Created attachment 65344 [details, diff] moves --with-smbmoung to $(use_with kernel_linux smbmount) Not sure if this is right, i'm just guessing here, and haven't tested it yet on Gentoo/Linux
(In reply to comment #1) > Created an attachment (id=65344) [edit] > moves --with-smbmoung to $(use_with kernel_linux smbmount) > > Not sure if this is right, i'm just guessing here, and haven't tested it yet on > Gentoo/Linux That patch *should* work. It looks fine to me.
Setting product, CCing seemant. The patch does not work (see the ')' that there shouldn't be?), and also it needs a few other changes to work, I'll attach the ebuild patch, a source patch (that I need to test before) and a new pamd file.
Created attachment 65525 [details, diff] Patch for the ebuild.
Created attachment 65527 [details, diff] Patch to fix the subins
Created attachment 65528 [details] pamd file
little thought on pam-include: it requires pam>=0.78, which isn't stable (at now) for ia64. Using the proposed pam conf file will not function on that arch.
Yes that's why I added virtual/pam to dependency for that. So it needs a revbump to be marked ~all for now.
diego, the original pathch that added subins in the first place was a gentoo patch -- so the subin_extras thing is even further away from the original -- can I ask you to just adjust our original subins patch (found in the tarballs)?
Yeah it was just that doing the test patch here with a clean patch was more difficult to test than an incremental patch over the patches :)
*** Bug 102462 has been marked as a duplicate of this bug. ***
samba-3.0.20 in cvs