pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31115: firefox-bin package fails if MOZILLA_USE_LINUX set



>Number:         31115
>Category:       pkg
>Synopsis:       firefox-bin package fails if MOZILLA_USE_LINUX set
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 01 03:53:00 +0000 2005
>Originator:     tls%rek.tjls.com@localhost
>Release:        NetBSD 2.0, pkgsrc as of 10 minutes ago
>Organization:
        Little or none.
>Environment:
        
        
System: NetBSD rekusant 2.0 NetBSD 2.0 (REKUSANT) #5: Wed Feb 16 21:11:54 UTC 
2005 root@ADMIN:/usr/src/sys/arch/i386/compile/REKUSANT i386
Architecture: i386
Machine: i386
>Description:
        firefox silently exits
>How-To-Repeat:
        Set MOZILLA_USE_LINUX.  Build firefox-bin and install.  Run
        "firefox-linux" and watch it silently exit.  If you ktrace
        "run-mozilla.sh" you'll quickly see why: it tries to find
        the md5sum executable, but because the shell script is run
        with the *NetBSD* /bin/sh, it doesn't pick up /emul/linux/usr/bin
        in the path.

>Fix:
        The cleanest fix is probably to replace #!/bin/sh with
        #!/emul/linux/bin/sh in all the shell scripts when installing.
        In fact, this might save patching many shell scripts in many
        packages for differences between native sh and bash.




Home | Main Index | Thread Index | Old Index