OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004893 [lsof] packaging block always 2012-02-07 17:03 2012-08-01 13:45
Reporter isabellf View Status public  
Assigned To dam
Priority normal Resolution fixed  
Status closed  
Summary 0004893: 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



Additional Information Need to send request to Vic Abell (lsof maintainer)
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009586)
isabellf (reporter)
2012-02-07 17:13

Email sent:

Hi Vic.
I just want to report that lsof 4.85 does not build on Solaris 11. I spoke with Dagobert Michelsen of OpenCSW and is offering access to their build server if you want to test it yourself. He said it’s due to “cachefs” not being around anymore on Solaris 11.

Dagobert, I opened a ticket on https://www.opencsw.org/mantis, [^] I tried building with GCC, I know you tried something different, so if you have time to add your data here, it might help.
 0004893 packaging block new 2012-02-07 “lsof does not build on Solaris 11”

Thanks for your help.

François Isabelle.
(0009587)
dam (administrator)
2012-02-07 18:56

Experimental packages for 4.86A.sun for Solaris 11 Sparc and amd64 are available at
  http://buildfarm.opencsw.org/experimental.html#lsof [^]
Please let me know if they work.

Best regards -- Dago
(0009594)
isabellf (reporter)
2012-02-12 15:14

I tested the amd64 build, it was fine.
I didn't run any test on Sparc yet.
(0010069)
ghenry (reporter)
2012-08-01 08:12

hello,
it doesn't work for me (Sun X2200 amd64):
# uname -a
SunOS solqual 5.11 11.0 i86pc i386 i86pc Solaris
# /opt/csw/bin/lsof
lsof: can't read namelist from /dev/ksyms

is it because i'm logged into a zone?
(0010070)
dam (administrator)
2012-08-01 11:11

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.
(0010073)
dam (administrator)
2012-08-01 13:45

The official 4.86,REV=2012.08.01 has been pushed for Solaris 9/10/11 to unstable/.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker