pkgsrc-Bugs archive

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

pkg/57929: bsdtar-3.7.2 fails to build on Solaris 10



>Number:         57929
>Category:       pkg
>Synopsis:       bsdtar-3.7.2 fails to build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 12 09:45:00 +0000 2024
>Originator:     Hiroshi Hakoyama
>Release:        pkgsrc current
>Organization:
Institute of Freshwater Biology, Nagano University
>Environment:
SunOS ec21 5.10 Generic_147147-26 sun4u sparc SUNW,Sun-Blade-1000
>Description:
bsdtar fails to build on Solaris 10.
non POSIX extention?

cd /usr/pkgsrc/archivers/bsdtar
make

....
  CC       unzip/bsdunzip-bsdunzip.o
unzip/bsdunzip.c: In function 'match_pattern':
unzip/bsdunzip.c:335:44: error: 'FNM_CASEFOLD' undeclared (first use in this function)
   if (fnmatch(entry->pattern, str, C_opt ? FNM_CASEFOLD : 0) == 0)
                                            ^
unzip/bsdunzip.c:335:44: note: each undeclared identifier is reported only once for each function it appears in
unzip/bsdunzip.c: In function 'handle_existing_file':
unzip/bsdunzip.c:510:10: warning: implicit declaration of function 'getline' [-Wimplicit-function-declaration]
    len = getline(path, &alen, stdin);
          ^
unzip/bsdunzip.c: In function 'extract_file':
unzip/bsdunzip.c:727:7: warning: implicit declaration of function 'lchmod' [-Wimplicit-function-declaration]
   if (lchmod(*path, mode) != 0)
       ^
*** Error code 1

Stop.
bmake[1]: stopped in /usr/pkgsrc/pkgtools/pkg_install/work/libarchive
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install/work/libarchive
*** Error code 1

>How-To-Repeat:
cd /usr/pkgsrc/archivers/bsdtar
make
>Fix:
unknown



Home | Main Index | Thread Index | Old Index