pkgsrc-Bugs archive

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

pkg/43051: www/php-eaccelerator needs user id configured (NetBSD 4.0/i386)



>Number:         43051
>Category:       pkg
>Synopsis:       www/php-eaccelerator needs user id configured (NetBSD 4.0/i386)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 24 08:00:00 +0000 2010
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386  (pkgsrc current [HEAD] 2010-03-24)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        www/php-eaccelerator fails to configure itself.  It selects
        sysvipc as the type it is going to use, then fails, when it
        was not run with the "-with_eaccelerator_userid" arg to
        tell it what user ID it should be compiled to use (for
        compiling binary packages, compiling in a user id for a
        purpose like this seems insane to me, but nevermind).

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets
        installed (except x*, I use X11_TYPE=modular instead).

        In that environment, attempting to build the recently
        upgraded version of www/php-eaccelerator
                php5-eaccelerator-5.2.13.0.9.6
        fails as shown below (the previous version,
                php5-eaccelerator-5.2.13.0.9.5.3
        was OK).   Who ever invented those version numbers!!??


checking for spinlock semaphores support... no
checking for pthread semaphores support... no
checking for posix semaphores support... no
checking for sysvipc semaphores support... yes
checking for fcntl semaphores support... yes
checking for flock semaphores support... yes
checking for best semaphores type... configure: error: "You need to pass the 
user id eaccelerator will be running under when using sysvipc semaphores"
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/php-eaccelerator
*** Error code 1

Stop.

>Fix:
        It would seem to me that if the info required to use sysvipc semaphores
        is not there, it should simply not choose that one, and instead
        pick one of the other supported variants (I would have thought posix
        semaphores should be possible as well, but the program run by
        configure for testing them contains a comment that says it is
        broken, so I guess those ones never get selected).

        Alternatively, I guess that yet another bizarre silly fake user
        needs to be created so this package can claim to be using it...

        I am assuming that NetBSD 5 (and current) probably end up using
        either spinlock or pthread semaphores, so avoid this whole mess.



Home | Main Index | Thread Index | Old Index