Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321881 - new ebuild: dev-libs/stringencoders
Summary: new ebuild: dev-libs/stringencoders
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://code.google.com/p/stringencoders/
Whiteboard: sunrise-removal
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2010-05-28 18:15 UTC by DaggyStyle
Modified: 2021-02-06 11:03 UTC (History)
3 users (show)

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


Attachments
the ebuild (stringencoders-3.10.3.ebuild,858 bytes, text/plain)
2010-05-28 18:15 UTC, DaggyStyle
Details
Build.log (Build.log,14.35 KB, text/plain)
2011-07-04 22:38 UTC, Piotr Szymaniak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DaggyStyle 2010-05-28 18:15:11 UTC
nice quick string handling for c++ written in c.

Reproducible: Always
Comment 1 DaggyStyle 2010-05-28 18:15:43 UTC
Created attachment 233311 [details]
the ebuild
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-05-28 21:54:17 UTC
Hello, The Gentoo Team would like to firstly thank you for your ebuild 
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The 
sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to 
commit to and all users can have ebuilds reviewed by Gentoo devs for entry 
into the overlay. So, the sunrise team is suggesting that you look into this 
and submit your ebuild to the overlay where even *you* can commit to. =)

Thanks,
On behalf of the Gentoo Sunrise Team,
Justin.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq

Comment 3 Piotr Szymaniak 2011-07-04 22:38:43 UTC
Created attachment 279107 [details]
Build.log

kript ~ # emerge --info =dev-cpp/stringencoders-3.10.3
Portage 2.2.0_alpha43 (default/linux/amd64/10.0, gcc-4.6.0, glibc-2.13-r2, 2.6.39.2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39.2-x86_64-AMD_Sempron-tm-_Processor_3000+-with-gentoo-2.0.3
Timestamp of tree: Sun, 03 Jul 2011 19:45:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.2, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2, 4.6.0
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo xarthisius sunrise roslin
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -mno-sse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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=nocona -mno-sse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.ift.uni.wroc.pl/"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/xarthisius /var/lib/layman/sunrise /var/lib/layman/roslin"
SYNC="rsync://rsync1.pl.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx modules mudflap multilib ncurses nptl nptlonly openmp pam pcre perl pppd python readline session sse sse2 ssl sysfs tcpd unicode 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 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="braindump flow karbon kexi kpresenter krita tables words" 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" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic 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, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



kript ~ # emerge -pqv =dev-cpp/stringencoders-3.10.3
[ebuild  N    ] dev-cpp/stringencoders-3.10.3
Comment 4 DaggyStyle 2011-07-05 17:00:56 UTC
disable the -Werror or remove that unused variable from the code.
Comment 5 Piotr Szymaniak 2011-07-05 22:07:40 UTC
(In reply to comment #4)
> disable the -Werror or remove that unused variable from the code.

  05 Jul 2011; Piotr Szymaniak <szarpaj@grubelek.pl>
  stringencoders-3.10.3.ebuild, +files/stringencoders-3.10.3-werror.patch:
  EAPI bump, changed inherit, added patch for -Werror.

Should be fixed in sunrise after it hits the reviewed tree.
Comment 6 DaggyStyle 2011-07-06 16:18:40 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > disable the -Werror or remove that unused variable from the code.
> 
>   05 Jul 2011; Piotr Szymaniak <szarpaj@grubelek.pl>
>   stringencoders-3.10.3.ebuild, +files/stringencoders-3.10.3-werror.patch:
>   EAPI bump, changed inherit, added patch for -Werror.
> 
> Should be fixed in sunrise after it hits the reviewed tree.

disabling that flag isn't recommendable, I'd recommend removing the var in question.
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2011-07-06 16:21:45 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > disable the -Werror or remove that unused variable from the code.
> > 
> >   05 Jul 2011; Piotr Szymaniak <szarpaj@grubelek.pl>
> >   stringencoders-3.10.3.ebuild, +files/stringencoders-3.10.3-werror.patch:
> >   EAPI bump, changed inherit, added patch for -Werror.
> > 
> > Should be fixed in sunrise after it hits the reviewed tree.
> 
> disabling that flag isn't recommendable, I'd recommend removing the var in
> question.


Nothing should be putting -Werror into CFLAGS ever.  You have no idea what future compiler warnings are going to cause it to fail to build because of a new compiler version.
Comment 8 DaggyStyle 2011-07-07 01:48:40 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > (In reply to comment #4)
> > > > disable the -Werror or remove that unused variable from the code.
> > > 
> > >   05 Jul 2011; Piotr Szymaniak <szarpaj@grubelek.pl>
> > >   stringencoders-3.10.3.ebuild, +files/stringencoders-3.10.3-werror.patch:
> > >   EAPI bump, changed inherit, added patch for -Werror.
> > > 
> > > Should be fixed in sunrise after it hits the reviewed tree.
> > 
> > disabling that flag isn't recommendable, I'd recommend removing the var in
> > question.
> 
> 
> Nothing should be putting -Werror into CFLAGS ever.  You have no idea what
> future compiler warnings are going to cause it to fail to build because of a
> new compiler version.

thing is, from 4.5.x to 4.6 there isn't much of difference.
also, declaring a unused var is a bad coding practice IMHO.
Comment 9 Piotr Szymaniak 2011-07-07 08:32:55 UTC
(In reply to comment #8)
> thing is, from 4.5.x to 4.6 there isn't much of difference.
> also, declaring a unused var is a bad coding practice IMHO.

You can always propose a better fix, maybe also notice upstream about it. But -Werror should be removed anyway, as Mark noticed.
Comment 10 DaggyStyle 2011-07-07 15:53:14 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > thing is, from 4.5.x to 4.6 there isn't much of difference.
> > also, declaring a unused var is a bad coding practice IMHO.
> 
> You can always propose a better fix, maybe also notice upstream about it. But
> -Werror should be removed anyway, as Mark noticed.

if it comes from upstream then it their's decision, but I wouldn't bet on upstream as I've found a scenario in which the algo gives wrong answers and I've tried to contact the dev but he didn't responded.
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-06-08 16:47:58 UTC
Hello, everyone.

It seems that at least one ebuild related to this bug exists in the Sunrise overlay at the moment. However, I have to regretfully announce that after a long inactivity period the Sunrise project has been discontinued and the related overlay will be eventually removed. For this reason, I'd like to ask you to reevaluate the ebuilds and consider moving them. If you'd like to maintain a package from Sunrise in Gentoo, please take a look at our Proxy Maintainers [1] project.

Please make sure to take ebuilds from the unreviewed developer Sunrise repository [2] rather than the -reviewed one, since the latter has not been updated for over a year. While at it, please note that:

1. Adding a package to Gentoo requires declaring yourself as an active maintainer for it. All bugs regarding the package will be assigned to you, and you will be expected to maintain it.

2. Some packages may not be suitable for addition anymore. While there's no strong rules that would prevent you from adding a package, it may be a bad idea to add old-unmaintained packages that will shortly result in a large number of bugs reported with no solution. If that is the case, please close the bug as RESOLVED/OBSOLETE to make it easier to find packages worth adding.

3. Some of the bugs were already closed as WONTFIX/OBSOLETE/... while the relevant ebuild was kept in Sunrise. If you disagree with the original decision, you still can add the ebuild via proxy-maint.

4. Pleaes note that many of the Sunrise ebuilds are old and may be buggy. If you decide to move them, please make sure to update/clean them up. The proxy-maint team will also review your ebuilds, therefore making sure they land in Gentoo in good quality.

Once again, thank you for your contribution. We hope that you will still want to contribute to Gentoo, through proxy-maint or otherwise.


[1]:https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2]:https://gitweb.gentoo.org/proj/sunrise.git/