pkgsrc-Bugs archive

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

pkg/46684: pkgsrc-2012Q1 pkgtools/pkg_install fails to compile on NetBSD 5.1.2



>Number:         46684
>Category:       pkg
>Synopsis:       pkgsrc-2012Q1 pkgtools/pkg_install fails to compile on NetBSD 
>5.1.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 11 08:25:01 +0000 2012
>Originator:     Wolfgang Stukenbrock
>Release:        NetBSD 5.1.2
>Organization:
Dr. Nagler & Company GmbH
>Environment:
        
        
System: NetBSD s057 5.1.2 NetBSD 5.1.2 (INSTALL) #2: Sat Apr 21 14:20:24 CEST 
2012  
wgstuken@s012:/export/NetBSD-5.1.2/N+C-build/.OBJDIR_amd64/export/NetBSD-5.1.2/src/sys/arch/amd64/compile/INSTALL
 amd64
Architecture: x86_64
Machine: amd64
>Description:
        After installation of a fresh NetBSD 5.1.2, when trying to setup some 
"default"-packages
        I've got the following error messages. The build process is started 
after installation is done to the disks in
        a shell started with "chroot /mnt2", where /mnt2 is the mounpoint of 
the just installed root-filesystem.

<lot of lines deleted .....>
libtool: link: ar cru .libs/libarchive.a  libarchive/archive_check_magic.o 
libarchive/archive_entry.o libarchive/archive_entry_copy_stat.o 
libarchive/archive_entry_link_resolver.o libarchive/archive_entry_stat.o 
libarchive/archive_entry_strmode.o libarchive/archive_entry_xattr.o 
libarchive/archive_read.o libarchive/archive_read_data_into_fd.o 
libarchive/archive_read_disk.o libarchive/archive_read_disk_entry_from_file.o 
libarchive/archive_read_disk_set_standard_lookup.o 
libarchive/archive_read_extract.o libarchive/archive_read_open_fd.o 
libarchive/archive_read_open_file.o libarchive/archive_read_open_filename.o 
libarchive/archive_read_open_memory.o 
libarchive/archive_read_support_compression_all.o 
libarchive/archive_read_support_compression_bzip2.o 
libarchive/archive_read_support_compression_compress.o 
libarchive/archive_read_support_compression_gzip.o 
libarchive/archive_read_support_compression_none.o 
libarchive/archive_read_support_compression_program.o libarchive/archive_re
 ad_support_compression_rpm.o libarchive/archive_read_support_compression_uu.o 
libarchive/archive_read_support_compression_xz.o 
libarchive/archive_read_support_format_all.o 
libarchive/archive_read_support_format_ar.o 
libarchive/archive_read_support_format_cpio.o 
libarchive/archive_read_support_format_empty.o 
libarchive/archive_read_support_format_iso9660.o 
libarchive/archive_read_support_format_mtree.o 
libarchive/archive_read_support_format_raw.o 
libarchive/archive_read_support_format_tar.o 
libarchive/archive_read_support_format_xar.o 
libarchive/archive_read_support_format_zip.o libarchive/archive_string.o 
libarchive/archive_string_sprintf.o libarchive/archive_util.o 
libarchive/archive_virtual.o libarchive/archive_write.o 
libarchive/archive_write_disk.o 
libarchive/archive_write_disk_set_standard_lookup.o 
libarchive/archive_write_open_fd.o libarchive/archive_write_open_file.o 
libarchive/archive_write_open_filename.o libarchive/archive_write_open_memory.o 
libarchive/archive_wri
 te_set_compression_bzip2.o libarchive/archive_write_set_compression_compress.o 
libarchive/archive_write_set_compression_gzip.o 
libarchive/archive_write_set_compression_none.o 
libarchive/archive_write_set_compression_program.o 
libarchive/archive_write_set_compression_xz.o 
libarchive/archive_write_set_format.o libarchive/archive_write_set_format_ar.o 
libarchive/archive_write_set_format_by_name.o 
libarchive/archive_write_set_format_cpio.o 
libarchive/archive_write_set_format_cpio_newc.o 
libarchive/archive_write_set_format_mtree.o 
libarchive/archive_write_set_format_pax.o 
libarchive/archive_write_set_format_shar.o 
libarchive/archive_write_set_format_ustar.o 
libarchive/archive_write_set_format_zip.o libarchive/filter_fork.o
libtool: link: ranlib
 .libs/libarchive.a
 Usage: ranlib [options] archive
  Generate an index to speed access to archives
   The options are:
    -h --help                    Print this help message
    -V --version                 Print version information
 ranlib: supported targets: elf64-x86-64 elf32-i386 a.out-i386-netbsd coff-i386 
efi-app-ia32 elf64-little elf64-big elf32-little elf32-big srec symbolsrec 
tekhex binary ihex netbsd-core
eval: .libs/libarchive.a: permission denied
*** Error code 126

Stop.
make: stopped in 
/home.stand/.pkgsrc/pkgsrc-2012Q2/pkgtools/pkg_install/work/libarchive
*** Error code 1

Stop.
make: stopped in 
/home.stand/.pkgsrc/pkgsrc-2012Q2/pkgtools/pkg_install/work/libarchive
*** Error code 1

Stop.
make: stopped in /home.stand/.pkgsrc/pkgsrc-2012Q2/pkgtools/pkg_install
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkg_install

>How-To-Repeat:
        Already described above and this will also happen if the system is 
booted from the new installation
        avoiding the chroot command and useing the INSTALL kernel as mentioned 
above.
>Fix:
        Not know till now - I don't like libtool because it has many 
disadvantages if you need to support different compilers
        for the same or different target architectures (e.g. 32 and 64 bit 
builds or gcc and SUNpro-compilers on Solaris) on one machine ...
        And it is now easy to track what is gooing on in it ...
        I put this report only to the "serious/medium" state, because it looks 
like the pkgtools (20100204) installed with 5.1.2
        seems to be able to handle pkgsrc-2012Q1 too - at least I've recognized 
no other problems till now.
        So it may be a workaround on 5.1.2 to ignore this error.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index