Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494470 - net-misc/netifrc-0.1 - mk/os.mk:9: mk/os-linux-gnu.mk: No such file or directory
Summary: net-misc/netifrc-0.1 - mk/os.mk:9: mk/os-linux-gnu.mk: No such file or directory
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: netifrc (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: netifrc Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-16 20:52 UTC by Clemens Schüller
Modified: 2013-12-18 01:19 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 Clemens Schüller 2013-12-16 20:52:16 UTC
[root@bauhof-mz: ~]# LC_ALL=C emerge -av netifrc

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

Calculating dependencies... done!
[ebuild  N     ] net-misc/netifrc-0.1  0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-misc/netifrc-0.1
 * netifrc-0.1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking netifrc-0.1.tar.bz2 to /var/tmp/portage/net-misc/netifrc-0.1/work
>>> Source unpacked in /var/tmp/portage/net-misc/netifrc-0.1/work
>>> Preparing source in /var/tmp/portage/net-misc/netifrc-0.1/work/netifrc-0.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/netifrc-0.1/work/netifrc-0.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-misc/netifrc-0.1/work/netifrc-0.1 ...
make -j12 LIBEXECDIR=/lib/netifrc all 
mk/os.mk:9: mk/os-linux-gnu.mk: No such file or directory
make: *** No rule to make target `mk/os-linux-gnu.mk'.  Stop.
 * ERROR: net-misc/netifrc-0.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/netifrc-0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/netifrc-0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/netifrc-0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/netifrc-0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/netifrc-0.1/work/netifrc-0.1'
 * S: '/var/tmp/portage/net-misc/netifrc-0.1/work/netifrc-0.1'

>>> Failed to emerge net-misc/netifrc-0.1, Log file:

>>>  '/var/tmp/portage/net-misc/netifrc-0.1/temp/build.log'

 * Messages for package net-misc/netifrc-0.1:

 * ERROR: net-misc/netifrc-0.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/netifrc-0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/netifrc-0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/netifrc-0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/netifrc-0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/netifrc-0.1/work/netifrc-0.1'
 * S: '/var/tmp/portage/net-misc/netifrc-0.1/work/netifrc-0.1'


-----------------------

emerge --info

[root@bauhof-mz: ~]# emerge --info
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.16.0, 3.11.4-pf x86_64)
=================================================================
System uname: Linux-3.11.4-pf-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.2
KiB Mem:     4047796 total,   3101120 free
KiB Swap:    5242876 total,   5242876 free
Timestamp of tree: Mon, 16 Dec 2013 20:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [enabled]
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-r3
dev-util/cmake:           2.8.11.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.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            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.16.0
Repositories: gentoo bauhof-mz-home-aneadesign-com
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -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=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer 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://gentoo.lagis.at/ http://gentoo.mirror.dkm.cz/pub/gentoo/"
LANG="de_AT.UTF-8"
LC_ALL="de_AT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12"
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="/usr/portage/local/overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="X accessibility acl alsa amd64 arts berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd dvdr dvdread fortran gdbm gif gnome gtk gtk2 gtk3 hal iconv imagemagick ipv6 jpeg jpeg2 kde mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg openmp pam pcre png python qt qt4 readline session sse sse2 ssl tcpd unicode usb xrandr 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Reproducible: Always




openrc depends on netifrc - so a world upgrade isn't possible
Comment 1 William Hubbs gentoo-dev 2013-12-17 16:29:54 UTC
(In reply to Clemens Schüller from comment #0)
> >>> Compiling source in /var/tmp/portage/net-misc/netifrc-0.1/work/netifrc-0.1 ...
> make -j12 LIBEXECDIR=/lib/netifrc all 
> mk/os.mk:9: mk/os-linux-gnu.mk: No such file or directory

It looks like something on your system is overriding the OS setting in the Makefile. The Makefile sets it to the output of "uname -s", which is Linux. On your system, though, it is getting set to os-linux-gnu.

Is something setting OS= in the environment?
Comment 2 Clemens Schüller 2013-12-17 16:45:02 UTC
[root@bauhof-mz: ~]# echo $OS
linux-gnu

unset OS, emerge -av netifrc - the compile process successed.


Thanks