pkgsrc-Bugs archive

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

pkg/35518: Installation of rt3 from pkgsrc fails because of repeated installation of rt-crontool



>Number:         35518
>Category:       pkg
>Synopsis:       Installation of rt3 from pkgsrc fails because of repeated 
>installation of rt-crontool
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 29 22:40:01 +0000 2007
>Originator:     Hugh Brown
>Release:        None; using pkgsrc on Linux (OpenSuSE 10.0)
>Organization:
>Environment:
Linux hypatia 2.6.13-15.12-default #1 Thu Aug 24 11:23:58 UTC 2006 i686 i686 
i386 GNU/Linux
>Description:
When running "bmake package" in /opt/pkg/devel/rt3, I get the following error 
when it comes time to install:

[ much successful compiling and installing snipped for brevity ]

=> Binaries
/usr/bin/install -c -o root -g root -m 555 
/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/rt-mailgate 
/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/rt-crontool             
/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/mason_handler.fcgi 
/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/mason_handler.scgi    
/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/standalone_httpd 
/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/mason_handler.svc             
/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/rt 
/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/webmux.pl 
/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/rt-crontool       /opt/pkg/bin
/usr/bin/install: will not overwrite just-created `/opt/pkg/bin/rt-crontool' 
with `/opt/pkgsrc/devel/rt3/work/rt-3.4.5/bin/rt-crontool'
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/rt3
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/rt3
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/rt3

[ end of output ]


>How-To-Repeat:
# cd /opt/pkg/devel/rt3 && bmake package
>Fix:
The problem appears to be that rt-crontool is scheduled to be installed twice 
in devel/rt3/Makefile.install.  Removing this duplicate instance makes the 
install work just fine:


# # cvs diff Makefile.install
Index: Makefile.install
===================================================================
RCS file: /cvsroot/pkgsrc/devel/rt3/Makefile.install,v
retrieving revision 1.6
diff -r1.6 Makefile.install
72c72
<               ${WRKSRC}/bin/rt ${WRKSRC}/bin/webmux.pl 
${WRKSRC}/bin/rt-crontool      \
---
>               ${WRKSRC}/bin/rt ${WRKSRC}/bin/webmux.pl                        
>         \


# bmake package

(works fine).

This is with a current version of pkgsrc downloaded from 
ftp://ftp.netbsd.org/pub/pkgsrc/current on Jan 19th.  Judging by CVSweb 
(http://cvsweb.netbsd.org/cgi-bin/cvsweb.cgi/pkgsrc/devel/rt3/Makefile.install) 
and the cvs diff command above, I believe this is the latest version of 
Makefile.install for this package.  

It looks like this is the same problem:

http://ftp.netbsd.org/pub/pkgsrc/misc/minskim/pkgstat/Linux/last/devel/rt3/.broken.html

Sorry if the web form has borked the formatting.  Please let me know if you 
need any further information.




Home | Main Index | Thread Index | Old Index