Bug 197977

Summary: net/samba41 fails to build recursive packages if bash-static is installed
Product: Ports & Packages Reporter: wynkoop
Component: Individual Port(s)Assignee: Timur I. Bakeyev <timur>
Status: Closed Not Accepted    
Severity: Affects Many People    
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description wynkoop 2015-02-24 02:12:40 UTC

    
Comment 1 wynkoop 2015-02-24 02:14:27 UTC
install  -s -o root -g wheel -m 555 /usr/ports/devel/gmake-lite/work/make-4.1/make /usr/ports/devel/gmake-lite/work/stage/usr/local/bin/gmake-lite
install  -o root -g wheel -m 444 /usr/ports/devel/gmake-lite/work/make-4.1/make.1 /usr/ports/devel/gmake-lite/work/stage/usr/local/man/man1/gmake-lite.1
====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
===>  Building package for gmake-lite-4.1_1

===>  bash-4.3.33 conflicts with installed package(s): 
      bash-static-4.3.33

      They install files into the same place.
      You may want to stop build with Ctrl + C.
===>  License GPLv3 accepted by the user
===>  Found saved configuration for bash-4.3.30_1
===>   bash-4.3.33 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by bash-4.3.33 for building

===>  bash-4.3.33 conflicts with installed package(s): 
      bash-static-4.3.33

      They will not build together.
      Please remove them first with pkg delete.
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/shells/bash
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/shells/bash
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/shells/bash
*** Error code 1

Stop.
make: stopped in /usr/ports/net/samba41
root@prd2:/usr/ports/net/samba41 #
Comment 2 wynkoop 2015-02-24 02:16:02 UTC
The samba41 makefile should allow for both bash and bash-static.  A better solution would be to remove the bash dependency, but I have not looked far enough to determine if that is possible.

-Brett
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2015-02-24 02:42:14 UTC
Fix Summary and assign.
Comment 4 Timur I. Bakeyev freebsd_committer freebsd_triage 2015-02-24 15:06:16 UTC
I don't see any direct dependencies from bash for samba* ports. Please, address to the maintainer of the relevant port.