[lsb-bugs] [Bug 2654] New: makelsbpkg mis-creates directories that should be in /opt when pkgroot includes a /etc/opt/lanana-name directory

bugzilla-daemon at linux-foundation.org bugzilla-daemon at linux-foundation.org
Fri May 22 06:51:44 PDT 2009


http://bugs.linuxbase.org/show_bug.cgi?id=2654

           Summary: makelsbpkg mis-creates directories that should be in
                    /opt when pkgroot includes a /etc/opt/lanana-name
                    directory
           Product: Development Environment
           Version: snapshot build
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: normal
          Priority: P2
         Component: lsb-buildenv
        AssignedTo: stewb at linux-foundation.org
        ReportedBy: stewb at linux-foundation.org
         QAContact: lsb-bugs at freestandards.org


Just bumped into this working on the LDN article. When pkgroot has a
/etc/opt/lanana-name dir as well as a /opt/lanana-name dir, makelsbpkg gets
confused in creating the package, assigning what should be
/opt/lanana-name/{bin,lib} to /etc/{bin,lib}. I suspect something's going wrong
either in ordering things or in trying to avoid owning /opt.

Example:
[stew at localhost LDN-2]$ makelsbpkg whizbang-suite --tagfile whizbang-suite.xml
pkgroot2        
[stew at localhost LDN-2]$ rpm -qlp whizbang-suite-1.2.3-1.i486.rpm 
/opt/whizbang
/opt/whizbang/bin
/opt/whizbang/bin/whizbang-gui
/opt/whizbang/lib
/opt/whizbang/lib/libwhiz.so.1

vs:
[stew at localhost LDN-2]$ makelsbpkg whizbang-suite --tagfile whizbang-suite.xml
pkgroot 
[stew at localhost LDN-2]$ rpm -qlp whizbang-suite-1.2.3-1.i486.rpm 
/etc/opt
/etc/opt/whizbang
/etc/opt/whizbang/whizbang-gui.conf
/etc/whizbang
/etc/bin
/opt/whizbang/bin/whizbang-gui
/etc/lib
/opt/whizbang/lib/libwhiz.so.1


-- 
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the lsb-bugs mailing list