emerge fails with: make[4]: Entering directory `/var/tmp/portage/sys-devel/dev86-0.16.18/work/dev86-0.16.18/libc/bcc' ncc -Mn -O -D__LIBC__ -c -o __ldivmod.o __ldivmod.c 00002 00000000> .txxt ***** illegal label..................................^ 00003 00000000> .eeen ***** illegal label..................................^ Reproducible: Always Steps to Reproduce: 1. CFLAGS="-O1" CPPFLAGS="" MAKEOPTS=" -j1" emerge dev86 Actual Results: * Messages for package sys-devel/dev86-0.16.18: * ERROR: sys-devel/dev86-0.16.18 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2342: Called die * The specific snippet of code: * emake -j1 DIST="${D}" || die; Expected Results: builds
Created attachment 262037 [details] /var/tmp/portage/sys-devel/dev86-0.16.18/temp/build.log
Created attachment 262039 [details, diff] dev86-0.16.18-memmove.patch see http://www.mail-archive.com/debian-bugs-rc@lists.debian.org/msg237231.html Bug#591133: linux86: diff for NMU version 0.16.17-3.1 gregor herrmann Thu, 11 Nov 2010 13:39:27 -0800 tags 591133 + pending thanks Dear maintainer, I've prepared an NMU for linux86 (versioned as 0.16.17-3.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `- NP: Lightnin' Hopkins: Cryin' Shame diff -u linux86-0.16.17/debian/changelog linux86-0.16.17/debian/changelog --- linux86-0.16.17/debian/changelog +++ linux86-0.16.17/debian/changelog @@ -1,3 +1,11 @@ +linux86 (0.16.17-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: ncc: illegal label": apply patch by dai that replaces strcpy + by memmove (closes: #591133). + + -- gregor herrmann <gre...@debian.org> Thu, 11 Nov 2010 22:29:38 +0100 + linux86 (0.16.17-3) unstable; urgency=low * Added man pages for ar86, objdump86, size86 and nm86 with patch only in patch2: unchanged: --- linux86-0.16.17.orig/copt/copt.c +++ linux86-0.16.17/copt/copt.c @@ -174,7 +174,7 @@ /* Delete leading white spaces */ for (cp = buf; *cp && isspace(*cp); cp++) ; if (cp != buf && *cp) - strcpy(buf, cp); + memmove(buf, cp, strlen(cp) + 1); return(buf); }
Created attachment 262041 [details] dev86-0.16.18.ebuild with dev86-0.16.18-memmove.patch
(In reply to comment #0) > emerge fails with: > > make[4]: Entering directory > `/var/tmp/portage/sys-devel/dev86-0.16.18/work/dev86-0.16.18/libc/bcc' > ncc -Mn -O -D__LIBC__ -c -o __ldivmod.o __ldivmod.c > 00002 00000000> .txxt > ***** illegal label..................................^ > 00003 00000000> .eeen > ***** illegal label..................................^ > > > Reproducible: Always > > Steps to Reproduce: > 1. CFLAGS="-O1" CPPFLAGS="" MAKEOPTS=" -j1" emerge dev86 > Actual Results: > * Messages for package sys-devel/dev86-0.16.18: > > * ERROR: sys-devel/dev86-0.16.18 failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 56: Called src_compile > * environment, line 2342: Called die > * The specific snippet of code: > * emake -j1 DIST="${D}" || die; > > Expected Results: > builds > (In reply to comment #3) > Created an attachment (id=262041) [details] > dev86-0.16.18.ebuild with dev86-0.16.18-memmove.patch > xentower ~ # emerge --info Portage 2.1.9.39 (default/linux/amd64/10.0, gcc-4.3.5, glibc-2.12.2-r0, 2.6.37-gentoo x86_64) ================================================================= System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 10 Feb 2011 09:30:01 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.1_p9 dev-lang/python: 2.6.6-r1, 2.7.1, 3.1.3 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.3-r1 sys-apps/baselayout: 2.0.1-r1 sys-apps/openrc: 0.7.0 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.3.5, 4.4.5, 4.5.2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O1" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CPPFLAGS="" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="" LINGUAS="de dk fi jp it tr nl fr" MAKEOPTS=" -j1" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acm alsa amd64 apache apache2 api bcmath berkdb bzip2 bzlib calendar cli cracklib crypt ctype cups curl curlwrappers cxx dba dbase dbx dio dri dvd emacs encode exif extras fam flask flatfile fortran ftp gd gdbm gmp gnutls gpm hvm iconv idn imap ioemu ipv6 jpeg kvm ldap mad maildir mhash mime mmx mng modules mudflap multilib mysql ncurses nls nptl nptlonly opengl openmp openssl pam pcre pdf pdflib perl php pic png posix pppd pulseaudio pygrub python readline samba screen sdl session sharedext simplexml soap sockets spell sse sse2 ssl sysfs sysvipc tcpd tidy tiff truetype unicode usb vhost vnc xen xml xml2 xmlrpc xorg xpm xsl xsm 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de dk fi jp it tr nl fr" PHP_TARGETS="php5-3 php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa vga" 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: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 262045 [details] dev86-0.16.18.ebuild with dev86-0.16.18-memmove.patch dev86-0.16.18-remove-bin86-conflicts.patch
Created attachment 262047 [details, diff] bin86 and dev86 use same files http://doppio.lunar-linux.org/lunar/patches/dev86-0.16.18-remove-bin86-conflicts.patch.bz2
Created attachment 262049 [details] Use this! dev86-0.16.18.ebuild with dev86-0.16.18-memmove.patch dev86-0.16.18-remove-bin86-conflicts.patch
First, please always post your "emerge --info" when you report bugs to our bug-tracker. Second, do not mark bugs as RESOLVED FIXED. That's up to the package maintainers who keep bugs open until fixes were committed to the portage-tree. Third, please attach unified diffs (diff -u) when you did changes to an ebuild. That would be much more handy for our devs. Thanks.
(In reply to comment #8) > First, please always post your "emerge --info" when you report bugs to our > bug-tracker. > > Second, do not mark bugs as RESOLVED FIXED. That's up to the package > maintainers who keep bugs open until fixes were committed to the portage-tree. > > Third, please attach unified diffs (diff -u) when you did changes to an ebuild. > That would be much more handy for our devs. > > Thanks. > Ok, for the next time i will use this procedure. Thanks.
Created attachment 262055 [details, diff] dev86-0.16.18.ebuild.patch with dev86-0.16.18-memmove.patch dev86-0.16.18-remove-bin86-conflicts.patch
thanks, i've included this fix in 0.16.19