Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2016 01:16:54 +1000
From:      Dewayne Geraghty <dewaynegeraghty@gmail.com>
To:        Frank Seltzer <frank_s@bellsouth.net>
Cc:        ports-list freebsd <freebsd-ports@freebsd.org>, Timur Bakeyev <timur@freebsd.org>
Subject:   Re: Samba 4.3 compile fails with CUPS option set
Message-ID:  <CAGnMC6roqv91iWnAKEyB=e7Qhotf%2BbLKAC%2BZMtxdxt7ob5szsg@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.20.1604151003020.869@Ace.nina.org>
References:  <alpine.BSF.2.20.1604151003020.869@Ace.nina.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for posting Frank; I also have this problem which O.Hartman has
created the PR
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208767

And MAKE_JOBS_UNSAFE makes no difference.

On 16 April 2016 at 00:28, Frank Seltzer <frank_s@bellsouth.net> wrote:

> I've been having this problem since the port update a few days ago.  I've
> tried with and without CUPS set multiple times each and 'with' always fails
> in the same place with the same error and 'without' always completes
> successfully.
>
> The ports/UPDATING file SAMBA entry dated 20160412 only refers to the
> BadLock vulnerability.  Since it showed no example update commands for pkg,
> portupgrade or portmaster I expected a straightforward compile and install.
>
> Ports are updated every night at 8:00 PM EDT using svnlite and the
> Makefile appears to be up to date:
>
> # $FreeBSD: head/net/samba43/Makefile 413163 2016-04-12 22:44:03Z timur $
>
>
> [3342/3873] Linking default/lib/util/libsamba-debug-samba4.so
> default/source3/client/smbspool_krb5_wrapper_170.o: In function `main':
> /usr/ports/net/samba43/work/samba-4.3.8/bin/../source3/client/smbspool_krb5_wrapper.c:198:
> undefined reference to `clearenv'
> cc: error: linker command failed with exit code 1 (use -v to see
> invocation)
> runner cc default/source3/lib/asys/tests_2.o
> default/source3/lib/asys/asys_1.o
> default/source3/lib/pthreadpool/pthreadpool_1.o -o
> /usr/ports/net/samba43/work/samba-4.3.8/bin/default/source3/lib/asys/asystest
> -fstack-protector -pie -Wl,-z,relro,-z,now -lpthread -Wl,-no-undefined
> -Wl,--export-dynamic -Wl,--as-needed
> -Wl,-rpath,/usr/ports/net/samba43/work/samba-4.3.8/bin/shared
> -Wl,-rpath,/usr/ports/net/samba43/work/samba-4.3.8/bin/shared/private
> -Ldefault/lib/replace -L/usr/local/lib -Wl,-Bdynamic -lreplace-samba4 -lrt
> -lcrypt
> runner cc default/lib/util/close_low_fd_7.o default/lib/util/debug_8.o -o
> /usr/ports/net/samba43/work/samba-4.3.8/bin/default/lib/util/libsamba-debug-samba4.so
> -fstack-protector -Wl,-z,relro,-z,now -lpthread -Wl,-no-undefined
> -Wl,--export-dynamic -Wl,--as-needed -shared
> -Wl,--version-script=/usr/ports/net/samba43/work/samba-4.3.8/bin/default/lib/util/samba-debug.vscript
> -Wl,-rpath,/usr/ports/net/samba43/work/samba-4.3.8/bin/shared
> -Wl,-rpath,/usr/ports/net/samba43/work/samba-4.3.8/bin/shared/private
> -Ldefault/lib/replace -Ldefault/lib/util -L/usr/local/lib -Wl,-Bdynamic
> -ltime-basic-samba4 -lsocket-blocking-samba4 -lreplace-samba4 -lrt -lcrypt
> -ltalloc
> Waf: Leaving directory `/usr/ports/net/samba43/work/samba-4.3.8/bin'
> Build failed:  -> task failed (err #1):
>         {task: cc_link dynconfig_1.o,smbspool_krb5_wrapper_170.o ->
> smbspool_krb5_wrapper}
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/net/samba43
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/net/samba43
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20160415-11962-1bfjw2n env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=samba43-4.3.8 UPGRADE_PORT_VER=4.3.8 make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
>         ! net/samba43 (samba43-4.3.8)   (interrupted by user)
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



-- 
*Disclaimer:*



*As implied by email protocols, the information in this message is not
confidential. Any intermediary or recipient may inspect, modify (add),
copy, forward, reply to, delete, or filter email for any purpose unless
said parties are otherwise obligated.  Nothing in this message may be
legally binding without cryptographic evidence of its integrity and/or
confidentiality.*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGnMC6roqv91iWnAKEyB=e7Qhotf%2BbLKAC%2BZMtxdxt7ob5szsg>