Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Minecraft (ebuild to build deps from source!)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6 ... 10, 11, 12  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Tue Aug 23, 2011 5:29 pm    Post subject: Reply with quote

So remove that line. It will be at the end of /etc/make.conf. I am only telling you what it tells you after emerging layman.

Quote:
* Select an overlay and add it using
*
* layman -a overlay-name
*
* If this is the very first overlay you add with layman,
* you need to append the following statement to your
* /etc/make.conf file:
*
* source /var/lib/layman/make.conf
*
* If you modify the 'storage' parameter in the layman
* configuration file (/etc/layman/layman.cfg) you will
* need to adapt the path given above to the new storage
* directory.
*
* Please add the 'source' statement to make.conf only AFTER
* you added your first overlay. Otherwise portage will fail.


What version of OpenRC do you have?
Back to top
View user's profile Send private message
vk4akp
n00b
n00b


Joined: 25 Nov 2007
Posts: 18
Location: Ipswich / Queensland / Australia

PostPosted: Tue Aug 23, 2011 5:41 pm    Post subject: Reply with quote

Yep I did that already.

Remarked the line out.

Also thought about updating openrc.

But I have issues there too. :(

* sys-apps/openrc
Latest version available: 0.8.3-r1
Latest version installed: 0.2.5-r1
Size of files: 158 kB
Homepage: http://www.gentoo.org/proj/en/base/openrc/
Description: OpenRC manages the services, startup and shutdown of a host
License: BSD-2

[ebuild U ] sys-apps/openrc-0.8.3-r1 [0.2.5-r1] USE="(-selinux)"
[uninstall ] sys-fs/udev-120
[blocks b ] <sys-fs/udev-133 ("<sys-fs/udev-133" is blocking sys-apps/openrc-0.8.3-r1)
[blocks B ] <sys-apps/sysvinit-2.86-r11 ("<sys-apps/sysvinit-2.86-r11" is blocking sys-apps/openrc-0.8.3-r1)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

(sys-apps/sysvinit-2.86-r10::gentoo, installed) pulled in by
>=sys-apps/sysvinit-2.86-r6 required by (virtual/init-0::gentoo, installed)

(sys-apps/openrc-0.8.3-r1::gentoo, ebuild scheduled for merge) pulled in by
sys-apps/openrc


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


!!! The following installed packages are masked:
- sci-geosciences/googleearth-4.2.205.5730::gentoo (masked by: googleearth license(s))
A copy of the 'googleearth' license is located at '/usr/portage/licenses/googleearth'.

- www-plugins/adobe-flash-9.0.124.0::gentoo (masked by: AdobeFlash-9.0.31.0 license(s))
A copy of the 'AdobeFlash-9.0.31.0' license is located at 'None'.

- dev-java/sun-jdk-1.6.0.06::gentoo (masked by: dlj-1.1 license(s))
A copy of the 'dlj-1.1' license is located at '/usr/portage/licenses/dlj-1.1'.

- net-im/skype-2.0.0.68::gentoo (masked by: skype-eula license(s))
A copy of the 'skype-eula' license is located at '/usr/portage/licenses/skype-eula'.

- app-emulation/virtualbox-bin-1.5.6::gentoo (masked by: PUEL license(s))
A copy of the 'PUEL' license is located at '/usr/portage/licenses/PUEL'.

.-.-.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Tue Aug 23, 2011 6:26 pm    Post subject: Reply with quote

What the hell? Do you never update your machine? OpenRC 0.2.5 and udev 120 were removed from the tree over two and a half years ago. Resolving blockers can be fiddly. A newer version of Portage might handle it better. Try updating udev and sysvinit first.
Back to top
View user's profile Send private message
vk4akp
n00b
n00b


Joined: 25 Nov 2007
Posts: 18
Location: Ipswich / Queensland / Australia

PostPosted: Tue Aug 23, 2011 6:36 pm    Post subject: Reply with quote

Thought of that.

I tried updating udev. No go. :(

* Error: circular dependencies:

(sys-devel/gcc-4.5.3-r1::gentoo, ebuild scheduled for merge) depends on
(sys-libs/glibc-2.13-r4::gentoo, ebuild scheduled for merge) (buildtime)
(sys-devel/gcc-4.5.3-r1::gentoo, ebuild scheduled for merge) (buildtime)
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Tue Aug 23, 2011 6:44 pm    Post subject: Reply with quote

Iiieee. This is why you shouldn't leave it so long. Try emerging glibc 2.10.1-r1. That version only seems to require gcc 3.4. This will take you above glibc 2.8, which the later gcc versions are asking for.
Back to top
View user's profile Send private message
vk4akp
n00b
n00b


Joined: 25 Nov 2007
Posts: 18
Location: Ipswich / Queensland / Australia

PostPosted: Tue Aug 23, 2011 7:08 pm    Post subject: Reply with quote

emerge glibc-2.10.1-r1
!!! 'glibc-2.10.1-r1' is not a valid package atom.
!!! Please check ebuild(5) for full details.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Tue Aug 23, 2011 7:24 pm    Post subject: Reply with quote

You need to put = when installing exact versions. Also use -1 when emerging stuff that you're not directly interested in.

emerge -1 =glibc-2.10.1-r1
Back to top
View user's profile Send private message
vk4akp
n00b
n00b


Joined: 25 Nov 2007
Posts: 18
Location: Ipswich / Queensland / Australia

PostPosted: Wed Aug 24, 2011 4:27 am    Post subject: Reply with quote

OK Done all that.

Now emerge udev gives the following.

--

[ebuild U ] sys-apps/util-linux-2.19.1-r1 [2.13.1] USE="cramfs%* ncurses%* perl%* (-uclibc)"
[uninstall ] sys-fs/e2fsprogs-1.40.8
[blocks b ] <sys-fs/e2fsprogs-1.41.8 ("<sys-fs/e2fsprogs-1.41.8" is blocking sys-apps/util-linux-2.19.1-r1)
[ebuild U ] sys-fs/udev-171-r1 [120] USE="acl%* rule_generator%* -action_modeswitch% -build% -debug% -edd% -extras% -floppy% -gudev% -hwdb% -introspection% -keymap% -test%"
[uninstall ] sys-fs/lvm2-2.02.36
[blocks b ] <sys-fs/lvm2-2.02.45 ("<sys-fs/lvm2-2.02.45" is blocking sys-fs/udev-171-r1)
[blocks B ] <sys-kernel/linux-headers-2.6.34 ("<sys-kernel/linux-headers-2.6.34" is blocking sys-fs/udev-171-r1)
[blocks B ] sys-fs/device-mapper ("sys-fs/device-mapper" is blocking sys-fs/udev-171-r1)

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

(sys-fs/udev-171-r1::gentoo, ebuild scheduled for merge) pulled in by
sys-fs/udev

(sys-fs/device-mapper-1.02.25::gentoo, installed) pulled in by
sys-fs/device-mapper required by @selected

--

.-.-.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Wed Aug 24, 2011 6:39 am    Post subject: Reply with quote

Unmerge device-mapper. Update linux-headers.
Back to top
View user's profile Send private message
vk4akp
n00b
n00b


Joined: 25 Nov 2007
Posts: 18
Location: Ipswich / Queensland / Australia

PostPosted: Wed Aug 24, 2011 8:33 am    Post subject: Reply with quote

Package 'sys-kernel/linux-headers-2.6.39' NOT merged due to file
* collisions.

http://dpaste.com/601652/
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Wed Aug 24, 2011 8:40 am    Post subject: Reply with quote

Update qemu-kvm or remove it and reinstall it later. If you still have trouble, please move this into another thread, it is getting silly.
Back to top
View user's profile Send private message
vk4akp
n00b
n00b


Joined: 25 Nov 2007
Posts: 18
Location: Ipswich / Queensland / Australia

PostPosted: Wed Aug 24, 2011 9:41 am    Post subject: Reply with quote

OK Started a theread here. http://forums.gentoo.org/viewtopic-p-6794536.html#6794536

Thanks for your help.
.-.-.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Sat Aug 27, 2011 8:39 pm    Post subject: Reply with quote

The latest ebuild already adds that if you disable the ipv6 USE flag. Having said that, the game does support IPv6 and I gather that this is a common problem with all Java applications, not just Minecraft, and may actually be due to a problem with your system. I haven't enabled IPv6 before so I don't know what the exact cause of the problem is.

Also, the Minecraft servers appear to be down at the moment.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Wed Sep 14, 2011 3:17 pm    Post subject: Reply with quote

1.8 server is up. Client launcher is still unchanged. I will try to review the Bukkit situation but no promises.
Back to top
View user's profile Send private message
pizzaplane
n00b
n00b


Joined: 09 Jul 2011
Posts: 2

PostPosted: Thu Sep 15, 2011 12:11 am    Post subject: Reply with quote

I'm not sure if this is actually what's desired wrt bukkit, but I was able to just copy and s/minecraft/craftbukkit/g your ebuild, change the SRC_URI, and get a working ebuild for craftbukkit-1060. It also works fine side by side with the regular minecraft install (/var/lib/craftbukkit vs /var/lib/minecraft, etc).

Edit: the only other change is the class name:
+ --main org.bukkit.craftbukkit.Main --java_args "-Xmx1024M -Xms512M -Djava.net.preferIPv4Stack=true"
- --main net.minecraft.server.MinecraftServer --java_args "-Xmx1024M -Xms512M -Djava.net.preferIPv4Stack=true" --pkg_args "nogui"
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Thu Sep 15, 2011 9:06 am    Post subject: Reply with quote

I didn't expect it to be technically difficult, though I was considering building it from source. It was more of a legal barrier. 1.8 is the first "official" mod-supported release. Judging by what's on GitHub, it looks like the Bukkit team are still building CraftBukkit against the obfuscated and/or decompiled source, even though they have access to the real source now. I guess the only other options would have been to properly open source the official Minecraft server (permission is currently required) or to close source CraftBukkit, thus violating its own LGPL license and probably Bukkit's GPL license as well. Presumably Mojang are therefore happy with this approach and the obfuscated and/or decompiled source can now be considered legal. I still find all this quite dubious but it's probably as close to legal as it's ever going to get.

There is still the issue of closed source plugins violating the Bukkit GPL license but while it probably should have been LGPL, this is really an issue for the plugin developers, especially since I won't be packaging the plugins. It just upsets me because it undermines the GPL.

I'll wait until the 1.8 CraftBukkit release and see what they say before making a final decision.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Thu Sep 15, 2011 12:29 pm    Post subject: Reply with quote

And there's 1.8.1. :roll:
Back to top
View user's profile Send private message
hardly
n00b
n00b


Joined: 30 Jan 2010
Posts: 25

PostPosted: Sun Sep 18, 2011 7:07 am    Post subject: Reply with quote

[EDIT] Didn't read the other thread about the gent lacking a few years updates. I'll just remove my previous comment. [/EDIT]

I am so thankful for the work put into this overlay. I never thought to look for this until I started getting tired of starting the server manually in a screen session (due to recent storms in my area and brown-outs). And then suddenly, this has existed seems like for a while. I can not thank you enough. Simple thing for some but still so great.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Sun Sep 18, 2011 1:33 pm    Post subject: Reply with quote

You're very welcome.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Sun Sep 25, 2011 1:04 pm    Post subject: Reply with quote

I've started building Bukkit and CraftBukkit from source. This has required some other Java packages to be created and bumped. I won't push anything out until the 1.9 release since it seems quite close now.
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Wed Sep 28, 2011 11:30 am    Post subject: Reply with quote

So it's nearly done now, just need to iron out a couple more issues. Rather than make CraftBukkit completely separate, I have made it share the scripts with the official server because it is actually possible to run the same multiverse (as I'm now calling them) with either server. Not at the same time though, obviously. Despite what I said earlier, CraftBukkit doesn't include all the source code for the Minecraft server, just the classes it modifies, so it does need the official server JAR but not the obfuscated one you get from minecraft.net. The Bukkit team have made the unobfuscated version available for download. Now we could just use this JAR for both servers but I'd still like to give people the option of using the obfuscated version if they feel uncomfortable with the legal aspects of this. I also don't want to lock users into not being able to update the official server because CraftBukkit hasn't caught up yet. I know some people like to try out the new features as soon as they're released and CraftBukkit isn't always ready within a few hours.

So the packages we are going to have are minecraft-common (the scripts), minecraft-server, and craftbukkit, as well as bukkit (the API). Unfortunately minecraft-common has to completely block older versions of minecraft-server because some scripts have moved from one package to the other. Next time you update, you'll need to unmerge minecraft-server first. Your multiverses will be left untouched.

You won't need to worry about saving the multiverse when shutting your machine down any more. CraftBukkit already does this for you and I've added the same feature to the official server as well.
Back to top
View user's profile Send private message
The LT
n00b
n00b


Joined: 23 Feb 2006
Posts: 19
Location: Moscow, Russia

PostPosted: Tue Oct 18, 2011 2:57 am    Post subject: Reply with quote

Any news about the Craftbukkit ebuilds?? I'm eager to test them out as they are much needed!
Back to top
View user's profile Send private message
Chewi
l33t
l33t


Joined: 01 Sep 2003
Posts: 789
Location: Edinburgh, Scotland

PostPosted: Tue Oct 18, 2011 4:14 am    Post subject: Reply with quote

Despite being nearly finished, I've had to shelve it for the minute because I've been very busy, plus there isn't going to be a 1.9 release before the final release now. I will hopefully have the 1.8 ebuilds ready before then though.
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2508
Location: UK

PostPosted: Wed Oct 19, 2011 1:16 am    Post subject: Reply with quote

bleh, I hope they at least do a 1.9pre5 server. pre4 has a stupid bug that makes it use 100% CPU 100% of the time...
_________________
runit-init howto | Overlay
Back to top
View user's profile Send private message
fuxxy
n00b
n00b


Joined: 25 Dec 2004
Posts: 2

PostPosted: Tue Oct 25, 2011 4:00 am    Post subject: Reply with quote

For those looking for a way to control the server via a third party script, check this out.

After a lot of reading I've found out that tmux allows external commands to be piped into a running tmux window. All that's needed is the name of the window.

I am using this method to disable and re-enable terrain saving before and after doing an offsite backup, although any console commands may be sent.

Code:
tmux -S /tmp/tmux-minecraft-main send -t minecraft-main "save-on" C-m


-s is the tmux socket to be connected to
-t is the name of the window
"save-on" in this case, is the command to be sent. Again, any console commands are valid.




[strikethrough]Chewi, any new word on the craftbukkit ebuild? We're still sitting on 1.8.1, and the last plan of action was to wait until 1.9. [/strikethrough]
Personally, as long as the world can be imported from a 1.8.1 craftbukket to a 1.9 craftbukket, I wouldn't mine getting craftbukket running on my server early. However, bukkit's RSS feed said something about needing to generate a new 1.9 world, I can wait :p
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6 ... 10, 11, 12  Next
Page 5 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum