OpenPrinting / cups-browsed

Apache License 2.0
33 stars 10 forks source link

make install fails -- 'test/run-tests.sh' and 'test/run-tests.sh' are the same file #12

Closed tjelbert closed 1 year ago

tjelbert commented 1 year ago
Environment settings:
        CFLAGS:                                    -march=native -mtune=native -m64 -pipe -O3 -Wall -std=gnu11 -D_GNU_SOURCE
        CXXFLAGS:                                  -march=native -mtune=native -m64 -pipe -O3 -Wall  -D_GNU_SOURCE
        LDFLAGS:                                   
Build configuration:
        cups-config:                               system
        init directory:                            /etc/init.d
        cups dom socket:                           /var/run/cups/cups.sock
        avahi:                                     yes
        browsing:                                  dnssd cups
        local queue naming for remote CUPS queues: DNS-SD
        keep generated queues during shutdown:     no
        update network interfaces after each found entry: yes
        all ipp printer auto-setup:                yes
        only driverless auto-setup:                no
        only local auto-setup:                     no
        werror:                                    no

/usr/bin/make  install-recursive
make[1]: Entering directory '/build/cups-browsed-2.0rc1'
make[2]: Entering directory '/build/cups-browsed-2.0rc1'
make[3]: Entering directory '/build/cups-browsed-2.0rc1'
 /bin/mkdir -p '/usr/share/doc/cups-browsed'
 /bin/mkdir -p 'test'
 /bin/mkdir -p '/etc/init.d'
 /bin/mkdir -p '/usr/share/man/man8'
 /bin/mkdir -p '/usr/share/man/man5'
 /bin/mkdir -p '/etc/cups'
 /bin/install -c -m 644 ABOUT-NLS AUTHORS COPYING CHANGES.md CHANGES-1.x.md INSTALL LICENSE NOTICE README.md DEVELOPING.md CONTRIBUTING.md '/usr/share/doc/cups-browsed'
 /bin/install -c test/run-tests.sh 'test'
 /bin/install -c -m 644 daemon/cups-browsed.conf '/etc/cups'
 /bin/install -c -m 644 daemon/cups-browsed.8 '/usr/share/man/man8'
 /bin/install -c -m 644 daemon/cups-browsed.conf.5 '/usr/share/man/man5'
 /bin/install -c daemon/cups-browsed '/etc/init.d'
/bin/install: 'test/run-tests.sh' and 'test/run-tests.sh' are the same file
make[3]: *** [Makefile:1002: install-TESTSCRIPTS] Error 1

Building in downloaded source dir, which already has  a test dir
Install should not  install test progs?

Linux-6.2.10
bash-5.2.15
tillkamppeter commented 1 year ago

Fixed in 1921fa792c01.

THanks for the bug report.