Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Jul 2014 10:40:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191654] New: do overwrite check before installing new files from stage
Message-ID:  <bug-191654-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191654

            Bug ID: 191654
           Summary: do overwrite check before installing new files from
                    stage
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: Infrastructure
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: hsn@sendmail.cz

===> Staging rc.d startup script(s)
====> Running Q/A tests (stage-qa)
Warning: 'lib/libhadoop.so.1' is not stripped consider using ${STRIP_CMD}
Warning: 'lib/libhdfs.so.0' is not stripped consider using ${STRIP_CMD}
===>>> Starting check for runtime dependencies
===>>> Gathering dependency list for devel/hadoop2 from ports
===>>> Dependency check complete for devel/hadoop2

===>  Installing for apache-hadoop2-2.4.1
===>  Checking if devel/hadoop2 already installed
===>   Registering installation for apache-hadoop2-2.4.1
===> Creating users and/or groups.
Creating group 'hadoop' with gid '955'.
Creating user 'hdfs' with uid '955'.
Creating user 'mapred' with uid '947'.
Installing apache-hadoop2-2.4.1...pkg-static: apache-hadoop2-2.4.1 conflicts
with qt4-rcc-4.8.6 (installs files into the same place).  Problematic file:
/usr/local/bin/rcc
*** Error code 70

if there are 2 packages with conflicting files = in my case hadoop2 and qt4-rcc
then there is problem with installation sequence.

hadoop2 is staged and installed and after installation is discovered that
hadoop2 conflicts with qt4-rcc and fails to register installation, but
installed files are not removed, thus breaking qt4-rcc package with overwritten
file and leaving extra files in filesystem.

pkg info hadoop2
pkg: No package(s) matching hadoop2

can be sequence changed to check for possible file conflicts before installing
files from stage? Check to be installed files in stage against pkg database.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191654-13>