Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533952 - net-dns/pdns should not depend on virtual/postgresql
Summary: net-dns/pdns should not depend on virtual/postgresql
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-29 18:10 UTC by Bob's Your Uncle
Modified: 2014-12-30 04:18 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 Bob's Your Uncle 2014-12-29 18:10:03 UTC
So the postgresql packages were unified.  Okay, that's probably a good thing.  No news item though, and Portage suggested I try an emerge of the new package.  Couldn't do that without first removing the old ones...okay...done, with the "server" use flag added as I run a PostgreSQL server.

Now I cannot upgrade dependencies with emerge -uDNva @world, as it insists on removing the "server" use flag.  I get:

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by virtual/postgresql-9.3
# required by net-dns/pdns-3.3.1
# required by @selected
# required by @world (argument)
=dev-db/postgresql-9.3.5-r2 -server

Without "server", the dependent package won't even work, so it's quite ironic.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-29 21:39:48 UTC
(In reply to Casey from comment #0)
> # required by virtual/postgresql-9.3
> # required by net-dns/pdns-3.3.1

There is no such thing as virtual/postgresql-9.3 and neither does =net-dns/pdns-3.3.1 depend on it.

> Without "server", the dependent package won't even work, so it's quite
> ironic.

Of course it will work. The server shouldn't need to reside on the same system so with USE=-server you would still get the library required to connect to wherever the server happens to run.


Please post your `emerge --info net-dns/pdns' output in a comment.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-29 21:40:11 UTC
Also:

  28 Dec 2014; Aaron W. Swenson <titanofold@gentoo.org> pdns-3.3.1.ebuild,
  pdns-3.4.0.ebuild, pdns-3.4.0-r1.ebuild, pdns-3.4.1.ebuild:
  Rename virtual/postgresql to dev-db/postgresql


Sync and try again?
Comment 3 Bob's Your Uncle 2014-12-30 00:41:00 UTC
In my case, the server does reside on the same system, pdns will be broken if the server isn't installed and running.

I synced again, same results.

# emerge --info pdns
Portage 2.2.14 (python 3.4.1-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.16.5-gentoo-osss-vm x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.16.5-gentoo-osss-vm-x86_64-QEMU_Virtual_CPU_version_0.9.1-with-gentoo-2.2
KiB Mem:      768940 total,    211068 free
KiB Swap:    1048572 total,   1031976 free
Timestamp of tree: Tue, 30 Dec 2014 00:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-lang/perl:            5.18.2-r2
dev-lang/python:          3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -fno-stack-protector"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc parallel-fetch preserve-libs protect-owned sandbox sfperms strict suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/"
INSTALL_MASK="/var/cache/man /etc/crontab /etc/cron.d /etc/cron.hourly /etc/cron.daily /etc/cron.weekly /etc/cron.monthly /etc/logrotate.d"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 caps filecaps minimal ncurses openrc readline ssl syslog udev unicode vim-syntax xattr" ABI_X86="64" CURL_SSL="openssl" ELIBC="glibc" KERNEL="linux" LINGUAS="en" NGINX_MODULES_HTTP="autoindex auth_basic fastcgi gzip referer rewrite" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4" USERLAND="GNU"
USE_PYTHON="3.4"
Unset:  CPPFLAGS, CTARGET, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-dns/pdns-3.3.1 was built with the following:
USE="ldap postgres -botan -cryptopp -debug -doc -lua -mydns -mysql -odbc -opendbx -remote -remote-http -sqlite -static -test -tinydns -tools"
Comment 4 Bob's Your Uncle 2014-12-30 00:52:07 UTC
# rm /usr/portage/metadata/timestamp.chk
# emerge --sync
[...]
# emerge -uDNva @world

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-db/postgresql-9.3.5-r2:9.3  USE="perl readline ssl uuid xml -doc -kerberos -ldap -nls -pam -pg_legacytimestamp -python (-selinux) -server* -static-libs -tcl -threads -zlib" LINGUAS="en -af -cs -de -es -fa -fr -hr -hu -it -ko -nb -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python3_4 -python2_7 -python3_3" PYTHON_TARGETS="python3_4 -python2_7 -python3_3" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by virtual/postgresql-9.3
# required by net-dns/pdns-3.3.1
# required by @selected
# required by @world (argument)
=dev-db/postgresql-9.3.5-r2 -server

Would you like to add these changes to your config files? [Yes/No]
Comment 5 Mike Gilbert gentoo-dev 2014-12-30 04:12:49 UTC
This is probably a case where portage dynamic-deps fails to work since the ebuilds have been removed from the portage tree.

I would try unmerging virtual/postgresql, and re-installing anything that previously depended on it.
Comment 6 Bob's Your Uncle 2014-12-30 04:18:10 UTC
That did the trick, thank you!