Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933534 - net-dns/nsd-4.9.1 newins: Need two arguments, old file and new file
Summary: net-dns/nsd-4.9.1 newins: Need two arguments, old file and new file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Joshua Kinard
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-04 15:51 UTC by Vladimir Varlamov
Modified: 2024-06-05 04:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Varlamov 2024-06-04 15:51:28 UTC
ERROR: net-dns/nsd-4.9.1::gentoo failed (install phase):
newins: Need two arguments, old file and new file

Reproducible: Always

Actual Results:  
```
>>> Source compiled.
>>> Test phase [not enabled]: net-dns/nsd-4.9.1

>>> Install net-dns/nsd-4.9.1 into /var/tmp/portage/net-dns/nsd-4.9.1/image
make -j2 DESTDIR=/var/tmp/portage/net-dns/nsd-4.9.1/image install 
./install-sh -c -d /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/sbin
./install-sh -c -d /var/tmp/portage/net-dns/nsd-4.9.1/image/etc/nsd
if test -n "/run"; then ./install-sh -c -d /var/tmp/portage/net-dns/nsd-4.9.1/image/run; fi
./install-sh -c -d /var/tmp/portage/net-dns/nsd-4.9.1/image//var/db/nsd
./install-sh -c -d `dirname /var/tmp/portage/net-dns/nsd-4.9.1/image//var/db/nsd/xfrd.state`
./install-sh -c -d `dirname /var/tmp/portage/net-dns/nsd-4.9.1/image//var/db/nsd/zone.list`
./install-sh -c -d /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/share/man
./install-sh -c -d /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/share/man/man8
./install-sh -c -d /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/share/man/man5
./install-sh -c nsd /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/sbin/nsd
./install-sh -c nsd-control-setup.sh /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/sbin/nsd-control-setup
./install-sh -c nsd-checkconf /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/sbin/nsd-checkconf
./install-sh -c nsd-checkzone /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/sbin/nsd-checkzone
./install-sh -c nsd-control /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/sbin/nsd-control
./install-sh -c -m 644 nsd.8 /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/share/man/man8
./install-sh -c -m 644 nsd-checkconf.8 /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/share/man/man8/nsd-checkconf.8
./install-sh -c -m 644 nsd-checkzone.8 /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/share/man/man8/nsd-checkzone.8
./install-sh -c -m 644 nsd-control.8 /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/share/man/man8/nsd-control.8
./install-sh -c -m 644 nsd.conf.5 /var/tmp/portage/net-dns/nsd-4.9.1/image/usr/share/man/man5/nsd.conf.5
./install-sh -c -m 644 nsd.conf.sample /var/tmp/portage/net-dns/nsd-4.9.1/image/etc/nsd/nsd.conf.sample
 * ERROR: net-dns/nsd-4.9.1::gentoo failed (install phase):
 *   newins: Need two arguments, old file and new file
 *
 * If you need support, post the output of `emerge --info '=net-dns/nsd-4.9.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-dns/nsd-4.9.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-dns/nsd-4.9.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-dns/nsd-4.9.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-dns/nsd-4.9.1/work/nsd-4.9.1'
 * S: '/var/tmp/portage/net-dns/nsd-4.9.1/work/nsd-4.9.1'
 * QA Notice: Unrecognized configure options:
 * 
 *      --enable-year2038
 *      --enable-year2038

```
Comment 1 Mike Gilbert gentoo-dev 2024-06-04 19:06:26 UTC
It's probably this line, which is misquoted.

newins "${FILESDIR}/nsd.munin-conf nsd_munin"
Comment 2 Joshua Kinard gentoo-dev 2024-06-04 19:20:06 UTC
Yup, that's my typo.  A fix is queued locally.  Will push later this evening.
Comment 3 Larry the Git Cow gentoo-dev 2024-06-05 04:24:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659bd85db80d1a68d6270e445f8a9b2ca4a39979

commit 659bd85db80d1a68d6270e445f8a9b2ca4a39979
Author:     Joshua Kinard <kumba@gentoo.org>
AuthorDate: 2024-06-05 04:22:35 +0000
Commit:     Joshua Kinard <kumba@gentoo.org>
CommitDate: 2024-06-05 04:24:15 +0000

    net-dns/nsd: Fix several minor issues w/ 4.9.1's ebuild
    
    Corrects an issue found in a local USE flag description,
    add 'mmap' as a local USE flag so we can annotate that it's
    experimental, and fix a misquoted variable in the USE munin
    case.
    
    Closes: https://bugs.gentoo.org/933508
    Closes: https://bugs.gentoo.org/933509
    Closes: https://bugs.gentoo.org/933534
    Signed-off-by: Joshua Kinard <kumba@gentoo.org>

 net-dns/nsd/metadata.xml     | 3 ++-
 net-dns/nsd/nsd-4.9.1.ebuild | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)