Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421293 - sci-libs/shogun-1.1.0 USE=examples - !!! newins: -r does not exist (should be doins, not newins)
Summary: sci-libs/shogun-1.1.0 USE=examples - !!! newins: -r does not exist (should be...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-15 22:29 UTC by Eric F. GARIOUD
Modified: 2012-06-25 20:59 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 Eric F. GARIOUD 2012-06-15 22:29:35 UTC
Building shogun with the examples use flag set leads to the following error :

 * ERROR: sci-libs/shogun-1.1.0 failed (install phase):
 *   !!! newins: -r does not exist

It appears that newins does not honor the recursive option, at least the one installed on my system (from sys-apps/portage-2.1.10.49) does not :

if [ ! -e "$1" ] ; then
        helpers_die "!!! ${0##*/}: $1 does not exist"
        exit 1
fi


Reproducible: Always
Comment 1 Eric F. GARIOUD 2012-06-16 13:01:05 UTC
It can also be noticed that /sci-libs/superlu/superlu-4.0-r2.ebuild was using "newins -r" too but /sci-libs/superlu/superlu-4.1-r1.ebuild changed in favour of "doins -r"
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-19 11:48:44 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 3 Eric F. GARIOUD 2012-06-19 20:08:13 UTC
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.6-ck.3 x86_64)
=================================================================
System uname: Linux-3.2.6-ck.3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.1
Timestamp of tree: Tue, 19 Jun 2012 03:45:02 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2
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.9.6-r3, 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 PrimaPratica_ovl
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--color y --alphabetical --autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/ "
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/PrimaPratica/MySysConf/portage.exclude"
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/portages/G_Portage"
PORTDIR_OVERLAY="/var/portages/PP_Portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X accessibility alsa amd64 amr atm bzip2 caps cdda cdio cli cracklib crypt css cups custom-cflags custom-cpuopts custom-optimization cxx dbus dga dri dts dvd enca exceptions exif flac fortran glib handbook hardcoded-tables iconv icu id3tag idn inotify introspection ipc jack jit kipi kontact libnotify libsamplerate mmx mmxext modplug modules mudflap multilib ncurses nptl ocamlopt openal opencl openmp optimized-qmake orc pam pch pcre pgo plasma policykit ppp pppd private-headers pth qt-faststart qt3support readline schroedinger semantic-desktop session shared-dricore shared-glapi smp sse sse2 sse3 sse4_1 ssl ssse3 startup-notification system-sqlite taglib tcpd threads twolame udev unicode uuid vaapi vdpau vim-syntax vpx wallpapers wavpack xattr xcb xorg xvmc zlib" ALSA_CARDS="hda-intel ice1712" ALSA_PCM_PLUGINS="asym dmix dsnoop ioplug plug rate hooks route" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" ELIBC="glibc" FFTOOLS="cws2fws" 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" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-21 14:20:50 UTC
(In reply to comment #2)
> 2) Please attach the entire build log to this bug report.

3) Please do (2) and stop changing around the Summary.
Comment 5 W. Trevor King 2012-06-22 17:38:08 UTC
(In reply to comment #1)
> It can also be noticed that /sci-libs/superlu/superlu-4.0-r2.ebuild was
> using "newins -r" too but /sci-libs/superlu/superlu-4.1-r1.ebuild changed in
> favour of "doins -r"

From ebuild(5):

  newins <old file> <new filename>
  …
  All these functions act like the do* functions, but  they only work with one file…

So I don't think `newins -r …` is legal.

I couldn't find any bugs with that string in any summary or comment (other than this bug), so I think people have just been silently changing their ebuilds without writing bugs or making sufficiently detailed ChangeLog entries.
Comment 6 Eric F. GARIOUD 2012-06-22 21:58:20 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > 2) Please attach the entire build log to this bug report.
> 
> 3) Please do (2) and stop changing around the Summary.

1/ I honestly and sincerely thank you, Jeroen, for the work you achieve in Gentoo's bugzilla.

2/ I honestly and sincerely apologize for my poor English and my lack of knowledge in the procedures / policies governing the labeling of summaries.

HOWEVER :

A/ Would you please note that, since I reported this bug, YOU do not stop changing around the summary. And I am afraid that, as YOU wish it to be, it becomes just meaningless to me. I Just NO LONGER UNDERSTAND what I am supposed to have written ! Isn't this just STUPID ?

It is the very first time, the very first bug I report here for which the summary is arbitrarily changed. I am left... surprised !

B/ Would you please realize that :

B.1 : Everything needed to understand the bug is explained as part of the description I gave.

B.2 : Everything needed to correct this bug is suggested in my comment 1.
(At least, it works for me)
As a consequence of this, I do not really see the need to add totally useless additional information to this bug.

I'll submit a patch when I get time, this will, I think, be more profitable.

Regards.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-25 18:15:25 UTC
The build log is of interest for various reasons. Please attach it and then reopen this bug report.
Comment 8 Sébastien Fabbro (RETIRED) gentoo-dev 2012-06-25 19:41:52 UTC
+  25 Jun 2012; Sébastien Fabbro <bicatali@gentoo.org> shogun-1.1.0.ebuild:
+  newins is not recursive, bug #421293, thanks Eric Garioud
+
Comment 9 Eric F. GARIOUD 2012-06-25 20:59:41 UTC
Merci Sébastien !