Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423453 - sys-libs/e2fsprogs-libs-1.42 - invalid /usr/bin/mk_cmds SED
Summary: sys-libs/e2fsprogs-libs-1.42 - invalid /usr/bin/mk_cmds SED
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 428172 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-25 09:15 UTC by Alon Bar-Lev
Modified: 2022-05-17 19:09 UTC (History)
2 users (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 Alon Bar-Lev 2012-06-25 09:15:38 UTC
Notice the SS_DIR and SED, I guess the SS_DIR is valid in this context although odd, the problem is with SED.
---
datarootdir=/usr/share
DIR="${DIR-/usr/share/ss}"
SS_DIR="/var/tmp/portage/sys-libs/e2fsprogs-libs-1.42/work/e2fsprogs-libs-1.42/lib/ss"
AWK=gawk
SED=/var/tmp/portage/._portage_reinstall_.hNi5BU/bin/ebuild-helpers/sed
---

I guess this results from portage upgrade and e2fsprogs-libs merge at same cycle.

After merging again the e2fsprogs-libs, I get:
---
datarootdir=/usr/share
DIR="${DIR-/usr/share/ss}"
SS_DIR="/var/tmp/portage/sys-libs/e2fsprogs-libs-1.42/work/e2fsprogs-libs-1.42/lib/ss"
AWK=gawk
SED=/usr/lib64/portage/bin/ebuild-helpers/sed
---

I am not sure if the problem is in portage or in the ebuild, however, I am quite sure that the SED should not be a potage wrapper in any case, it should point to /bin/sed.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-26 15:53:18 UTC
Please post your `emerge --info' output in a comment.
Comment 2 Alon Bar-Lev 2012-06-26 16:49:57 UTC
Portage 2.2.0_alpha112 (hardened/linux/amd64/no-multilib, gcc-4.5.3, glibc-2.14.1-r3, 3.3.3-hardened x86_64)
=================================================================
System uname: Linux-3.3.3-hardened-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Mon, 25 Jun 2012 00:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo alonbl-local alon-barlev correlsense-local
Installed sets: @alonbl-all
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FSF-APPROVED @FSF-APPROVED-OTHER freedist Artistic"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe"
DISTDIR="/var/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com"
LANG="he_IL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en he"
MAKEOPTS="-j3"
PKGDIR="/var/gentoo/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="/var/gentoo/portage"
PORTDIR_OVERLAY="/usr/local/portage/local /usr/local/portage/alon-barlev-overlay /usr/local/portage/correlsense-gentoo-overlay"
SYNC=""
USE="X acl alsa amd64 bidi bluetooth bzip2 caps cli cracklib crypt cups dri egl fam gpm hardened iconv joystick jpeg jpeg2k justify kde kerberos logrotate lzma mmx modules mp3 mpeg mudflap ncurses nls nocxx nptl ogg opengl openmp pam pax_kernel pcre plasma png pppd qt4 readline samba session sse sse2 sse3 ssl svg tcpd tiff unicode urandom vim-syntax vorbis xinerama xorg xv 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 authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_user dav dav_fs dav_lock autoindex dir env expires mime rewrite cgi proxy proxy_ajp" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="oki3200" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en he" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Zac Medico gentoo-dev 2012-06-27 07:29:12 UTC
(In reply to comment #0)
> I am not sure if the problem is in portage or in the ebuild, however, I am
> quite sure that the SED should not be a potage wrapper in any case, it
> should point to /bin/sed.

The wrapper is only supposed to be there when USERLAND != gnu, and otherwise the sys-apps/portage ebuild is supposed to prevent it from being installed with the following code:

	if use userland_GNU; then
		rm -f "${S}"/bin/ebuild-helpers/sed || \
			die "Failed to remove sed wrapper"
	fi
Comment 4 Zac Medico gentoo-dev 2012-06-27 07:32:46 UTC
Does /var/db/pkg/sys-apps/portage-*/USE contain userland_GNU? If not, maybe there's something wrong with your profile. Normally, it comes from profiles/base/use.force.
Comment 5 Alon Bar-Lev 2012-06-27 07:45:45 UTC
---
# cat /var/db/pkg/sys-apps/portage-*/USE
amd64 elibc_glibc ipc kernel_linux python3 userland_GNU xattr
# equery belongs /usr/lib64/portage/bin/ebuild-helpers/sed 
 * Searching for /usr/lib64/portage/bin/ebuild-helpers/sed ... 
---

So I will simply delete this file... strange why it was kept.

Anyhow, even if not GNU user land, if autoconf detects SED and this goes into scripts, I don't think it is healthy.
Comment 6 Zac Medico gentoo-dev 2012-06-27 07:57:24 UTC
(In reply to comment #5)
> Anyhow, even if not GNU user land, if autoconf detects SED and this goes
> into scripts, I don't think it is healthy.

IIRC, this wrapper was initially introduced by flameeyes when he did the FreeBSD port. We haven't had any complaints from them since then, and I'd rather not change it unless the FreeBSD team requests it.
Comment 7 SpanKY gentoo-dev 2012-07-26 18:50:05 UTC
*** Bug 428172 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2022-05-17 19:09:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3bff233fdc124d709576f67772371abe36a986

commit 1b3bff233fdc124d709576f67772371abe36a986
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-05-17 18:58:46 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-05-17 19:07:36 +0000

    sys-libs/e2fsprogs-libs: treeclean
    
    Closes: https://bugs.gentoo.org/806875
    Closes: https://bugs.gentoo.org/834106
    Closes: https://bugs.gentoo.org/423453
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 sys-libs/e2fsprogs-libs/Manifest                   |  1 -
 .../e2fsprogs-libs/e2fsprogs-libs-1.46.4-r1.ebuild | 91 ----------------------
 .../e2fsprogs-libs-1.42.13-fix-build-cflags.patch  | 13 ----
 sys-libs/e2fsprogs-libs/metadata.xml               | 13 ----
 4 files changed, 118 deletions(-)