First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 237150
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Zeev Tarantov <zeev.tarantov@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log build log text/plain Zeev Tarantov 2008-09-09 09:58 0000 34.86 KB Details
nmap-4.75-without-lua-patch.diff Invalid patch for configure.ac and configure script patch Simon Zilliken 2008-09-09 12:51 0000 280.53 KB Details | Diff
nmap-4.75-cxxflags-patch.diff Add CXXFLAGS to makefile.dep rule patch Simon Zilliken 2008-09-09 14:47 0000 364 bytes Details | Diff
nmap-4.75.ebuild ebuild that applies cxxflags-patch text/plain Simon Zilliken 2008-09-09 15:15 0000 1.78 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 237150 depends on: Show dependency tree
Show dependency graph
Bug 237150 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-09-09 09:57 0000
Configuration complete.  Type make (or gmake on some *BSD machines) to compile.
Makefile:262: makefile.dep: No such file or directory
i686-pc-linux-gnu-g++ -MM -Ilibdnet-stripped/include -march=core2 -mtune=core2
-O2 -pipe -fomit-frame-pointer -Inbase -Insock/include main.cc nmap.cc
targets.cc tcpip.cc nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc
output.cc scan_engine.cc timing.cc charpool.cc services.cc protocols.cc
nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc Target.cc
FingerPrintResults.cc service_scan.cc NmapOutputTable.cc MACLookup.cc
nmap_tty.cc nmap_dns.cc traceroute.cc portreasons.cc   > makefile.dep
In file included from portlist.h:107,
                 from output.h:124,
                 from NmapOps.h:104,
                 from main.cc:105:
nse_main.h:5:19: error: lua.h: No such file or directory
nse_main.h:6:22: error: lualib.h: No such file or directory
nse_main.h:7:23: error: lauxlib.h: No such file or directory
In file included from portlist.h:107,
                 from output.h:124,
                 from NmapOps.h:104,
                 from nmap.cc:108:
nse_main.h:5:19: error: lua.h: No such file or directory
nse_main.h:6:22: error: lualib.h: No such file or directory
nse_main.h:7:23: error: lauxlib.h: No such file or directory

etcetera

Reproducible: Always

Steps to Reproduce:
1. try to emerge [ebuild     U ] net-analyzer/nmap-4.75 [4.68] USE="gtk ssl
-lua" 0 kB


Actual Results:  
attached build log

Expected Results:  
successful build

Portage 2.2_rc8 (default/linux/x86/2008.0/desktop, gcc-4.3.1,
glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname:
Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-glibc2.0
Timestamp of tree: Tue, 09 Sep 2008 09:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18.50.0.8
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CPPFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict
unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--enable-new-dtags"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 archive bash-completion bidi bluetooth
bzip2 cairo captury cddb cdparanoia cdr cli cracklib crypt ctype curl
curlwrappers custom-optimization dbus dga dri dvd dvdr dvdread encode exif fam
fastcgi fbcon ffmpeg fftw firefox flac gd gdbm geoip gif glib glitz gmp gnutls
gpm gtk hal iconv ieee1394 innodb inotify isdnlog java jpeg kde kdeenablefinal
kdehiddenvisibility kdexdeltas libnotify libsamplerate lm_sensors mad matroska
midi mikmod mime mmap mmx mp3 mpeg mplayer mudflap musepack mysql mysqli
ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl openmp pam pch
pcntl pcre pdf perl php pic png posix postgres ppds pppd python qt3 qt3support
qt4 readline real realmedia reflection samba scanner sdl session sndfile spell
spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification svg sysfs syslog
sysvipc tcpd theora threads tidy tiff truetype unicode urandom usb vhosts
vorbis wifi win32codecs wmf x264 x86 xcb xcomposite xml xmlreader xmlwriter
xorg xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug
rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic
auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm
authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache
dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter
file_cache filter headers ident imagemap include info log_config logio
mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer
proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir
usertrack vhost_alias asis" APACHE2_MPMS="worker" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses text"
LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa nouveau"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Zeev Tarantov 2008-09-09 09:58:29 0000 -------
Created an attachment (id=164996) [edit]
build log

------- Comment #2 From Carsten Lohrke 2008-09-09 10:45:56 0000 -------
*** Bug 237153 has been marked as a duplicate of this bug. ***

------- Comment #3 From Simon Zilliken 2008-09-09 12:51:39 0000 -------
Created an attachment (id=165006) [edit]
Patch for configure.ac and configure script

Changelog says --without-lua was fixed in this version, but it isn't. Line 504
in configure.ac says 'case "$with-liblua" in', but should be 'case "$liblua"
in'. This patch fixes that and the resulting configure script .. no idea why it
has become so huge, though :-)

------- Comment #4 From Zeev Tarantov 2008-09-09 14:10:55 0000 -------
-# Generated by GNU Autoconf 2.61.
+# Generated by GNU Autoconf 2.62.

I think this explains why the patch is 280KB. Could you try using the same
version of autoconf? Also, isn't configure a generated file? So shouldn't the
configure.in be changed instead?

------- Comment #5 From Simon Zilliken 2008-09-09 14:19:12 0000 -------
(From update of attachment 165006 [edit])
Sorry, that patch doesn't make any sense.

------- Comment #6 From Simon Zilliken 2008-09-09 14:47:08 0000 -------
Created an attachment (id=165013) [edit]
Add CXXFLAGS to makefile.dep rule

There you go, no idea where my head was before. The -DNOLUA flag is set in
CXXFLAGS, not in CPPFLAGS.

------- Comment #7 From Simon Zilliken 2008-09-09 15:15:49 0000 -------
Created an attachment (id=165022) [edit]
ebuild that applies cxxflags-patch

------- Comment #8 From Zeev Tarantov 2008-09-10 08:04:57 0000 -------
The patch appears to work. thanks!
When will this be in portage?

------- Comment #9 From Doug Goldstein 2008-09-10 18:38:53 0000 -------
Done. If anyone from the netmon herd has a prob. Come talk to me.

First Last Prev Next    No search results available      Search page      Enter new bug