Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 96298
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 33119
Assigned To: Gentoo Linux bug wranglers <bug-wranglers@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Sebastian Guarino <sguarin@fi.uba.ar>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
star-1.5_alpha46-gentoo.patch foo patch to be included in app-arch/star/files patch Sebastian Guarino 2005-06-16 12:43 0000 533 bytes Details | Diff
star-1.5_alpha46-r1.ebuild new ebuild that use the patch text/plain Sebastian Guarino 2005-06-16 12:44 0000 1.77 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 96298 depends on: Show dependency tree
Bug 96298 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-06-16 11:23 0000
When emerging kdevelop it detects gnutar and use it.
A bug in gnutar cause this aplication from being correctly merged. Any other
port with configure script that detects/use gnutar may fail.


Reproducible: Always
Steps to Reproduce:
In actual or recent portage (with app-arch/star-1.5_alpha46 instaled).
1. emerge -v kdevelop

Actual Results:  
Making all in common
make[4]: Entering directory
`/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2/parts/appwizard/common'
gnutar -cf admin.tar -C . admin
gnutar -cf gnu.tar -C ./gnu AUTHORS  COPYING \
        ChangeLog  INSTALL  NEWS  README  TODO
gnutar: No such file or directory. Cannot stat 'ChangeLog'.
gnutar: No such file or directory. Cannot stat 'INSTALL'.
gnutar: No such file or directory. Cannot stat 'NEWS'.
gnutar: No such file or directory. Cannot stat 'README'.
gnutar: No such file or directory. Cannot stat 'TODO'.
gnutar: 3 blocks + 0 bytes (total of 30720 bytes = 30.00k).
gnutar: The following problems occurred during archive processing:
gnutar: Cannot: stat 5, open 0, read/write 0. Size changed 0.
gnutar: Missing links 0, Name too long 0, File too big 0, Not dumped 0.
gnutar: Processed all possible files, despite earlier errors.
make[4]: *** [gnu.tar.gz] Error 254
make[4]: *** Waiting for unfinished jobs....
gnutar: 87 blocks + 0 bytes (total of 890880 bytes = 870.00k).
gzip admin.tar
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2/parts/appwizard/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2/parts/appwizard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2/parts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.1.2 failed.
!!! Function kde_src_compile, Line 166, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Being merged.

A bug in gnutar in app-arch/star-1.5_alpha46 cause the command fail:
gnutar -cf gnu.tar -C ./gnu AUTHORS  COPYING ChangeLog  INSTALL  NEWS  README  TODO

If you replace gnutar by tar or  emerge -v '<app-arch/star-1.5_alpha46' the
problem is corrected.

If you strace the first command you can see that the gnutar chdir for the first
file but not from the second, COPYING is incorrect being archived, and Changelog
fails because is not on ../

chdir("/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2/parts/appwizard/common")
= 0
chdir("./gnu")                          = 0
lstat64("AUTHORS", {st_mode=S_IFREG|0644, st_size=21, ...}) = 0
chdir("/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2/parts/appwizard/common")
= 0
lstat64("COPYING", {st_mode=S_IFREG|0644, st_size=18009, ...}) = 0
chdir("/var/tmp/portage/kdevelop-3.1.2/work/kdevelop-3.1.2/parts/appwizard/common")
= 0
lstat64("ChangeLog", 0xbffff040)        = -1 ENOENT (No such file or directory)



-----

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  7 2005, 19:26:46)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.9.5, 1.8.5-r3, 1.7.9-r1, 1.4_p6, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/gentoo/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/gentoo/pentium4/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d aalib acpi alsa apache2 apm arts audiofile avi berkdb
bitmap-fonts cdr crypt cscope cups curl dga directfb doc dvd dvdr emboss encode
esd ethereal fam fbcon flac foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gtk
gtk2 imagemagick imap imlib ipv6 java jpeg kde kerberos ldap libg++ libwww lirc
mad mikmod mmxmotif mozilla mp3 mpeg mysql nas ncurses nls ogg oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang
snmp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts usb vorbis wavelan wifi xine xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

------- Comment #1 From Sebastian Guarino 2005-06-16 11:31:08 0000 -------
downgrading to previous version of star, the gnutar is not included and so
doesn't being detected/used, so tar is.

emerge -v '<app-arch/star-1.5_alpha46'


------- Comment #2 From Jakub Moc (RETIRED) 2005-06-16 11:34:57 0000 -------
Actually it should be finally fixed now (Bug 33119), I guess the best action
would be to 

- emerge sync
- unmerge star
- re-emerge tar
- re-emerge star
- try to emerge kdevelop again. 

if you want to give it another try. If it still breaks, please post to Bug 33119.

------- Comment #3 From Sebastian Guarino 2005-06-16 11:58:27 0000 -------
It doesn't fix the problem. /usr/bin/gnutar is installed by star, and some
configure scripts look for it before tar. And the use of -C is not the same.
I think app-arch/star-1.5_alpha46 should be or patched against gnutar being
included.
Today in sync I saw star-1.5_alpha50.ebuild, I will try it.

------- Comment #4 From Sebastian Guarino 2005-06-16 12:19:21 0000 -------
same with star-1.5_alpha50.ebuild.

/usr/bin/gnutar is "star" complied whith options to make it gnu compliant. Full
compliant have not been achived (-C flag) that's why I think gnutar should be
removed.
If not, lot of ports have to be patched against using it.

------- Comment #5 From Sebastian Guarino 2005-06-16 12:43:43 0000 -------
Created an attachment (id=61347) [details]
foo patch to be included in app-arch/star/files

exludes gnutar from being compiled and included.

------- Comment #6 From Sebastian Guarino 2005-06-16 12:44:55 0000 -------
Created an attachment (id=61348) [details]
new ebuild that use the patch

------- Comment #7 From Jakub Moc (RETIRED) 2005-06-16 14:35:32 0000 -------
Sigh, I should probably reopen the original bug... 

------- Comment #8 From Jakub Moc (RETIRED) 2005-06-16 14:36:53 0000 -------
Marking this as dupe and reopening Bug 33119.

*** This bug has been marked as a duplicate of 33119 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug