pkgsrc-Bugs archive

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

pkg/57933: devel/gflags fails to install



>Number:         57933
>Category:       pkg
>Synopsis:       devel/gflags fails to install
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 13 23:05:00 +0000 2024
>Originator:     Malte Dehling
>Release:        pkgsrc-current
>Organization:
>Environment:
NetBSD x230.local 10.0_BETA NetBSD 10.0_BETA (GENERIC) #0: Mon Aug  7 23:48:31 UTC 2023  root@x230.local:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
I can't install devel/gflags from pkgsrc.  It compiles fine, but an extra file is generated that is not listed in PLIST and causes installation to fail.  I don't think the extra file should be generated but unfortunately I have been unable to figure out why it is.

I have my packages installed in /pkg and pkgsrc in /pkg/src and the following in my mk.conf:

.ifdef BSD_PKG_MK

ABI=                    64
MAKE_JOBS=              8

PKG_DBDIR=              /pkg/pkgdb

LOCALBASE=              /pkg
SYSCONFBASE=            /pkg/etc
VARBASE=                /pkg/var
PKG_TOOLS_BIN=          /pkg/sbin

PKGINFODIR=             info
PKGMANDIR=              man

PKGSRC_LOCKTYPE=        sleep

X11_TYPE=               modular

# package options
[...]

# acceptable licenses
[...]

.endif

>How-To-Repeat:
Run 'bmake install' in 'devel/gflags'.

# bmake install
=> Bootstrap dependency digest>=20211023: found digest-20220214                                                                                                           
===> Checking for vulnerabilities in gflags-2.2.2                                                                                                                         
===> Installing for gflags-2.2.2                                                                                                                                          
=> Generating pre-install file lists                                                                                                                                      
[ 14%] Built target gflags_static                                                                                                                                         
[ 29%] Built target gflags_nothreads_static                                                                                                                               
[ 44%] Built target gflags_shared                                                                                                                                         
[ 59%] Built target gflags_nothreads_shared                                                                                                                               
[ 66%] Built target gflags_strip_flags_test                                                                                                                               
[ 74%] Built target gflags_unittest                                                                                                                                       
[ 81%] Built target gflags_unittest-main                                                                                                                                  
[ 88%] Built target gflags_unittest_main                                                                                                                                  
[100%] Built target gflags_declare_test                                                                                                                                   
Installing the project stripped...
-- Install configuration: "Release"
-- Installing: /pkg/src/devel/gflags/work/.destdir/pkg/lib/libgflags.so.2.2.2
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/libgflags.so.2.2
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/libgflags.so
-- Installing: /pkg/src/devel/gflags/work/.destdir/pkg/lib/libgflags_nothreads.so.2.2.2
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/libgflags_nothreads.so.2.2 
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/libgflags_nothreads.so
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/libgflags.a
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/libgflags_nothreads.a
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/include/gflags/gflags.h
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/include/gflags/gflags_declare.h
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/include/gflags/gflags_completions.h
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/cmake/gflags/gflags-config.cmake
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/cmake/gflags/gflags-config-version.cmake
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/cmake/gflags/gflags-targets.cmake
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/cmake/gflags/gflags-targets-release.cmake
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/cmake/gflags/gflags-nonamespace-targets.cmake
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/cmake/gflags/gflags-nonamespace-targets-release.cmake
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/bin/gflags_completions.sh
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/lib/pkgconfig/gflags.pc
-- Up-to-date: /pkg/src/devel/gflags/work/.destdir/pkg/src/devel/gflags/work/.home/.cmake/packages/gflags/647d4e76622c7aebf25ab40e5ec61623
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for gflags-2.2.2
ERROR: ************************************************************
ERROR: The following files are in /pkg/src/devel/gflags/work/.destdir/pkg but not in the PLIST:
ERROR:         /pkg/src/devel/gflags/work/.destdir/pkg/src/devel/gflags/work/.home/.cmake/packages/gflags/647d4e76622c7aebf25ab40e5ec61623
*** Error code 1

Stop.
bmake[1]: stopped in /pkg/src/devel/gflags
*** Error code 1

Stop.
bmake: stopped in /pkg/src/devel/gflags

>Fix:
I don't have a fix.


Home | Main Index | Thread Index | Old Index