Bug 168795 - cannot build net/mtr without x11 support
Summary: cannot build net/mtr without x11 support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-07 12:20 UTC by Sayetsky Anton
Modified: 2012-07-04 11:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sayetsky Anton 2012-06-07 12:20:13 UTC
There is no ability to build net/mtr withous x11 support after creating options-ng framework. "Build X11-enabled mtr" option is ignored.

root@jw:/usr/ports/net/mtr# cat /var/db/ports/mtr/options
# This file is auto-generated by 'make config'.
# Options for mtr-0.82_1
_OPTIONS_READ=mtr-0.82_1
_FILE_COMPLETE_OPTIONS_LIST=IPV6 X11
OPTIONS_FILE_SET+=IPV6
OPTIONS_FILE_UNSET+=X11

root@jw:/usr/ports/net/mtr# make
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for mtr-0.82_1
===>  Extracting for mtr-0.82_1
=> SHA256 Checksum OK for mtr-0.82.tar.gz.
===>  Patching for mtr-0.82_1
===>   mtr-0.82_1 depends on executable: gmake - found
===>   mtr-0.82_1 depends on file: /usr/local/bin/intltool-extract - found
===>   mtr-0.82_1 depends on executable: pkg-config - found
===>   mtr-0.82_1 depends on shared library: atk-1.0.0 - not found
===>    Verifying install for atk-1.0.0 in /usr/ports/accessibility/atk
===>  License check disabled, port has not defined LICENSE
=> atk-2.0.1.tar.xz doesn't seem to exist in /usr/ports/distfiles/gnome2.
=> Attempting to fetch ftp://ftp.belnet.be/mirror/ftp.gnome.org/sources/atk/2.0/atk-2.0.1.tar.xz
^Cfetch: transfer interrupted

Fix: 

Unfortunately, i don't know how to fix it
How-To-Repeat: Just update ports to version that has options-ng, make config for mtr and uncheck X11 option
Comment 1 vsjcfm 2012-06-07 14:00:57 UTC
Yes, I know that there are separate mtr-nox11 port, but I was able to
build exactly mtr without x11.

ps Can somebody correct my "originator address" to vscjfm(at)gmail.com?
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2012-06-07 16:21:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sunpoet

Over to maintainer.
Comment 3 Bryan Drewery 2012-06-07 16:56:25 UTC
I've filed ports/168808 with a patch to convert net/mtr to the new
options framework. This effectively fixes the issue here.
Comment 4 vsjcfm 2012-06-07 17:17:23 UTC
> I've filed ports/168808 with a patch to convert net/mtr to the new options framework. This effectively fixes the issue here.
I'll try your patch tomorrow.
Comment 5 vsjcfm 2012-06-08 07:35:54 UTC
Patch from ports/168808 works as expected, thank you.
I think that it must be commited to ports tree.
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2012-06-23 14:35:38 UTC
State Changed
From-To: open->feedback

Since net/mtr and net/mtr-nox11 are still using the old options 
framework, your options file are not recognized by these ports. Please 
confirm if the patch [1] for new options framework works for you both in 
net/mtr and net/mtr-nox11. 

[1] http://people.freebsd.org/~sunpoet/mtr.patch
Comment 7 vsjcfm 2012-06-24 06:54:47 UTC
root@jw:/usr/ports/net/mtr# make
=3D=3D=3D> =A0License check disabled, port has not defined LICENSE
=3D=3D=3D> =A0Found saved configuration for mtr-0.82_1
=3D> mtr-0.82.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=3D> Attempting to fetch ftp://ftp.bitwizard.nl/mtr/mtr-0.82.tar.gz
mtr-0.82.tar.gz =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=
 100% of =A0263 kB =A0482 kBps
=3D=3D=3D> =A0Extracting for mtr-nox11-0.82_1
=3D> SHA256 Checksum OK for mtr-0.82.tar.gz.
=3D=3D=3D> =A0Patching for mtr-nox11-0.82_1
=3D=3D=3D> =A0 mtr-nox11-0.82_1 depends on executable: gmake - found
=3D=3D=3D> =A0Configuring for mtr-nox11-0.82_1
checking for a BSD-compatible install...
{...}
root@jw:/usr/ports/net/mtr# cat /var/db/ports/mtr/options
# This file is auto-generated by 'make config'.
# Options for mtr-0.82_1
_OPTIONS_READ=3Dmtr-0.82_1
_FILE_COMPLETE_OPTIONS_LIST=3DIPV6 X11
OPTIONS_FILE_SET+=3DIPV6
OPTIONS_FILE_UNSET+=3DX11

Yes, it works perfect. I think that fix may be committed now.
Comment 8 dfilter service freebsd_committer freebsd_triage 2012-07-04 10:55:25 UTC
sunpoet     2012-07-04 09:55:12 UTC

  FreeBSD ports repository

  Modified files:
    net/mtr              Makefile 
  Log:
  - Convert to new options framework
  - Cosmetic change
  
  PR:             ports/168795 [1], ports/168808 [2]
  Submitted by:   Sayetsky Anton <vsjcfm@gmail.com> [1],
                  Bryan Drewery <bryan@shatow.net> [2]
  
  Revision  Changes    Path
  1.85      +7 -10     ports/net/mtr/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 dfilter service freebsd_committer freebsd_triage 2012-07-04 10:55:55 UTC
sunpoet     2012-07-04 09:55:42 UTC

  FreeBSD ports repository

  Modified files:
    net/mtr-nox11        Makefile 
  Log:
  - Convert to new options framework
  
  PR:             ports/168795 [1], ports/168808 [2]
  Submitted by:   Sayetsky Anton <vsjcfm@gmail.com> [1],
                  Bryan Drewery <bryan@shatow.net> [2]
  
  Revision  Changes    Path
  1.4       +2 -1      ports/net/mtr-nox11/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 10 Po-Chuan Hsieh freebsd_committer freebsd_triage 2012-07-04 10:56:10 UTC
State Changed
From-To: feedback->closed

Problem solved in the ports tree.