Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59148 - interchange-5.2.0.ebuild is broken
Summary: interchange-5.2.0.ebuild is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL: http://www.icdevgroup.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-08-02 07:46 UTC by Renat Lumpau (RETIRED)
Modified: 2006-10-29 18:14 UTC (History)
3 users (show)

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


Attachments
interchange-5.2.0.ebuild (interchange-5.2.0.ebuild,1.22 KB, text/plain)
2004-08-02 07:47 UTC, Renat Lumpau (RETIRED)
Details
dev-perl/Safe-Hole-0.10.ebuild (Safe-Hole-0.10.ebuild,468 bytes, text/plain)
2004-08-02 15:43 UTC, Renat Lumpau (RETIRED)
Details
dev-perl/Business-FedEx-DirectConnect-0.19.ebuild (Business-FedEx-DirectConnect-0.19.ebuild,505 bytes, text/plain)
2004-08-18 11:27 UTC, Renat Lumpau (RETIRED)
Details
dev-perl/Business-UPS-1.13.ebuild (Business-UPS-1.13.ebuild,458 bytes, text/plain)
2004-08-18 11:27 UTC, Renat Lumpau (RETIRED)
Details
dev-perl/IniConf-1.03.ebuild (IniConf-1.03.ebuild,485 bytes, text/plain)
2004-08-18 11:27 UTC, Renat Lumpau (RETIRED)
Details
dev-perl/ShadowHash-0.07.ebuild (ShadowHash-0.07.ebuild,462 bytes, text/plain)
2004-08-18 11:28 UTC, Renat Lumpau (RETIRED)
Details
interchange-5.2.0.ebuild (interchange-5.2.0.ebuild,1.27 KB, text/plain)
2004-09-18 01:39 UTC, Renat Lumpau (RETIRED)
Details
Business-FedEx-DirectConnect-0.19.ebuild (Business-FedEx-DirectConnect-0.19.ebuild,472 bytes, text/plain)
2004-09-18 01:40 UTC, Renat Lumpau (RETIRED)
Details
IniConf-1.03.ebuild (IniConf-1.03.ebuild,453 bytes, text/plain)
2004-09-18 01:40 UTC, Renat Lumpau (RETIRED)
Details
Business-UPS-1.13.ebuild (Business-UPS-1.13.ebuild,397 bytes, text/plain)
2004-09-18 01:41 UTC, Renat Lumpau (RETIRED)
Details
Safe-Hole-0.10.ebuild (Safe-Hole-0.10.ebuild,410 bytes, text/plain)
2004-09-18 01:41 UTC, Renat Lumpau (RETIRED)
Details
ShadowHash-0.07.ebuild (ShadowHash-0.07.ebuild,404 bytes, text/plain)
2004-09-18 01:42 UTC, Renat Lumpau (RETIRED)
Details
Tie-StrictHash-1.0.ebuild (Tie-StrictHash-1.0.ebuild,402 bytes, text/plain)
2004-09-18 01:42 UTC, Renat Lumpau (RETIRED)
Details
interchange-5.2.0.ebuild (interchange-5.2.0.ebuild,1.29 KB, text/plain)
2004-09-25 02:24 UTC, Renat Lumpau (RETIRED)
Details
Business-FedEx-DirectConnect-0.19.ebuild (Business-FedEx-DirectConnect-0.19.ebuild,467 bytes, text/plain)
2004-09-25 02:25 UTC, Renat Lumpau (RETIRED)
Details
SQL-Statement-1.09.ebuild (SQL-Statement-1.09.ebuild,400 bytes, text/plain)
2004-09-25 02:26 UTC, Renat Lumpau (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renat Lumpau (RETIRED) gentoo-dev 2004-08-02 07:46:02 UTC
Attached is an ebuild for Interchange, an open-source shopping cart and much more. 
Initial installation is pretty straightforward, but webapp.eclass is not currently used, as web-related files are installed per catalog.

See also http://forums.gentoo.org/viewtopic.php?t=189336

Comments/improvements encouraged.
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2004-08-02 07:47:28 UTC
Created attachment 36638 [details]
interchange-5.2.0.ebuild
Comment 2 Laura Effinger-Dean 2004-08-02 15:05:14 UTC
Getting this error:

emerge: there are no masked or unmasked ebuilds to satisfy "dev-perl/Safe-Hole".
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2004-08-02 15:43:32 UTC
Created attachment 36672 [details]
dev-perl/Safe-Hole-0.10.ebuild
Comment 4 Marco Caramma 2004-08-10 15:12:05 UTC
Getting this error:

emerge: there are no masked or unmasked ebuilds to satisfy "dev-perl/ShadowHash".
Comment 5 Marco Caramma 2004-08-11 06:48:15 UTC
same error also for 'dev-perl/IniConf' and 'dev-perl/Business-FedEx-DirectConnect'

NOTE FOR USERS: comment them in ebuild file and use CPAN shell to install
                perl modules before emerge interchange

      # perl -MCPAN -e shell
      cpan> install Tie::ShadowHash
      cpan> install IniConf
      cpan> install Business::FedEx::DirectConnect
      # ACCEPT_KEYWORDS=~x86 emerge -av interchange

                if you get an error like
                'Can't locate DBI.PM in @INC (@INC contains: ....'
                then install DBI and emerge again

      # perl -MCPAN -e shell
      cpan> install DBI
      # ACCEPT_KEYWORDS=~x86 emerge -av interchange
Comment 6 A. Person 2004-08-11 09:07:13 UTC
There is a bundle of Perl modules called Bundle::InterchangeKitchenSink that should take care of these errors.  I think it installs just about everything you need for Interchange except DBI and DBD.
Comment 7 Renat Lumpau (RETIRED) gentoo-dev 2004-08-11 12:44:40 UTC
My apologies, I forgot to attach the Perl deps. I'll do it this weekend when I get back.
Comment 8 A. Person 2004-08-14 11:10:46 UTC
I should also mention that Interchange absolutely will not work unless Perl is installed with threads disabled.
Comment 9 Renat Lumpau (RETIRED) gentoo-dev 2004-08-18 11:27:01 UTC
Created attachment 37674 [details]
dev-perl/Business-FedEx-DirectConnect-0.19.ebuild
Comment 10 Renat Lumpau (RETIRED) gentoo-dev 2004-08-18 11:27:29 UTC
Created attachment 37675 [details]
dev-perl/Business-UPS-1.13.ebuild
Comment 11 Renat Lumpau (RETIRED) gentoo-dev 2004-08-18 11:27:59 UTC
Created attachment 37676 [details]
dev-perl/IniConf-1.03.ebuild
Comment 12 Renat Lumpau (RETIRED) gentoo-dev 2004-08-18 11:28:29 UTC
Created attachment 37677 [details]
dev-perl/ShadowHash-0.07.ebuild
Comment 13 Michael Cummings (RETIRED) gentoo-dev 2004-08-19 04:32:51 UTC
Business-FedEx-DirectConnect: missing a dep for Tie-StrictHash (which also needs a skeleton ebuild)

Business-UPS: DESCRIPTION="A UPS Interface Module"

IniConf: DESCRIPTION="A Module for reading .ini-style configuration files"

Last time I'll say this (since this is the last of the set you asked me to look at): KEYWORDS ~arch for platforms you can confirm, not for every platform available ;)
Comment 14 Renat Lumpau (RETIRED) gentoo-dev 2004-08-26 04:00:28 UTC
Ok, I looked at the ebuild again, and I'm not committing it in its current state. Per our policy, ebuilds can't install in /usr/local. /usr/lib is clearly not the right place for it either, and it doesn't obey the /usr hierarchy either. 

Reassigning to webapps-request. I'll be happy to look at it again if someone fixes the locations.
Comment 15 A. Person 2004-08-26 10:29:59 UTC
Can you tell me more about what you mean?  I can take this issue to the IC mailing list and hopefully get some help with it.
Comment 16 Renat Lumpau (RETIRED) gentoo-dev 2004-08-26 10:47:09 UTC
First of all, ebuilds can't install into /usr/local, per FHS.

Secondly, try installing it into its default location, /usr/local/interchange, and examine the contents of that directory. You'll see that even if you could do --prefix=/usr, it does not conform to the /usr hierarchy. Of course, they don't use autotools, so you can't specify where you want it to install (well, you can specify the root directory, but that's not enough).

Ideally, there should be a way to specify where to place individual subdirectories, which, AFAIK, is not possible ATM.
Comment 17 A. Person 2004-08-26 22:27:27 UTC
I am told you should have a look at the RPM or Debian build of Interchange.  They don't install to /usr/local .
Comment 18 Renat Lumpau (RETIRED) gentoo-dev 2004-08-27 00:18:04 UTC
Ok, thanks for investigating. I'll take a look when I have time.
Comment 19 A. Person 2004-09-09 19:41:05 UTC
I would like to help finish this ebuild if there's anything I can do.
Comment 20 A. Person 2004-09-16 16:00:33 UTC
Is anyone willing to finish this on a paid basis?
Comment 21 Renat Lumpau (RETIRED) gentoo-dev 2004-09-18 01:39:35 UTC
Created attachment 39820 [details]
interchange-5.2.0.ebuild

now installs into /usr/local
Comment 22 Renat Lumpau (RETIRED) gentoo-dev 2004-09-18 01:40:02 UTC
Created attachment 39821 [details]
Business-FedEx-DirectConnect-0.19.ebuild
Comment 23 Renat Lumpau (RETIRED) gentoo-dev 2004-09-18 01:40:23 UTC
Created attachment 39822 [details]
IniConf-1.03.ebuild
Comment 24 Renat Lumpau (RETIRED) gentoo-dev 2004-09-18 01:41:23 UTC
Created attachment 39823 [details]
Business-UPS-1.13.ebuild
Comment 25 Renat Lumpau (RETIRED) gentoo-dev 2004-09-18 01:41:51 UTC
Created attachment 39824 [details]
Safe-Hole-0.10.ebuild
Comment 26 Renat Lumpau (RETIRED) gentoo-dev 2004-09-18 01:42:18 UTC
Created attachment 39825 [details]
ShadowHash-0.07.ebuild
Comment 27 Renat Lumpau (RETIRED) gentoo-dev 2004-09-18 01:42:45 UTC
Created attachment 39826 [details]
Tie-StrictHash-1.0.ebuild
Comment 28 Renat Lumpau (RETIRED) gentoo-dev 2004-09-25 02:24:45 UTC
Created attachment 40352 [details]
interchange-5.2.0.ebuild

Added SQL-Statement dep, minor fixes.
Comment 29 Renat Lumpau (RETIRED) gentoo-dev 2004-09-25 02:25:43 UTC
Created attachment 40353 [details]
Business-FedEx-DirectConnect-0.19.ebuild

Fixed SRC_URI (thanks to Grant)
Comment 30 Renat Lumpau (RETIRED) gentoo-dev 2004-09-25 02:26:56 UTC
Created attachment 40354 [details]
SQL-Statement-1.09.ebuild

Apparently, this is needed with USE="mysql". Would be interesting to know if
postgres needs it as well (don't see why not).
Comment 31 Michael Cummings (RETIRED) gentoo-dev 2005-02-07 04:44:07 UTC
Perl modules are all in the tree now. Just waiting on a verdict for the interchange ebuild itself.
Comment 32 A. Person 2005-04-27 07:59:42 UTC
I'd like to revive this.  Is anyone listening?

- Grant
Comment 33 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-30 06:15:25 UTC
Heya,

Apologies for the lack of response. :)  I'm going to get this ebuild working with the webapp eclass and get it into portage.

Watch this space. :)

Best,
Elfyn
Comment 34 A. Person 2005-04-30 07:24:00 UTC
Nice!  Please let me know if there is anything I can do to help.  Also, I hate to ask this, but when do you think it might be done?  I need to install Gentoo on a new server and I'm wondering if this ebuild will be done in time.

- Grant
Comment 35 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-30 08:09:54 UTC
I'm looking to have this in the portage tree late this evening, so within the next ~6 hours or so. :)  If you could help testing it out, that would be great ! :)
Comment 36 A. Person 2005-04-30 08:12:32 UTC
Oh man, that would be awesome.  I can definitely test it. :)

- Grant
Comment 37 A. Person 2005-04-30 09:14:10 UTC
There is a daemon with the Interchange package.  It would be cool if that was in /etc/init.d/ but that might be hard.  I just don't know.

- Grant
Comment 38 A. Person 2005-05-02 07:31:35 UTC
Hi, I'm just looking for any kind of an ETA for this package.  I'm actually installing my new Gentoo server right now and I'm getting very close to needing to make the decision between the Interchange ebuild posted here and a cleaned-up one of your's in portage.  Thanks for working on this!

- Grant
Comment 39 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-03 04:31:34 UTC
Sorry for the delay, been having a few webapp-config problems wrt getting this in.  Due to this, I've gone ahead and added it to the tree as-is, and will get the remaining webapp issues fixed asap.  It's now in the tree package.mask'd (as I anticipate making a lot of changes to the install that would likely break upgrades) and will come out as soon once it's been webapp'ised and I'm happy it's stable.

Will keep this bug updated as soon as I have any news.
Comment 40 A. Person 2005-05-03 07:45:53 UTC
Thanks Elfyn, this seems to be a tricky one to ebuild.  I'm really familiar with it, but not with making ebuilds.  Let me know if there's something I might be able to help with.  I'm on the Interchange mailing list:

http://www.icdevgroup.org/mailman/listinfo/interchange-users

so that could help too.

I'm emerging right now and I'll let you know how it goes.  Thanks again!

- Grant
Comment 41 A. Person 2005-05-03 07:54:03 UTC
Damn, no-go.  All of the dependencies installed smoothly but I get this from interchange at the very beginning of the emerge:

Unknown option: prefix
Unknown option: host
Unknown option: mandir
Unknown option: infodir
Unknown option: datadir
Unknown option: sysconfdir
Unknown option: localstatedir
Bad option get
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `test'.  Stop.

- Grant
Comment 42 A. Person 2005-05-09 12:25:43 UTC
I just emerged with the interchange ebuild attached here and it works great.  I propose the one in portage is replaced by the one attached here.

- Grant
Comment 43 A. Person 2005-06-05 07:38:36 UTC
Does the interchange ebuild in portage emerge successfully for anyone?  The one
attached here works great for me but the one in portage fails.  It would be nice
to get the working one in the official tree.

- Grant
Comment 44 Renat Lumpau (RETIRED) gentoo-dev 2005-07-18 05:30:26 UTC
I did not realize beu put the ebuild in the tree. It's broken in many exciting
ways, including installing things into /usr/local. 
Comment 45 Renat Lumpau (RETIRED) gentoo-dev 2005-08-01 19:12:46 UTC
package.mask'ed
Comment 46 Renat Lumpau (RETIRED) gentoo-dev 2005-12-17 16:06:52 UTC
Removed from the tree by beu a while ago
Comment 47 A. Person 2006-10-29 17:15:31 UTC
I plan on having a go at getting a real ebuild written for Interchange.  I've never written one before, so can anyone comment on what kinds of problems I might have writing this one?  We seem to be 0/2 so far and I'm curious as to what makes this particular ebuild so tough to write.
Comment 48 Renat Lumpau (RETIRED) gentoo-dev 2006-10-29 18:14:37 UTC
It's got a weird interactive build system that is documented poorly and incorrectly. You may want to ask the perl folks for advice as it uses makemaker.