[bug-notifications] [lsof 0004893]: lsof does not build on Solaris 11

Mantis Bug Tracker noreply at opencsw.org
Wed Aug 1 11:11:50 CEST 2012


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4893 
====================================================================== 
Reported By:                isabellf
Assigned To:                dam
====================================================================== 
Project:                    lsof
Issue ID:                   4893
Category:                   packaging
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2012-02-07 17:03 CET
Last Modified:              2012-08-01 11:11 CEST
====================================================================== 
Summary:                    lsof does not build on Solaris 11
Description: 
While trying to build on Solaris 10 with gcc (I'm not confident about all
the flags here, but Dagobert also tried on one of the Solaris11 build
servers in your farm with additional failures):

PATH=/opt/gcc/4.2.3/bin:/usr/sfw/bin:/opt/csw/bin:/usr/sbin:/usr/ccs/bin:/usr/bin:/bin:/usr/sbin:/sbin
export PATH
CFLAGS="-m64 -R/usr/sfw/lib/amd64"
export CFLAGS
CXXFLAGS="-m64 -R/usr/sfw/lib/amd64"
export CXXFLAGS
export CXXFLAGS
LDFLAGS="-m64 -L/opt/gcc/4.2.3/lib/amd64 -R/usr/sfw/lib/amd64"
export LDFLAGS
LD_LIBRARY_PATH=/opt/gcc/4.2.3/lib/amd64
export LD_LIBRARY_PATH
export LSOF_VERS=110000; ./Configure solaris
make

I got the following error:

dnode.c:42:30: error: sys/fs/sdev_impl.h: No such file or directory




====================================================================== 

---------------------------------------------------------------------- 
 (0010070) dam (administrator) - 2012-08-01 11:11
 https://www.opencsw.org/mantis/view.php?id=4893#c10070 
---------------------------------------------------------------------- 
Indeed, lsof can only be run from the global zone. This is a restriction of
the lsof software requiring access to the global kernel tables. It is
probably best to disallow installation of the package in the non-global
zones.



More information about the bug-notifications mailing list