Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127900 - mDNSResponder java ebuild error with patch
Summary: mDNSResponder java ebuild error with patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 12:33 UTC by Nicholas Doyle
Modified: 2006-04-08 08:50 UTC (History)
3 users (show)

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


Attachments
Patch for ebuild (mDNSResponder.patch,468 bytes, patch)
2006-03-28 12:34 UTC, Nicholas Doyle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Doyle 2006-03-28 12:33:48 UTC
There is a simple error in version 107.5 that prevents the ebuild from working with the jave USE flag.
Comment 1 Nicholas Doyle 2006-03-28 12:34:14 UTC
Created attachment 83324 [details, diff]
Patch for ebuild
Comment 2 André Terpstra 2006-03-28 23:21:03 UTC
If this is correct, when will it be added to portage?
Comment 3 Felix Schäfer 2006-03-29 22:18:21 UTC
The patch works for me.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-30 00:13:13 UTC
Sorry, fixed now.
Comment 5 André Terpstra 2006-03-30 00:44:12 UTC
(In reply to comment #4)
> Sorry, fixed now.
> 
Has a new (typo) error been introduced?

>>> Unpacking mDNSResponder-107.5.tar.gz to /var/tmp/portage/mDNSResponder-107.5/work
 * Applying mDNSResponder-107.5-Makefiles.patch ...                                                                                 [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mDNSResponder-107.5/work/mDNSResponder-107.5 ...
/usr/portage/net-misc/mDNSResponder/mDNSResponder-107.5.ebuild: line 27: local: `debug,': not a valid identifier
 * Running emake  os=linux CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-gcc -shared JDK=$(java-config -O) OPT_CFLAGS=-O3 -march=athlon64 -mtune=athlon64 -fforce-addr -momit-leaf-frame-pointer -fomit-frame-pointer -ftracer -pipe LIBFLAGS= STRIP=true
make: invalid option -- O
make: invalid option -- )
Usage: make [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -f FILE, --file=FILE, --makefile=FILE
                              Read FILE as a makefile.
  -h, --help                  Print this message and exit.
  -i, --ignore-errors         Ignore errors from commands.
  -I DIRECTORY, --include-dir=DIRECTORY
                              Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-going            Keep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
                              Don't start multiple jobs unless load is below N.
  -n, --just-print, --dry-run, --recon
                              Don't actually run any commands; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
                              Consider FILE to be very old and don't remake it.
  -p, --print-data-base       Print make's internal database.
  -q, --question              Run no commands; exit status says if up to date.
  -r, --no-builtin-rules      Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet       Don't echo commands.
  -S, --no-keep-going, --stop
                              Turns off -k.
  -t, --touch                 Touch targets instead of remaking them.
  -v, --version               Print the version number of make and exit.
  -w, --print-directory       Print the current directory.
  --no-print-directory        Turn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
                              Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>

!!! ERROR: net-misc/mDNSResponder-107.5 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  mDNSResponder-107.5.ebuild, line 38:   Called die

!!! make mDNSPosix failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Comment 6 Neil Stone 2006-04-05 03:51:27 UTC
I had to set MAKEOPTS to -j1 AND set a USE flag of "-java" for this to compile...

Might help someone...
Comment 7 Norberto Bensa 2006-04-08 08:27:51 UTC
This isn't fixed in Portage as of today. Comment #6 did actually fixed my problem.
Comment 8 Nicholas Doyle 2006-04-08 08:50:30 UTC
The issue with needing MAKEOPTS -j1 is a seperate bug (126414) and is unrelated to this one, this was a bug in ebuild syntax.