Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468630 - net-fs/netatalk-2.2.1-r3 - /bin/sh: line 0: cd: .../image//usr/lib/netatalk: No such file or directory
Summary: net-fs/netatalk-2.2.1-r3 - /bin/sh: line 0: cd: .../image//usr/lib/netatalk: ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-05 04:03 UTC by gentoo
Modified: 2015-04-04 13:45 UTC (History)
2 users (show)

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


Attachments
Build log, ebuild environment (file_468630.txt,343.68 KB, text/plain)
2013-05-05 04:03 UTC, gentoo
Details
emerge build log (emerge_build_log-netatalk-2.2.1-r3.txt.xz,17.65 KB, application/x-xz)
2015-03-21 10:57 UTC, Thomas Juerges
Details
emerge environment (emerge_environment-netatalk-2.2.1-r3.txt.xz,25.73 KB, application/x-xz)
2015-03-21 10:57 UTC, Thomas Juerges
Details
emerge info (emerge_info-netatalk-2.2.1-r3.txt.xz,3.23 KB, application/x-xz)
2015-03-21 10:58 UTC, Thomas Juerges
Details
emerge -pqv output (emerge_pqv-netatalk-2.2.1-r3.txt.xz,196 bytes, application/x-xz)
2015-03-21 10:58 UTC, Thomas Juerges
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2013-05-05 04:03:30 UTC
Created attachment 347406 [details]
Build log, ebuild environment

Running 'emerge netatalk'

...

make  install-exec-hook
make[5]: Entering directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
(cd /var/tmp/portage/net-fs/netatalk-2.2.1-r3/image//usr/lib/netatalk                                   && \
        rm -f uams_clrtxt.so uams_dhx.so uams_dhx2.so                                   && \
        ln -s uams_pam.so uams_clrtxt.so                && \
        echo && ln -s uams_dhx_pam.so uams_dhx.so                                       && \
        echo && ln -s uams_dhx2_pam.so uams_dhx2.so                                     \
)
/bin/sh: line 0: cd: /var/tmp/portage/net-fs/netatalk-2.2.1-r3/image//usr/lib/netatalk: No such file or directory
make[5]: *** [install-exec-hook] Error 1
make[5]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
make[4]: *** [install-exec-am] Error 2
make[4]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc'
make: *** [install-recursive] Error 1
 * ERROR: net-fs/netatalk-2.2.1-r3 failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-fs/netatalk-2.2.1-r3'`,
 * the complete build log and the output of `emerge -pqv '=net-fs/netatalk-2.2.1-r3'`.
 * The complete build log is located at '/var/tmp/portage/net-fs/netatalk-2.2.1-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/netatalk-2.2.1-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1'
 * S: '/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1'


# uname -a
Linux archive2 3.5.7-gentoo #1 SMP Fri Jan 25 12:58:56 PST 2013 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux


# emerge -pqv '=net-fs/netatalk-2.2.1-r3'
[ebuild  N    ] net-fs/netatalk-2.2.1-r3  USE="acl cracklib pam ssl tcpd -appletalk -avahi -cups -debug -kerberos -ldap -quota -slp -static-libs"

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


# emerge --info '=net-fs/netatalk-2.2.1-r3'
Portage 2.1.11.62 (default/linux/x86/13.0, gcc-4.6.3, glibc-2.15-r3, 3.5.7-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.5.7-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.1
KiB Mem:     2002468 total,   1060456 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sun, 05 May 2013 02:00:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-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="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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.gentoo.org/gentoo-portage"
USE="acl bash-completion berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv modules mudflap ncurses nls nptl openmp pam pcre postgres readline session sqlite sqlite3 ssl tcpd threads unicode x86 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" 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="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 auth_digest" 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-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2013-05-06 09:38:03 UTC
I cannot reproduce this here.
Does this also happen with -j1 in MAKEOPTS?
Comment 2 gentoo 2013-05-06 18:27:44 UTC
(In reply to comment #1)
> I cannot reproduce this here.
> Does this also happen with -j1 in MAKEOPTS?


MAKEOPTS="-j1" emerge netatalk fails in the same way - 

...
make  install-exec-hook
make[5]: Entering directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
(cd /var/tmp/portage/net-fs/netatalk-2.2.1-r3/image//usr/lib/netatalk                                   && \
        rm -f uams_clrtxt.so uams_dhx.so uams_dhx2.so                                   && \
        ln -s uams_pam.so uams_clrtxt.so                && \
        echo && ln -s uams_dhx_pam.so uams_dhx.so                                       && \
        echo && ln -s uams_dhx2_pam.so uams_dhx2.so                                     \
)
/bin/sh: line 0: cd: /var/tmp/portage/net-fs/netatalk-2.2.1-r3/image//usr/lib/netatalk: No such file or directory
make[5]: *** [install-exec-hook] Error 1
make[5]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
make[4]: *** [install-exec-am] Error 2
make[4]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc'
make: *** [install-recursive] Error 1
 * ERROR: net-fs/netatalk-2.2.1-r3 failed (install phase):
 *   emake failed
Comment 3 gentoo 2013-05-06 18:35:55 UTC
Just to be sure, I also added MAKEOPTS="-j 1" to /etc/make.conf 

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"

USE="bash-completion threads sqlite sqlite3 postgres -ipv6"

MAKEOPTS="-j 1"

APACHE2_MODULES="$APACHE2_MODULES auth_digest"
RUBY_TARGETS="ruby18"

Didn't change the outcome at all.
Comment 4 Justin Lecher (RETIRED) gentoo-dev 2013-05-06 18:41:17 UTC
right, but you built with single threaded anyways.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-05-20 16:16:24 UTC
I cannot reproduce it
please attach 
/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams/Makefile
Comment 6 Thomas Juerges 2015-03-21 10:57:30 UTC
Created attachment 399368 [details]
emerge build log
Comment 7 Thomas Juerges 2015-03-21 10:57:49 UTC
Created attachment 399370 [details]
emerge environment
Comment 8 Thomas Juerges 2015-03-21 10:58:06 UTC
Created attachment 399372 [details]
emerge info
Comment 9 Thomas Juerges 2015-03-21 10:58:23 UTC
Created attachment 399374 [details]
emerge -pqv output
Comment 10 Thomas Juerges 2015-03-21 11:00:24 UTC
(In reply to Justin Lecher from comment #5)
> I cannot reproduce it
> please attach 
> /var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams/
> Makefile

I can confirm the issue:

+++++

make[4]: Entering directory '/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
make  install-exec-hook
make[5]: Entering directory '/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
(cd /var/tmp/portage/net-fs/netatalk-2.2.1-r3/image//usr/lib/netatalk                   && \
    rm -f uams_clrtxt.so uams_dhx.so uams_dhx2.so                   && \
    ln -s uams_pam.so uams_clrtxt.so        && \
    echo && ln -s uams_dhx_pam.so uams_dhx.so                   && \
    echo && ln -s uams_dhx2_pam.so uams_dhx2.so                     \
)
/bin/sh: line 0: cd: /var/tmp/portage/net-fs/netatalk-2.2.1-r3/image//usr/lib/netatalk: No such file or directory
Makefile:1077: recipe for target 'install-exec-hook' failed
make[5]: *** [install-exec-hook] Error 1
make[5]: Leaving directory '/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
Makefile:1009: recipe for target 'install-exec-am' failed
make[4]: *** [install-exec-am] Error 2
make[4]: Leaving directory '/var/tmp/portage/net-fs/netatalk-2.2.1-r3/work/netatalk-2.2.1/etc/uams'
Makefile:955: recipe for target 'install-am' failed

+++++

Relevant files are attached.
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2015-03-21 13:37:47 UTC
Any reason to not drop version 2*. Otherwise I will go ahead and remove it.
Comment 12 Thomas Juerges 2015-03-26 19:54:44 UTC
(In reply to Justin Lecher from comment #11)
> Any reason to not drop version 2*. Otherwise I will go ahead and remove it.

I have given up and switched to version 3 by adding ~ppc to the keyword list.  The compilation went uneventful.