public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] KDE ebuilds error
@ 2002-03-15 12:31 Thilo Bangert
  2002-03-15 15:36 ` Dan Armak
  0 siblings, 1 reply; 3+ messages in thread
From: Thilo Bangert @ 2002-03-15 12:31 UTC (permalink / raw
  To: gentoo-dev

Hi,

i have a couple KDE ebuilds that i get a weird error on:
this is the error i get on kio_fish

/bin/install -c -p .libs/kio_fish.lai 
/var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/lib/kde2/kio_fish.la
libtool: install: warning: remember to run `libtool --finish 
/usr/kde/2/lib/kde2'
/bin/sh ../admin/mkinstalldirs
/bin/install -c -p -m 644 ./fish.protocol  
/var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services
/bin/install: cannot create regular file 
`/var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services': 
No such file or directory
make[2]: *** [install-data-local] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory 
`/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
make: *** [install-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_install, Line -15, Exitcode 2
!!! died running make install, kde_src_install:make

i get a similar error when trying kisdndial. as you can see, they 
compile fine, but fail on the install. 

you can find the ebuilds at:
http://www.fizzelpark.com/portage/?dirpath=net-misc/kio_fish/
http://www.fizzelpark.com/portage/?dirpath=net-dialup/kisdndial/

thanks!

-- 
regards
Thilo



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] KDE ebuilds error
  2002-03-15 12:31 [gentoo-dev] KDE ebuilds error Thilo Bangert
@ 2002-03-15 15:36 ` Dan Armak
  2002-03-17 20:50   ` Thilo Bangert
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Armak @ 2002-03-15 15:36 UTC (permalink / raw
  To: gentoo-dev

On Friday 15 March 2002 14:31, Thilo Bangert wrote:
> Hi,
>
> i have a couple KDE ebuilds that i get a weird error on:
> this is the error i get on kio_fish
>
> /bin/install -c -p .libs/kio_fish.lai
> /var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/lib/kde2/kio_fish.la
> libtool: install: warning: remember to run `libtool --finish
> /usr/kde/2/lib/kde2'
> /bin/sh ../admin/mkinstalldirs
> /bin/install -c -p -m 644 ./fish.protocol
> /var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services
> /bin/install: cannot create regular file
> `/var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services':
> No such file or directory
> make[2]: *** [install-data-local] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
> make[1]: *** [install-am] Error 2
> make[1]: Leaving directory
> `/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
> make: *** [install-recursive] Error 1
>
> !!! ERROR: The ebuild did not complete successfully.
> !!! Function kde_src_install, Line -15, Exitcode 2
> !!! died running make install, kde_src_install:make
>
> i get a similar error when trying kisdndial. as you can see, they
> compile fine, but fail on the install.
>
> you can find the ebuilds at:
> http://www.fizzelpark.com/portage/?dirpath=net-misc/kio_fish/
> http://www.fizzelpark.com/portage/?dirpath=net-dialup/kisdndial/
>

The ebuilds look ok. Apparently the makefiles are slightly broken and don't 
mkdir ${DESTDIR}/shares/services (in the above error) before installing into 
that dir. If that's the problem, do something like:

src_install() {

	mkdir -p ${D}/share/services
	kde_src_install

}

Note that I haven't tested it, just looked at the error.

-- 
Dan Armak
Gentoo Linux Developer, Desktop Team (KDE)
Matan, Israel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] KDE ebuilds error
  2002-03-15 15:36 ` Dan Armak
@ 2002-03-17 20:50   ` Thilo Bangert
  0 siblings, 0 replies; 3+ messages in thread
From: Thilo Bangert @ 2002-03-17 20:50 UTC (permalink / raw
  To: gentoo-dev

On Friday, 15. March 2002 16:36, you wrote:
> On Friday 15 March 2002 14:31, Thilo Bangert wrote:
> > Hi,
> >
> > i have a couple KDE ebuilds that i get a weird error on:
> > this is the error i get on kio_fish
> >
> > /bin/install -c -p .libs/kio_fish.lai
> > /var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/lib/kde2/kio_fi
> >sh.la libtool: install: warning: remember to run `libtool --finish
> > /usr/kde/2/lib/kde2'
> > /bin/sh ../admin/mkinstalldirs
> > /bin/install -c -p -m 644 ./fish.protocol
> > /var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services
> > /bin/install: cannot create regular file
> > `/var/tmp/portage/kio_fish-1.0.1-r1/image//usr/kde/2/share/services
> >': No such file or directory
> > make[2]: *** [install-data-local] Error 1
> > make[2]: Leaving directory
> > `/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
> > make[1]: *** [install-am] Error 2
> > make[1]: Leaving directory
> > `/var/tmp/portage/kio_fish-1.0.1-r1/work/kio_fish-1.0.1/fish'
> > make: *** [install-recursive] Error 1
> >
> > !!! ERROR: The ebuild did not complete successfully.
> > !!! Function kde_src_install, Line -15, Exitcode 2
> > !!! died running make install, kde_src_install:make
> >
> > i get a similar error when trying kisdndial. as you can see, they
> > compile fine, but fail on the install.
> >
> > you can find the ebuilds at:
> > http://www.fizzelpark.com/portage/?dirpath=net-misc/kio_fish/
> > http://www.fizzelpark.com/portage/?dirpath=net-dialup/kisdndial/
>
> The ebuilds look ok. Apparently the makefiles are slightly broken and
> don't mkdir ${DESTDIR}/shares/services (in the above error) before
> installing into that dir. If that's the problem, do something like:
>
> src_install() {
>
> 	mkdir -p ${D}/share/services
> 	kde_src_install
>
> }
>
> Note that I haven't tested it, just looked at the error.

hhm, that doesn'T work. but i see some mystical new error messages:

>>> Install kio_fish-1.0.1-r1 into 
/var/tmp/portage/kio_fish-1.0.1-r1/image/ category net-misc
/usr/sbin/ebuild.sh:         mkdir: command not found
/usr/sbin/ebuild.sh:         kde_src_install: command not found
strip:
>>> Completed installing into /var/tmp/portage/kio_fish-1.0.1-r1/image/

this looks like a nobrainer, but i don't know how to fix it :-(
where can i learn more about eclasses ?

the ebuild is still at:
http://www.fizzelpark.com/portage/?dirpath=net-misc/kio_fish/

-- 
regards
Thilo


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-17 21:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-15 12:31 [gentoo-dev] KDE ebuilds error Thilo Bangert
2002-03-15 15:36 ` Dan Armak
2002-03-17 20:50   ` Thilo Bangert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox