Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#28 closed defect (worksforme)

Gentoo Ebuilds seems to be not correct in Version 0.5.73

Reported by: sven.ritsche@… Owned by: Victor Julien
Priority: major Milestone: 0.6
Component: suite Version:
Keywords: Cc:

Description

I think in files vuurmuur_conf-0.5.73.ebuild, libvuurmuur-0.5.73.ebuild and vuurmuur-0.5.73.ebuild are 2 faults. Everytime i used these ebuilds i get the error

>>> Compiling source in /var/tmp/portage/net-libs/libvuurmuur-0.5.73 ...
/usr/portage/local/overlay/net-libs/libvuurmuur/libvuurmuur-0.5.73.ebuild: line 33: cd: work/Vuurmuur-0.5.73/libvuurmuur-0.5.73: Datei oder Verzeichnis nicht gefunden
 * 
 * ERROR: net-libs/libvuurmuur-0.5.73 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   libvuurmuur-0.5.73.ebuild, line 33:   Called die
 * 
 * (no error message)
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-libs/libvuurmuur-0.5.73/temp/build.log'.
 * 

My Solution was to replace

cd work/${MY_PKG_NAME}-${PV}/${P} || die

by

cd ${WORKDIR}/${MY_PKG_NAME}-${PV}/${P} || die

Also

cd ${P}/work/${MY_PKG_NAME}-${PV}/${P} || die "Could not change dirs"

by

cd ${WORKDIR}/${MY_PKG_NAME}-${PV}/${P} || die "Could not change dirs"

Change History (2)

comment:1 Changed 12 years ago by Victor Julien

Resolution: worksforme
Status: newclosed

Should be fixed by changeset:111

Thanks Sven!

comment:2 Changed 12 years ago by Victor Julien

Milestone: undecided0.5.74

Thanks Stefan Ubbink for testing the fix.

Note: See TracTickets for help on using tickets.