pkgsrc-Bugs archive

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

pkg/36919: archivers/arj fails to build with gcc unit-at-a-atime mode



>Number:         36919
>Category:       pkg
>Synopsis:       archivers/arj: fails to build with gcc unit-at-a-atime mode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 05 15:05:00 +0000 2007
>Originator:     Yakovetsky Vladimir
>Release:        NetBSD 4.0_RC1
>Organization:
>Environment:
System: NetBSD darg.x.ua 4.0_RC1 NetBSD 4.0_RC1 (darg-1.799.2.13-mp-1.8.8.1) 
#2: Tue Sep 4 16:39:17 EEST 2007 
yx%darg.x.ua@localhost:/sys/arch/i386/compile/darg.mp i386
Architecture: i386
Machine: i386

>Description:
        archivers/arj fails to build with gcc unit-at-a-atime mode

>How-To-Repeat:
% cd /usr/pkgsrc/archivers/arj
% bmake
...
./netbsdelf/en/rs/tools/postproc netbsdelf/en/rs/arj/arj
POSTPROC v 1.30  [17/01/2003]  Not a part of any binary package!

Patch not found
gmake[1]: *** [netbsdelf/en/rs/arj/arj] Error 3
gmake[1]: Leaving directory `/usr/obj/archivers/arj/work/arj-3.10.22'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/archivers/arj
*** Error code 1

Stop.

>Fix:
--- archivers/arj/Makefile.orig
+++ archivers/arj/Makefile
@@ -16,6 +16,7 @@
 CONFIGURE_SCRIPT=      ${WRKSRC}/gnu/configure
 MAKE_FILE=             makefile.gnu
 MAKE_FLAGS+=           INSTALL_DIR=${INSTALL_PROGRAM_DIR:Q}
+CFLAGS+=               -fno-unit-at-a-time
 
 INSTALL_UNSTRIPPED=    yes # $LOCALBASE/bin/arj must have symbol table
 ARJ_DOCSDIR=           ${PREFIX}/share/doc/arj




Home | Main Index | Thread Index | Old Index