Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#20 Unable to compile under gentoo

none
closed-wont-fix
nobody
None
low
2014-08-15
2012-07-19
jodalein
No

https://attachments.samba.org/attachment.cgi?id=7687

To build Samba, run /usr/bin/gmake
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-fs/winexe-9999/work/winexe-9999 ...
make -j1 ö
/usr/bin/perl librpc/idl-deps.pl librpc/idl/sasl_helpers.idl librpc/idl/winbind.idl librpc/idl/notify.idl librpc/idl/winsrepl.idl librpc/idl/opendb.idl librpc/idl/server_id.idl librpc/idl/nfs4acl.idl librpc/idl/winsif.idl librpc/idl/ntp_signd.idl librpc/idl/winstation.idl librpc/idl/irpc.idl ../librpc/idl/rot.idl ../librpc/idl/browser.idl ../librpc/idl/protected_storage.idl ../librpc/idl/scerpc.idl ../librpc/idl/frstrans.idl ../librpc/idl/policyagent.idl ../librpc/idl/winreg.idl ../librpc/idl/misc.idl ../librpc/idl/efs.idl ../librpc/idl/frsapi.idl ../librpc/idl/srvsvc.idl ../librpc/idl/spoolss.idl ../librpc/idl/remact.idl ../librpc/idl/dbgidl.idl ../librpc/idl/frsrpc.idl ../librpc/idl/wzcsvc.idl ../librpc/idl/msgsvc.idl ../librpc/idl/eventlog.idl ../librpc/idl/dssetup.idl ../librpc/idl/oxidresolver.idl ../librpc/idl/schannel.idl ../librpc/idl/nbt.idl ../librpc/idl/ntlmssp.idl ../librpc/idl/krb5pac.idl ../librpc/idl/dnsserver.idl ../librpc/idl/security.idl ../librpc/idl/drsuapi.idl ../librpc/idl/svcctl.idl ../librpc/idl/dfsblobs.idl ../librpc/idl/lsa.idl ../librpc/idl/w32time.idl ../librpc/idl/wkssvc.idl ../librpc/idl/initshutdown.idl ../librpc/idl/xattr.idl ../librpc/idl/drsblobs.idl ../librpc/idl/audiosrv.idl ../librpc/idl/dfs.idl ../librpc/idl/orpc.idl ../librpc/idl/dcom.idl ../librpc/idl/trkwks.idl ../librpc/idl/unixinfo.idl ../librpc/idl/epmapper.idl ../librpc/idl/atsvc.idl ../librpc/idl/samr.idl ../librpc/idl/mgmt.idl ../librpc/idl/keysvc.idl ../librpc/idl/wmi.idl ../librpc/idl/named_pipe_auth.idl ../librpc/idl/netlogon.idl ../librpc/idl/dsbackup.idl ../librpc/idl/echo.idl ../librpc/idl/ntsvcs.idl ../librpc/idl/dcerpc.idl >librpc/idl-deps
Samba will be compiled with flags:
CPP = i686-pc-linux-gnu-gcc -E
CPPFLAGS = -I./include -I. -I./lib -I./../lib/replace -I./../lib/talloc -I./.. -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H
CC = i686-pc-linux-gnu-gcc
CFLAGS = -march=i686 -O2 -pipe -U_FORTIFY_SOURCE -mno-tls-direct-seg-refs
PICFLAG = -fPIC
BNLD = i686-pc-linux-gnu-gcc
BNLD_FLAGS = -Wl,-O1 -Wl,--as-needed -Wl,--export-dynamic
STLD = /usr/bin/ar
STLD_FLAGS = -rcs
SHLD = i686-pc-linux-gnu-gcc
SHLD_FLAGS = -shared -Wl,-Bsymbolic
MDLD = i686-pc-linux-gnu-gcc
MDLD_FLAGS = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined
SHLIBEXT = so
srcdir = .
builddir = .
pwd = /var/tmp/portage/net-fs/winexe-9999/work/winexe-9999/source4
Creating heimdal/lib/asn1/der-protos.h
Use of "do" to call subroutines is deprecated at heimdal/cf/make-proto.pl line 15.
Can't locate getopts.pl in @INC (@INC contains: /etc/perl /usr/local/lib/perl5/5.16.0/i686-linux /usr/local/lib/perl5/5.16.0 /usr/lib/perl5/vendor_perl/5.16.0/i686-linux /usr/lib/perl5/vendor_perl/5.16.0 /usr/lib/perl5/5.16.0/i686-linux /usr/lib/perl5/5.16.0 .) at heimdal/cf/make-proto.pl line 5.
make: *** [heimdal/lib/asn1/der-protos.h] Fehler 2
emake failed
* ERROR: net-fs/winexe-9999 failed (compile phase):
* compile failed
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 2230: Called die
* The specific snippet of code:
* emake || die "compile failed"

Discussion

  • jodalein
    jodalein
    2012-07-19

    perlpatch.patch

     
    Attachments
  • jodalein
    jodalein
    2012-07-19

    in my attatchmend is the patch

     
  • ahajda
    ahajda
    2012-12-06

    • status: open --> wont-fix
    • milestone: --> v1.0_(example)
     
  • ahajda
    ahajda
    2012-12-06

    This is samba related bug, I hope it is fixed already, if not, please post it to samba-devel.

     
  • Thomas Hood
    Thomas Hood
    2014-03-12

    • status: wont-fix --> closed-wont-fix
    • Priority: 5 --> low