Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505544 - net-nds/smbldap-tools-0.9.10 - pod2man: unable to format smbldap-config.cmd
Summary: net-nds/smbldap-tools-0.9.10 - pod2man: unable to format smbldap-config.cmd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL: http://gna.org/support/?3013
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-03-24 13:21 UTC by Joerg Neikes
Modified: 2017-09-08 19:43 UTC (History)
5 users (show)

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


Attachments
smbldap-config.pl.patch (smbldap-config.pl.patch,423 bytes, patch)
2014-03-24 13:25 UTC, Joerg Neikes
Details | Diff
smbldap-tools-0.9.10.ebuild.patch (smbldap-tools-0.9.10.ebuild.patch,650 bytes, patch)
2014-03-24 13:26 UTC, Joerg Neikes
Details | Diff
smbldap-tools-0.9.10-20140324-140124.log (smbldap-tools-0.9.10-20140324-140124.log,4.96 KB, text/plain)
2014-03-24 14:06 UTC, Joerg Neikes
Details
minor edit to smbldap-config.pl.patch (smbldap-config.pl.patch,465 bytes, patch)
2014-06-20 10:34 UTC, stathis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Neikes 2014-03-24 13:21:56 UTC
emerge --info
Portage 2.2.8-r1 (default/linux/x86/13.0, gcc-4.8.2, glibc-2.18-r1, 3.12.6-gentoo i686)
=================================================================
System uname: Linux-3.12.6-gentoo-i686-Intel-R-_Core-TM-_i5-2500_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:    16497096 total,   4231148 free
KiB Swap:    7996220 total,   7992564 free
Timestamp of tree: Mon, 24 Mar 2014 08:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.5.4-r5, 2.6.9, 2.7.6, 3.1.5-r1, 3.2.5-r3, 3.3.4
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3, 4.7.3, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo sunrise dev-zero xpol nx xenocastle
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
USE="X aac acl aff alsa apache apache2 bcmath berkdb branding bzip2 bzlib cairo calendar cli config-file cracklib crypt ctype cups curl curlwrappers custom-optimization cxx dba dbase dbx dio dns dri dvb dvd emacs encode ewf exif flatfile fontconfig fortran ftp gdbm gif gmp gnome-keyring gtk http-forms http-server iconv idn imap ipv6 jack java jpeg l7filter ldap lirc mad maildir mhash midi mime mmx mng modules mp3 mssql mysql ncurses nls nptl nptlonly nsplugin nss oci8-instant-client ogg opengl openmp openssl pam pcre pdf pdflib php pic png posix postgres qt qt3support qt4 quicktime readline realtime samba secure-delete semantic-desktop session sharedext simplexml smp soap sockets spell sse sse2 ssl ssse3 sysvipc tcpd tidy tiff timidity truetype unicode usb vhost vorbis wifi wma x86 xinerama xml xml2 xmlrpc xpm xsl xulrunner zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" 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" DVB_CARDS="sp887x ttpci" 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 ublox ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de dk fi jp it nl fr" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="jython2_6 jython2_7 python2_6 python2_7 python3_2 python3_3" QEMU_SOFTMMU_TARGETS="arm cris i386 m32 m68k microblaze microblazeel mips mips64 mips64el mipsel ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 x86_64 xtensa xtensaeb" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze microblazeel mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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.6 2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joerg Neikes 2014-03-24 13:22:14 UTC
Building doc/smb.smbldap.conf.example from doc/smb.smbldap.conf.tmpl ...
pod2man: unable to format smbldap-config.cmd
Makefile:65: recipe for target 'smbldap-config.8' failed
make: *** [smbldap-config.8] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: net-nds/smbldap-tools-0.9.10::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-nds/smbldap-tools-0.9.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-nds/smbldap-tools-0.9.10::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-nds:smbldap-tools-0.9.10:20140324-131003.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-nds/smbldap-tools-0.9.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-nds/smbldap-tools-0.9.10/temp/environment'.
 * Working directory: '/var/tmp/portage/net-nds/smbldap-tools-0.9.10/work/smbldap-tools-0.9.10'
 * S: '/var/tmp/portage/net-nds/smbldap-tools-0.9.10/work/smbldap-tools-0.9.10'

>>> Failed to emerge net-nds/smbldap-tools-0.9.10, Log file:

>>>  '/var/log/portage/net-nds:smbldap-tools-0.9.10:20140324-131003.log'
Comment 2 Joerg Neikes 2014-03-24 13:25:39 UTC
Created attachment 373420 [details, diff]
smbldap-config.pl.patch

Bug see http://gna.org/support/?3013

vi /usr/portage/net-nds/smbldap-tools/smbldap-tools-0.9.10.ebuild

inherit eutils autotools

post_src_prepare() {
epatch_user
}
Comment 3 Joerg Neikes 2014-03-24 13:26:28 UTC
Created attachment 373422 [details, diff]
smbldap-tools-0.9.10.ebuild.patch

smbldap-tools-0.9.10.ebuild.patch
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-24 13:57:39 UTC
Please attach the entire build log to this bug report.
Comment 5 Joerg Neikes 2014-03-24 14:06:20 UTC
Created attachment 373426 [details]
smbldap-tools-0.9.10-20140324-140124.log
Comment 6 Martin v. Böhlen 2014-05-06 14:57:08 UTC
Same trouble here after emerge --newuse --deep --update world
I have applied the patch. It does not change anything.

osiris smbldap-tools # emerge --info
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.2.10 (default/linux/amd64/13.0, [unavailable], glibc-2.19, 3.8.4-gentoo-lvm2 x86_64)
=================================================================
System uname: Linux-3.8.4-gentoo-lvm2-x86_64-Intel-R-_Xeon-R-_CPU_E5603_@_1.60GHz-with-gentoo-2.2
KiB Mem:    12301844 total,   1754148 free
KiB Swap:   36701180 total,  36569112 free
Timestamp of tree: Wed, 30 Apr 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.3.5, 3.4.0
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
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.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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=""
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri gdbm gnutls iconv lvm2 mmx modules multilib mysql ncurses nptl nptlonly openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" 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 ublox 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_3" RUBY_TARGETS="ruby19 ruby20" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

osiris smbldap-tools #
Comment 7 stathis 2014-06-20 10:31:02 UTC
Thanks to Joerg for his patch.

I managed to compile this. I first placed the patch in:

/etc/portage/patches/net-nds/smbldap-tools-0.9.10/smbldap-tools-0.9.10.ebuild.patch

I also had to do a minor edit to the patch, adding the work directory to the filenames at the header of the patch, or it wouldn't find them.

I'll attach the patch as I have it right now.

thank you. I hope this is merged into portage, as it is a major annoyance.
Comment 8 stathis 2014-06-20 10:34:24 UTC
Created attachment 379302 [details, diff]
minor edit to  smbldap-config.pl.patch
Comment 9 stathis 2014-06-20 10:35:58 UTC
Sorry I mistyped. The patch must be in:

/etc/portage/patches/net-nds/smbldap-tools-0.9.10/smbldap-config.pl.patch

[it really doesn't matter what it is called, as long as it is in that directory]



(In reply to stathis from comment #7)
> Thanks to Joerg for his patch.
> 
> I managed to compile this. I first placed the patch in:
> 
> /etc/portage/patches/net-nds/smbldap-tools-0.9.10/smbldap-tools-0.9.10.
> ebuild.patch
> 
> I also had to do a minor edit to the patch, adding the work directory to the
> filenames at the header of the patch, or it wouldn't find them.
> 
> I'll attach the patch as I have it right now.
> 
> thank you. I hope this is merged into portage, as it is a major annoyance.
Comment 10 uldis@rom.lv 2015-01-05 12:48:33 UTC
Bug still is present, patching works. Please merge patch in portage.
Comment 11 Sebastian Pipping gentoo-dev 2015-08-03 17:37:54 UTC
+*smbldap-tools-0.9.10-r1 (03 Aug 2015)
+
+  03 Aug 2015; Sebastian Pipping <sping@gentoo.org>
+  +smbldap-tools-0.9.10-r1.ebuild,
+  +files/smbldap-tools-0.9.10-smbldap-config-pod.patch:
+  Apply patch from upstream bug #3013 to fix compilation (bug #505544)
+
Comment 12 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-09-08 19:43:55 UTC
-r1 works

Maybe consider nuking the old version 0.9.10 , seeing -r1 has been in tree now for over a year.