Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253510 - net-dns/mydns-1.1.0-r2 - ../../libtool: line 323: s,^.*/,,g: No such file or directory
Summary: net-dns/mydns-1.1.0-r2 - ../../libtool: line 323: s,^.*/,,g: No such file or ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 06:16 UTC by Max Nokhrin
Modified: 2010-11-05 13:14 UTC (History)
0 users

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 Max Nokhrin 2009-01-03 06:16:26 UTC
I recently tried to build the newly added mydns-1.1.0-r2, but got not too far over a permission denied excpetion:

Error message:
<snip>

rm -f libmydnsutil.a
ar cru libmydnsutil.a alloca.o cidr.o conf.o error.o getopt.o getopt1.o getoptstr.o inet_pton.o inet_ntop.o ip.o passinput.o string.o strsep.o$
x86_64-pc-linux-gnu-ranlib libmydnsutil.a
make[2]: Leaving directory `/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/work/mydns-1.1.0/lib'
Making all in src
make[2]: Entering directory `/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/work/mydns-1.1.0/src'
Making all in lib
make[3]: Entering directory `/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/work/mydns-1.1.0/src/lib'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql    -march=k8 -O2 -pipe -fomit-frame-pointer $
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql    -march=k8 -O2 -pipe -fomit-frame-pointer $
mv -f .deps/ip.Tpo .deps/ip.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql    -march=k8 -O2 -pipe -fomit-frame-pointer $
mv -f .deps/question.Tpo .deps/question.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql    -march=k8 -O2 -pipe -fomit-frame-pointer $
mv -f .deps/soa.Tpo .deps/soa.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql    -march=k8 -O2 -pipe -fomit-frame-pointer $
mv -f .deps/rr.Tpo .deps/rr.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql    -march=k8 -O2 -pipe -fomit-frame-pointer $
mv -f .deps/sql.Tpo .deps/sql.Po
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -I/usr/include/mysql    -march=k8 -O2 -pipe -fomit-frame-pointer $
mv -f .deps/str.Tpo .deps/str.Po
mv -f .deps/unencode.Tpo .deps/unencode.Po
rm -f libmydns.a
ar cru libmydns.a ip.o question.o rr.o soa.o sql.o str.o unencode.o
x86_64-pc-linux-gnu-ranlib libmydns.a
make[3]: Leaving directory `/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/work/mydns-1.1.0/src/lib'
Making all in mydns
make[3]: Entering directory `/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/work/mydns-1.1.0/src/mydns'
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/alias.Tpo .deps/alias.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/axfr.Tpo .deps/axfr.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/cache.Tpo .deps/cache.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/conf.Tpo .deps/conf.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/data.Tpo .deps/data.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/db.Tpo .deps/db.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/encode.Tpo .deps/encode.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/error.Tpo .deps/error.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/listen.Tpo .deps/listen.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/main.Tpo .deps/main.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/queue.Tpo .deps/queue.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/recursive.Tpo .deps/recursive.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/resolve.Tpo .deps/resolve.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/reply.Tpo .deps/reply.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/rr.Tpo .deps/rr.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/status.Tpo .deps/status.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/sort.Tpo .deps/sort.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/tcp.Tpo .deps/tcp.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/task.Tpo .deps/task.Po
x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -I. -I../.. -I../../lib -I../../src/lib -I../../intl -I/usr/include/mysql     -march$
mv -f .deps/udp.Tpo .deps/udp.Po
mv -f .deps/update.Tpo .deps/update.Po
/bin/sh ../../libtool   --mode=link x86_64-pc-linux-gnu-gcc  -march=k8 -O2 -pipe -fomit-frame-pointer -finline-functions -ffast-math -funsigne$
../../libtool: line 323: s,^.*/,,g: No such file or directory
../../libtool: line 743: -e: command not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
../../libtool: line 1990: -e: command not found
../../libtool: line 2155: -e: command not found
../../libtool: line 2155: -e: command not found
../../libtool: line 2155: -e: command not found
../../libtool: line 2155: -e: command not found
../../libtool: line 2155: -e: command not found
../../libtool: line 2155: -e: command not found
../../libtool: line 2118: -e: command not found
../../libtool: line 2133: -e: command not found
../../libtool: line 2155: -e: command not found
../../libtool: line 1869: -e: command not found
../../libtool: line 1869: -e: command not found
../../libtool: line 1869: -e: command not found
../../libtool: line 1869: -e: command not found
../../libtool: line 2324: -e: command not found
../../libtool: line 2329: -e: command not found
../../libtool: line 2336: -e: command not found
mkdir /.libs
^[[31;01mACCESS DENIED^[[0m  mkdir:     /.libs
mkdir: cannot create directory `/.libs': Permission denied
make[3]: *** [mydns] Error 1
make[3]: Leaving directory `/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/work/mydns-1.1.0/src/mydns'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/work/mydns-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/work/mydns-1.1.0'
make: *** [all] Error 2
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m ERROR: net-dns/mydns-1.1.0-r2 failed.
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m               ebuild.sh, line   49:  Called src_compile
 ^[[31;01m*^[[0m             environment, line 2597:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       emake || die
 ^[[31;01m*^[[0m  The die message:
 ^[[31;01m*^[[0m   (no error message)
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
 ^[[31;01m*^[[0m A complete build log is located at '/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/temp/environment'.
 ^[[31;01m*^[[0m
^[[31;01m--------------------------- ACCESS VIOLATION SUMMARY ---------------------------^[[0m
^[[31;01mLOG FILE = "/var/log/sandbox/sandbox-31330.log"^[[0m

mkdir:     /.libs
^[[31;01m--------------------------------------------------------------------------------^[[0m
^G^G^G


It seems it's trying to create the /.libs dir inside /mnt/backup/portagetmp/portage/net-dns/mydns-1.1.0-r2/work/mydns-1.1.0/src/mydns. I was running this as root :) The sandbox file just lists one line: mk /.libs 

Reproducible: Always




Here's my portage info:

Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Opteron-tm-_Processor_244-with-glibc2.2.5
Timestamp of tree: Mon, 29 Dec 2008 02:45:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/mnt/backup/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.datapipe.net/gentoo http://mirrors.cs.wmich.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/mnt/backup/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/backup/portagetmp"
PORTDIR="/mnt/backup/portage"
PORTDIR_OVERLAY="/mnt/backup/portage/local/layman/java-overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl php pppd python readline reflection session sockets spl sqlite sse sse2 ssl sysfs tcpd threads unicode vhosts xorg zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 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="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-01-04 16:35:09 UTC
The first problem here is that this package ships with
libtool.m4 from libtool 1.5.24 and while eautoreconf
does overwrite ltmain.sh, it won't overwrite this macro
(at least not for 1.5 series).

As such, ltmain from 1.5.26 is created with older macro and gets broken.
Comment 2 Max Nokhrin 2009-07-08 05:48:39 UTC
It seems mydns has been discontinued and a new maintainer has created mydns-ng: http://www.mydns-ng.com/

Perhaps to go around this bug, it would be easier to just remove mydns and add a mydns-ng build? I've never done ebuild development, but I can look at the mydns ebuild and post one here shortly, perhaps a developer can take a look at it and add it to the tree?
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2010-11-05 13:14:30 UTC
mydns-1.2.8.27 in cvs. please reopen this bug if you still have the issue.