Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491562 - dev-libs/librelp should depend on net-libs/gnutls - configure: error: Package requirements (gnutls >= 1.4.0) were not met
Summary: dev-libs/librelp should depend on net-libs/gnutls - configure: error: Package...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 475882
  Show dependency tree
 
Reported: 2013-11-18 09:03 UTC by Marcin Mirosław
Modified: 2013-12-13 14:38 UTC (History)
0 users

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


Attachments
build.log (build.log,7.99 KB, text/plain)
2013-11-18 09:09 UTC, Marcin Mirosław
Details
Fixed librelp-1.2.0.ebuild (file_491562.txt,811 bytes, text/plain)
2013-11-18 13:57 UTC, RedEyedMan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Mirosław 2013-11-18 09:03:53 UTC
checking for strerror_r... yes
checking whether strerror_r returns char *... no
checking return type of signal handlers... void
checking for strerror_r... (cached) yes
checking for epoll_create... yes
checking for epoll_create1... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GNUTLS... no
configure: error: Package requirements (gnutls >= 1.4.0) were not met:

No package 'gnutls' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNUTLS_CFLAGS
and GNUTLS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/librelp-1.2.0/work/librelp-1.2.0/config.log
 * ERROR: dev-libs/librelp-1.2.0::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line  93:  Called src_configure
 *        environment, line 139:  Called econf '--disable-debug'
 *   phase-helpers.sh, line 577:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/librelp-1.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/librelp-1.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/librelp-1.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/librelp-1.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/librelp-1.2.0/work/librelp-1.2.0'
 * S: '/var/tmp/portage/dev-libs/librelp-1.2.0/work/librelp-1.2.0'

Reproducible: Always




Portage 2.2.7 (hardened/linux/amd64, gcc-4.7.3, glibc-2.15-r3, 3.10.1-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.10.1-hardened-r1-x86_64-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.2
KiB Mem:     1018476 total,     75720 free
KiB Swap:    1048572 total,   1034224 free
Timestamp of tree: Mon, 18 Nov 2013 05:15:01 +0000
ld GNU gold (GNU Binutils 2.23.1) 1.11
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.2.5-r3
dev-util/ccache:          3.1.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches   -fno-unwind-tables -fno-asynchronous-unwind-tables -fpeel-loops         -ftracer"
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 -march=native -frecord-gcc-switches         -fno-unwind-tables -fno-asynchronous-unwind-tables -fpeel-loops         -ftracer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-lib
s protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="-O"
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=""
USE="acl acpi amd64 bash-completion caps cli cracklib crypt cxx dri hardened iconv ipv6 justify mmx mmxext modules mudflap multilib ncurses nls nptl openmp pax_kernel pcre readline session sse sse2 sse3 ssse3 threads unicode urandom vim-syntax xattr" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Marcin Mirosław 2013-11-18 09:09:06 UTC
Created attachment 363468 [details]
build.log
Comment 2 RedEyedMan 2013-11-18 13:57:37 UTC
Created attachment 363486 [details]
Fixed librelp-1.2.0.ebuild

Added net-libs/gnutls to RDEPEND
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-18 14:41:56 UTC
Comment on attachment 363486 [details]
Fixed librelp-1.2.0.ebuild

No need for CRLFs here.


wget -q https://bugs.gentoo.org/attachment.cgi?id=363486 -O - | dos2unix | diff -u librelp-1.2.0.ebuild -
--- librelp-1.2.0.ebuild        2013-11-14 17:22:56.401144068 +0100
+++ -   2013-11-18 15:41:16.639096371 +0100
@@ -10,18 +10,18 @@
 LICENSE="GPL-3 doc? ( FDL-1.3 )"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~hppa ~sparc x86"
-IUSE="debug doc"
+IUSE="debug doc +gnutls"
 
 DEPEND=""
-RDEPEND=""
+RDEPEND="gnutls? ( >=net-libs/gnutls-2.12.23-r1 )"
 
 src_configure() {
-       econf \
-               $(use_enable debug)
+        econf \
+                $(use_enable debug gnutls)
 }
 
 src_install() {
-       emake DESTDIR="${D}" install || die "emake install failed"
-       dodoc AUTHORS ChangeLog
-       use doc && dohtml doc/relp.html
+        emake DESTDIR="${D}" install || die "emake install failed"
+        dodoc AUTHORS ChangeLog
+        use doc && dohtml doc/relp.html
 }
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-18 14:44:00 UTC
Same for 1.1.5.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-19 03:44:02 UTC
 # scanelf -n `qlist -eo librelp`
 TYPE   NEEDED FILE 
ET_DYN libgnutls.so.26,libc.so.6 /usr/lib/librelp.so.0.0.0
Comment 6 Ultrabug gentoo-dev 2013-11-28 14:48:21 UTC
(In reply to Jeroen Roovers from comment #3)
> Comment on attachment 363486 [details]
> Fixed librelp-1.2.0.ebuild
> 
> No need for CRLFs here.
> 
> 
> wget -q https://bugs.gentoo.org/attachment.cgi?id=363486 -O - | dos2unix |
> diff -u librelp-1.2.0.ebuild -
> --- librelp-1.2.0.ebuild        2013-11-14 17:22:56.401144068 +0100
> +++ -   2013-11-18 15:41:16.639096371 +0100
> @@ -10,18 +10,18 @@
>  LICENSE="GPL-3 doc? ( FDL-1.3 )"
>  SLOT="0"
>  KEYWORDS="amd64 ~arm ~hppa ~sparc x86"
> -IUSE="debug doc"
> +IUSE="debug doc +gnutls"
>  
>  DEPEND=""
> -RDEPEND=""
> +RDEPEND="gnutls? ( >=net-libs/gnutls-2.12.23-r1 )"
>  
>  src_configure() {
> -       econf \
> -               $(use_enable debug)
> +        econf \
> +                $(use_enable debug gnutls)
>  }
>  
>  src_install() {
> -       emake DESTDIR="${D}" install || die "emake install failed"
> -       dodoc AUTHORS ChangeLog
> -       use doc && dohtml doc/relp.html
> +        emake DESTDIR="${D}" install || die "emake install failed"
> +        dodoc AUTHORS ChangeLog
> +        use doc && dohtml doc/relp.html
>  }

Sorry @jer, I guess I'm confused.

To me, librelp configure does NOT support any gnutls switch. This means that this packages lacks RDEPEND="gnutls? ( >=net-libs/gnutls-2.12.23-r1 )" only.

Am I missing something ?
Comment 7 Marcin Mirosław 2013-12-05 15:34:28 UTC
Workarround is easy so there is no big problem for users. Meseems this bug is quite trivial to fix and it hits a package marked as a stable, shouldn't it be fixed sooner than later?;)
Comment 8 Ultrabug gentoo-dev 2013-12-13 10:25:03 UTC
Hell yeah, let's do it

FYI: the configure doesn't have any gnutls flag, so it's just a simple missing dep. Thanks

+  13 Dec 2013; Ultrabug <ultrabug@gentoo.org> librelp-1.1.5.ebuild,
+  librelp-1.2.0.ebuild:
+  fix #491562 thx to Marcin Miroslaw
+
Comment 9 Marcin Mirosław 2013-12-13 14:38:21 UTC
Great, thanks!:)